master
xy 10 months ago
parent 208c540085
commit 6f67674721

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

Loading…
Cancel
Save