Commit cd6c3309 by 米嘉伟

发查询全选

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