Commit 0bfde124 by honghong

修改报表已完成订单字段

parent 4359873e
...@@ -183,6 +183,7 @@ export default { ...@@ -183,6 +183,7 @@ export default {
startTime: values && values.startTime ? values.startTime : "", startTime: values && values.startTime ? values.startTime : "",
endTime: values && values.endTime ? values.endTime : "", endTime: values && values.endTime ? values.endTime : "",
}).then((response) => { }).then((response) => {
console.log(response.data,'相应')
this.cache = response.data; this.cache = response.data;
this.$modal.closeLoading(); this.$modal.closeLoading();
...@@ -225,7 +226,7 @@ export default { ...@@ -225,7 +226,7 @@ export default {
this.commandstatst.setOption({ this.commandstatst.setOption({
title: [ title: [
{ {
text: `{name|已完成订单量}\n{val|${this.cache.accomplish}}`, text: `{name|已完成订单量}\n{val|${this.cache.completed}}`,
top: "center", top: "center",
left: "center", left: "center",
textStyle: { textStyle: {
...@@ -271,7 +272,7 @@ export default { ...@@ -271,7 +272,7 @@ export default {
labelLine: { labelLine: {
show: false, show: false,
}, },
data: [{ value: this.cache.accomplish, name: "已完成订单量" }], data: [{ value: this.cache.completed, name: "已完成订单量" }],
}, },
], ],
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment