Commit 042772f7 by maxiaohan

Merge remote-tracking branch 'origin/dev_zwpt' into dev_zwpt

parents b5ddb533 cd6c3309
...@@ -716,6 +716,8 @@ export default { ...@@ -716,6 +716,8 @@ export default {
let arr = response.data.ret let arr = response.data.ret
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
cityOptions.push(arr[i].hpseqno) cityOptions.push(arr[i].hpseqno)
this.checkedCities = cityOptions
this.checkAll = true
} }
console.info("指位返回列表===>", arr); console.info("指位返回列表===>", arr);
} else { } else {
...@@ -781,6 +783,7 @@ export default { ...@@ -781,6 +783,7 @@ export default {
}, },
// 指位单选 // 指位单选
handleCheckAllChange (val) { handleCheckAllChange (val) {
console.log(val, 11111)
this.checkedCities = val ? cityOptions : []; this.checkedCities = val ? cityOptions : [];
this.isIndeterminate = false; this.isIndeterminate = false;
}, },
......
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