master
xy 10 months ago
parent 208c540085
commit 6f67674721

@ -693,8 +693,8 @@ export default {
plan_id: "",
outcome_type: 1,
plan_name: "请选择预算计划",
start_plan_price: undefined,
end_plan_price: undefined,
// start_plan_price: undefined,
// end_plan_price: undefined,
is_myself: 0,
is_purchase: 1,
flow_link: []
@ -711,8 +711,8 @@ export default {
plan_id: "",
outcome_type: 1,
plan_name: "请选择预算计划",
start_plan_price: undefined,
end_plan_price: undefined,
// start_plan_price: undefined,
// end_plan_price: undefined,
is_myself: 0,
is_purchase: 1,
flow_link: []
@ -1867,8 +1867,12 @@ export default {
let tokens = getToken();
if (is_export && this.select.is_export === 1) {
var url = "/api/ht/contract/index?is_auth=1&token=" + tokens;
Object.keys(this.select).map((key, item) => {
url += "&" + key + "=" + this.select[key];
Object.entries({
...this.select,
start_plan_price: this.select['start_plan_price'] ? this.select.start_plan_price : '',
end_plan_price: this.select['end_plan_price'] ? this.select.end_plan_price : ''
}).forEach(([key, value], item) => {
url += "&" + key + "=" + value;
});
url = location.host + url;
console.log(url);
@ -1884,6 +1888,8 @@ export default {
const res = await getContract({
is_auth: 1,
...this.select,
start_plan_price: this.select['start_plan_price'] ? this.select.start_plan_price : '',
end_plan_price: this.select['end_plan_price'] ? this.select.end_plan_price : ''
},noloading);
delete this.select.id;

Loading…
Cancel
Save