Merge branch 'dev'
Showing
30 changed files
with
261 additions
and
165 deletions
... | @@ -52,7 +52,14 @@ | ... | @@ -52,7 +52,14 @@ |
52 | </div> | 52 | </div> |
53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 53 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
54 | 54 | ||
55 | <span v-else>{{ row[item.prop] }}</span> | 55 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
56 | {{ row[item.prop] }} | ||
57 | </span> | ||
58 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ||
59 | <span class="ellipsis-line"> | ||
60 | {{ row[item.prop] }} | ||
61 | </span> | ||
62 | </el-tooltip> | ||
56 | </td> | 63 | </td> |
57 | <td v-for="count in emptycolNum" :key="~count"></td> | 64 | <td v-for="count in emptycolNum" :key="~count"></td> |
58 | </tr> | 65 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:54:00 | 4 | * @LastEditTime: 2023-08-23 15:54:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-if="item.prop != 'djyy'"> | 65 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
66 | {{ row[item.prop] }} | 66 | {{ row[item.prop] }} |
67 | </span> | 67 | </span> |
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:52:10 | 4 | * @LastEditTime: 2023-08-23 15:54:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | {{ getQsztName(row[item.prop]) }} | 56 | {{ getQsztName(row[item.prop]) }} |
57 | </span> | 57 | </span> |
58 | 58 | ||
59 | <span v-if="item.prop != 'djyy'"> | 59 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
60 | {{ row[item.prop] }} | 60 | {{ row[item.prop] }} |
61 | </span> | 61 | </span> |
62 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 62 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 15:00:12 | 4 | * @LastEditTime: 2023-08-23 15:57:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="content"> | 7 | <div class="content"> |
... | @@ -14,8 +14,7 @@ | ... | @@ -14,8 +14,7 @@ |
14 | :default-expand-all="true" | 14 | :default-expand-all="true" |
15 | :expand-on-click-node="false" | 15 | :expand-on-click-node="false" |
16 | node-key="id" | 16 | node-key="id" |
17 | :default-checked-keys="[showTab]" | 17 | :default-checked-keys="[showTab]"> |
18 | > | ||
19 | </el-tree> | 18 | </el-tree> |
20 | <el-collapse v-model="activeName" accordion> | 19 | <el-collapse v-model="activeName" accordion> |
21 | <el-collapse-item | 20 | <el-collapse-item |
... | @@ -23,8 +22,7 @@ | ... | @@ -23,8 +22,7 @@ |
23 | ref="sfq" | 22 | ref="sfq" |
24 | v-for="(item, index) in sfqdata" | 23 | v-for="(item, index) in sfqdata" |
25 | :key="index" | 24 | :key="index" |
26 | :name="index" | 25 | :name="index"> |
27 | > | ||
28 | <template slot="title"> | 26 | <template slot="title"> |
29 | <span class="text" @click="addlist(item)"> | 27 | <span class="text" @click="addlist(item)"> |
30 | <span> | 28 | <span> |
... | @@ -37,8 +35,7 @@ | ... | @@ -37,8 +35,7 @@ |
37 | :re='item' | 35 | :re='item' |
38 | :key="index" | 36 | :key="index" |
39 | class="sfqcontent" | 37 | class="sfqcontent" |
40 | @click="addlist(item, index)" | 38 | @click="addlist(item, index)"> |
41 | > | ||
42 | {{ item.label }} | 39 | {{ item.label }} |
43 | </el-button> | 40 | </el-button> |
44 | </el-collapse-item> | 41 | </el-collapse-item> |
... | @@ -48,16 +45,15 @@ | ... | @@ -48,16 +45,15 @@ |
48 | <component | 45 | <component |
49 | :is="componentTag" | 46 | :is="componentTag" |
50 | @getBdcdyh="getBdcdyh" | 47 | @getBdcdyh="getBdcdyh" |
51 | v-bind="currentSelectProps" | 48 | v-bind="currentSelectProps" /> |
52 | /> | ||
53 | </div> | 49 | </div> |
54 | </div> | 50 | </div> |
55 | </template> | 51 | </template> |
56 | <script> | 52 | <script> |
57 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 53 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
58 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | 54 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; |
59 | export default { | 55 | export default { |
60 | data() { | 56 | data () { |
61 | return { | 57 | return { |
62 | activeName: 0, | 58 | activeName: 0, |
63 | //接收参数 | 59 | //接收参数 |
... | @@ -71,8 +67,8 @@ export default { | ... | @@ -71,8 +67,8 @@ export default { |
71 | //左侧树形结构数据 | 67 | //左侧树形结构数据 |
72 | treedata: [], | 68 | treedata: [], |
73 | sfqdata: [], | 69 | sfqdata: [], |
74 | keyy:"", | 70 | keyy: "", |
75 | iskey:"", | 71 | iskey: "", |
76 | defaultNode: "", | 72 | defaultNode: "", |
77 | defaultProps: { | 73 | defaultProps: { |
78 | value: "id", | 74 | value: "id", |
... | @@ -83,7 +79,7 @@ export default { | ... | @@ -83,7 +79,7 @@ export default { |
83 | }; | 79 | }; |
84 | }, | 80 | }, |
85 | props: ["formData"], | 81 | props: ["formData"], |
86 | mounted() { | 82 | mounted () { |
87 | this.loadData(this.formData.bdcdyh); | 83 | this.loadData(this.formData.bdcdyh); |
88 | }, | 84 | }, |
89 | methods: { | 85 | methods: { |
... | @@ -93,30 +89,30 @@ export default { | ... | @@ -93,30 +89,30 @@ export default { |
93 | * @author: miaofang | 89 | * @author: miaofang |
94 | * 点击不动产单元号事件 | 90 | * 点击不动产单元号事件 |
95 | */ | 91 | */ |
96 | getBdcdyh(val) { | 92 | getBdcdyh (val) { |
97 | this.addloadData(val); | 93 | this.addloadData(val); |
98 | }, | 94 | }, |
99 | /** | 95 | /** |
100 | * @description: addloadData | 96 | * @description: addloadData |
101 | * @author: miaofang | 97 | * @author: miaofang |
102 | */ | 98 | */ |
103 | addloadData(val) { | 99 | addloadData (val) { |
104 | getBdcqljqtsx({ | 100 | getBdcqljqtsx({ |
105 | bdcdyid: val.bdcdyid, | 101 | bdcdyid: val.bdcdyid, |
106 | bdcdyh: val.bdcdyh, | 102 | bdcdyh: val.bdcdyh, |
107 | }).then((res) => { | 103 | }).then((res) => { |
108 | if (res.code === 200) { | 104 | if (res.code === 200) { |
109 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { | 105 | if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) { |
110 | let index= this.sfqdata.findIndex((item) => { | 106 | let index = this.sfqdata.findIndex((item) => { |
111 | return item.bdcdyid ==val.bdcdyid; | 107 | return item.bdcdyid == val.bdcdyid; |
112 | }); | 108 | }); |
113 | this.activeName=index | 109 | this.activeName = index |
114 | this.setstyle(index,0,this.iskey); | 110 | this.setstyle(index, 0, this.iskey); |
115 | } else { | 111 | } else { |
116 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 112 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); |
117 | this.activeName = this.sfqdata.length - 1; | 113 | this.activeName = this.sfqdata.length - 1; |
118 | this.$nextTick(() => { | 114 | this.$nextTick(() => { |
119 | this.setstyle(this.sfqdata.length - 1,0,this.iskey); | 115 | this.setstyle(this.sfqdata.length - 1, 0, this.iskey); |
120 | }) | 116 | }) |
121 | } | 117 | } |
122 | } | 118 | } |
... | @@ -132,7 +128,7 @@ export default { | ... | @@ -132,7 +128,7 @@ export default { |
132 | * @description: loadData | 128 | * @description: loadData |
133 | * @author: renchao | 129 | * @author: renchao |
134 | */ | 130 | */ |
135 | loadData(val) { | 131 | loadData (val) { |
136 | getBdcqljqtsx({ | 132 | getBdcqljqtsx({ |
137 | bdcdyid: this.formData.bdcdyid, | 133 | bdcdyid: this.formData.bdcdyid, |
138 | bdcdyh: val, | 134 | bdcdyh: val, |
... | @@ -148,15 +144,15 @@ export default { | ... | @@ -148,15 +144,15 @@ export default { |
148 | { linShi: 0, xianShi: 0, liShi: 0 }, | 144 | { linShi: 0, xianShi: 0, liShi: 0 }, |
149 | this.formData.bdcdylx || "" | 145 | this.formData.bdcdylx || "" |
150 | ); | 146 | ); |
151 | this.sfqdata[0].children.forEach((item,index) => { | 147 | this.sfqdata[0].children.forEach((item, index) => { |
152 | if( item.id==this.defaultNode.id){ | 148 | if (item.id == this.defaultNode.id) { |
153 | this.iskey=index | 149 | this.iskey = index |
154 | } | 150 | } |
155 | }) | 151 | }) |
156 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | 152 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 |
157 | // this.loadComponent(this.defaultNode.form); | 153 | // this.loadComponent(this.defaultNode.form); |
158 | 154 | ||
159 | this.setstyle(0,0,this.iskey); | 155 | this.setstyle(0, 0, this.iskey); |
160 | 156 | ||
161 | 157 | ||
162 | }); | 158 | }); |
... | @@ -174,7 +170,7 @@ export default { | ... | @@ -174,7 +170,7 @@ export default { |
174 | * @param {*} data | 170 | * @param {*} data |
175 | * @author: renchao | 171 | * @author: renchao |
176 | */ | 172 | */ |
177 | handleNodeClick(data) { | 173 | handleNodeClick (data) { |
178 | this.loadComponent(data.form); | 174 | this.loadComponent(data.form); |
179 | }, | 175 | }, |
180 | /** | 176 | /** |
... | @@ -183,17 +179,17 @@ export default { | ... | @@ -183,17 +179,17 @@ export default { |
183 | * @author: renchao | 179 | * @author: renchao |
184 | * 设置样式和点击定位到当前功能 | 180 | * 设置样式和点击定位到当前功能 |
185 | */ | 181 | */ |
186 | setstyle(newindex,index,key) { | 182 | setstyle (newindex, index, key) { |
187 | if(key!=undefined||this.keyy==index){ | 183 | if (key != undefined || this.keyy == index) { |
188 | if(key!=undefined){ | 184 | if (key != undefined) { |
189 | this.keyy=key | 185 | this.keyy = key |
190 | } | 186 | } |
191 | this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form); | 187 | this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form); |
192 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | 188 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el |
193 | dpme.style.backgroundColor = "#f5f5f5"; | 189 | dpme.style.backgroundColor = "#f5f5f5"; |
194 | dpme.style.color = "#0079fe"; | 190 | dpme.style.color = "#0079fe"; |
195 | dpme.style.borderRight = "4px solid #0079fe"; | 191 | dpme.style.borderRight = "4px solid #0079fe"; |
196 | }else{ | 192 | } else { |
197 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | 193 | let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el |
198 | dpme.style.backgroundColor = "#ffffff"; | 194 | dpme.style.backgroundColor = "#ffffff"; |
199 | dpme.style.color = "black"; | 195 | dpme.style.color = "black"; |
... | @@ -210,19 +206,19 @@ export default { | ... | @@ -210,19 +206,19 @@ export default { |
210 | * @author: renchao | 206 | * @author: renchao |
211 | * 新增列表功能 | 207 | * 新增列表功能 |
212 | */ | 208 | */ |
213 | addlist(data, index) { | 209 | addlist (data, index) { |
214 | if(index!=undefined){ | 210 | if (index != undefined) { |
215 | let newindex= this.sfqdata.findIndex((item) => { | 211 | let newindex = this.sfqdata.findIndex((item) => { |
216 | return item.bdcdyid ==data.bdcdyid; | 212 | return item.bdcdyid == data.bdcdyid; |
217 | }); | 213 | }); |
218 | this.setstyle(newindex,index); | 214 | this.setstyle(newindex, index); |
219 | this.currentSelectProps.bdcdyid = data.bdcdyid; | 215 | this.currentSelectProps.bdcdyid = data.bdcdyid; |
220 | this.loadComponent(data.form); | 216 | this.loadComponent(data.form); |
221 | }else{ | 217 | } else { |
222 | let newindex= this.sfqdata.findIndex((item) => { | 218 | let newindex = this.sfqdata.findIndex((item) => { |
223 | return item.bdcdyid ==data.bdcdyid; | 219 | return item.bdcdyid == data.bdcdyid; |
224 | }); | 220 | }); |
225 | this.setstyle(newindex,index,this.iskey); | 221 | this.setstyle(newindex, index, this.iskey); |
226 | this.currentSelectProps.bdcdyid = data.bdcdyid; | 222 | this.currentSelectProps.bdcdyid = data.bdcdyid; |
227 | } | 223 | } |
228 | 224 | ||
... | @@ -232,19 +228,20 @@ export default { | ... | @@ -232,19 +228,20 @@ export default { |
232 | * @param {*} form | 228 | * @param {*} form |
233 | * @author: renchao | 229 | * @author: renchao |
234 | */ | 230 | */ |
235 | loadComponent(form) { | 231 | loadComponent (form) { |
232 | console.log(form, 'form'); | ||
236 | this.componentTag = (r) => | 233 | this.componentTag = (r) => |
237 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 234 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
238 | }, | 235 | }, |
239 | }, | 236 | }, |
240 | }; | 237 | }; |
241 | </script> | 238 | </script> |
242 | <style scoped lang="scss"> | 239 | <style scoped lang="scss"> |
243 | /deep/.rollTable { | 240 | /deep/.rollTable { |
244 | height: calc(100vh - 300px) !important; | 241 | height: calc(100vh - 300px) !important; |
245 | } | 242 | } |
246 | 243 | ||
247 | .content { | 244 | .content { |
248 | width: 100%; | 245 | width: 100%; |
249 | height: 100%; | 246 | height: 100%; |
250 | display: flex; | 247 | display: flex; |
... | @@ -266,35 +263,35 @@ export default { | ... | @@ -266,35 +263,35 @@ export default { |
266 | background-color: #f5f5f5; | 263 | background-color: #f5f5f5; |
267 | border: 1px solid rgb(228, 228, 228); | 264 | border: 1px solid rgb(228, 228, 228); |
268 | } | 265 | } |
269 | } | 266 | } |
270 | 267 | ||
271 | /deep/ .expanded.el-tree-node__expand-icon, | 268 | /deep/ .expanded.el-tree-node__expand-icon, |
272 | /deep/ .el-tree-node__expand-icon { | 269 | /deep/ .el-tree-node__expand-icon { |
273 | visibility: hidden; | 270 | visibility: hidden; |
274 | } | 271 | } |
275 | 272 | ||
276 | /deep/ .el-tree-node__content { | 273 | /deep/ .el-tree-node__content { |
277 | border: 1px solid rgb(228, 228, 228); | 274 | border: 1px solid rgb(228, 228, 228); |
278 | height: 45px; | 275 | height: 45px; |
279 | } | 276 | } |
280 | 277 | ||
281 | /deep/ .el-tree-node:focus > .el-tree-node__content { | 278 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
282 | // background-color: #f5f5f5; | 279 | // background-color: #f5f5f5; |
283 | // color: #0079fe; | 280 | // color: #0079fe; |
284 | // border-right: 4px solid #0079fe; | 281 | // border-right: 4px solid #0079fe; |
285 | } | 282 | } |
286 | 283 | ||
287 | /deep/.el-tree-node { | 284 | /deep/.el-tree-node { |
288 | white-space: pre-wrap; | 285 | white-space: pre-wrap; |
289 | } | 286 | } |
290 | 287 | ||
291 | /deep/ .is-current > .el-tree-node__content { | 288 | /deep/ .is-current > .el-tree-node__content { |
292 | // background-color: #f5f5f5; | 289 | // background-color: #f5f5f5; |
293 | // color: #0079fe; | 290 | // color: #0079fe; |
294 | // border-right: 4px solid #0079fe; | 291 | // border-right: 4px solid #0079fe; |
295 | } | 292 | } |
296 | 293 | ||
297 | /deep/.el-collapse-item__header { | 294 | /deep/.el-collapse-item__header { |
298 | width: 100%; | 295 | width: 100%; |
299 | cursor: pointer; | 296 | cursor: pointer; |
300 | position: relative; | 297 | position: relative; |
... | @@ -319,11 +316,11 @@ export default { | ... | @@ -319,11 +316,11 @@ export default { |
319 | display: inline-block; | 316 | display: inline-block; |
320 | line-height: 45px; | 317 | line-height: 45px; |
321 | border: 1px solid rgb(228, 228, 228); | 318 | border: 1px solid rgb(228, 228, 228); |
322 | } | 319 | } |
323 | /deep/.el-collapse-item__content { | 320 | /deep/.el-collapse-item__content { |
324 | padding-bottom: 5px; | 321 | padding-bottom: 5px; |
325 | } | 322 | } |
326 | /deep/.sfqcontent { | 323 | /deep/.sfqcontent { |
327 | white-space: wrap; | 324 | white-space: wrap; |
328 | border: none; | 325 | border: none; |
329 | padding: 0; | 326 | padding: 0; |
... | @@ -342,14 +339,14 @@ export default { | ... | @@ -342,14 +339,14 @@ export default { |
342 | height: 45px; | 339 | height: 45px; |
343 | border: 1px solid rgb(228, 228, 228); | 340 | border: 1px solid rgb(228, 228, 228); |
344 | border-right: 4px solid #f5f5f5; | 341 | border-right: 4px solid #f5f5f5; |
345 | } | 342 | } |
346 | .sfqcontent:hover { | 343 | .sfqcontent:hover { |
347 | background-color: #f5f5f5; | 344 | background-color: #f5f5f5; |
348 | color: black; | 345 | color: black; |
349 | } | 346 | } |
350 | .sfqcontent:focus { | 347 | .sfqcontent:focus { |
351 | background-color: #f5f5f5; | 348 | background-color: #f5f5f5; |
352 | color: #0079fe; | 349 | color: #0079fe; |
353 | border-right: 4px solid #0079fe; | 350 | border-right: 4px solid #0079fe; |
354 | } | 351 | } |
355 | </style> | 352 | </style> | ... | ... |
... | @@ -46,7 +46,13 @@ | ... | @@ -46,7 +46,13 @@ |
46 | {{ getQsztName(row[item.prop]) }} | 46 | {{ getQsztName(row[item.prop]) }} |
47 | </span> | 47 | </span> |
48 | 48 | ||
49 | <span v-if="item.prop !== 'qszt' && !judge(item.label)"> {{ row[item.prop] }}</span> | 49 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)" effect="dark" :content="row[item.prop]" placement="top"> |
50 | <span class="ellipsis-line"> | ||
51 | {{ row[item.prop] }} | ||
52 | </span> | ||
53 | </el-tooltip> | ||
54 | |||
55 | <span v-if="(item.prop !== 'qszt' && item.prop !== 'djyy'&& item.prop !== 'fj') && !judge(item.label)"> {{ row[item.prop] }}</span> | ||
50 | <div class="many" v-if="judge(item.label)"> | 56 | <div class="many" v-if="judge(item.label)"> |
51 | <div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index"> | 57 | <div v-for="(label, index) in row.djQlxxFdcqxmDoList" :key="index"> |
52 | {{ label[item.prop] }} | 58 | {{ label[item.prop] }} |
... | @@ -147,10 +153,10 @@ | ... | @@ -147,10 +153,10 @@ |
147 | * @param {*} lable | 153 | * @param {*} lable |
148 | * @author: renchao | 154 | * @author: renchao |
149 | */ | 155 | */ |
150 | judge(label){ | 156 | judge (label) { |
151 | if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) { | 157 | if ('项目名称幢号总层数规划用途用途名称批准用途实际用途房屋结构房屋结构名称建筑面积竣工时间总套数'.indexOf(label) > -1) { |
152 | return true | 158 | return true |
153 | }else{ | 159 | } else { |
154 | return false | 160 | return false |
155 | } | 161 | } |
156 | }, | 162 | }, |
... | @@ -187,20 +193,20 @@ | ... | @@ -187,20 +193,20 @@ |
187 | 193 | ||
188 | <style lang="scss" scoped> | 194 | <style lang="scss" scoped> |
189 | @import "./qlxxCommon.scss"; | 195 | @import "./qlxxCommon.scss"; |
190 | .cols{ | 196 | .cols { |
191 | td{ | 197 | td { |
192 | .many{ | 198 | .many { |
193 | width: 100%; | 199 | width: 100%; |
194 | height: 100%; | 200 | height: 100%; |
195 | display: flex; | 201 | display: flex; |
196 | flex-direction: row; | 202 | flex-direction: row; |
197 | div{ | 203 | div { |
198 | flex: 1; | 204 | flex: 1; |
199 | border-right: 2px solid #e3e2e2; | 205 | border-right: 2px solid #e3e2e2; |
200 | line-height: 40px; | 206 | line-height: 40px; |
201 | overflow: unset; | 207 | overflow: unset; |
202 | } | 208 | } |
203 | div:last-child{ | 209 | div:last-child { |
204 | border: 0; | 210 | border: 0; |
205 | } | 211 | } |
206 | } | 212 | } | ... | ... |
... | @@ -62,7 +62,7 @@ | ... | @@ -62,7 +62,7 @@ |
62 | {{ getQsztName(row[item.prop]) }} | 62 | {{ getQsztName(row[item.prop]) }} |
63 | </span> | 63 | </span> |
64 | 64 | ||
65 | <span v-if="item.prop != 'djyy'"> | 65 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
66 | {{ row[item.prop] }} | 66 | {{ row[item.prop] }} |
67 | </span> | 67 | </span> |
68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 68 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> |
... | @@ -70,6 +70,7 @@ | ... | @@ -70,6 +70,7 @@ |
70 | {{ row[item.prop] }} | 70 | {{ row[item.prop] }} |
71 | </span> | 71 | </span> |
72 | </el-tooltip> | 72 | </el-tooltip> |
73 | |||
73 | </td> | 74 | </td> |
74 | <td v-for="count in emptycolNum" :key="~count"></td> | 75 | <td v-for="count in emptycolNum" :key="~count"></td> |
75 | </tr> | 76 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:01:40 | 4 | * @LastEditTime: 2023-08-23 15:54:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-if="item.prop != 'djyy'"> | 54 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
55 | {{ row[item.prop] }} | 55 | {{ row[item.prop] }} |
56 | </span> | 56 | </span> |
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 15:03:14 | 4 | * @LastEditTime: 2023-08-23 15:54:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -96,7 +96,7 @@ | ... | @@ -96,7 +96,7 @@ |
96 | {{ getQsztName(row[item.prop]) }} | 96 | {{ getQsztName(row[item.prop]) }} |
97 | </span> | 97 | </span> |
98 | 98 | ||
99 | <span v-if="item.prop != 'djyy'"> | 99 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
100 | {{ row[item.prop] }} | 100 | {{ row[item.prop] }} |
101 | </span> | 101 | </span> |
102 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 102 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> |
... | @@ -104,7 +104,6 @@ | ... | @@ -104,7 +104,6 @@ |
104 | {{ row[item.prop] }} | 104 | {{ row[item.prop] }} |
105 | </span> | 105 | </span> |
106 | </el-tooltip> | 106 | </el-tooltip> |
107 | |||
108 | </td> | 107 | </td> |
109 | <td v-for="count in emptycolNum" :key="~count"></td> | 108 | <td v-for="count in emptycolNum" :key="~count"></td> |
110 | </tr> | 109 | </tr> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:21 | 4 | * @LastEditTime: 2023-08-23 15:54:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
51 | {{ getQsztName(row[item.prop]) }} | 51 | {{ getQsztName(row[item.prop]) }} |
52 | </span> | 52 | </span> |
53 | 53 | ||
54 | <span v-if="item.prop != 'djyy'"> | 54 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
55 | {{ row[item.prop] }} | 55 | {{ row[item.prop] }} |
56 | </span> | 56 | </span> |
57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 57 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:33 | 4 | * @LastEditTime: 2023-08-23 15:55:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:41 | 4 | * @LastEditTime: 2023-08-23 15:55:15 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
... | @@ -219,7 +219,7 @@ | ... | @@ -219,7 +219,7 @@ |
219 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 219 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
220 | <el-form-item label="持证人:"> | 220 | <el-form-item label="持证人:"> |
221 | <el-select | 221 | <el-select |
222 | v-model="ruleForm.czr" | 222 | v-model="czr" |
223 | placeholder="持证人" | 223 | placeholder="持证人" |
224 | :disabled="!viewEdit"> | 224 | :disabled="!viewEdit"> |
225 | <el-option | 225 | <el-option |
... | @@ -296,6 +296,11 @@ | ... | @@ -296,6 +296,11 @@ |
296 | this.ruleForm.diyaq.sfczjzhxz = "0"; | 296 | this.ruleForm.diyaq.sfczjzhxz = "0"; |
297 | this.czrOptions = this.ruleForm.qlrList; | 297 | this.czrOptions = this.ruleForm.qlrList; |
298 | } | 298 | } |
299 | this.ruleForm.qlrList.forEach((item) => { | ||
300 | if(item.sfczr==1){ | ||
301 | this.czr=item.sqrmc | ||
302 | } | ||
303 | }) | ||
299 | this.$endLoading(); | 304 | this.$endLoading(); |
300 | }) | 305 | }) |
301 | }, | 306 | }, |
... | @@ -309,6 +314,7 @@ | ... | @@ -309,6 +314,7 @@ |
309 | viewEdit: true, | 314 | viewEdit: true, |
310 | disabled: true, | 315 | disabled: true, |
311 | czrOptions: [], | 316 | czrOptions: [], |
317 | czr:"", | ||
312 | ruleForm: { | 318 | ruleForm: { |
313 | slsq: {}, | 319 | slsq: {}, |
314 | ssQlxx: {}, | 320 | ssQlxx: {}, |
... | @@ -362,7 +368,7 @@ | ... | @@ -362,7 +368,7 @@ |
362 | item.sfczr = "1"; | 368 | item.sfczr = "1"; |
363 | }); | 369 | }); |
364 | } else { | 370 | } else { |
365 | if (!that.ruleForm.czr) { | 371 | if (!that.czr) { |
366 | that.$message({ | 372 | that.$message({ |
367 | showClose: true, | 373 | showClose: true, |
368 | message: "请选择持证人", | 374 | message: "请选择持证人", |
... | @@ -371,7 +377,7 @@ | ... | @@ -371,7 +377,7 @@ |
371 | return false; | 377 | return false; |
372 | } | 378 | } |
373 | this.ruleForm.qlrList.forEach((item, index) => { | 379 | this.ruleForm.qlrList.forEach((item, index) => { |
374 | if (item.zjh == this.ruleForm.czr) { | 380 | if (item.zjh == this.czr) { |
375 | item.sfczr = "1"; | 381 | item.sfczr = "1"; |
376 | } else { | 382 | } else { |
377 | item.sfczr = "0"; | 383 | item.sfczr = "0"; | ... | ... |
... | @@ -177,7 +177,7 @@ | ... | @@ -177,7 +177,7 @@ |
177 | </el-form-item> | 177 | </el-form-item> |
178 | </el-col> | 178 | </el-col> |
179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 179 | <el-col :span="5" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
180 | <el-form-item label="持证人:"> | 180 | <el-form-item label="持证人1:"> |
181 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> | 181 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
182 | <el-option | 182 | <el-option |
183 | v-for="(item,index) in czrOptions" | 183 | v-for="(item,index) in czrOptions" |
... | @@ -277,7 +277,7 @@ | ... | @@ -277,7 +277,7 @@ |
277 | disabled: true, | 277 | disabled: true, |
278 | tdytOption: [], | 278 | tdytOption: [], |
279 | czrOptions: [], | 279 | czrOptions: [], |
280 | czr:"", | 280 | czr:'', |
281 | ruleForm: { | 281 | ruleForm: { |
282 | flow: { | 282 | flow: { |
283 | ywh: "", | 283 | ywh: "", | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 14:25:14 | 4 | * @LastEditTime: 2023-08-23 16:03:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -331,7 +331,7 @@ | ... | @@ -331,7 +331,7 @@ |
331 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 331 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
332 | <el-form-item label="持证人:"> | 332 | <el-form-item label="持证人:"> |
333 | <el-select | 333 | <el-select |
334 | v-model="ruleForm.czr" | 334 | v-model="czr" |
335 | placeholder="持证人" | 335 | placeholder="持证人" |
336 | :disabled="!viewEdit"> | 336 | :disabled="!viewEdit"> |
337 | <el-option | 337 | <el-option |
... | @@ -398,11 +398,13 @@ | ... | @@ -398,11 +398,13 @@ |
398 | ...res.result, | 398 | ...res.result, |
399 | ...res.result.qlxxdatas, | 399 | ...res.result.qlxxdatas, |
400 | } | 400 | } |
401 | this.ruleForm.qlrList.forEach((item, index) => { | 401 | this.ruleForm.qlrList.forEach((item) => { |
402 | if (item.sfczr == 1) { | 402 | if (item.sfczr == 1) { |
403 | this.$set(this.ruleForm, "czr", item.zjh) | 403 | this.czr = item.sqrmc |
404 | } | 404 | } |
405 | }) | 405 | }) |
406 | //初始化发证方式,1:小证,2:大正 | ||
407 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | ||
406 | this.czrOptions = this.ruleForm.qlrList; | 408 | this.czrOptions = this.ruleForm.qlrList; |
407 | } | 409 | } |
408 | }) | 410 | }) |
... | @@ -428,6 +430,7 @@ | ... | @@ -428,6 +430,7 @@ |
428 | disabled: true, | 430 | disabled: true, |
429 | tdytOption: [], | 431 | tdytOption: [], |
430 | czrOptions: [], | 432 | czrOptions: [], |
433 | czr: "", | ||
431 | ruleForm: { | 434 | ruleForm: { |
432 | flow: { | 435 | flow: { |
433 | ywh: '' | 436 | ywh: '' |
... | @@ -532,7 +535,7 @@ | ... | @@ -532,7 +535,7 @@ |
532 | item.sfczr = "1"; | 535 | item.sfczr = "1"; |
533 | }); | 536 | }); |
534 | } else { | 537 | } else { |
535 | if (!that.ruleForm.czr) { | 538 | if (!that.czr) { |
536 | that.$message({ | 539 | that.$message({ |
537 | showClose: true, | 540 | showClose: true, |
538 | message: "请选择持证人", | 541 | message: "请选择持证人", |
... | @@ -541,7 +544,7 @@ | ... | @@ -541,7 +544,7 @@ |
541 | return false; | 544 | return false; |
542 | } | 545 | } |
543 | this.ruleForm.qlrList.forEach((item, index) => { | 546 | this.ruleForm.qlrList.forEach((item, index) => { |
544 | if (item.zjh == this.ruleForm.czr) { | 547 | if (item.zjh == this.czr) { |
545 | item.sfczr = "1"; | 548 | item.sfczr = "1"; |
546 | } else { | 549 | } else { |
547 | item.sfczr = "0"; | 550 | item.sfczr = "0"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-17 13:46:51 | 4 | * @LastEditTime: 2023-08-23 16:04:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -212,7 +212,7 @@ | ... | @@ -212,7 +212,7 @@ |
212 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 212 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
213 | <el-form-item label="持证人:"> | 213 | <el-form-item label="持证人:"> |
214 | <el-select | 214 | <el-select |
215 | v-model="ruleForm.czr" | 215 | v-model="czr" |
216 | placeholder="持证人" | 216 | placeholder="持证人" |
217 | :disabled="!viewEdit"> | 217 | :disabled="!viewEdit"> |
218 | <el-option | 218 | <el-option |
... | @@ -272,11 +272,13 @@ | ... | @@ -272,11 +272,13 @@ |
272 | ...res.result.qlxxdatas, | 272 | ...res.result.qlxxdatas, |
273 | ...res.result.jsydsyqdatas, | 273 | ...res.result.jsydsyqdatas, |
274 | }; | 274 | }; |
275 | this.ruleForm.qlrList.forEach((item, index) => { | 275 | this.ruleForm.qlrList.forEach((item) => { |
276 | if (item.sfczr == 1) { | 276 | if (item.sfczr == 1) { |
277 | this.$set(this.ruleForm, "czr", item.zjh) | 277 | this.czr = item.sqrmc |
278 | } | 278 | } |
279 | }) | 279 | }) |
280 | //初始化发证方式,1:小证,2:大正 | ||
281 | this.ruleForm.slsq.fzfs == null ? this.ruleForm.slsq.fzfs = '1' : this.ruleForm.slsq.fzfs; | ||
280 | this.czrOptions = this.ruleForm.qlrList; | 282 | this.czrOptions = this.ruleForm.qlrList; |
281 | } | 283 | } |
282 | }); | 284 | }); |
... | @@ -293,6 +295,7 @@ | ... | @@ -293,6 +295,7 @@ |
293 | disabled: true, | 295 | disabled: true, |
294 | tdytOption: [], | 296 | tdytOption: [], |
295 | czrOptions: [], | 297 | czrOptions: [], |
298 | czr: "", | ||
296 | ruleForm: { | 299 | ruleForm: { |
297 | flow: { | 300 | flow: { |
298 | ywh: '' | 301 | ywh: '' |
... | @@ -436,7 +439,7 @@ | ... | @@ -436,7 +439,7 @@ |
436 | item.sfczr = "1"; | 439 | item.sfczr = "1"; |
437 | }); | 440 | }); |
438 | } else { | 441 | } else { |
439 | if (!that.ruleForm.czr) { | 442 | if (!that.czr) { |
440 | that.$message({ | 443 | that.$message({ |
441 | showClose: true, | 444 | showClose: true, |
442 | message: "请选择持证人", | 445 | message: "请选择持证人", |
... | @@ -445,7 +448,7 @@ | ... | @@ -445,7 +448,7 @@ |
445 | return false; | 448 | return false; |
446 | } | 449 | } |
447 | this.ruleForm.qlrList.forEach((item, index) => { | 450 | this.ruleForm.qlrList.forEach((item, index) => { |
448 | if (item.zjh == this.ruleForm.czr) { | 451 | if (item.zjh == this.czr) { |
449 | item.sfczr = "1"; | 452 | item.sfczr = "1"; |
450 | } else { | 453 | } else { |
451 | item.sfczr = "0"; | 454 | item.sfczr = "0"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 08:53:48 | 4 | * @LastEditTime: 2023-08-23 15:56:52 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" | 7 | <div class="djxxTable" :style="{'max-height': this.timeLineHeight + 'px' }" |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | {{ getQsztName(row[item.prop]) }} | 50 | {{ getQsztName(row[item.prop]) }} |
51 | </span> | 51 | </span> |
52 | 52 | ||
53 | <span v-if="item.prop != 'djyy'"> | 53 | <span v-if="!['djyy','fj'].includes(item.prop)"> |
54 | {{ row[item.prop] }} | 54 | {{ row[item.prop] }} |
55 | </span> | 55 | </span> |
56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | 56 | <el-tooltip v-else effect="dark" :content="row[item.prop]" placement="top"> | ... | ... |
... | @@ -162,7 +162,7 @@ | ... | @@ -162,7 +162,7 @@ |
162 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0&&ruleForm.sldyList[0].sqfbcz=='0'"> | 162 | <el-col :span="6" v-if="ruleForm.sldyList[0].gyfs!=0&&ruleForm.sldyList[0].sqfbcz=='0'"> |
163 | <el-form-item label="持证人:"> | 163 | <el-form-item label="持证人:"> |
164 | <el-select | 164 | <el-select |
165 | v-model="ruleForm.czr" | 165 | v-model="czr" |
166 | placeholder="持证人" | 166 | placeholder="持证人" |
167 | :disabled="!viewEdit"> | 167 | :disabled="!viewEdit"> |
168 | <el-option | 168 | <el-option |
... | @@ -252,6 +252,7 @@ | ... | @@ -252,6 +252,7 @@ |
252 | zdjbxx: {}, //宗地基本信息 | 252 | zdjbxx: {}, //宗地基本信息 |
253 | }, | 253 | }, |
254 | czrOptions: [], | 254 | czrOptions: [], |
255 | czr:"", | ||
255 | //传递参数 | 256 | //传递参数 |
256 | propsParam: this.$attrs, | 257 | propsParam: this.$attrs, |
257 | //表单是否可操作 | 258 | //表单是否可操作 |
... | @@ -289,6 +290,11 @@ | ... | @@ -289,6 +290,11 @@ |
289 | this.gyfs = this.ruleForm.sldyList[0].gyfs; | 290 | this.gyfs = this.ruleForm.sldyList[0].gyfs; |
290 | this.splicingFdcq2Info(); | 291 | this.splicingFdcq2Info(); |
291 | } | 292 | } |
293 | this.ruleForm.qlrList.forEach((item) => { | ||
294 | if(item.sfczr==1){ | ||
295 | this.czr=item.sqrmc | ||
296 | } | ||
297 | }) | ||
292 | }); | 298 | }); |
293 | }, | 299 | }, |
294 | methods: { | 300 | methods: { |
... | @@ -383,7 +389,7 @@ | ... | @@ -383,7 +389,7 @@ |
383 | item.sfczr = "1"; | 389 | item.sfczr = "1"; |
384 | }); | 390 | }); |
385 | } else { | 391 | } else { |
386 | if (!that.ruleForm.czr) { | 392 | if (!that.czr) { |
387 | that.$message({ | 393 | that.$message({ |
388 | showClose: true, | 394 | showClose: true, |
389 | message: "请选择持证人", | 395 | message: "请选择持证人", |
... | @@ -392,7 +398,7 @@ | ... | @@ -392,7 +398,7 @@ |
392 | return false; | 398 | return false; |
393 | } | 399 | } |
394 | this.ruleForm.qlrList.forEach((item, index) => { | 400 | this.ruleForm.qlrList.forEach((item, index) => { |
395 | if (item.zjh == this.ruleForm.czr) { | 401 | if (item.zjh == this.czr) { |
396 | item.sfczr = "1"; | 402 | item.sfczr = "1"; |
397 | } else { | 403 | } else { |
398 | item.sfczr = "0"; | 404 | item.sfczr = "0"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-17 13:57:20 | 4 | * @LastEditTime: 2023-08-23 16:04:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -157,7 +157,7 @@ | ... | @@ -157,7 +157,7 @@ |
157 | </el-col> | 157 | </el-col> |
158 | <el-col :span="5" v-show="ruleForm.gyfs != '1' && ruleForm.sffbcz=='0'"> | 158 | <el-col :span="5" v-show="ruleForm.gyfs != '1' && ruleForm.sffbcz=='0'"> |
159 | <el-form-item label="持证人:"> | 159 | <el-form-item label="持证人:"> |
160 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 160 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
161 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 161 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
162 | </el-option> | 162 | </el-option> |
163 | </el-select> | 163 | </el-select> |
... | @@ -207,9 +207,9 @@ | ... | @@ -207,9 +207,9 @@ |
207 | ...res.result.qlxxdatas, | 207 | ...res.result.qlxxdatas, |
208 | ...res.result.jsydsyqdatas, | 208 | ...res.result.jsydsyqdatas, |
209 | }; | 209 | }; |
210 | this.ruleForm.qlrList.forEach((item, index) => { | 210 | this.ruleForm.qlrList.forEach((item) => { |
211 | if (item.sfczr == 1) { | 211 | if (item.sfczr == 1) { |
212 | this.$set(this.ruleForm, "czr", item.zjh) | 212 | this.czr = item.sqrmc |
213 | } | 213 | } |
214 | }) | 214 | }) |
215 | this.czrOptions = this.ruleForm.qlrList; | 215 | this.czrOptions = this.ruleForm.qlrList; |
... | @@ -227,6 +227,7 @@ | ... | @@ -227,6 +227,7 @@ |
227 | disabled: true, | 227 | disabled: true, |
228 | tdytOption: [], | 228 | tdytOption: [], |
229 | czrOptions: [], | 229 | czrOptions: [], |
230 | czr: "", | ||
230 | ruleForm: { | 231 | ruleForm: { |
231 | ywh: "", | 232 | ywh: "", |
232 | slry: "", | 233 | slry: "", |
... | @@ -349,7 +350,7 @@ | ... | @@ -349,7 +350,7 @@ |
349 | item.sfczr = "1"; | 350 | item.sfczr = "1"; |
350 | }); | 351 | }); |
351 | } else { | 352 | } else { |
352 | if (!that.ruleForm.czr) { | 353 | if (!that.czr) { |
353 | that.$message({ | 354 | that.$message({ |
354 | showClose: true, | 355 | showClose: true, |
355 | message: "请选择持证人", | 356 | message: "请选择持证人", |
... | @@ -358,7 +359,7 @@ | ... | @@ -358,7 +359,7 @@ |
358 | return false; | 359 | return false; |
359 | } | 360 | } |
360 | this.ruleForm.qlrList.forEach((item, index) => { | 361 | this.ruleForm.qlrList.forEach((item, index) => { |
361 | if (item.zjh == this.ruleForm.czr) { | 362 | if (item.zjh == this.czr) { |
362 | item.sfczr = "1"; | 363 | item.sfczr = "1"; |
363 | } else { | 364 | } else { |
364 | item.sfczr = "0"; | 365 | item.sfczr = "0"; | ... | ... |
... | @@ -157,7 +157,7 @@ | ... | @@ -157,7 +157,7 @@ |
157 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 157 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
158 | <el-form-item label="持证人:"> | 158 | <el-form-item label="持证人:"> |
159 | <el-select | 159 | <el-select |
160 | v-model="ruleForm.czr" | 160 | v-model="czr" |
161 | placeholder="持证人" | 161 | placeholder="持证人" |
162 | :disabled="!viewEdit"> | 162 | :disabled="!viewEdit"> |
163 | <el-option | 163 | <el-option |
... | @@ -232,6 +232,11 @@ | ... | @@ -232,6 +232,11 @@ |
232 | that.$endLoading(); | 232 | that.$endLoading(); |
233 | that.isShow = true; | 233 | that.isShow = true; |
234 | this.czrOptions = this.ruleForm.qlrList; | 234 | this.czrOptions = this.ruleForm.qlrList; |
235 | this.ruleForm.qlrList.forEach((item) => { | ||
236 | if(item.sfczr==1){ | ||
237 | this.czr=item.sqrmc | ||
238 | } | ||
239 | }) | ||
235 | }) | 240 | }) |
236 | }) | 241 | }) |
237 | }, | 242 | }, |
... | @@ -252,6 +257,7 @@ | ... | @@ -252,6 +257,7 @@ |
252 | mjdw: "1", | 257 | mjdw: "1", |
253 | //表单是否可操作 | 258 | //表单是否可操作 |
254 | viewEdit: true, | 259 | viewEdit: true, |
260 | czr:"", | ||
255 | key: 0, | 261 | key: 0, |
256 | isShow: false, | 262 | isShow: false, |
257 | disabled: true, | 263 | disabled: true, |
... | @@ -340,7 +346,7 @@ | ... | @@ -340,7 +346,7 @@ |
340 | item.sfczr = "1"; | 346 | item.sfczr = "1"; |
341 | }); | 347 | }); |
342 | } else { | 348 | } else { |
343 | if (!that.ruleForm.czr) { | 349 | if (!that.czr) { |
344 | that.$message({ | 350 | that.$message({ |
345 | showClose: true, | 351 | showClose: true, |
346 | message: "请选择持证人", | 352 | message: "请选择持证人", |
... | @@ -349,7 +355,7 @@ | ... | @@ -349,7 +355,7 @@ |
349 | return false; | 355 | return false; |
350 | } | 356 | } |
351 | this.ruleForm.qlrList.forEach((item, index) => { | 357 | this.ruleForm.qlrList.forEach((item, index) => { |
352 | if (item.zjh == this.ruleForm.czr) { | 358 | if (item.zjh == this.czr) { |
353 | item.sfczr = "1"; | 359 | item.sfczr = "1"; |
354 | } else { | 360 | } else { |
355 | item.sfczr = "0"; | 361 | item.sfczr = "0"; | ... | ... |
... | @@ -170,7 +170,7 @@ | ... | @@ -170,7 +170,7 @@ |
170 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 170 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
171 | <el-form-item label="持证人:"> | 171 | <el-form-item label="持证人:"> |
172 | <el-select | 172 | <el-select |
173 | v-model="ruleForm.czr" | 173 | v-model="czr" |
174 | placeholder="持证人" | 174 | placeholder="持证人" |
175 | :disabled="!viewEdit"> | 175 | :disabled="!viewEdit"> |
176 | <el-option | 176 | <el-option |
... | @@ -240,6 +240,11 @@ | ... | @@ -240,6 +240,11 @@ |
240 | }) | 240 | }) |
241 | this.czrOptions = this.ruleForm.qlrList; | 241 | this.czrOptions = this.ruleForm.qlrList; |
242 | } | 242 | } |
243 | this.ruleForm.qlrList.forEach((item) => { | ||
244 | if(item.sfczr==1){ | ||
245 | this.czr=item.sqrmc | ||
246 | } | ||
247 | }) | ||
243 | this.$endLoading(); | 248 | this.$endLoading(); |
244 | }); | 249 | }); |
245 | }, | 250 | }, |
... | @@ -253,6 +258,7 @@ | ... | @@ -253,6 +258,7 @@ |
253 | viewEdit: false, | 258 | viewEdit: false, |
254 | disabled: true, | 259 | disabled: true, |
255 | czrOptions: [], | 260 | czrOptions: [], |
261 | czr:"", | ||
256 | ruleForm: { | 262 | ruleForm: { |
257 | slywxx: {}, | 263 | slywxx: {}, |
258 | qlxx: {}, | 264 | qlxx: {}, |
... | @@ -334,7 +340,7 @@ | ... | @@ -334,7 +340,7 @@ |
334 | item.sfczr = "1"; | 340 | item.sfczr = "1"; |
335 | }); | 341 | }); |
336 | } else { | 342 | } else { |
337 | if (!that.ruleForm.czr) { | 343 | if (!that.czr) { |
338 | that.$message({ | 344 | that.$message({ |
339 | showClose: true, | 345 | showClose: true, |
340 | message: "请选择持证人", | 346 | message: "请选择持证人", |
... | @@ -343,7 +349,7 @@ | ... | @@ -343,7 +349,7 @@ |
343 | return false; | 349 | return false; |
344 | } | 350 | } |
345 | this.ruleForm.qlrList.forEach((item, index) => { | 351 | this.ruleForm.qlrList.forEach((item, index) => { |
346 | if (item.zjh == this.ruleForm.czr) { | 352 | if (item.zjh == this.czr) { |
347 | item.sfczr = "1"; | 353 | item.sfczr = "1"; |
348 | } else { | 354 | } else { |
349 | item.sfczr = "0"; | 355 | item.sfczr = "0"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-08-22 16:28:21 | 4 | * @LastEditTime: 2023-08-23 16:04:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
209 | <el-form-item label="持证人:"> | 209 | <el-form-item label="持证人:"> |
210 | <el-select | 210 | <el-select |
211 | v-model="ruleForm.czr" | 211 | v-model="czr" |
212 | placeholder="持证人" | 212 | placeholder="持证人" |
213 | :disabled="!viewEdit"> | 213 | :disabled="!viewEdit"> |
214 | <el-option | 214 | <el-option |
... | @@ -285,11 +285,15 @@ | ... | @@ -285,11 +285,15 @@ |
285 | ...res.result, | 285 | ...res.result, |
286 | ...res.result.qlxxdatas, | 286 | ...res.result.qlxxdatas, |
287 | }; | 287 | }; |
288 | this.ruleForm.qlrList.forEach((item, index) => { | 288 | this.ruleForm.qlrList.forEach((item) => { |
289 | if (item.sfczr == 1) { | 289 | if (item.sfczr == 1) { |
290 | this.$set(this.ruleForm, "czr", item.zjh) | 290 | this.czr = item.sqrmc |
291 | } | 291 | } |
292 | }) | 292 | }) |
293 | //初始化发证方式,1:小证,2:大正 | ||
294 | this.ruleForm.slsq.fzfs == null | ||
295 | ? (this.ruleForm.slsq.fzfs = "1") | ||
296 | : this.ruleForm.slsq.fzfs; | ||
293 | this.czrOptions = this.ruleForm.qlrList; | 297 | this.czrOptions = this.ruleForm.qlrList; |
294 | } | 298 | } |
295 | }) | 299 | }) |
... | @@ -303,6 +307,7 @@ | ... | @@ -303,6 +307,7 @@ |
303 | disabled: true, | 307 | disabled: true, |
304 | tdytOption: [], | 308 | tdytOption: [], |
305 | czrOptions: [], | 309 | czrOptions: [], |
310 | czr: "", | ||
306 | ruleForm: { | 311 | ruleForm: { |
307 | flow: { | 312 | flow: { |
308 | ywh: "", | 313 | ywh: "", |
... | @@ -397,7 +402,7 @@ | ... | @@ -397,7 +402,7 @@ |
397 | item.sfczr = "1"; | 402 | item.sfczr = "1"; |
398 | }); | 403 | }); |
399 | } else { | 404 | } else { |
400 | if (!that.ruleForm.czr) { | 405 | if (!that.czr) { |
401 | that.$message({ | 406 | that.$message({ |
402 | showClose: true, | 407 | showClose: true, |
403 | message: "请选择持证人", | 408 | message: "请选择持证人", |
... | @@ -406,7 +411,7 @@ | ... | @@ -406,7 +411,7 @@ |
406 | return false; | 411 | return false; |
407 | } | 412 | } |
408 | this.ruleForm.qlrList.forEach((item, index) => { | 413 | this.ruleForm.qlrList.forEach((item, index) => { |
409 | if (item.zjh == this.ruleForm.czr) { | 414 | if (item.zjh == this.czr) { |
410 | item.sfczr = "1"; | 415 | item.sfczr = "1"; |
411 | } else { | 416 | } else { |
412 | item.sfczr = "0"; | 417 | item.sfczr = "0"; | ... | ... |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
200 | <el-form-item label="持证人:"> | 200 | <el-form-item label="持证人:"> |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!viewEdit"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
... | @@ -265,6 +265,11 @@ | ... | @@ -265,6 +265,11 @@ |
265 | } | 265 | } |
266 | }) | 266 | }) |
267 | this.czrOptions = this.ruleForm.qlrList; | 267 | this.czrOptions = this.ruleForm.qlrList; |
268 | this.ruleForm.qlrList.forEach((item) => { | ||
269 | if(item.sfczr==1){ | ||
270 | this.czr=item.sqrmc | ||
271 | } | ||
272 | }) | ||
268 | this.$endLoading(); | 273 | this.$endLoading(); |
269 | }) | 274 | }) |
270 | }, | 275 | }, |
... | @@ -277,6 +282,7 @@ | ... | @@ -277,6 +282,7 @@ |
277 | disabled: true, | 282 | disabled: true, |
278 | //持证人选项 | 283 | //持证人选项 |
279 | czrOptions: [], | 284 | czrOptions: [], |
285 | czr:"", | ||
280 | ruleForm: { | 286 | ruleForm: { |
281 | zdjbxx: { | 287 | zdjbxx: { |
282 | ghytmc: '' | 288 | ghytmc: '' |
... | @@ -331,7 +337,7 @@ | ... | @@ -331,7 +337,7 @@ |
331 | item.sfczr = "1"; | 337 | item.sfczr = "1"; |
332 | }); | 338 | }); |
333 | } else { | 339 | } else { |
334 | if (!that.ruleForm.czr) { | 340 | if (!that.czr) { |
335 | that.$message({ | 341 | that.$message({ |
336 | showClose: true, | 342 | showClose: true, |
337 | message: "请选择持证人", | 343 | message: "请选择持证人", |
... | @@ -340,7 +346,7 @@ | ... | @@ -340,7 +346,7 @@ |
340 | return false; | 346 | return false; |
341 | } | 347 | } |
342 | this.ruleForm.qlrList.forEach((item, index) => { | 348 | this.ruleForm.qlrList.forEach((item, index) => { |
343 | if (item.zjh == this.ruleForm.czr) { | 349 | if (item.zjh == this.czr) { |
344 | item.sfczr = "1"; | 350 | item.sfczr = "1"; |
345 | } else { | 351 | } else { |
346 | item.sfczr = "0"; | 352 | item.sfczr = "0"; | ... | ... |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 199 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
200 | <el-form-item label="持证人:"> | 200 | <el-form-item label="持证人:"> |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!viewEdit"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
... | @@ -270,6 +270,11 @@ | ... | @@ -270,6 +270,11 @@ |
270 | } | 270 | } |
271 | }) | 271 | }) |
272 | this.czrOptions = this.ruleForm.qlrList; | 272 | this.czrOptions = this.ruleForm.qlrList; |
273 | this.ruleForm.qlrList.forEach((item) => { | ||
274 | if(item.sfczr==1){ | ||
275 | this.czr=item.sqrmc | ||
276 | } | ||
277 | }) | ||
273 | this.$endLoading(); | 278 | this.$endLoading(); |
274 | 279 | ||
275 | }) | 280 | }) |
... | @@ -284,6 +289,7 @@ | ... | @@ -284,6 +289,7 @@ |
284 | viewEdit: true, | 289 | viewEdit: true, |
285 | disabled: true, | 290 | disabled: true, |
286 | czrOptions: [], | 291 | czrOptions: [], |
292 | czr:"", | ||
287 | ruleForm: {}, | 293 | ruleForm: {}, |
288 | //传递参数 | 294 | //传递参数 |
289 | propsParam: {}, | 295 | propsParam: {}, |
... | @@ -332,7 +338,7 @@ | ... | @@ -332,7 +338,7 @@ |
332 | item.sfczr = "1"; | 338 | item.sfczr = "1"; |
333 | }); | 339 | }); |
334 | } else { | 340 | } else { |
335 | if (!that.ruleForm.czr) { | 341 | if (!that.czr) { |
336 | that.$message({ | 342 | that.$message({ |
337 | showClose: true, | 343 | showClose: true, |
338 | message: "请选择持证人", | 344 | message: "请选择持证人", |
... | @@ -341,7 +347,7 @@ | ... | @@ -341,7 +347,7 @@ |
341 | return false; | 347 | return false; |
342 | } | 348 | } |
343 | this.ruleForm.qlrList.forEach((item, index) => { | 349 | this.ruleForm.qlrList.forEach((item, index) => { |
344 | if (item.zjh == this.ruleForm.czr) { | 350 | if (item.zjh == this.czr) { |
345 | item.sfczr = "1"; | 351 | item.sfczr = "1"; |
346 | } else { | 352 | } else { |
347 | item.sfczr = "0"; | 353 | item.sfczr = "0"; | ... | ... |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 208 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
209 | <el-form-item label="持证人:"> | 209 | <el-form-item label="持证人:"> |
210 | <el-select | 210 | <el-select |
211 | v-model="ruleForm.czr" | 211 | v-model="czr" |
212 | placeholder="持证人" | 212 | placeholder="持证人" |
213 | :disabled="!viewEdit"> | 213 | :disabled="!viewEdit"> |
214 | <el-option | 214 | <el-option |
... | @@ -285,6 +285,11 @@ | ... | @@ -285,6 +285,11 @@ |
285 | ...res.result, | 285 | ...res.result, |
286 | ...res.result.qlxxdatas, | 286 | ...res.result.qlxxdatas, |
287 | }; | 287 | }; |
288 | this.ruleForm.qlrList.forEach((item) => { | ||
289 | if(item.sfczr==1){ | ||
290 | this.czr=item.sqrmc | ||
291 | } | ||
292 | }) | ||
288 | //初始化发证方式,1:小证,2:大正 | 293 | //初始化发证方式,1:小证,2:大正 |
289 | this.ruleForm.slsq.fzfs == null | 294 | this.ruleForm.slsq.fzfs == null |
290 | ? (this.ruleForm.slsq.fzfs = "1") | 295 | ? (this.ruleForm.slsq.fzfs = "1") |
... | @@ -302,6 +307,7 @@ | ... | @@ -302,6 +307,7 @@ |
302 | disabled: true, | 307 | disabled: true, |
303 | tdytOption: [], | 308 | tdytOption: [], |
304 | czrOptions: [], | 309 | czrOptions: [], |
310 | czr:"", | ||
305 | ruleForm: { | 311 | ruleForm: { |
306 | flow: { | 312 | flow: { |
307 | ywh: "", | 313 | ywh: "", |
... | @@ -396,7 +402,7 @@ | ... | @@ -396,7 +402,7 @@ |
396 | item.sfczr = "1"; | 402 | item.sfczr = "1"; |
397 | }); | 403 | }); |
398 | } else { | 404 | } else { |
399 | if (!that.ruleForm.czr) { | 405 | if (!that.czr) { |
400 | that.$message({ | 406 | that.$message({ |
401 | showClose: true, | 407 | showClose: true, |
402 | message: "请选择持证人", | 408 | message: "请选择持证人", |
... | @@ -405,7 +411,7 @@ | ... | @@ -405,7 +411,7 @@ |
405 | return false; | 411 | return false; |
406 | } | 412 | } |
407 | this.ruleForm.qlrList.forEach((item, index) => { | 413 | this.ruleForm.qlrList.forEach((item, index) => { |
408 | if (item.zjh == this.ruleForm.czr) { | 414 | if (item.zjh == this.czr) { |
409 | item.sfczr = "1"; | 415 | item.sfczr = "1"; |
410 | } else { | 416 | } else { |
411 | item.sfczr = "0"; | 417 | item.sfczr = "0"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 16:09:58 | 4 | * @LastEditTime: 2023-08-23 16:04:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -279,7 +279,7 @@ | ... | @@ -279,7 +279,7 @@ |
279 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 279 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
280 | <el-form-item label="持证人:"> | 280 | <el-form-item label="持证人:"> |
281 | <el-select | 281 | <el-select |
282 | v-model="ruleForm.czr" | 282 | v-model="czr" |
283 | placeholder="持证人" | 283 | placeholder="持证人" |
284 | :disabled="!viewEdit"> | 284 | :disabled="!viewEdit"> |
285 | <el-option | 285 | <el-option |
... | @@ -367,6 +367,12 @@ | ... | @@ -367,6 +367,12 @@ |
367 | this.czrOptions = this.ruleForm.qlrList; | 367 | this.czrOptions = this.ruleForm.qlrList; |
368 | that.$endLoading(); | 368 | that.$endLoading(); |
369 | that.isShow = true; | 369 | that.isShow = true; |
370 | this.czrOptions = this.ruleForm.qlrList; | ||
371 | this.ruleForm.qlrList.forEach((item) => { | ||
372 | if (item.sfczr == 1) { | ||
373 | this.czr = item.sqrmc | ||
374 | } | ||
375 | }) | ||
370 | }); | 376 | }); |
371 | }); | 377 | }); |
372 | }, | 378 | }, |
... | @@ -393,6 +399,7 @@ | ... | @@ -393,6 +399,7 @@ |
393 | isShow: false, | 399 | isShow: false, |
394 | disabled: true, | 400 | disabled: true, |
395 | czrOptions: [], | 401 | czrOptions: [], |
402 | czr: "", | ||
396 | ruleForm: {}, | 403 | ruleForm: {}, |
397 | //传递参数 | 404 | //传递参数 |
398 | propsParam: {}, | 405 | propsParam: {}, |
... | @@ -479,7 +486,7 @@ | ... | @@ -479,7 +486,7 @@ |
479 | item.sfczr = "1"; | 486 | item.sfczr = "1"; |
480 | }); | 487 | }); |
481 | } else { | 488 | } else { |
482 | if (!that.ruleForm.czr) { | 489 | if (!that.czr) { |
483 | that.$message({ | 490 | that.$message({ |
484 | showClose: true, | 491 | showClose: true, |
485 | message: "请选择持证人", | 492 | message: "请选择持证人", |
... | @@ -488,7 +495,7 @@ | ... | @@ -488,7 +495,7 @@ |
488 | return false; | 495 | return false; |
489 | } | 496 | } |
490 | this.ruleForm.qlrList.forEach((item, index) => { | 497 | this.ruleForm.qlrList.forEach((item, index) => { |
491 | if (item.zjh == this.ruleForm.czr) { | 498 | if (item.zjh == this.czr) { |
492 | item.sfczr = "1"; | 499 | item.sfczr = "1"; |
493 | } else { | 500 | } else { |
494 | item.sfczr = "0"; | 501 | item.sfczr = "0"; | ... | ... |
... | @@ -200,7 +200,7 @@ | ... | @@ -200,7 +200,7 @@ |
200 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 200 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
201 | <el-form-item label="持证人:"> | 201 | <el-form-item label="持证人:"> |
202 | <el-select | 202 | <el-select |
203 | v-model="ruleForm.czr" | 203 | v-model="czr" |
204 | placeholder="持证人" | 204 | placeholder="持证人" |
205 | :disabled="!viewEdit"> | 205 | :disabled="!viewEdit"> |
206 | <el-option | 206 | <el-option |
... | @@ -268,6 +268,11 @@ | ... | @@ -268,6 +268,11 @@ |
268 | }) | 268 | }) |
269 | this.czrOptions = this.ruleForm.qlrList; | 269 | this.czrOptions = this.ruleForm.qlrList; |
270 | this.$endLoading(); | 270 | this.$endLoading(); |
271 | this.ruleForm.qlrList.forEach((item) => { | ||
272 | if(item.sfczr==1){ | ||
273 | this.czr=item.sqrmc | ||
274 | } | ||
275 | }) | ||
271 | } | 276 | } |
272 | }) | 277 | }) |
273 | }, | 278 | }, |
... | @@ -283,6 +288,7 @@ | ... | @@ -283,6 +288,7 @@ |
283 | disabled: true, | 288 | disabled: true, |
284 | tdytOption: [], | 289 | tdytOption: [], |
285 | czrOptions: [], | 290 | czrOptions: [], |
291 | czr:"", | ||
286 | ruleForm: { | 292 | ruleForm: { |
287 | qlxx: {} | 293 | qlxx: {} |
288 | , sldy: {} | 294 | , sldy: {} |
... | @@ -354,7 +360,7 @@ | ... | @@ -354,7 +360,7 @@ |
354 | item.sfczr = "1"; | 360 | item.sfczr = "1"; |
355 | }); | 361 | }); |
356 | } else { | 362 | } else { |
357 | if (!that.ruleForm.czr) { | 363 | if (!that.czr) { |
358 | that.$message({ | 364 | that.$message({ |
359 | showClose: true, | 365 | showClose: true, |
360 | message: "请选择持证人", | 366 | message: "请选择持证人", |
... | @@ -363,7 +369,7 @@ | ... | @@ -363,7 +369,7 @@ |
363 | return false; | 369 | return false; |
364 | } | 370 | } |
365 | this.ruleForm.qlrList.forEach((item, index) => { | 371 | this.ruleForm.qlrList.forEach((item, index) => { |
366 | if (item.zjh == this.ruleForm.czr) { | 372 | if (item.zjh == this.czr) { |
367 | item.sfczr = "1"; | 373 | item.sfczr = "1"; |
368 | } else { | 374 | } else { |
369 | item.sfczr = "0"; | 375 | item.sfczr = "0"; | ... | ... |
... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ |
136 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 136 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
137 | <el-form-item label="持证人:"> | 137 | <el-form-item label="持证人:"> |
138 | <el-select | 138 | <el-select |
139 | v-model="ruleForm.czr" | 139 | v-model="czr" |
140 | placeholder="持证人" | 140 | placeholder="持证人" |
141 | :disabled="!viewEdit"> | 141 | :disabled="!viewEdit"> |
142 | <el-option | 142 | <el-option |
... | @@ -204,6 +204,11 @@ | ... | @@ -204,6 +204,11 @@ |
204 | } | 204 | } |
205 | }) | 205 | }) |
206 | this.czrOptions = this.ruleForm.qlrList; | 206 | this.czrOptions = this.ruleForm.qlrList; |
207 | this.ruleForm.qlrList.forEach((item) => { | ||
208 | if(item.sfczr==1){ | ||
209 | this.czr=item.sqrmc | ||
210 | } | ||
211 | }) | ||
207 | } | 212 | } |
208 | }); | 213 | }); |
209 | }, | 214 | }, |
... | @@ -218,6 +223,7 @@ | ... | @@ -218,6 +223,7 @@ |
218 | disabled: true, | 223 | disabled: true, |
219 | tdytOption: [], | 224 | tdytOption: [], |
220 | czrOptions: [], | 225 | czrOptions: [], |
226 | czr:"", | ||
221 | ruleForm: {}, | 227 | ruleForm: {}, |
222 | //传递参数 | 228 | //传递参数 |
223 | propsParam: this.$attrs, | 229 | propsParam: this.$attrs, |
... | @@ -297,7 +303,7 @@ | ... | @@ -297,7 +303,7 @@ |
297 | item.sfczr = "1"; | 303 | item.sfczr = "1"; |
298 | }); | 304 | }); |
299 | } else { | 305 | } else { |
300 | if (!that.ruleForm.czr) { | 306 | if (!that.czr) { |
301 | that.$message({ | 307 | that.$message({ |
302 | showClose: true, | 308 | showClose: true, |
303 | message: "请选择持证人", | 309 | message: "请选择持证人", |
... | @@ -306,7 +312,7 @@ | ... | @@ -306,7 +312,7 @@ |
306 | return false; | 312 | return false; |
307 | } | 313 | } |
308 | this.ruleForm.qlrList.forEach((item, index) => { | 314 | this.ruleForm.qlrList.forEach((item, index) => { |
309 | if (item.zjh == this.ruleForm.czr) { | 315 | if (item.zjh == this.czr) { |
310 | item.sfczr = "1"; | 316 | item.sfczr = "1"; |
311 | } else { | 317 | } else { |
312 | item.sfczr = "0"; | 318 | item.sfczr = "0"; | ... | ... |
... | @@ -203,7 +203,7 @@ | ... | @@ -203,7 +203,7 @@ |
203 | </el-col> | 203 | </el-col> |
204 | <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 204 | <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
205 | <el-form-item label="持证人:"> | 205 | <el-form-item label="持证人:"> |
206 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 206 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
207 | <el-option | 207 | <el-option |
208 | v-for="item in czrOptions" | 208 | v-for="item in czrOptions" |
209 | :key="item.zjh" | 209 | :key="item.zjh" |
... | @@ -279,6 +279,11 @@ | ... | @@ -279,6 +279,11 @@ |
279 | } | 279 | } |
280 | }) | 280 | }) |
281 | this.czrOptions = this.ruleForm.qlrList; | 281 | this.czrOptions = this.ruleForm.qlrList; |
282 | this.ruleForm.qlrList.forEach((item) => { | ||
283 | if(item.sfczr==1){ | ||
284 | this.czr=item.sqrmc | ||
285 | } | ||
286 | }) | ||
282 | setTimeout(() => { | 287 | setTimeout(() => { |
283 | that.loading = false; | 288 | that.loading = false; |
284 | }, 300); | 289 | }, 300); |
... | @@ -297,6 +302,7 @@ | ... | @@ -297,6 +302,7 @@ |
297 | disabled: true, | 302 | disabled: true, |
298 | tdytOption: [], | 303 | tdytOption: [], |
299 | czrOptions: [], | 304 | czrOptions: [], |
305 | czr:"", | ||
300 | ruleForm: {}, | 306 | ruleForm: {}, |
301 | //传递参数 | 307 | //传递参数 |
302 | propsParam: this.$attrs, | 308 | propsParam: this.$attrs, |
... | @@ -362,7 +368,7 @@ | ... | @@ -362,7 +368,7 @@ |
362 | item.sfczr = "1"; | 368 | item.sfczr = "1"; |
363 | }); | 369 | }); |
364 | } else { | 370 | } else { |
365 | if (!that.ruleForm.czr) { | 371 | if (!that.czr) { |
366 | that.$message({ | 372 | that.$message({ |
367 | showClose: true, | 373 | showClose: true, |
368 | message: "请选择持证人", | 374 | message: "请选择持证人", |
... | @@ -371,7 +377,7 @@ | ... | @@ -371,7 +377,7 @@ |
371 | return false; | 377 | return false; |
372 | } | 378 | } |
373 | this.ruleForm.qlrList.forEach((item, index) => { | 379 | this.ruleForm.qlrList.forEach((item, index) => { |
374 | if (item.zjh == this.ruleForm.czr) { | 380 | if (item.zjh == this.czr) { |
375 | item.sfczr = "1"; | 381 | item.sfczr = "1"; |
376 | } else { | 382 | } else { |
377 | item.sfczr = "0"; | 383 | item.sfczr = "0"; | ... | ... |
... | @@ -162,7 +162,7 @@ | ... | @@ -162,7 +162,7 @@ |
162 | </el-col> | 162 | </el-col> |
163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'&&ruleForm.sldyList[0].sqfbcz == '0' "> | 163 | <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs != '0'&&ruleForm.sldyList[0].sqfbcz == '0' "> |
164 | <el-form-item label="持证人:"> | 164 | <el-form-item label="持证人:"> |
165 | <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!viewEdit"> | 165 | <el-select v-model="czr" placeholder="持证人" :disabled="!viewEdit"> |
166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | 166 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> |
167 | </el-option> | 167 | </el-option> |
168 | </el-select> | 168 | </el-select> |
... | @@ -224,9 +224,9 @@ | ... | @@ -224,9 +224,9 @@ |
224 | if (res.code === 200 && res.result) { | 224 | if (res.code === 200 && res.result) { |
225 | this.ruleForm = res.result; | 225 | this.ruleForm = res.result; |
226 | this.czrOptions = this.ruleForm.qlrList; | 226 | this.czrOptions = this.ruleForm.qlrList; |
227 | this.ruleForm.qlrList.forEach((item, index) => { | 227 | this.ruleForm.qlrList.forEach((item) => { |
228 | if (item.sfczr == 1) { | 228 | if (item.sfczr == 1) { |
229 | this.$set(this.ruleForm, "czr", item.zjh) | 229 | this.czr = item.sqrmc |
230 | } | 230 | } |
231 | }) | 231 | }) |
232 | } else { | 232 | } else { |
... | @@ -244,6 +244,7 @@ | ... | @@ -244,6 +244,7 @@ |
244 | viewEdit: true, | 244 | viewEdit: true, |
245 | disabled: true, | 245 | disabled: true, |
246 | czrOptions: [], | 246 | czrOptions: [], |
247 | czr: "", | ||
247 | ruleForm: {}, | 248 | ruleForm: {}, |
248 | //传递参数 | 249 | //传递参数 |
249 | propsParam: {}, | 250 | propsParam: {}, |
... | @@ -292,7 +293,7 @@ | ... | @@ -292,7 +293,7 @@ |
292 | item.sfczr = "1"; | 293 | item.sfczr = "1"; |
293 | }); | 294 | }); |
294 | } else { | 295 | } else { |
295 | if (!that.ruleForm.czr) { | 296 | if (!that.czr) { |
296 | that.$message({ | 297 | that.$message({ |
297 | showClose: true, | 298 | showClose: true, |
298 | message: "请选择持证人", | 299 | message: "请选择持证人", |
... | @@ -301,7 +302,7 @@ | ... | @@ -301,7 +302,7 @@ |
301 | return false; | 302 | return false; |
302 | } | 303 | } |
303 | this.ruleForm.qlrList.forEach((item, index) => { | 304 | this.ruleForm.qlrList.forEach((item, index) => { |
304 | if (item.zjh == this.ruleForm.czr) { | 305 | if (item.zjh == this.czr) { |
305 | item.sfczr = "1"; | 306 | item.sfczr = "1"; |
306 | } else { | 307 | } else { |
307 | item.sfczr = "0"; | 308 | item.sfczr = "0"; | ... | ... |
... | @@ -218,7 +218,7 @@ | ... | @@ -218,7 +218,7 @@ |
218 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> | 218 | v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'"> |
219 | <el-form-item label="持证人:"> | 219 | <el-form-item label="持证人:"> |
220 | <el-select | 220 | <el-select |
221 | v-model="ruleForm.czr" | 221 | v-model="czr" |
222 | placeholder="持证人" | 222 | placeholder="持证人" |
223 | :disabled="!viewEdit"> | 223 | :disabled="!viewEdit"> |
224 | <el-option | 224 | <el-option |
... | @@ -287,6 +287,11 @@ | ... | @@ -287,6 +287,11 @@ |
287 | } | 287 | } |
288 | }) | 288 | }) |
289 | this.czrOptions = this.ruleForm.qlrList; | 289 | this.czrOptions = this.ruleForm.qlrList; |
290 | this.ruleForm.qlrList.forEach((item) => { | ||
291 | if(item.sfczr==1){ | ||
292 | this.czr=item.sqrmc | ||
293 | } | ||
294 | }) | ||
290 | this.$endLoading(); | 295 | this.$endLoading(); |
291 | } | 296 | } |
292 | }) | 297 | }) |
... | @@ -301,6 +306,7 @@ | ... | @@ -301,6 +306,7 @@ |
301 | viewEdit: true, | 306 | viewEdit: true, |
302 | disabled: true, | 307 | disabled: true, |
303 | czrOptions: [], | 308 | czrOptions: [], |
309 | czr:"", | ||
304 | ruleForm: {}, | 310 | ruleForm: {}, |
305 | //传递参数 | 311 | //传递参数 |
306 | propsParam: {}, | 312 | propsParam: {}, |
... | @@ -360,7 +366,7 @@ | ... | @@ -360,7 +366,7 @@ |
360 | item.sfczr = "1"; | 366 | item.sfczr = "1"; |
361 | }); | 367 | }); |
362 | } else { | 368 | } else { |
363 | if (!that.ruleForm.czr) { | 369 | if (!that.czr) { |
364 | that.$message({ | 370 | that.$message({ |
365 | showClose: true, | 371 | showClose: true, |
366 | message: "请选择持证人", | 372 | message: "请选择持证人", |
... | @@ -369,7 +375,7 @@ | ... | @@ -369,7 +375,7 @@ |
369 | return false; | 375 | return false; |
370 | } | 376 | } |
371 | this.ruleForm.qlrList.forEach((item, index) => { | 377 | this.ruleForm.qlrList.forEach((item, index) => { |
372 | if (item.zjh == this.ruleForm.czr) { | 378 | if (item.zjh == this.czr) { |
373 | item.sfczr = "1"; | 379 | item.sfczr = "1"; |
374 | } else { | 380 | } else { |
375 | item.sfczr = "0"; | 381 | item.sfczr = "0"; | ... | ... |
-
Please register or sign in to post a comment