Merge remote-tracking branch 'origin/master'
Showing
8 changed files
with
98 additions
and
80 deletions
... | @@ -33,3 +33,14 @@ export function dzList(data) { | ... | @@ -33,3 +33,14 @@ export function dzList(data) { |
33 | data:data | 33 | data:data |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | /** | ||
37 | * 多幢分割选择自然幢列表 | ||
38 | * @param data | ||
39 | */ | ||
40 | export function zrzList(data) { | ||
41 | return request({ | ||
42 | url:'/fw/qjZrz/zrzList', | ||
43 | method:'post', | ||
44 | data:data | ||
45 | }) | ||
46 | } | ... | ... |
src/components/dzHb/dzHb.vue
0 → 100644
This diff is collapsed.
Click to expand it.
1 | <template> | 1 | <template> |
2 | <el-row> | 2 | <el-row> |
3 | <el-col :span="24"> | 3 | <el-col :span="24" style="margin-left: -10px;"> |
4 | <el-row> | 4 | <el-row> |
5 | <el-col :span="24"> | 5 | <el-col :span="24"> |
6 | <el-form :inline="true" class="demo-form-inline" label-width="106px"> | 6 | <el-form :inline="true" class="demo-form-inline" label-width="106px"> |
7 | <el-form-item label="宗地编码"> | 7 | <el-form-item label="不动产单元号"> |
8 | <el-input | 8 | <el-input |
9 | v-model="queryData.zddm" | 9 | maxlength="28" |
10 | placeholder="输入宗地编码" | 10 | v-model="queryData.bdcdyh" |
11 | placeholder="输入不动产单元号" | ||
11 | @change="query" | 12 | @change="query" |
12 | ></el-input> | 13 | ></el-input> |
13 | </el-form-item> | 14 | </el-form-item> |
... | @@ -18,11 +19,10 @@ | ... | @@ -18,11 +19,10 @@ |
18 | @change="query" | 19 | @change="query" |
19 | ></el-input> | 20 | ></el-input> |
20 | </el-form-item> | 21 | </el-form-item> |
21 | <el-form-item label="不动产单元号:"> | 22 | <el-form-item label="宗地编码"> |
22 | <el-input | 23 | <el-input |
23 | maxlength="28" | 24 | v-model="queryData.zddm" |
24 | v-model="queryData.bdcdyh" | 25 | placeholder="输入宗地编码" |
25 | placeholder="输入不动产单元号" | ||
26 | @change="query" | 26 | @change="query" |
27 | ></el-input> | 27 | ></el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
... | @@ -41,6 +41,13 @@ | ... | @@ -41,6 +41,13 @@ |
41 | <el-row class="row3" v-if="ismore"> | 41 | <el-row class="row3" v-if="ismore"> |
42 | <el-col :span="22"> | 42 | <el-col :span="22"> |
43 | <el-form :inline="true" class="demo-form-inline" label-width="106px"> | 43 | <el-form :inline="true" class="demo-form-inline" label-width="106px"> |
44 | <el-form-item label="不动产权证号"> | ||
45 | <el-input | ||
46 | placeholder="输入不动产权证号" | ||
47 | v-model="queryData.bdcqzh" | ||
48 | @change="query" | ||
49 | ></el-input> | ||
50 | </el-form-item> | ||
44 | <el-form-item label="权利人名称"> | 51 | <el-form-item label="权利人名称"> |
45 | <el-input | 52 | <el-input |
46 | placeholder="输入权利人名称" | 53 | placeholder="输入权利人名称" |
... | @@ -48,20 +55,13 @@ | ... | @@ -48,20 +55,13 @@ |
48 | @change="query" | 55 | @change="query" |
49 | ></el-input> | 56 | ></el-input> |
50 | </el-form-item> | 57 | </el-form-item> |
51 | <el-form-item label="坐落:"> | 58 | <el-form-item label="坐落"> |
52 | <el-input | 59 | <el-input |
53 | v-model="queryData.zl" | 60 | v-model="queryData.zl" |
54 | placeholder="输入坐落地址" | 61 | placeholder="输入坐落地址" |
55 | @change="query" | 62 | @change="query" |
56 | ></el-input> | 63 | ></el-input> |
57 | </el-form-item> | 64 | </el-form-item> |
58 | <el-form-item label="不动产权证号"> | ||
59 | <el-input | ||
60 | placeholder="输入不动产权证号" | ||
61 | v-model="queryData.bdcqzh" | ||
62 | @change="query" | ||
63 | ></el-input> | ||
64 | </el-form-item> | ||
65 | </el-form> | 65 | </el-form> |
66 | </el-col> | 66 | </el-col> |
67 | <el-col :span="2" :offset="offset"> | 67 | <el-col :span="2" :offset="offset"> | ... | ... |
... | @@ -165,19 +165,11 @@ export default { | ... | @@ -165,19 +165,11 @@ export default { |
165 | this.getTreeList(); | 165 | this.getTreeList(); |
166 | } | 166 | } |
167 | }, | 167 | }, |
168 | "$store.state.zdbsm": function(bsm) { | ||
169 | this.getRightTree(bsm); | ||
170 | }, | ||
171 | "$store.state.zrzbsm": function(bsm) { | ||
172 | this.getRightTreeByZrzbsm(this.$store.state.zrzbsm); | ||
173 | }, | ||
174 | |||
175 | "$store.state.treeData":function (val) { | 168 | "$store.state.treeData":function (val) { |
176 | console.log(val,'val'); | ||
177 | this.pd = val; | 169 | this.pd = val; |
178 | }, | 170 | }, |
179 | '$store.state.treeZdbsm':function (val) { | 171 | '$store.state.treeZdbsm':function (val) { |
180 | console.log(val,'val'); | 172 | // console.log(val,'val'); |
181 | }, | 173 | }, |
182 | }, | 174 | }, |
183 | mounted(){ | 175 | mounted(){ |
... | @@ -210,7 +202,10 @@ export default { | ... | @@ -210,7 +202,10 @@ export default { |
210 | icon: "iconfont icontianjia", | 202 | icon: "iconfont icontianjia", |
211 | path: "/add", | 203 | path: "/add", |
212 | }, | 204 | }, |
213 | { name: "更正", icon: "iconfont icongengzheng", path: "/modify" }, | 205 | { |
206 | name: "更正", | ||
207 | icon: "iconfont icongengzheng", | ||
208 | path: "/modify" }, | ||
214 | { | 209 | { |
215 | name: "变更", | 210 | name: "变更", |
216 | icon: "iconfont iconbiangeng", | 211 | icon: "iconfont iconbiangeng", | ... | ... |
... | @@ -294,7 +294,7 @@ | ... | @@ -294,7 +294,7 @@ |
294 | </table> | 294 | </table> |
295 | </div> | 295 | </div> |
296 | <dz-query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" | 296 | <dz-query-data @getData="getData" :centerDialogVisible.sync="centerDialogVisible" |
297 | :isClose="true" | 297 | :isClose="false" |
298 | @close="close"> | 298 | @close="close"> |
299 | </dz-query-data> | 299 | </dz-query-data> |
300 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> | 300 | <div class="header-button" :style="{width:fgBoxWidth+'px'}"> |
... | @@ -584,7 +584,6 @@ | ... | @@ -584,7 +584,6 @@ |
584 | dzfgGetZrzxx(dzbsm){ | 584 | dzfgGetZrzxx(dzbsm){ |
585 | dzfgGetZrzxx(dzbsm).then(res => { | 585 | dzfgGetZrzxx(dzbsm).then(res => { |
586 | if (res.success) { | 586 | if (res.success) { |
587 | console.log(res.result,'res.result'); | ||
588 | res.result.forEach(item=>{ | 587 | res.result.forEach(item=>{ |
589 | item.hasChoosed = '' | 588 | item.hasChoosed = '' |
590 | }) | 589 | }) |
... | @@ -824,7 +823,12 @@ | ... | @@ -824,7 +823,12 @@ |
824 | this.zdFgqData = data; | 823 | this.zdFgqData = data; |
825 | break; | 824 | break; |
826 | case "dz": | 825 | case "dz": |
826 | if (data.zrzCount < 2) { | ||
827 | this.$message.error("当前多幢下自然幢数量小于2,请重新选择") | ||
828 | break | ||
829 | } | ||
827 | this.dzFgqData = data; | 830 | this.dzFgqData = data; |
831 | this.centerDialogVisible=false; | ||
828 | break; | 832 | break; |
829 | case "h": | 833 | case "h": |
830 | this.hFgqData = data; | 834 | this.hFgqData = data; | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -156,6 +156,7 @@ import { insertDzjbxx } from "../../../api/dz"; | ... | @@ -156,6 +156,7 @@ import { insertDzjbxx } from "../../../api/dz"; |
156 | export default { | 156 | export default { |
157 | name: "", | 157 | name: "", |
158 | components: {}, | 158 | components: {}, |
159 | inject:['getRightTree','getRightTreeByZrzbsm'], | ||
159 | props: ['auth'], | 160 | props: ['auth'], |
160 | data() { | 161 | data() { |
161 | return { | 162 | return { |
... | @@ -269,6 +270,7 @@ export default { | ... | @@ -269,6 +270,7 @@ export default { |
269 | this.$store.state.zdbsm = res.result; | 270 | this.$store.state.zdbsm = res.result; |
270 | //todo 跳转到宗地基本信息内容表页面 (预留) | 271 | //todo 跳转到宗地基本信息内容表页面 (预留) |
271 | this.close(); | 272 | this.close(); |
273 | this.getRightTree(this.$store.state.zdbsm); | ||
272 | this.$router.push({ | 274 | this.$router.push({ |
273 | path: '/zd', query:{ | 275 | path: '/zd', query:{ |
274 | source: 2, | 276 | source: 2, |
... | @@ -290,7 +292,6 @@ export default { | ... | @@ -290,7 +292,6 @@ export default { |
290 | //todo 在新增时,如果是点击顶部新建里面的自然幢则不传zdbsm 如果是点击右键里面的添加定着物则传zdbsm | 292 | //todo 在新增时,如果是点击顶部新建里面的自然幢则不传zdbsm 如果是点击右键里面的添加定着物则传zdbsm |
291 | this.$refs['ruleForm1'].validate((valid) => { | 293 | this.$refs['ruleForm1'].validate((valid) => { |
292 | if (valid) { | 294 | if (valid) { |
293 | |||
294 | this.ruleForm1.zdbsm = this.auth ? this.$store.state.zdbsm : ''; | 295 | this.ruleForm1.zdbsm = this.auth ? this.$store.state.zdbsm : ''; |
295 | this.ruleForm1.dzbsm = this.auth ? this.$store.state.dzbsm : ''; | 296 | this.ruleForm1.dzbsm = this.auth ? this.$store.state.dzbsm : ''; |
296 | insertZrzjbxx(this.ruleForm1) | 297 | insertZrzjbxx(this.ruleForm1) |
... | @@ -304,7 +305,10 @@ export default { | ... | @@ -304,7 +305,10 @@ export default { |
304 | this.$store.state.zdbsm=res.result.zdbsm; | 305 | this.$store.state.zdbsm=res.result.zdbsm; |
305 | this.$store.state.zrzbsm=res.result.bsm; | 306 | this.$store.state.zrzbsm=res.result.bsm; |
306 | this.$store.state.xmmc=res.result.xmmc; | 307 | this.$store.state.xmmc=res.result.xmmc; |
308 | this.$store.state.newZdbsm = res.result.zdbsm; | ||
307 | this.close(); | 309 | this.close(); |
310 | //获取左侧树数据 | ||
311 | this.getRightTreeByZrzbsm(this.$store.state.zdbsm); | ||
308 | this.$router.push({ | 312 | this.$router.push({ |
309 | path: '/zrz', query:{ | 313 | path: '/zrz', query:{ |
310 | source: 1, | 314 | source: 1, |
... | @@ -338,6 +342,7 @@ export default { | ... | @@ -338,6 +342,7 @@ export default { |
338 | this.$store.state.zdbsm=res.result.zdbsm; | 342 | this.$store.state.zdbsm=res.result.zdbsm; |
339 | this.$store.state.dzbsm=res.result.bsm; | 343 | this.$store.state.dzbsm=res.result.bsm; |
340 | this.$store.state.xmmc=res.result.xmmc; | 344 | this.$store.state.xmmc=res.result.xmmc; |
345 | this.$store.state.newZdbsm = res.result.zdbsm; | ||
341 | this.close(); | 346 | this.close(); |
342 | this.$router.push({ | 347 | this.$router.push({ |
343 | path: '/dz', query:{ | 348 | path: '/dz', query:{ | ... | ... |
... | @@ -62,21 +62,21 @@ | ... | @@ -62,21 +62,21 @@ |
62 | ref="hBsm" | 62 | ref="hBsm" |
63 | :key="hsIndex" | 63 | :key="hsIndex" |
64 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" | 64 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" |
65 | @click="handleTdClick($event, hs.bsm,hs)" | 65 | @click="handleTdClick($event.target, hs.bsm,hs)" |
66 | @dblclick="dbclick(hs.bsm)" | 66 | @dblclick="dbclick(hs.bsm)" |
67 | @contextmenu.prevent="openMenu($event, hs, 'h')" | 67 | @contextmenu.prevent="openMenu($event, hs, 'h')" |
68 | > | 68 | > |
69 | {{ hs.shbw }} | 69 | {{ hs.shbw }} |
70 | <span @click.stop="qsztClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> | 70 | <span @click.stop="dyztIconClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> |
71 | <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> | 71 | <span @click.stop="dyztIconClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> |
72 | <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> | 72 | <span @click.stop="dyztIconClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> |
73 | <ul class="dyzt"> | 73 | <ul class="dyzt" @click.stop="hDyztClick($event, hs.bsm,hs)"> |
74 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'">确</li> | 74 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'" @click.stop="dyztIconClick">确</li> |
75 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'">备</li> | 75 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'" @click.stop="dyztIconClick">备</li> |
76 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'">抵</li> | 76 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'" @click.stop="dyztIconClick">抵</li> |
77 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'">查</li> | 77 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'" @click.stop="dyztIconClick">查</li> |
78 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'">异</li> | 78 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'" @click.stop="dyztIconClick">异</li> |
79 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'">限</li> | 79 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'" @click.stop="dyztIconClick">限</li> |
80 | </ul> | 80 | </ul> |
81 | </td> | 81 | </td> |
82 | </tr> | 82 | </tr> |
... | @@ -128,21 +128,21 @@ | ... | @@ -128,21 +128,21 @@ |
128 | ref="hBsm" | 128 | ref="hBsm" |
129 | :key="hsIndex" | 129 | :key="hsIndex" |
130 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" | 130 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" |
131 | @click="handleTdClick($event, hs.bsm,hs)" | 131 | @click="handleTdClick($event.target, hs.bsm,hs)" |
132 | @dblclick="dbclick(hs.bsm)" | 132 | @dblclick="dbclick(hs.bsm)" |
133 | @contextmenu.prevent="openMenu($event, hs, 'h')" | 133 | @contextmenu.prevent="openMenu($event, hs, 'h')" |
134 | > | 134 | > |
135 | {{ hs.shbw }} | 135 | {{ hs.shbw }} |
136 | <span @click.stop="qsztClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> | 136 | <span @click.stop="dyztIconClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> |
137 | <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> | 137 | <span @click.stop="dyztIconClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> |
138 | <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> | 138 | <span @click.stop="dyztIconClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> |
139 | <ul class="dyzt"> | 139 | <ul class="dyzt" @click.stop="hDyztClick($event, hs.bsm,hs)"> |
140 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'">确</li> | 140 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'" @click.stop="dyztIconClick">确</li> |
141 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'">备</li> | 141 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'" @click.stop="dyztIconClick">备</li> |
142 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'">抵</li> | 142 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'" @click.stop="dyztIconClick">抵</li> |
143 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'">查</li> | 143 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'" @click.stop="dyztIconClick">查</li> |
144 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'">异</li> | 144 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'" @click.stop="dyztIconClick">异</li> |
145 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'">限</li> | 145 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'" @click.stop="dyztIconClick">限</li> |
146 | </ul> | 146 | </ul> |
147 | </td> | 147 | </td> |
148 | </tr> | 148 | </tr> |
... | @@ -200,21 +200,21 @@ | ... | @@ -200,21 +200,21 @@ |
200 | ref="hBsm" | 200 | ref="hBsm" |
201 | :key="hsIndex" | 201 | :key="hsIndex" |
202 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" | 202 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" |
203 | @click="handleTdClick($event, hs.bsm,hs)" | 203 | @click="handleTdClick($event.target, hs.bsm,hs)" |
204 | @dblclick="dbclick(hs.bsm)" | 204 | @dblclick="dbclick(hs.bsm)" |
205 | @contextmenu.prevent="openMenu($event, hs, 'h')" | 205 | @contextmenu.prevent="openMenu($event, hs, 'h')" |
206 | > | 206 | > |
207 | {{ hs.shbw }} | 207 | {{ hs.shbw }} |
208 | <span @click.stop="qsztClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> | 208 | <span @click.stop="dyztIconClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> |
209 | <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> | 209 | <span @click.stop="dyztIconClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> |
210 | <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> | 210 | <span @click.stop="dyztIconClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> |
211 | <ul class="dyzt"> | 211 | <ul class="dyzt" @click.stop="hDyztClick($event, hs.bsm,hs)"> |
212 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'">确</li> | 212 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'" @click.stop="dyztIconClick">确</li> |
213 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'">备</li> | 213 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'" @click.stop="dyztIconClick">备</li> |
214 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'">抵</li> | 214 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'" @click.stop="dyztIconClick">抵</li> |
215 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'">查</li> | 215 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'" @click.stop="dyztIconClick">查</li> |
216 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'">异</li> | 216 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'" @click.stop="dyztIconClick">异</li> |
217 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'">限</li> | 217 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'" @click.stop="dyztIconClick">限</li> |
218 | </ul> | 218 | </ul> |
219 | </td> | 219 | </td> |
220 | </tr> | 220 | </tr> |
... | @@ -254,21 +254,21 @@ | ... | @@ -254,21 +254,21 @@ |
254 | ref="hBsm" | 254 | ref="hBsm" |
255 | :key="hsIndex" | 255 | :key="hsIndex" |
256 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" | 256 | :class="searchNum == hs.shbw || searchNum == hs.bdcdyh ? 'tdSelect' : ''" |
257 | @click="handleTdClick($event, hs.bsm,hs)" | 257 | @click="handleTdClick($event.target, hs.bsm,hs)" |
258 | @dblclick="dbclick(hs.bsm)" | 258 | @dblclick="dbclick(hs.bsm)" |
259 | @contextmenu.prevent="openMenu($event, hs, 'h')" | 259 | @contextmenu.prevent="openMenu($event, hs, 'h')" |
260 | > | 260 | > |
261 | {{ hs.shbw }} | 261 | {{ hs.shbw }} |
262 | <span @click.stop="qsztClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> | 262 | <span @click.stop="dyztIconClick" class="hqszt lin" v-show="hs.qszt == '0'">临</span> |
263 | <span @click.stop="qsztClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> | 263 | <span @click.stop="dyztIconClick" class="hqszt zheng" v-show="hs.qszt == '1'">正</span> |
264 | <span @click.stop="qsztClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> | 264 | <span @click.stop="dyztIconClick" class="hqszt xian" v-show="hs.qszt == '2'" >现</span> |
265 | <ul class="dyzt"> | 265 | <ul class="dyzt" @click.stop="hDyztClick($event, hs.bsm,hs)"> |
266 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'">确</li> | 266 | <li style="background-color:#6EDEE1" v-show="hs.qqzt=='1'" @click.stop="dyztIconClick">确</li> |
267 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'">备</li> | 267 | <li style="background-color:#8ADC88" v-show="hs.bazt=='1'" @click.stop="dyztIconClick">备</li> |
268 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'">抵</li> | 268 | <li style="background-color:#FF8282" v-show="hs.dyzt=='1'" @click.stop="dyztIconClick">抵</li> |
269 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'">查</li> | 269 | <li style="background-color:#D7CECF" v-show="hs.cfzt=='1'" @click.stop="dyztIconClick">查</li> |
270 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'">异</li> | 270 | <li style="background-color:#D4A3EB" v-show="hs.yyzt=='1'" @click.stop="dyztIconClick">异</li> |
271 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'">限</li> | 271 | <li style="background-color:#A5A3FB" v-show="hs.xzzt=='1'" @click.stop="dyztIconClick">限</li> |
272 | </ul> | 272 | </ul> |
273 | </td> | 273 | </td> |
274 | </tr> | 274 | </tr> |
... | @@ -585,9 +585,9 @@ export default { | ... | @@ -585,9 +585,9 @@ export default { |
585 | clearTimeout(self.time); | 585 | clearTimeout(self.time); |
586 | self.time = setTimeout(() => { | 586 | self.time = setTimeout(() => { |
587 | //判断点击的户是否选中 | 587 | //判断点击的户是否选中 |
588 | if (e.target.className.indexOf("tdSelect") == -1) { | 588 | if (e.className.indexOf("tdSelect") == -1) { |
589 | //未选中→选中 | 589 | //未选中→选中 |
590 | e.target.className = "tdSelect"; //加边框 | 590 | e.className = "tdSelect"; //加边框 |
591 | if(this.isHbfg){ | 591 | if(this.isHbfg){ |
592 | this.fghbChoosedList.push(hs); | 592 | this.fghbChoosedList.push(hs); |
593 | this.hbsmList.push(bsm); // 将户bsm放进hbsmList | 593 | this.hbsmList.push(bsm); // 将户bsm放进hbsmList |
... | @@ -596,7 +596,7 @@ export default { | ... | @@ -596,7 +596,7 @@ export default { |
596 | } | 596 | } |
597 | } else { | 597 | } else { |
598 | //选中→未选中 | 598 | //选中→未选中 |
599 | e.target.className = ""; | 599 | e.className = ""; |
600 | if(this.isHbfg){ | 600 | if(this.isHbfg){ |
601 | this.deleteArrOption(this.fghbChoosedList, hs) | 601 | this.deleteArrOption(this.fghbChoosedList, hs) |
602 | this.deleteArrOption(this.hbsmList, bsm); | 602 | this.deleteArrOption(this.hbsmList, bsm); |
... | @@ -691,6 +691,13 @@ export default { | ... | @@ -691,6 +691,13 @@ export default { |
691 | this.lpbChVisible = true; | 691 | this.lpbChVisible = true; |
692 | } | 692 | } |
693 | }, | 693 | }, |
694 | // 户单元状态点击事件 | ||
695 | hDyztClick(e,bsm,hs){ | ||
696 | this.handleTdClick(e.target.parentNode,bsm,hs); | ||
697 | }, | ||
698 | dyztIconClick(){ | ||
699 | |||
700 | }, | ||
694 | // 层选中事件 | 701 | // 层选中事件 |
695 | handleClickC(e, item) { | 702 | handleClickC(e, item) { |
696 | if (this.isHbfg) { | 703 | if (this.isHbfg) { |
... | @@ -786,10 +793,6 @@ export default { | ... | @@ -786,10 +793,6 @@ export default { |
786 | } | 793 | } |
787 | }); | 794 | }); |
788 | }, | 795 | }, |
789 | //end | ||
790 | qsztClick(){ | ||
791 | |||
792 | }, | ||
793 | //户合并 | 796 | //户合并 |
794 | handleHb(type){ | 797 | handleHb(type){ |
795 | let olbBsms = ''; | 798 | let olbBsms = ''; | ... | ... |
-
Please register or sign in to post a comment