--no commit message
Showing
2 changed files
with
7 additions
and
4 deletions
... | @@ -113,9 +113,10 @@ export default { | ... | @@ -113,9 +113,10 @@ export default { |
113 | }, | 113 | }, |
114 | mounted() { | 114 | mounted() { |
115 | // 根据申请单元列表数据处理选中户 | 115 | // 根据申请单元列表数据处理选中户 |
116 | console.log("window.unitData",window.unitData); | ||
116 | if(window.unitData.length){ | 117 | if(window.unitData.length){ |
117 | window.unitData.forEach(e => { | 118 | window.unitData.forEach(e => { |
118 | this.unitIdList.push(e.bdcdyid) | 119 | this.unitIdList.push(e.bdcdyid) |
119 | }) | 120 | }) |
120 | this.ch.forEach((c) => { | 121 | this.ch.forEach((c) => { |
121 | c.hs.forEach((h) => { | 122 | c.hs.forEach((h) => { |
... | @@ -142,7 +143,7 @@ export default { | ... | @@ -142,7 +143,7 @@ export default { |
142 | //未选中→选中 | 143 | //未选中→选中 |
143 | item.hs.forEach((h) => { | 144 | item.hs.forEach((h) => { |
144 | //加边框 | 145 | //加边框 |
145 | e.target.className += " tdSelect"; | 146 | e.target.className += " tdSelect"; |
146 | h.select = true; | 147 | h.select = true; |
147 | // 使用hbsmList时,需要去重 | 148 | // 使用hbsmList时,需要去重 |
148 | this.hbsmList.push(h.bsm) | 149 | this.hbsmList.push(h.bsm) |
... | @@ -176,7 +177,7 @@ export default { | ... | @@ -176,7 +177,7 @@ export default { |
176 | //加边框 | 177 | //加边框 |
177 | hs.select = true; | 178 | hs.select = true; |
178 | // 将户bsm放进hbsmList | 179 | // 将户bsm放进hbsmList |
179 | self.hbsmList.push(bsm); | 180 | self.hbsmList.push(bsm); |
180 | } else { | 181 | } else { |
181 | //选中→未选中 | 182 | //选中→未选中 |
182 | hs.select = false; | 183 | hs.select = false; | ... | ... |
... | @@ -89,7 +89,9 @@ | ... | @@ -89,7 +89,9 @@ |
89 | */ | 89 | */ |
90 | queryClick () { | 90 | queryClick () { |
91 | this.$startLoading(); | 91 | this.$startLoading(); |
92 | this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; | 92 | console.log("this.sqywInfo.zrzbsm",this.sqywInfo); |
93 | this.queryForm.zrzbsm = this.sqywInfo.bsm; | ||
94 | // this.queryForm.zrzbsm = this.sqywInfo.zrzbsm; | ||
93 | selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { | 95 | selectHQjdc({ ...this.queryForm, ...this.pageData }).then((res) => { |
94 | this.$endLoading(); | 96 | this.$endLoading(); |
95 | if (res.code === 200) { | 97 | if (res.code === 200) { | ... | ... |
-
Please register or sign in to post a comment