|
@@ -239,8 +239,8 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
// 获取统计
|
|
// 获取统计
|
|
- getOrderBaseStatusCount() {
|
|
|
|
- orderBaseStatusCount().then(res => {
|
|
|
|
|
|
+ getOrderBaseStatusCount(...p) {
|
|
|
|
+ orderBaseStatusCount(...p).then(res => {
|
|
this.orderStatusList = [{
|
|
this.orderStatusList = [{
|
|
label: "待预约",
|
|
label: "待预约",
|
|
value: "DYY"
|
|
value: "DYY"
|
|
@@ -280,8 +280,8 @@ export default {
|
|
|
|
|
|
// 列表请求函数
|
|
// 列表请求函数
|
|
getList(p, cb) {
|
|
getList(p, cb) {
|
|
|
|
+ var pam = JSON.parse(JSON.stringify(p))
|
|
try {
|
|
try {
|
|
- var pam = JSON.parse(JSON.stringify(p))
|
|
|
|
if (pam.orderStatus) {
|
|
if (pam.orderStatus) {
|
|
pam.params.push({ "param": "a.order_status", "compare": "=", "value": pam.orderStatus })
|
|
pam.params.push({ "param": "a.order_status", "compare": "=", "value": pam.orderStatus })
|
|
}
|
|
}
|
|
@@ -293,7 +293,7 @@ export default {
|
|
} catch (err) {
|
|
} catch (err) {
|
|
} finally {
|
|
} finally {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- this.getOrderBaseStatusCount()
|
|
|
|
|
|
+ this.getOrderBaseStatusCount({ orderSmallType: pam.orderSmallType || "" })
|
|
})
|
|
})
|
|
}
|
|
}
|
|
},
|
|
},
|