755e008f by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 5d7828a4 161e1e31
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
11 "@antv/g2": "^4.2.8", 11 "@antv/g2": "^4.2.8",
12 "@babel/polyfill": "^7.12.1", 12 "@babel/polyfill": "^7.12.1",
13 "@riophae/vue-treeselect": "^0.4.0", 13 "@riophae/vue-treeselect": "^0.4.0",
14 "@union/gis-sdk": "^1.1.0",
15 "axios": "^0.21.1", 14 "axios": "^0.21.1",
16 "bpmn-js": "^7.4.0", 15 "bpmn-js": "^7.4.0",
17 "bpmn-js-properties-panel": "^0.37.2", 16 "bpmn-js-properties-panel": "^0.37.2",
......
1 [
2 {
3 "label":"不动产",
4 "id":"1-1",
5 "alpha":100,
6 "children":[
7 {
8 "label":"行政区划",
9 "id": "XZQH",
10 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
11 "alpha":100,
12 "children":[
13 {
14 "label":"行政区",
15 "id": "XZQH_0",
16 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
17 "alpha":100
18 },
19 {
20 "label":"行政区界限",
21 "id": "XZQH_1",
22 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/XZQH/MapServer",
23 "alpha":100
24 }
25 ]
26 },
27 {
28 "label":"地籍分区",
29 "id": "DJFQ",
30 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
31 "alpha":100,
32 "children":[
33 {
34 "label":"地籍区",
35 "id": "DJFQ_0",
36 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
37 "alpha":100
38 },
39 {
40 "label":"地籍子区",
41 "id": "DJFQ_1",
42 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/DJFQ/MapServer",
43 "alpha":100
44 }
45 ]
46 },
47 {
48 "label":"不动产单元",
49 "id": "bdcDY",
50 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
51 "alpha":100,
52 "children":[
53 {
54 "label":"界址点",
55 "id": "bdcDY_0",
56 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
57 "alpha":100
58 },
59 {
60 "label":"界址线",
61 "id": "bdcDY_1",
62 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
63 "alpha":100
64 },
65 {
66 "label":"林权",
67 "id": "bdcDY_2",
68 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
69 "alpha":100
70 },
71 {
72 "label":"自然幢",
73 "id": "ZRZ",
74 "name": "zrz",
75 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
76 "alpha":100
77 },
78 {
79 "label":"构筑物",
80 "id": "bdcDY_4",
81 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
82 "alpha":100
83 },
84 {
85 "label":"点状定着物",
86 "id": "bdcDY_5",
87 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
88 "alpha":100
89 },
90 {
91 "label":"线状定着物",
92 "id": "bdcDY_6",
93 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
94 "alpha":100
95 },
96 {
97 "label":"面状定着物",
98 "id": "bdcDY_7",
99 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/bdcDY_610100/MapServer",
100 "alpha":100
101 },
102 {
103 "label":"宗地",
104 "id": "ZDJBXX",
105 "name": "zd",
106 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
107 "alpha":100,
108 "fields": [ "YSDM", "ZDDM", "BDCDYH", "ZDTZM", "ZL", "ZDMJ", "MJDW", "QLLX", "QLXZ" ]
109 },
110 {
111 "label":"宗地历史",
112 "id": "ZDJBXXLS",
113 "name": "zdls",
114 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
115 "alpha":100,
116 "fields": [ "YSDM", "ZDDM", "BDCDYH", "ZDTZM", "ZL", "ZDMJ", "MJDW", "QLLX", "QLXZ" ]
117 },
118 {
119 "label":"宗海",
120 "id": "ZHJBXX",
121 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/BDCDY/MapServer",
122 "alpha":100
123 }
124
125 ]
126 },
127 {
128 "label":"自然地理",
129 "id": "ZRDL",
130 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
131 "alpha":100,
132 "children":[
133 {
134 "label":"水系",
135 "id": "ZRDL_0",
136 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
137 "alpha":100
138 },
139 {
140 "label":"植被",
141 "id": "ZRDL_1",
142 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
143 "alpha":100
144 },
145 {
146 "label":"辅助面",
147 "id": "ZRDL_2",
148 "url": "http://192.168.2.252:6080/arcgis/rest/services/bdc/ZRDL/MapServer",
149 "alpha":100
150 }
151 ]
152 }
153 ]
154 },
155 {
156 "label":"厦门数据",
157 "id":"2-1",
158 "alpha":100,
159 "children":[
160 {
161 "label":"规划用地",
162 "id": "ghyd",
163 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ghyd/MapServer",
164 "alpha":100,
165 "children":[
166 {
167 "label":"规划用地",
168 "id": "ghyd_0",
169 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ghyd/MapServer",
170 "alpha":100,
171 "fields": [ "地块编号", "规划现状", "行政区", "维护文号", "规划用地性质代号", "规划用地性质名称", "所属管理单元", "所属编制单元" ]
172 }
173 ]
174 },
175 {
176 "label":"基本农田",
177 "id": "jbnt",
178 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/jbnt/MapServer",
179 "alpha":100,
180 "children":[
181 {
182 "label":"基本农田",
183 "id": "jbnt_0",
184 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/jbnt/MapServer",
185 "alpha":100,
186 "fields": [ "编制单位", "权属单位代码", "权属单位名称", "座落单位代码", "座落单位名称", "地类名称", "基本农田面积" ]
187 }
188 ]
189 },
190 {
191 "label":"行政区划",
192 "id": "xmxzq",
193 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
194 "alpha":100,
195 "children":[
196 {
197 "label":"村级行政区划",
198 "id": "xmxzq_0",
199 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
200 "alpha":100
201 },
202 {
203 "label":"镇级行政区划",
204 "id": "xmxzq_1",
205 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
206 "alpha":100
207 },
208 {
209 "label":"区级行政区划",
210 "id": "xmxzq_2",
211 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xmxzq/MapServer",
212 "alpha":100
213 }
214 ]
215 },
216 {
217 "label":"现状建筑",
218 "id": "xzjz",
219 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xzjz/MapServer",
220 "alpha":100,
221 "children":[
222 {
223 "label":"现状建筑",
224 "id": "xzjz_0",
225 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/xzjz/MapServer",
226 "alpha":100,
227 "fields": [ "SJLY", "PRODATE", "GXSJ", "DWMC", "AQDJ", "DWDM", "ZXDX", "ZXDY" ]
228 }
229 ]
230 },
231 {
232 "label":"用地",
233 "id": "ypyd",
234 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
235 "alpha":100,
236 "children":[
237 {
238 "label":"用地",
239 "id": "ypyd_0",
240 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
241 "alpha":100
242 },
243 {
244 "label":"选址",
245 "id": "ypyd_0",
246 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
247 "alpha":100
248 },
249 {
250 "label":"红线",
251 "id": "ypyd_0",
252 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
253 "alpha":100
254 },
255 {
256 "label":"道路",
257 "id": "ypyd_0",
258 "url": "http://192.168.2.252:6080/arcgis/rest/services/xiamen/ypyd/MapServer",
259 "alpha":100
260 }
261 ]
262 }
263 ]
264 }
265 ]
...\ No newline at end of file ...\ No newline at end of file
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
18 inline-message 18 inline-message
19 :show-message="false" 19 :show-message="false"
20 :class="{ readonly: editDisabled }" 20 :class="{ readonly: editDisabled }"
21 class="loadingtext" 21 class="loadingtext">
22 >
23 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 22 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
24 <div class="slxx_title title-block"> 23 <div class="slxx_title title-block">
25 补录信息 24 补录信息
...@@ -48,29 +47,24 @@ ...@@ -48,29 +47,24 @@
48 <el-form-item 47 <el-form-item
49 label="查封不动产权信息:" 48 label="查封不动产权信息:"
50 prop="ztQlxx.bdcqzh" 49 prop="ztQlxx.bdcqzh"
51 :rules="rules.ztQlxxrules" 50 :rules="rules.ztQlxxrules">
52 >
53 <select-table 51 <select-table
54 v-model="ruleForm.ztQlxx" 52 v-model="ruleForm.ztQlxx"
55 :table-width="730" 53 :table-width="730"
56 :tableData="ztQlxxList" 54 :tableData="ztQlxxList"
57 :props="props" 55 :props="props"
58 @change="ztQlxxchange" 56 @change="ztQlxxchange">
59 >
60 <el-table-column 57 <el-table-column
61 prop="qllxmc" 58 prop="qllxmc"
62 width="130" 59 width="130"
63 label="权利类型" 60 label="权利类型"></el-table-column>
64 ></el-table-column>
65 <el-table-column 61 <el-table-column
66 prop="bdcqzh" 62 prop="bdcqzh"
67 width="160" 63 width="160"
68 label="不动产权证书" 64 label="不动产权证书"></el-table-column>
69 ></el-table-column>
70 <el-table-column 65 <el-table-column
71 prop="qlrmc" 66 prop="qlrmc"
72 label="被执行人" 67 label="被执行人"></el-table-column>
73 ></el-table-column>
74 <el-table-column prop="mjmc" label="面积"></el-table-column> 68 <el-table-column prop="mjmc" label="面积"></el-table-column>
75 <el-table-column prop="ytmc" label="用途"></el-table-column> 69 <el-table-column prop="ytmc" label="用途"></el-table-column>
76 <el-table-column prop="zl" label="坐落"></el-table-column> 70 <el-table-column prop="zl" label="坐落"></el-table-column>
...@@ -81,7 +75,9 @@ ...@@ -81,7 +75,9 @@
81 <div class="triangle"></div> 75 <div class="triangle"></div>
82 </div> 76 </div>
83 77
84 <el-row :gutter="10"> </el-row> 78 <el-row :gutter="10">
79
80 </el-row>
85 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 81 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
86 <el-col :span="8"> 82 <el-col :span="8">
87 <el-form-item label="权利人:"> 83 <el-form-item label="权利人:">
...@@ -140,25 +136,21 @@ ...@@ -140,25 +136,21 @@
140 label="上手权利信息:" 136 label="上手权利信息:"
141 prop="ssQlxx.bdcqzh" 137 prop="ssQlxx.bdcqzh"
142 :rules="rules.ssQlxxrules" 138 :rules="rules.ssQlxxrules"
143 v-if="ruleForm.cfdj.sfbxf == '1'" 139 v-if="ruleForm.cfdj.sfbxf == '1'">
144 >
145 <select-table 140 <select-table
146 v-model="ruleForm.ssQlxx" 141 v-model="ruleForm.ssQlxx"
147 :table-width="730" 142 :table-width="730"
148 :tableData="ssQlxxList" 143 :tableData="ssQlxxList"
149 :props="props" 144 :props="props"
150 @change="ssQlxxchange" 145 @change="ssQlxxchange">
151 >
152 <el-table-column 146 <el-table-column
153 prop="qllxmc" 147 prop="qllxmc"
154 width="130" 148 width="130"
155 label="权利类型" 149 label="权利类型"></el-table-column>
156 ></el-table-column>
157 <el-table-column 150 <el-table-column
158 prop="bdcqzh" 151 prop="bdcqzh"
159 width="160" 152 width="160"
160 label="不动产权证书" 153 label="不动产权证书"></el-table-column>
161 ></el-table-column>
162 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 154 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
163 <el-table-column prop="mjmc" label="面积"></el-table-column> 155 <el-table-column prop="mjmc" label="面积"></el-table-column>
164 <el-table-column prop="ytmc" label="用途"></el-table-column> 156 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -178,8 +170,7 @@ ...@@ -178,8 +170,7 @@
178 <el-form-item 170 <el-form-item
179 label="业务号:" 171 label="业务号:"
180 prop="qlxx.ywh" 172 prop="qlxx.ywh"
181 :rules="rules.ywhrules" 173 :rules="rules.ywhrules">
182 >
183 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 174 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
184 </el-form-item> 175 </el-form-item>
185 </el-col> 176 </el-col>
...@@ -198,12 +189,8 @@ ...@@ -198,12 +189,8 @@
198 <el-col :span="8"> 189 <el-col :span="8">
199 <el-form-item label="是否被续封:" 190 <el-form-item label="是否被续封:"
200 prop="cfdj.sfbxf" 191 prop="cfdj.sfbxf"
201 :rules="rules.sfbxfrules" 192 :rules="rules.sfbxfrules">
202 > 193 <el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
203 <el-radio-group
204 v-model="ruleForm.cfdj.sfbxf"
205 @change="djlxchange"
206 >
207 <el-radio label="1"></el-radio> 194 <el-radio label="1"></el-radio>
208 <el-radio label="2"></el-radio> 195 <el-radio label="2"></el-radio>
209 </el-radio-group> 196 </el-radio-group>
...@@ -221,8 +208,7 @@ ...@@ -221,8 +208,7 @@
221 v-for="item in qsztlist" 208 v-for="item in qsztlist"
222 :key="item.dcode" 209 :key="item.dcode"
223 :label="item.dname" 210 :label="item.dname"
224 :value="item.dcode" 211 :value="item.dcode"></el-option>
225 ></el-option>
226 </el-select> 212 </el-select>
227 </el-form-item> 213 </el-form-item>
228 </el-col> 214 </el-col>
...@@ -247,8 +233,7 @@ ...@@ -247,8 +233,7 @@
247 v-for="item in dictData['A32']" 233 v-for="item in dictData['A32']"
248 :key="item.dcode" 234 :key="item.dcode"
249 :label="item.dname" 235 :label="item.dname"
250 :value="item.dcode" 236 :value="item.dcode"></el-option>
251 ></el-option>
252 </el-select> 237 </el-select>
253 </el-form-item> 238 </el-form-item>
254 </el-col> 239 </el-col>
...@@ -265,8 +250,7 @@ ...@@ -265,8 +250,7 @@
265 type="date" 250 type="date"
266 placeholder="选择日期" 251 placeholder="选择日期"
267 value-format="yyyy-MM-dd HH:mm:ss" 252 value-format="yyyy-MM-dd HH:mm:ss"
268 format="yyyy-MM-dd" 253 format="yyyy-MM-dd"></el-date-picker>
269 ></el-date-picker>
270 </el-form-item> 254 </el-form-item>
271 </el-col> 255 </el-col>
272 <el-col :span="8"> 256 <el-col :span="8">
...@@ -277,8 +261,7 @@ ...@@ -277,8 +261,7 @@
277 type="date" 261 type="date"
278 placeholder="选择日期" 262 placeholder="选择日期"
279 value-format="yyyy-MM-dd HH:mm:ss" 263 value-format="yyyy-MM-dd HH:mm:ss"
280 format="yyyy-MM-dd" 264 format="yyyy-MM-dd"></el-date-picker>
281 ></el-date-picker>
282 </el-form-item> 265 </el-form-item>
283 </el-col> 266 </el-col>
284 <el-col :span="8"> 267 <el-col :span="8">
...@@ -304,8 +287,7 @@ ...@@ -304,8 +287,7 @@
304 <el-form-item 287 <el-form-item
305 label="登记机构:" 288 label="登记机构:"
306 prop="qlxx.djjg" 289 prop="qlxx.djjg"
307 :rules="rules.djjgrules" 290 :rules="rules.djjgrules">
308 >
309 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 291 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
310 </el-form-item> 292 </el-form-item>
311 </el-col> 293 </el-col>
...@@ -314,8 +296,7 @@ ...@@ -314,8 +296,7 @@
314 <el-form-item 296 <el-form-item
315 label="登簿人:" 297 label="登簿人:"
316 prop="qlxx.dbr" 298 prop="qlxx.dbr"
317 :rules="rules.dbrrules" 299 :rules="rules.dbrrules">
318 >
319 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 300 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
320 </el-form-item> 301 </el-form-item>
321 </el-col> 302 </el-col>
...@@ -323,31 +304,25 @@ ...@@ -323,31 +304,25 @@
323 <el-form-item 304 <el-form-item
324 label="登记时间:" 305 label="登记时间:"
325 prop="qlxx.djsj" 306 prop="qlxx.djsj"
326 :rules="rules.djsjrules" 307 :rules="rules.djsjrules">
327 >
328 <el-date-picker 308 <el-date-picker
329 v-model="ruleForm.qlxx.djsj" 309 v-model="ruleForm.qlxx.djsj"
330 type="date" 310 type="date"
331 placeholder="选择日期" 311 placeholder="选择日期"
332 class="width100" 312 class="width100"
333 value-format="yyyy-MM-dd HH:mm:ss" 313 value-format="yyyy-MM-dd HH:mm:ss"
334 format="yyyy-MM-dd" 314 format="yyyy-MM-dd">
335 >
336 </el-date-picker> 315 </el-date-picker>
337 </el-form-item> 316 </el-form-item>
338 </el-col> 317 </el-col>
339 <el-col :span="24">
340 <el-form-item label="附记:">
341 <el-input v-model="ruleForm.cfdj.fj"></el-input>
342 </el-form-item>
343 </el-col>
344 </el-row>
345 <el-row :gutter="10">
346 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 318 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
347 <el-form-item label="解封业务号:"> 319 <el-form-item label="解封业务号:">
348 <el-input v-model="ruleForm.cfdj.jfywh"></el-input> 320 <el-input v-model="ruleForm.cfdj.jfywh"></el-input>
349 </el-form-item> 321 </el-form-item>
350 </el-col> 322 </el-col>
323 </el-row>
324 <el-row :gutter="10">
325
351 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 326 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
352 <el-form-item label="解封机关:"> 327 <el-form-item label="解封机关:">
353 <el-input v-model="ruleForm.cfdj.jfjg"></el-input> 328 <el-input v-model="ruleForm.cfdj.jfjg"></el-input>
...@@ -376,11 +351,15 @@ ...@@ -376,11 +351,15 @@
376 type="date" 351 type="date"
377 placeholder="选择日期" 352 placeholder="选择日期"
378 value-format="yyyy-MM-dd HH:mm:ss" 353 value-format="yyyy-MM-dd HH:mm:ss"
379 format="yyyy-MM-dd" 354 format="yyyy-MM-dd">
380 >
381 </el-date-picker> 355 </el-date-picker>
382 </el-form-item> 356 </el-form-item>
383 </el-col> 357 </el-col>
358 <el-col :span="24">
359 <el-form-item label="附记:">
360 <el-input v-model="ruleForm.cfdj.fj"></el-input>
361 </el-form-item>
362 </el-col>
384 </el-row> 363 </el-row>
385 </div> 364 </div>
386 <el-row class="btn" v-if="ableOperation"> 365 <el-row class="btn" v-if="ableOperation">
...@@ -392,24 +371,18 @@ ...@@ -392,24 +371,18 @@
392 </div> 371 </div>
393 </template> 372 </template>
394 <script> 373 <script>
395 import { mapGetters } from "vuex"; 374 import { mapGetters } from "vuex";
396 import { 375 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
397 init, 376 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
398 getSsQlxx, 377 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
399 getZtQlxx, 378 import tdytTable from "@/views/workflow/components/tdytTable";
400 getQlxxByQlxxBsm, 379 import selectTable from "@/components/selectTable/index.vue";
401 save, 380 export default {
402 } from "@/api/djbRepair.js";
403 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
404 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
405 import tdytTable from "@/views/workflow/components/tdytTable";
406 import selectTable from "@/components/selectTable/index.vue";
407 export default {
408 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 381 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
409 computed: { 382 computed: {
410 ...mapGetters(["dictData", "flag"]), 383 ...mapGetters(["dictData", "flag"]),
411 // 根据流程判断表单是否为只读 384 // 根据流程判断表单是否为只读
412 editDisabled() { 385 editDisabled () {
413 if (!this.ableOperation) { 386 if (!this.ableOperation) {
414 //只读状态 387 //只读状态
415 return true; 388 return true;
...@@ -417,7 +390,7 @@ export default { ...@@ -417,7 +390,7 @@ export default {
417 return false; 390 return false;
418 }, 391 },
419 }, 392 },
420 data() { 393 data () {
421 return { 394 return {
422 //表单是否可操作 395 //表单是否可操作
423 props: { 396 props: {
...@@ -472,17 +445,6 @@ export default { ...@@ -472,17 +445,6 @@ export default {
472 dname: "历史", 445 dname: "历史",
473 }, 446 },
474 ], 447 ],
475 // 是否被续封
476 sfbxflist: [
477 {
478 dcode: "0",
479 dname: "否",
480 },
481 {
482 dcode: "1",
483 dname: "是",
484 },
485 ],
486 ableOperation: false, 448 ableOperation: false,
487 //传递参数\ 449 //传递参数\
488 450
...@@ -508,10 +470,10 @@ export default { ...@@ -508,10 +470,10 @@ export default {
508 }, 470 },
509 }; 471 };
510 }, 472 },
511 created() { 473 created () {
512 this.loadData(); 474 this.loadData();
513 }, 475 },
514 mounted() { 476 mounted () {
515 this.ableOperation = this.$parent.ableOperation; 477 this.ableOperation = this.$parent.ableOperation;
516 }, 478 },
517 methods: { 479 methods: {
...@@ -520,7 +482,7 @@ export default { ...@@ -520,7 +482,7 @@ export default {
520 * @param {*} val 482 * @param {*} val
521 * @author: renchao 483 * @author: renchao
522 */ 484 */
523 ztQlxxchange(val) { 485 ztQlxxchange (val) {
524 this.ruleForm.ztQlxx = val; 486 this.ruleForm.ztQlxx = val;
525 }, 487 },
526 /** 488 /**
...@@ -528,21 +490,20 @@ export default { ...@@ -528,21 +490,20 @@ export default {
528 * @param {*} val 490 * @param {*} val
529 * @author: renchao 491 * @author: renchao
530 */ 492 */
531 ssQlxxchange(val) { 493 ssQlxxchange (val) {
532 this.ruleForm.ssQlxx = val; 494 this.ruleForm.ssQlxx = val;
533 this.ruleForm.qlxx.ssywh = val.ywh; 495 this.ruleForm.qlxx.ssywh = val.ywh;
534 this.ssQlxxchangediolog(val); 496 this.ssQlxxchangediolog(val);
535 }, 497 },
536 // 弹框事件 498 // 弹框事件
537 ssQlxxchangediolog(val) { 499 ssQlxxchangediolog (val) {
538 this.$confirm("是否将上手权利信息同步到表单", "提示", { 500 this.$confirm("是否将上手权利信息同步到表单", "提示", {
539 iconClass: "el-icon-question", //自定义图标样式 501 iconClass: "el-icon-question", //自定义图标样式
540 confirmButtonText: "确认", //确认按钮文字更换 502 confirmButtonText: "确认", //确认按钮文字更换
541 cancelButtonText: "取消", //取消按钮文字更换 503 cancelButtonText: "取消", //取消按钮文字更换
542 showClose: true, //是否显示右上角关闭按钮 504 showClose: true, //是否显示右上角关闭按钮
543 type: "warning", 505 type: "warning",
544 }) 506 }).then(() => {
545 .then(() => {
546 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 507 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
547 if (res.code == 200) { 508 if (res.code == 200) {
548 this.nowlist = res.result; 509 this.nowlist = res.result;
...@@ -570,20 +531,19 @@ export default { ...@@ -570,20 +531,19 @@ export default {
570 }); 531 });
571 } 532 }
572 }); 533 });
573 }) 534 }).catch(() => {
574 .catch(() => {
575 this.$message({ 535 this.$message({
576 type: "info", 536 type: "info",
577 message: "已取消同步", 537 message: "已取消同步",
578 }); 538 });
579 }); 539 })
580 }, 540 },
581 /** 541 /**
582 * @description: djlxchange 542 * @description: djlxchange
583 * @param {*} val 543 * @param {*} val
584 * @author: renchao 544 * @author: renchao
585 */ 545 */
586 djlxchange(val) { 546 djlxchange (val) {
587 if (val == null || val == 100) { 547 if (val == null || val == 100) {
588 this.ssqlxxshow = false; 548 this.ssqlxxshow = false;
589 } else { 549 } else {
...@@ -594,12 +554,15 @@ export default { ...@@ -594,12 +554,15 @@ export default {
594 * @description: loadData 554 * @description: loadData
595 * @author: renchao 555 * @author: renchao
596 */ 556 */
597 loadData() { 557 loadData () {
598 this.$startLoading(); 558 this.$startLoading();
599 this.propsParam.isEdit = this.$parent.isEdit; 559 this.propsParam.isEdit = this.$parent.isEdit;
600 init(this.propsParam).then((res) => { 560 init(this.propsParam).then((res) => {
601 if (res.code == 200) { 561 if (res.code == 200) {
602 this.ruleForm = res.result; 562 this.ruleForm = res.result;
563 if(this.ruleForm.cfdj){
564 this.ruleForm.cfdj.sfbxf="2"
565 }
603 this.isShow = true; 566 this.isShow = true;
604 let djlx = this.ruleForm.qlxx.djlx; 567 let djlx = this.ruleForm.qlxx.djlx;
605 this.$endLoading(); 568 this.$endLoading();
...@@ -649,7 +612,7 @@ export default { ...@@ -649,7 +612,7 @@ export default {
649 * @description: onSubmit 612 * @description: onSubmit
650 * @author: renchao 613 * @author: renchao
651 */ 614 */
652 onSubmit() { 615 onSubmit () {
653 this.$refs.ruleForm.validate((valid) => { 616 this.$refs.ruleForm.validate((valid) => {
654 console.log("valid", valid); 617 console.log("valid", valid);
655 if (valid) { 618 if (valid) {
...@@ -676,9 +639,9 @@ export default { ...@@ -676,9 +639,9 @@ export default {
676 }); 639 });
677 }, 640 },
678 }, 641 },
679 }; 642 };
680 </script> 643 </script>
681 <style scoped lang="scss"> 644 <style scoped lang="scss">
682 @import "~@/styles/public.scss"; 645 @import "~@/styles/public.scss";
683 @import "~@/styles/slxx/slxx.scss"; 646 @import "~@/styles/slxx/slxx.scss";
684 </style> 647 </style>
......
1 export function deleteCollectBiz (bsmSqyw) { 1
2 return request({ 2 import {
3 url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/deleteCollectBiz?bsmSqyw=' + bsmSqyw, 3 init,
4 method: 'post' 4 getSsQlxx,
5 getZtQlxx,
6 getQlxxByQlxxBsm,
7 save,
8 } from "@/api/djbRepair.js";
9 import { log } from "bpmn-js-token-simulation";
10 import { mapGetters } from "vuex";
11 export default {
12 computed: {
13 ...mapGetters(["dictData", "flag"]),
14 // 根据流程判断表单是否为只读
15 editDisabled () {
16 if (!this.ableOperation) {
17 //只读状态
18 return true;
19 }
20 return false;
21 },
22 },
23 data() {
24 return {
25 ssqlxxshow: true,
26 //表单是否可操作
27 propsParam: this.$attrs,
28 key: 0,
29 isShow: false,
30 disabled: true,
31 czrOptions: [],
32 ssQlxxList: [],
33 ztQlxxList: [],
34 ruleForm: {},
35 props: {
36 label: "bdcqzh",
37 value: "bdcdyid",
38 },
39 djlxlist: [
40 {
41 dcode: "100",
42 dname: "首次登记",
43 },
44 {
45 dcode: "200",
46 dname: "转移登记",
47 },
48 {
49 dcode: "300",
50 dname: "变更登记",
51 },
52 {
53 dcode: "500",
54 dname: "更正登记",
55 },
56
57 {
58 dcode: "901",
59 dname: "补证",
60 },
61 {
62 dcode: "902",
63 dname: "换证",
64 },
65 ],
66 // 权属状态
67 qsztlist: [
68 {
69 dcode: "1",
70 dname: "现势",
71 },
72 {
73 dcode: "2",
74 dname: "历史",
75 },
76 ],
77 ableOperation: false,
78
79 };
80 },
81 created() {
82 this.loadData();
83 },
84 mounted() {
85 this.ableOperation = this.$parent.ableOperation;
86 },
87 methods: {
88 /**
89 * @description: ztQlxxchange
90 * @param {*} val
91 * @author: renchao
92 */
93 ztQlxxchange(val) {
94 this.ruleForm.ztQlxx = val;
95 },
96 /**
97 * @description: ssQlxxchange
98 * @param {*} val
99 * @author: renchao
100 */
101 ssQlxxchange(val) {
102 this.ruleForm.ssQlxx = val;
103 this.ruleForm.qlxx.ssywh = val.ywh;
104 this.ssQlxxchangediolog(val);
105 },
106 // 弹框事件
107 ssQlxxchangediolog(val) {
108 this.$confirm("是否将上手权利信息同步到表单", "提示", {
109 iconClass: "el-icon-question", //自定义图标样式
110 confirmButtonText: "确认", //确认按钮文字更换
111 cancelButtonText: "取消", //取消按钮文字更换
112 showClose: true, //是否显示右上角关闭按钮
113 type: "warning",
5 }) 114 })
6 } 115 .then(() => {
116 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
117 if (res.code == 200) {
118 this.nowlist = res.result;
119 for (var key in this.ruleForm.yydj) {
120 if (
121 this.ruleForm.yydj[key] == "" ||
122 this.ruleForm.yydj[key] == null
123 ) {
124 this.ruleForm.yydj[key] = this.nowlist.yydj[key];
125 }
126 }
127 for (var key in this.ruleForm.qlxx) {
128 if (
129 this.ruleForm.qlxx[key] == "" ||
130 (this.ruleForm.qlxx[key] == null &&
131 key != "ywh" &&
132 key != "dbr" &&
133 key != "djsj" &&
134 key != "ssywh" &&
135 key != "ssywh" &&
136 key != "bdcqzh")
137 ) {
138 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
139 }
140 }
141 if (!this.ruleForm.tdytqxList.length) {
142 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
143 }
144 if (!this.ruleForm.qlrData.length) {
145 this.ruleForm.qlrData = this.nowlist.qlrData;
146 }
147 if (!this.ruleForm.ywrData.length) {
148 this.ruleForm.ywrData = this.nowlist.ywrData;
149 }
150 this.$message({
151 type: "success",
152 message: "同步成功!",
153 });
154 }
155 });
156 })
157 .catch(() => {
158 this.$message({
159 type: "info",
160 message: "已取消同步",
161 });
162 });
163 },
164 /**
165 * @description: djlxchange
166 * @param {*} val
167 * @author: renchao
168 */
169 djlxchange(val) {
170 if (val == null || val == 100) {
171 this.ssqlxxshow = false;
172 } else {
173 this.ssqlxxshow = true;
174 }
175 },
176 /**
177 * @description: loadData
178 * @author: renchao
179 */
180 loadData() {
181 this.$startLoading();
182 this.propsParam.isEdit = this.$parent.isEdit;
183 init(this.propsParam).then((res) => {
184 if (res.code == 200) {
185 this.ruleForm = res.result;
186 if(this.ruleForm.diyaq){
187 this.ruleForm.diyaq.dyfs="1"
188 }
189 if(this.ruleForm.ygdj){
190 this.ruleForm.ygdj.jedw="1"
191 this.ruleForm.ygdj.mjdw="1"
192 }
193 if(this.ruleForm.diyaq){
194 this.ruleForm.diyaq.mjdw="1"
195 }
196 let djlx = this.ruleForm.qlxx.djlx;
197 if (djlx == null || djlx == 100) {
198 this.ssqlxxshow = false;
199 }
200 this.$endLoading();
201 this.isShow = true;
202 //获取主体信息
203 getSsQlxx({
204 bdcdyid: this.propsParam.bdcdyid,
205 qllx: this.propsParam.qllx,
206 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
207 }).then((res) => {
208 if (res.code == 200) {
209 this.ssQlxxList = res.result;
210 }
211 });
212 //获取上手信息
213 getZtQlxx({
214 bdcdyid: this.propsParam.bdcdyid,
215 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
216 }).then((res) => {
217 if (res.code == 200) {
218 this.ztQlxxList = res.result;
219 }
220 });
221 }
222 });
223 },
224 // 更新土地用途信息
225 /**
226 * @description: 更新土地用途信息
227 * @param {*} val
228 * @author: renchao
229 */
230 upDateTdytxxList(val) {
231 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
232 this.key++;
233 },
234 // 更新权利人信息
235 /**
236 * @description: 更新权利人信息
237 * @param {*} val
238 * @author: renchao
239 */
240 upDateQlrxxList(val) {
241 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
242 this.czrOptions = this.ruleForm.qlrData;
243 this.key++;
244 },
245 // 更新义务人信息
246 /**
247 * @description: 更新义务人信息
248 * @param {*} val
249 * @author: renchao
250 */
251 upDateYwrxxList(val) {
252 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
253 this.key++;
254 },
255 /**
256 * @description: onSubmit
257 * @author: renchao
258 */
259 onSubmit() {
260 this.$refs.ruleForm.validate((valid) => {
261 if (valid) {
262 if (this.ruleForm.qlrData.length == 0) {
263 this.$message({
264 showClose: true,
265 message: "请确认权利人信息",
266 type: "error",
267 });
268 return false;
269 }
270 if (this.ruleForm.ywrData.length == 0) {
271 this.$message({
272 showClose: true,
273 message: "请确认义务人信息",
274 type: "error",
275 });
276 return false;
277 }
278 if (this.ruleForm.qlxx.gyfs == "0") {
279 if (this.ruleForm.qlrData.length > 1) {
280 this.$message({
281 showClose: true,
282 message: "共有方式:单独所有,权利人只能是一个人",
283 type: "error",
284 });
285 return false;
286 }
287 this.ruleForm.qlrData[0].sfczr = "1";
288 } else {
289 if (this.ruleForm.qlrData.length <= 1) {
290 this.$message({
291 showClose: true,
292 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
293 type: "error",
294 });
295 return false;
296 }
297 }
298
299 save(this.ruleForm).then((res) => {
300 if (res.code === 200) {
301 this.$message({
302 showClose: true,
303 message: "保存成功!",
304 type: "success",
305 });
306 this.$parent.changeywh();
307 this.$store.dispatch("user/refreshPage", true);
308 } else {
309 this.$message({
310 showClose: true,
311 message: res.message,
312 type: "error",
313 });
314 }
315 });
316 } else {
317 return false;
318 }
319 });
320 },
321 },
322 };
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:43:56 4 * @LastEditTime: 2023-08-10 14:11:25
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -264,7 +264,7 @@ ...@@ -264,7 +264,7 @@
264 <el-input 264 <el-input
265 v-model="ruleForm.diyaq.dymj" 265 v-model="ruleForm.diyaq.dymj"
266 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 266 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
267 <el-select v-model="ruleForm.diyaq.jedw" style="width: 20%"> 267 <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%">
268 <el-option 268 <el-option
269 v-for="item in dictData['A7']" 269 v-for="item in dictData['A7']"
270 :key="item.dcode" 270 :key="item.dcode"
...@@ -538,9 +538,7 @@ ...@@ -538,9 +538,7 @@
538 </div> 538 </div>
539 </template> 539 </template>
540 <script> 540 <script>
541 import { mapGetters } from "vuex"; 541 import ywmix from "./dataprocessing";
542 import ywmix from "@/views/ywbl/mixin/index";
543 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
544 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 542 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
545 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 543 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
546 import selectTable from "@/components/selectTable/index.vue"; 544 import selectTable from "@/components/selectTable/index.vue";
...@@ -548,74 +546,11 @@ ...@@ -548,74 +546,11 @@
548 export default { 546 export default {
549 mixins: [ywmix], 547 mixins: [ywmix],
550 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 548 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
551 computed: { 549
552 ...mapGetters(["dictData", "flag"]),
553 // 根据流程判断表单是否为只读
554 editDisabled () {
555 if (!this.ableOperation) {
556 //只读状态
557 return true;
558 }
559 return false;
560 },
561 },
562 data () { 550 data () {
563 return { 551 return {
564 mjdw: "1", 552 mjdw: "1",
565 props: {
566 label: "bdcqzh",
567 value: "bdcdyid",
568 },
569 //表单是否可操作 553 //表单是否可操作
570 propsParam: this.$attrs,
571 key: 0,
572 isShow: false,
573 disabled: true,
574 ssqlxxshow: true,
575 czrOptions: [],
576 ruleForm: {},
577 // 权属状态
578 qsztlist: [
579 {
580 dcode: "1",
581 dname: "现势",
582 },
583 {
584 dcode: "2",
585 dname: "历史",
586 },
587 ],
588 // 登记类型
589 djlxlist: [
590 {
591 dcode: "100",
592 dname: "首次登记",
593 },
594 {
595 dcode: "200",
596 dname: "转移登记",
597 },
598 {
599 dcode: "300",
600 dname: "变更登记",
601 },
602 {
603 dcode: "500",
604 dname: "更正登记",
605 },
606
607 {
608 dcode: "901",
609 dname: "补证",
610 },
611 {
612 dcode: "902",
613 dname: "换证",
614 },
615 ],
616 ssQlxxList: [],
617 ztQlxxList: [],
618 ableOperation: false,
619 rules: { 554 rules: {
620 ssQlxxrules: [ 555 ssQlxxrules: [
621 { required: true, message: "上手权利信息", trigger: "blur" }, 556 { required: true, message: "上手权利信息", trigger: "blur" },
...@@ -649,249 +584,6 @@ ...@@ -649,249 +584,6 @@
649 } 584 }
650 } 585 }
651 }, 586 },
652 mounted () {
653 this.loadData();
654 this.ableOperation = this.$parent.ableOperation;
655 },
656 methods: {
657 /**
658 * @description: ztQlxxchange
659 * @param {*} val
660 * @author: renchao
661 */
662 ztQlxxchange (val) {
663 this.ruleForm.ztQlxx = val;
664 },
665 /**
666 * @description: ssQlxxchange
667 * @param {*} val
668 * @author: renchao
669 */
670 ssQlxxchange (val) {
671 this.ruleForm.ssQlxx = val;
672 this.ruleForm.qlxx.ssywh = val.ywh;
673 this.ssQlxxchangediolog(val);
674 },
675 // 弹框事件
676 ssQlxxchangediolog (val) {
677 this.$confirm("是否将上手权利信息同步到表单", "提示", {
678 iconClass: "el-icon-question", //自定义图标样式
679 confirmButtonText: "确认", //确认按钮文字更换
680 cancelButtonText: "取消", //取消按钮文字更换
681 showClose: true, //是否显示右上角关闭按钮
682 type: "warning",
683 }).then(() => {
684 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
685 if (res.code == 200) {
686 this.nowlist = res.result;
687 for (var key in this.ruleForm.diyaq) {
688 if (
689 this.ruleForm.diyaq[key] == "" ||
690 this.ruleForm.diyaq[key] == null
691 ) {
692 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key];
693 }
694 }
695 for (var key in this.ruleForm.qlxx) {
696 if (
697 this.ruleForm.qlxx[key] == "" ||
698 this.ruleForm.qlxx[key] == null &&
699 key != "ywh" &&
700 key != "dbr" &&
701 key != "djsj" &&
702 key != "ssywh" &&
703 key != "ssywh" &&
704 key != "bdcqzh") {
705 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
706
707 }
708 }
709 if (!this.ruleForm.tdytqxList.length) {
710 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
711 }
712 if (!this.ruleForm.qlrData.length) {
713 this.ruleForm.qlrData = this.nowlist.qlrData;
714 }
715 if (!this.ruleForm.ywrData.length) {
716 this.ruleForm.ywrData = this.nowlist.ywrData;
717 }
718 this.$message({
719 type: "success",
720 message: "同步成功!",
721 });
722 }
723 });
724 }).catch(() => {
725 this.$message({
726 type: "info",
727 message: "已取消同步",
728 });
729 });
730 },
731
732 djlxchange (val) {
733 if (val == null || val == 100) {
734 this.ssqlxxshow = false;
735 } else {
736 this.ssqlxxshow = true;
737 }
738 },
739 /**
740 * @description: loadData
741 * @author: renchao
742 */
743 loadData () {
744 this.$startLoading();
745 this.propsParam.isEdit = this.$parent.isEdit;
746 init(this.propsParam).then((res) => {
747 if (res.code == 200) {
748 this.ruleForm = res.result;
749 this.$endLoading();
750 this.isShow = true;
751 let djlx = this.ruleForm.qlxx.djlx;
752 if (djlx == null || djlx == 100) {
753 this.ssqlxxshow = false;
754 }
755
756 //获取主体信息
757 getSsQlxx({
758 bdcdyid: this.propsParam.bdcdyid,
759 qllx: this.propsParam.qllx,
760 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
761 }).then((res) => {
762 if (res.code == 200) {
763 this.ssQlxxList = res.result;
764 }
765 });
766 //获取上手信息
767 getZtQlxx({
768 bdcdyid: this.propsParam.bdcdyid,
769 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
770 }).then((res) => {
771 if (res.code == 200) {
772 this.ztQlxxList = res.result;
773 }
774 });
775 }
776 });
777 },
778 /**
779 * @description: 更新土地用途信息
780 * @param {*} val
781 * @author: renchao
782 */
783 upDateTdytxxList (val) {
784 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
785 this.key++;
786 },
787 /**
788 * @description: 更新权利人信息
789 * @param {*} val
790 * @author: renchao
791 */
792 upDateQlrxxList (val) {
793 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
794 this.czrOptions = this.ruleForm.qlrData;
795 this.key++;
796 },
797 /**
798 * @description: 更新义务人信息
799 * @param {*} val
800 * @author: renchao
801 */
802 upDateYwrxxList (val) {
803 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
804 this.key++;
805 },
806 /**
807 * @description: onSubmit
808 * @author: renchao
809 */
810 onSubmit () {
811 this.$refs.ruleForm.validate((valid) => {
812 if (valid) {
813 if (this.ruleForm.qlrData.length == 0) {
814 this.$message({
815 showClose: true,
816 message: "请确认权利人信息",
817 type: "error",
818 });
819 return false;
820 }
821 if (this.ruleForm.ywrData.length == 0) {
822 this.$message({
823 showClose: true,
824 message: "请确认义务人信息",
825 type: "error",
826 });
827 return false;
828 }
829 if (this.ruleForm.qlxx.gyfs == "0") {
830 if (this.ruleForm.qlrData.length > 1) {
831 this.$message({
832 showClose: true,
833 message: "共有方式:单独所有,权利人只能是一个人",
834 type: "error",
835 });
836 return false;
837 }
838 this.ruleForm.qlrData[0].sfczr = "1";
839 } else {
840 if (this.ruleForm.qlrData.length <= 1) {
841 this.$message({
842 showClose: true,
843 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
844 type: "error",
845 });
846 return false;
847 }
848 // //是否分别持证
849 // if (this.ruleForm.qlxx.sqfbcz == "1") {
850 // //是
851 // this.ruleForm.qlrData.forEach((item, index) => {
852 // item.sfczr = "1";
853 // });
854 // } else {
855 // if (!that.ruleForm.czr) {
856 // that.$message({
857 // showClose: true,
858 // message: "请选择持证人",
859 // type: "error",
860 // });
861 // return false;
862 // }
863 // this.ruleForm.qlrData.forEach((item, index) => {
864 // if (item.zjh == this.ruleForm.czr) {
865 // item.sfczr = "1";
866 // } else {
867 // item.sfczr = "0";
868 // }
869 // })
870 // }
871 }
872 save(this.ruleForm).then((res) => {
873 if (res.code === 200) {
874 this.$message({
875 showClose: true,
876 message: "保存成功!",
877 type: "success",
878 });
879 this.$parent.changeywh();
880 this.$store.dispatch("user/refreshPage", true);
881 } else {
882 this.$message({
883 showClose: true,
884 message: res.message,
885 type: "error",
886 });
887 }
888 });
889 } else {
890 return false;
891 }
892 })
893 }
894 }
895 }; 587 };
896 </script> 588 </script>
897 <style scoped lang="scss"> 589 <style scoped lang="scss">
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:44:07 4 * @LastEditTime: 2023-08-10 14:11:39
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -432,9 +432,7 @@ ...@@ -432,9 +432,7 @@
432 </div> 432 </div>
433 </template> 433 </template>
434 <script> 434 <script>
435 import { mapGetters } from "vuex"; 435 import ywmix from "./dataprocessing";
436 import ywmix from "@/views/ywbl/mixin/index"
437 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
438 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 436 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
439 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 437 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
440 import tdytTable from "@/views/workflow/components/tdytTable"; 438 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -442,73 +440,8 @@ ...@@ -442,73 +440,8 @@
442 export default { 440 export default {
443 mixins: [ywmix], 441 mixins: [ywmix],
444 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 442 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
445 computed: {
446 ...mapGetters(["dictData", "flag"]),
447 // 根据流程判断表单是否为只读
448 editDisabled () {
449 if (!this.ableOperation) {
450 //只读状态
451 return true;
452 }
453 return false;
454 },
455 },
456 data () { 443 data () {
457 return { 444 return {
458 ssqlxxshow: true,
459 props: {
460 label: "bdcqzh",
461 value: "bdcdyid",
462 },
463 //表单是否可操作
464 propsParam: this.$attrs,
465 key: 0,
466 isShow: false,
467 disabled: true,
468 czrOptions: [],
469 ssQlxxList: [],
470 ztQlxxList: [],
471 ruleForm: {},
472 // 登记类型
473 djlxlist: [
474 {
475 dcode: "100",
476 dname: "首次登记",
477 },
478 {
479 dcode: "200",
480 dname: "转移登记",
481 },
482 {
483 dcode: "300",
484 dname: "变更登记",
485 },
486 {
487 dcode: "500",
488 dname: "更正登记",
489 },
490
491 {
492 dcode: "901",
493 dname: "补证",
494 },
495 {
496 dcode: "902",
497 dname: "换证",
498 },
499 ],
500 // 权属状态
501 qsztlist: [
502 {
503 dcode: "1",
504 dname: "现势",
505 },
506 {
507 dcode: "2",
508 dname: "历史",
509 },
510 ],
511 ableOperation: false,
512 //传递参数\ 445 //传递参数\
513 rules: { 446 rules: {
514 ssQlxxrules: [ 447 ssQlxxrules: [
...@@ -528,234 +461,7 @@ ...@@ -528,234 +461,7 @@
528 }, 461 },
529 }; 462 };
530 }, 463 },
531 mounted () {
532 this.loadData();
533 this.ableOperation = this.$parent.ableOperation;
534 },
535 methods: {
536 /**
537 * @description: ztQlxxchange
538 * @param {*} val
539 * @author: renchao
540 */
541 ztQlxxchange (val) {
542 this.ruleForm.ztQlxx = val;
543 },
544 /**
545 * @description: ssQlxxchange
546 * @param {*} val
547 * @author: renchao
548 */
549 ssQlxxchange (val) {
550 this.ruleForm.ssQlxx = val;
551 this.ruleForm.qlxx.ssywh = val.ywh;
552 this.ssQlxxchangediolog(val)
553 },
554 // 弹框事件
555 ssQlxxchangediolog (val) {
556 this.$confirm("是否将上手权利信息同步到表单", "提示", {
557 iconClass: "el-icon-question", //自定义图标样式
558 confirmButtonText: "确认", //确认按钮文字更换
559 cancelButtonText: "取消", //取消按钮文字更换
560 showClose: true, //是否显示右上角关闭按钮
561 type: "warning",
562 }).then(() => {
563 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
564 if (res.code == 200) {
565 this.nowlist = res.result;
566 for (var key in this.ruleForm.dyiq) {
567 if (
568 this.ruleForm.dyiq[key] == "" ||
569 this.ruleForm.dyiq[key] == null
570 ) {
571 this.ruleForm.dyiq[key] = this.nowlist.dyiq[key];
572 }
573 }
574 for (var key in this.ruleForm.qlxx) {
575 if (
576 this.ruleForm.qlxx[key] == "" ||
577 this.ruleForm.qlxx[key] == null &&
578 key != "ywh" &&
579 key != "dbr" &&
580 key != "djsj" &&
581 key != "ssywh" &&
582 key != "ssywh" &&
583 key != "bdcqzh") {
584 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
585
586 }
587 }
588 if (!this.ruleForm.tdytqxList.length) {
589 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
590 }
591 if (!this.ruleForm.qlrData.length) {
592 this.ruleForm.qlrData = this.nowlist.qlrData;
593 }
594 if (!this.ruleForm.ywrData.length) {
595 this.ruleForm.ywrData = this.nowlist.ywrData;
596 } 464 }
597 this.$message({
598 type: "success",
599 message: "同步成功!",
600 });
601 }
602 });
603 }).catch(() => {
604 this.$message({
605 type: "info",
606 message: "已取消同步",
607 });
608 });
609 },
610 /**
611 * @description: djlxchange
612 * @param {*} val
613 * @author: renchao
614 */
615 djlxchange (val) {
616 if (val == null || val == 100) {
617 this.ssqlxxshow = false;
618 } else {
619 this.ssqlxxshow = true;
620 }
621 },
622 /**
623 * @description: loadData
624 * @author: renchao
625 */
626 loadData () {
627 this.$startLoading();
628 this.propsParam.isEdit = this.$parent.isEdit;
629 init(this.propsParam).then((res) => {
630 if (res.code == 200) {
631 this.ruleForm = res.result;
632 let djlx = this.ruleForm.qlxx.djlx;
633 if (djlx == null || djlx == 100) {
634 this.ssqlxxshow = false;
635 }
636 this.$endLoading();
637 this.isShow = true;
638
639 //获取主体信息
640 getSsQlxx({
641 bdcdyid: this.propsParam.bdcdyid,
642 qllx: this.propsParam.qllx,
643 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
644 }).then((res) => {
645 if (res.code == 200) {
646 this.ssQlxxList = res.result;
647 }
648 });
649 //获取上手信息
650 getZtQlxx({
651 bdcdyid: this.propsParam.bdcdyid,
652 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
653 }).then((res) => {
654 if (res.code == 200) {
655 this.ztQlxxList = res.result;
656 }
657 });
658 }
659 });
660 },
661 // 更新土地用途信息
662 /**
663 * @description: 更新土地用途信息
664 * @param {*} val
665 * @author: renchao
666 */
667 upDateTdytxxList (val) {
668 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
669 this.key++;
670 },
671 // 更新权利人信息
672 /**
673 * @description: 更新权利人信息
674 * @param {*} val
675 * @author: renchao
676 */
677 upDateQlrxxList (val) {
678 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
679 this.czrOptions = this.ruleForm.qlrData;
680 this.key++;
681 },
682 // 更新义务人信息
683 /**
684 * @description: 更新义务人信息
685 * @param {*} val
686 * @author: renchao
687 */
688 upDateYwrxxList (val) {
689 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
690 this.key++;
691 },
692 /**
693 * @description: onSubmit
694 * @author: renchao
695 */
696 onSubmit () {
697 this.$refs.ruleForm.validate((valid) => {
698 if (valid) {
699 if (this.ruleForm.qlrData.length == 0) {
700 this.$message({
701 showClose: true,
702 message: "请确认权利人信息",
703 type: "error",
704 });
705 return false;
706 }
707 if (this.ruleForm.ywrData.length == 0) {
708 this.$message({
709 showClose: true,
710 message: "请确认义务人信息",
711 type: "error",
712 });
713 return false;
714 }
715 if (this.ruleForm.qlxx.gyfs == "0") {
716 if (this.ruleForm.qlrData.length > 1) {
717 this.$message({
718 showClose: true,
719 message: "共有方式:单独所有,权利人只能是一个人",
720 type: "error",
721 });
722 return false;
723 }
724 } else {
725 if (this.ruleForm.qlrData.length <= 1) {
726 this.$message({
727 showClose: true,
728 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
729 type: "error",
730 });
731 return false;
732 }
733
734 }
735 save(this.ruleForm).then((res) => {
736 if (res.code === 200) {
737 this.$message({
738 showClose: true,
739 message: "保存成功!",
740 type: "success",
741 });
742 this.$parent.changeywh()
743 this.$store.dispatch("user/refreshPage", true);
744 } else {
745 this.$message({
746 showClose: true,
747 message: res.message,
748 type: "error",
749 });
750 }
751 });
752 } else {
753 return false;
754 }
755 });
756 },
757 },
758 };
759 </script> 465 </script>
760 <style scoped lang="scss"> 466 <style scoped lang="scss">
761 @import "~@/styles/public.scss"; 467 @import "~@/styles/public.scss";
......
...@@ -424,8 +424,7 @@ ...@@ -424,8 +424,7 @@
424 </div> 424 </div>
425 </template> 425 </template>
426 <script> 426 <script>
427 import { mapGetters } from "vuex"; 427 import ywmix from "./dataprocessing";
428 import ywmix from "@/views/ywbl/mixin/index";
429 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 428 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
430 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 429 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
431 import selectTable from "@/components/selectTable/index.vue"; 430 import selectTable from "@/components/selectTable/index.vue";
...@@ -433,25 +432,9 @@ ...@@ -433,25 +432,9 @@
433 export default { 432 export default {
434 mixins: [ywmix], 433 mixins: [ywmix],
435 components: { qlrCommonTable, tdytTable, selectTable }, 434 components: { qlrCommonTable, tdytTable, selectTable },
436 computed: {
437 ...mapGetters(["dictData", "flag"]),
438 // 根据流程判断表单是否为只读
439 editDisabled () {
440 if (!this.ableOperation) {
441 //只读状态
442 return true;
443 }
444 return false;
445 },
446 },
447 data () { 435 data () {
448 return { 436 return {
449 mjdw: "1", 437 mjdw: "1",
450 ssqlxxshow: true,
451 props: {
452 label: "bdcqzh",
453 value: "bdcdyid",
454 },
455 // 键名转换,方法默认是label和children进行树状渲染 438 // 键名转换,方法默认是label和children进行树状渲染
456 normalizer (node) { 439 normalizer (node) {
457 //方法 440 //方法
...@@ -463,58 +446,12 @@ ...@@ -463,58 +446,12 @@
463 label: node.dname, 446 label: node.dname,
464 }; 447 };
465 }, 448 },
466
467 //表单是否可操作
468 propsParam: this.$attrs,
469 // 登记类型
470 djlxlist: [
471 {
472 dcode: "100",
473 dname: "首次登记",
474 },
475 {
476 dcode: "200",
477 dname: "转移登记",
478 },
479 {
480 dcode: "300",
481 dname: "变更登记",
482 },
483 {
484 dcode: "500",
485 dname: "更正登记",
486 },
487
488 {
489 dcode: "901",
490 dname: "补证",
491 },
492 {
493 dcode: "902",
494 dname: "换证",
495 },
496 ],
497 // 权属状态
498 qsztlist: [
499 {
500 dcode: "1",
501 dname: "现势",
502 },
503 {
504 dcode: "2",
505 dname: "历史",
506 },
507 ],
508 key: 0, 449 key: 0,
509 isShow: false, 450 isShow: false,
510 disabled: true, 451 disabled: true,
511 czrOptions: [], 452 czrOptions: [],
512 ssQlxxList: [], 453 ssQlxxList: [],
513 ruleForm: { 454 ruleForm: {},
514 fdcq2: {
515 ftjzmj: "",
516 },
517 },
518 ableOperation: false, 455 ableOperation: false,
519 //传递参数\ 456 //传递参数\
520 rules: { 457 rules: {
......
...@@ -559,14 +559,6 @@ ...@@ -559,14 +559,6 @@
559 }); 559 });
560 return false; 560 return false;
561 } 561 }
562 if (this.ruleForm.qlrData.length != 0 && this.ruleForm.qlxx.sqfbcz == 0 && this.ruleForm.czr == '') {
563 this.$message({
564 showClose: true,
565 message: "请选择持证人信息",
566 type: "error",
567 });
568 return false;
569 }
570 if (this.ruleForm.qlxx.gyfs == "0") { 562 if (this.ruleForm.qlxx.gyfs == "0") {
571 if (this.ruleForm.qlrData.length > 1) { 563 if (this.ruleForm.qlrData.length > 1) {
572 this.$message({ 564 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:45:23 4 * @LastEditTime: 2023-08-10 14:12:58
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
344 v-model="ruleForm.ygdj.jzmj" 344 v-model="ruleForm.ygdj.jzmj"
345 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 345 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
346 <el-select 346 <el-select
347 v-model="mjdw" 347 v-model="ruleForm.ygdj.mjdw"
348 :disabled="!ableOperation" 348 :disabled="!ableOperation"
349 style="width: 20%"> 349 style="width: 20%">
350 <el-option 350 <el-option
...@@ -483,9 +483,7 @@ ...@@ -483,9 +483,7 @@
483 </div> 483 </div>
484 </template> 484 </template>
485 <script> 485 <script>
486 import { mapGetters } from "vuex"; 486 import ywmix from "./dataprocessing";
487 import ywmix from "@/views/ywbl/mixin/index";
488 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
489 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 487 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
490 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 488 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
491 import tdytTable from "@/views/workflow/components/tdytTable"; 489 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -493,73 +491,8 @@ ...@@ -493,73 +491,8 @@
493 export default { 491 export default {
494 mixins: [ywmix], 492 mixins: [ywmix],
495 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 493 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
496 computed: {
497 ...mapGetters(["dictData", "flag"]),
498 // 根据流程判断表单是否为只读
499 editDisabled () {
500 if (!this.ableOperation) {
501 //只读状态
502 return true;
503 }
504 return false;
505 },
506 },
507 data () { 494 data () {
508 return { 495 return {
509 ssqlxxshow: true,
510 props: {
511 label: "bdcqzh",
512 value: "bdcdyid",
513 },
514 mjdw: "1",
515 //表单是否可操作
516 propsParam: this.$attrs,
517 key: 0,
518 isShow: false,
519 disabled: true,
520 czrOptions: [],
521 ssQlxxList: [],
522 ztQlxxList: [],
523 ruleForm: {},
524 // 登记类型
525 djlxlist: [
526 {
527 dcode: "100",
528 dname: "首次登记",
529 },
530 {
531 dcode: "200",
532 dname: "转移登记",
533 },
534 {
535 dcode: "300",
536 dname: "变更登记",
537 },
538 {
539 dcode: "500",
540 dname: "更正登记",
541 },
542
543 {
544 dcode: "901",
545 dname: "补证",
546 },
547 {
548 dcode: "902",
549 dname: "换证",
550 },
551 ],
552 // 权属状态
553 qsztlist: [
554 {
555 dcode: "1",
556 dname: "现势",
557 },
558 {
559 dcode: "2",
560 dname: "历史",
561 },
562 ],
563 //传递参数\ 496 //传递参数\
564 rules: { 497 rules: {
565 ztQlxxrules: [ 498 ztQlxxrules: [
...@@ -584,237 +517,6 @@ ...@@ -584,237 +517,6 @@
584 ableOperation: false, 517 ableOperation: false,
585 }; 518 };
586 }, 519 },
587 created () {
588 this.loadData();
589 },
590 mounted () {
591 this.ableOperation = this.$parent.ableOperation;
592 },
593 methods: {
594 /**
595 * @description: ztQlxxchange
596 * @param {*} val
597 * @author: renchao
598 */
599 ztQlxxchange (val) {
600 this.ruleForm.ztQlxx = val;
601 },
602 /**
603 * @description: ssQlxxchange
604 * @param {*} val
605 * @author: renchao
606 */
607 ssQlxxchange (val) {
608 this.ruleForm.ssQlxx = val;
609 this.ruleForm.qlxx.ssywh = val.ywh;
610 this.ssQlxxchangediolog(val);
611 },
612 // 弹框事件
613 ssQlxxchangediolog (val) {
614 this.$confirm("是否将上手权利信息同步到表单", "提示", {
615 iconClass: "el-icon-question", //自定义图标样式
616 confirmButtonText: "确认", //确认按钮文字更换
617 cancelButtonText: "取消", //取消按钮文字更换
618 showClose: true, //是否显示右上角关闭按钮
619 type: "warning",
620 })
621 .then(() => {
622 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
623 if (res.code == 200) {
624 this.nowlist = res.result;
625 for (var key in this.ruleForm.ygdj) {
626 if (
627 this.ruleForm.ygdj[key] == "" ||
628 this.ruleForm.ygdj[key] == null
629 ) {
630 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
631 }
632 }
633 for (var key in this.ruleForm.qlxx) {
634 if (
635 this.ruleForm.qlxx[key] == "" ||
636 this.ruleForm.qlxx[key] == null &&
637 key != "ywh" &&
638 key != "dbr" &&
639 key != "djsj" &&
640 key != "ssywh" &&
641 key != "ssywh" &&
642 key != "bdcqzh") {
643 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
644
645 }
646 }
647 if (!this.ruleForm.tdytqxList.length) {
648 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
649 }
650 if (!this.ruleForm.qlrData.length) {
651 this.ruleForm.qlrData = this.nowlist.qlrData;
652 }
653 if (!this.ruleForm.ywrData.length) {
654 this.ruleForm.ywrData = this.nowlist.ywrData;
655 }
656 this.$message({
657 type: "success",
658 message: "同步成功!",
659 });
660 }
661 });
662 })
663 .catch(() => {
664 this.$message({
665 type: "info",
666 message: "已取消同步",
667 });
668 });
669 },
670
671 /**
672 * @description: djlxchange
673 * @param {*} val
674 * @author: renchao
675 */
676 djlxchange (val) {
677 if (val == null || val == 100) {
678 this.ssqlxxshow = false;
679 } else {
680 this.ssqlxxshow = true;
681 }
682 },
683 /**
684 * @description: loadData
685 * @author: renchao
686 */
687 loadData () {
688 this.$startLoading();
689 this.propsParam.isEdit = this.$parent.isEdit;
690 init(this.propsParam).then((res) => {
691 if (res.code == 200) {
692 this.ruleForm = res.result;
693 let djlx = this.ruleForm.qlxx.djlx;
694 if (djlx == null || djlx == 100) {
695 this.ssqlxxshow = false;
696 }
697 this.ruleForm.ygdj.jedw = "1";
698 this.$endLoading();
699 this.isShow = true;
700 //获取主体信息
701 getSsQlxx({
702 bdcdyid: this.propsParam.bdcdyid,
703 qllx: this.propsParam.qllx,
704 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
705 }).then((res) => {
706 if (res.code == 200) {
707 this.ssQlxxList = res.result;
708 }
709 });
710 //获取上手信息
711 getZtQlxx({
712 bdcdyid: this.propsParam.bdcdyid,
713 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
714 }).then((res) => {
715 if (res.code == 200) {
716 this.ztQlxxList = res.result;
717 }
718 });
719 }
720 });
721 },
722 // 更新土地用途信息
723 /**
724 * @description: 更新土地用途信息
725 * @param {*} val
726 * @author: renchao
727 */
728 upDateTdytxxList (val) {
729 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
730 this.key++;
731 },
732 // 更新权利人信息
733 /**
734 * @description: 更新权利人信息
735 * @param {*} val
736 * @author: renchao
737 */
738 upDateQlrxxList (val) {
739 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
740 this.czrOptions = this.ruleForm.qlrData;
741 this.key++;
742 },
743 // 更新义务人信息
744 /**
745 * @description: 更新义务人信息
746 * @param {*} val
747 * @author: renchao
748 */
749 upDateYwrxxList (val) {
750 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
751 this.key++;
752 },
753 /**
754 * @description: onSubmit
755 * @author: renchao
756 */
757 onSubmit () {
758 this.$refs.ruleForm.validate((valid) => {
759 if (valid) {
760 if (this.ruleForm.qlrData.length == 0) {
761 this.$message({
762 showClose: true,
763 message: "请确认权利人信息",
764 type: "error",
765 });
766 return false;
767 }
768 if (this.ruleForm.ywrData.length == 0) {
769 this.$message({
770 showClose: true,
771 message: "请确认义务人信息",
772 type: "error",
773 });
774 return false;
775 }
776 if (this.ruleForm.qlxx.gyfs == "0") {
777 if (this.ruleForm.qlrData.length > 1) {
778 this.$message({
779 showClose: true,
780 message: "共有方式:单独所有,权利人只能是一个人",
781 type: "error",
782 });
783 return false;
784 }
785 } else {
786 if (this.ruleForm.qlrData.length <= 1) {
787 this.$message({
788 showClose: true,
789 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
790 type: "error",
791 });
792 return false;
793 }
794 }
795 save(this.ruleForm).then((res) => {
796 if (res.code === 200) {
797 this.$message({
798 showClose: true,
799 message: "保存成功!",
800 type: "success",
801 });
802 this.$parent.changeywh();
803 this.$store.dispatch("user/refreshPage", true);
804 } else {
805 this.$message({
806 showClose: true,
807 message: res.message,
808 type: "error",
809 });
810 }
811 });
812 } else {
813 return false;
814 }
815 });
816 },
817 },
818 }; 520 };
819 </script> 521 </script>
820 <style scoped lang="scss"> 522 <style scoped lang="scss">
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-04 16:45:37 4 * @LastEditTime: 2023-08-10 14:13:10
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
259 v-model="ruleForm.ygdj.jzmj" 259 v-model="ruleForm.ygdj.jzmj"
260 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 260 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
261 <el-select 261 <el-select
262 v-model="mjdw" 262 v-model="ruleForm.ygdj.mjdw"
263 :disabled="!ableOperation" 263 :disabled="!ableOperation"
264 style="width: 20%"> 264 style="width: 20%">
265 <el-option 265 <el-option
...@@ -433,9 +433,7 @@ ...@@ -433,9 +433,7 @@
433 </div> 433 </div>
434 </template> 434 </template>
435 <script> 435 <script>
436 import { mapGetters } from "vuex"; 436 import ywmix from "./dataprocessing";
437 import ywmix from "@/views/ywbl/mixin/index";
438 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
439 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 437 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
440 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 438 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
441 import tdytTable from "@/views/workflow/components/tdytTable"; 439 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -443,72 +441,8 @@ ...@@ -443,72 +441,8 @@
443 export default { 441 export default {
444 mixins: [ywmix], 442 mixins: [ywmix],
445 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 443 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
446 computed: {
447 ...mapGetters(["dictData", "flag"]),
448 // 根据流程判断表单是否为只读
449 editDisabled () {
450 if (!this.ableOperation) {
451 //只读状态
452 return true;
453 }
454 return false;
455 },
456 },
457 data () { 444 data () {
458 return { 445 return {
459 ssqlxxshow: true,
460 props: {
461 label: "bdcqzh",
462 value: "bdcdyid",
463 },
464 mjdw: "1",
465 //表单是否可操作
466 propsParam: this.$attrs,
467 key: 0,
468 isShow: false,
469 disabled: true,
470 czrOptions: [],
471 ssQlxxList: [],
472 ruleForm: {},
473 // 登记类型
474 djlxlist: [
475 {
476 dcode: "100",
477 dname: "首次登记",
478 },
479 {
480 dcode: "200",
481 dname: "转移登记",
482 },
483 {
484 dcode: "300",
485 dname: "变更登记",
486 },
487 {
488 dcode: "500",
489 dname: "更正登记",
490 },
491
492 {
493 dcode: "901",
494 dname: "补证",
495 },
496 {
497 dcode: "902",
498 dname: "换证",
499 },
500 ],
501 // 权属状态
502 qsztlist: [
503 {
504 dcode: "1",
505 dname: "现势",
506 },
507 {
508 dcode: "2",
509 dname: "历史",
510 },
511 ],
512 //传递参数\ 446 //传递参数\
513 rules: { 447 rules: {
514 ztQlxxrules: [ 448 ztQlxxrules: [
...@@ -530,230 +464,8 @@ ...@@ -530,230 +464,8 @@
530 { required: true, message: "上手权利信息", trigger: "blur" }, 464 { required: true, message: "上手权利信息", trigger: "blur" },
531 ], 465 ],
532 }, 466 },
533 ableOperation: false,
534 }; 467 };
535 }, 468 },
536 created () {
537 this.loadData();
538 },
539 mounted () {
540 this.ableOperation = this.$parent.ableOperation;
541 },
542 methods: {
543 /**
544 * @description: ztQlxxchange
545 * @param {*} val
546 * @author: renchao
547 */
548 ztQlxxchange (val) {
549 this.ruleForm.ztQlxx = val;
550 },
551 /**
552 * @description: ssQlxxchange
553 * @param {*} val
554 * @author: renchao
555 */
556 ssQlxxchange (val) {
557 this.ruleForm.ssQlxx = val;
558 this.ruleForm.qlxx.ssywh = val.ywh;
559 this.ssQlxxchangediolog(val);
560 },
561 // 弹框事件
562 ssQlxxchangediolog (val) {
563 this.$confirm("是否将上手权利信息同步到表单", "提示", {
564 iconClass: "el-icon-question", //自定义图标样式
565 confirmButtonText: "确认", //确认按钮文字更换
566 cancelButtonText: "取消", //取消按钮文字更换
567 showClose: true, //是否显示右上角关闭按钮
568 type: "warning",
569 })
570 .then(() => {
571 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
572 if (res.code == 200) {
573 this.nowlist = res.result;
574 for (var key in this.ruleForm.ygdj) {
575 if (
576 this.ruleForm.ygdj[key] == "" ||
577 this.ruleForm.ygdj[key] == null
578 ) {
579 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
580 }
581 }
582 for (var key in this.ruleForm.qlxx) {
583 if (
584 this.ruleForm.qlxx[key] == "" ||
585 this.ruleForm.qlxx[key] == null &&
586 key != "ywh" &&
587 key != "dbr" &&
588 key != "djsj" &&
589 key != "ssywh" &&
590 key != "ssywh" &&
591 key != "bdcqzh") {
592 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
593
594 }
595 }
596 if (!this.ruleForm.tdytqxList.length) {
597 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
598 }
599 if (!this.ruleForm.qlrData.length) {
600 this.ruleForm.qlrData = this.nowlist.qlrData;
601 }
602 if (!this.ruleForm.ywrData.length) {
603 this.ruleForm.ywrData = this.nowlist.ywrData;
604 }
605 this.$message({
606 type: "success",
607 message: "同步成功!",
608 });
609 }
610 });
611 })
612 .catch(() => {
613 this.$message({
614 type: "info",
615 message: "已取消同步",
616 });
617 });
618 },
619 /**
620 * @description: djlxchange
621 * @param {*} val
622 * @author: renchao
623 */
624 djlxchange (val) {
625 if (val == null || val == 100) {
626 this.ssqlxxshow = false;
627 } else {
628 this.ssqlxxshow = true;
629 }
630 },
631 /**
632 * @description: loadData
633 * @author: renchao
634 */
635 loadData () {
636 this.$startLoading();
637 this.propsParam.isEdit = this.$parent.isEdit;
638 init(this.propsParam).then((res) => {
639 if (res.code == 200) {
640 this.ruleForm = res.result;
641 let djlx = this.ruleForm.qlxx.djlx;
642 if (djlx == null || djlx == 100) {
643 this.ssqlxxshow = false;
644 }
645 this.ruleForm.ygdj.jedw = "1";
646 this.$endLoading();
647 this.isShow = true;
648 //获取主体信息
649 getSsQlxx({
650 bdcdyid: this.propsParam.bdcdyid,
651 qllx: this.propsParam.qllx,
652 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
653 }).then((res) => {
654 if (res.code == 200) {
655 this.ssQlxxList = res.result;
656 }
657 });
658 }
659 });
660 },
661 // 更新土地用途信息
662 /**
663 * @description: 更新土地用途信息
664 * @param {*} val
665 * @author: renchao
666 */
667 upDateTdytxxList (val) {
668 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
669 this.key++;
670 },
671 // 更新权利人信息
672 /**
673 * @description: 更新权利人信息
674 * @param {*} val
675 * @author: renchao
676 */
677 upDateQlrxxList (val) {
678 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
679 this.czrOptions = this.ruleForm.qlrData;
680 this.key++;
681 },
682 // 更新义务人信息
683 /**
684 * @description: 更新义务人信息
685 * @param {*} val
686 * @author: renchao
687 */
688 upDateYwrxxList (val) {
689 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
690 this.key++;
691 },
692 /**
693 * @description: onSubmit
694 * @author: renchao
695 */
696 onSubmit () {
697 this.$refs.ruleForm.validate((valid) => {
698 if (valid) {
699 if (this.ruleForm.qlrData.length == 0) {
700 this.$message({
701 showClose: true,
702 message: "请确认权利人信息",
703 type: "error",
704 });
705 return false;
706 }
707 if (this.ruleForm.ywrData.length == 0) {
708 this.$message({
709 showClose: true,
710 message: "请确认义务人信息",
711 type: "error",
712 });
713 return false;
714 }
715 if (this.ruleForm.qlxx.gyfs == "0") {
716 if (this.ruleForm.qlrData.length > 1) {
717 this.$message({
718 showClose: true,
719 message: "共有方式:单独所有,权利人只能是一个人",
720 type: "error",
721 });
722 return false;
723 }
724 } else {
725 if (this.ruleForm.qlrData.length <= 1) {
726 this.$message({
727 showClose: true,
728 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
729 type: "error",
730 });
731 return false;
732 }
733 }
734 save(this.ruleForm).then((res) => {
735 if (res.code === 200) {
736 this.$message({
737 showClose: true,
738 message: "保存成功!",
739 type: "success",
740 });
741 this.$parent.changeywh();
742 this.$store.dispatch("user/refreshPage", true);
743 } else {
744 this.$message({
745 showClose: true,
746 message: res.message,
747 type: "error",
748 });
749 }
750 });
751 } else {
752 return false;
753 }
754 });
755 },
756 },
757 }; 469 };
758 </script> 470 </script>
759 <style scoped lang="scss"> 471 <style scoped lang="scss">
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-07 18:12:57 4 * @LastEditTime: 2023-08-10 14:13:24
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -293,11 +293,7 @@ ...@@ -293,11 +293,7 @@
293 > 293 >
294 </el-form-item> 294 </el-form-item>
295 </el-col> 295 </el-col>
296 <el-col :span="24"> 296
297 <el-form-item label="附记:">
298 <el-input v-model="ruleForm.yydj.fj"></el-input>
299 </el-form-item>
300 </el-col>
301 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 297 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
302 <el-form-item label="注销异议业务号:"> 298 <el-form-item label="注销异议业务号:">
303 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input> 299 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input>
...@@ -326,6 +322,11 @@ ...@@ -326,6 +322,11 @@
326 </el-date-picker> 322 </el-date-picker>
327 </el-form-item> 323 </el-form-item>
328 </el-col> 324 </el-col>
325 <el-col :span="24">
326 <el-form-item label="附记:">
327 <el-input v-model="ruleForm.yydj.fj"></el-input>
328 </el-form-item>
329 </el-col>
329 </el-row> 330 </el-row>
330 <div class="slxx_title title-block"> 331 <div class="slxx_title title-block">
331 权利人信息 332 权利人信息
...@@ -407,40 +408,19 @@ ...@@ -407,40 +408,19 @@
407 </div> 408 </div>
408 </template> 409 </template>
409 <script> 410 <script>
410 import { mapGetters } from "vuex"; 411
411 // import ywmix from "@/views/ywbl/mixin/index"; 412 // import ywmix from "@/views/ywbl/mixin/index";
412 import { 413 import ywmix from "./dataprocessing";
413 init,
414 getSsQlxx,
415 getZtQlxx,
416 getQlxxByQlxxBsm,
417 save,
418 } from "@/api/djbRepair.js";
419 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 414 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
420 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 415 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
421 import tdytTable from "@/views/workflow/components/tdytTable"; 416 import tdytTable from "@/views/workflow/components/tdytTable";
422 import selectTable from "@/components/selectTable/index.vue"; 417 import selectTable from "@/components/selectTable/index.vue";
423 export default { 418 export default {
424 // mixins: [ywmix], 419 mixins: [ywmix],
425 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 420 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
426 computed: {
427 ...mapGetters(["dictData", "flag"]),
428 // 根据流程判断表单是否为只读
429 editDisabled() {
430 if (!this.ableOperation) {
431 //只读状态
432 return true;
433 }
434 return false;
435 },
436 },
437 data() { 421 data() {
438 return { 422 return {
439 ssqlxxshow: true, 423 ssqlxxshow: true,
440 props: {
441 label: "bdcqzh",
442 value: "bdcdyid",
443 },
444 //表单是否可操作 424 //表单是否可操作
445 propsParam: this.$attrs, 425 propsParam: this.$attrs,
446 key: 0, 426 key: 0,
...@@ -450,45 +430,7 @@ export default { ...@@ -450,45 +430,7 @@ export default {
450 ssQlxxList: [], 430 ssQlxxList: [],
451 ztQlxxList: [], 431 ztQlxxList: [],
452 ruleForm: {}, 432 ruleForm: {},
453 // 登记类型
454 djlxlist: [
455 {
456 dcode: "100",
457 dname: "首次登记",
458 },
459 {
460 dcode: "200",
461 dname: "转移登记",
462 },
463 {
464 dcode: "300",
465 dname: "变更登记",
466 },
467 {
468 dcode: "500",
469 dname: "更正登记",
470 },
471
472 {
473 dcode: "901",
474 dname: "补证",
475 },
476 {
477 dcode: "902",
478 dname: "换证",
479 },
480 ],
481 // 权属状态 433 // 权属状态
482 qsztlist: [
483 {
484 dcode: "1",
485 dname: "现势",
486 },
487 {
488 dcode: "2",
489 dname: "历史",
490 },
491 ],
492 //传递参数\ 434 //传递参数\
493 rules: { 435 rules: {
494 ssQlxxrules: [ 436 ssQlxxrules: [
...@@ -514,237 +456,8 @@ export default { ...@@ -514,237 +456,8 @@ export default {
514 ableOperation: false, 456 ableOperation: false,
515 }; 457 };
516 }, 458 },
517 created() {
518 this.loadData();
519 },
520 mounted() {
521 this.ableOperation = this.$parent.ableOperation;
522 },
523 methods: { 459 methods: {
524 /**
525 * @description: ztQlxxchange
526 * @param {*} val
527 * @author: renchao
528 */
529 ztQlxxchange(val) {
530 this.ruleForm.ztQlxx = val;
531 },
532 /**
533 * @description: ssQlxxchange
534 * @param {*} val
535 * @author: renchao
536 */
537 ssQlxxchange(val) {
538 this.ruleForm.ssQlxx = val;
539 this.ruleForm.qlxx.ssywh = val.ywh;
540 this.ssQlxxchangediolog(val);
541 },
542 // 弹框事件
543 ssQlxxchangediolog(val) {
544 this.$confirm("是否将上手权利信息同步到表单", "提示", {
545 iconClass: "el-icon-question", //自定义图标样式
546 confirmButtonText: "确认", //确认按钮文字更换
547 cancelButtonText: "取消", //取消按钮文字更换
548 showClose: true, //是否显示右上角关闭按钮
549 type: "warning",
550 })
551 .then(() => {
552 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
553 if (res.code == 200) {
554 this.nowlist = res.result;
555 for (var key in this.ruleForm.yydj) {
556 if (
557 this.ruleForm.yydj[key] == "" ||
558 this.ruleForm.yydj[key] == null
559 ) {
560 this.ruleForm.yydj[key] = this.nowlist.yydj[key];
561 }
562 }
563 for (var key in this.ruleForm.qlxx) {
564 if (
565 this.ruleForm.qlxx[key] == "" ||
566 (this.ruleForm.qlxx[key] == null &&
567 key != "ywh" &&
568 key != "dbr" &&
569 key != "djsj" &&
570 key != "ssywh" &&
571 key != "ssywh" &&
572 key != "bdcqzh")
573 ) {
574 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
575 }
576 }
577 if (!this.ruleForm.tdytqxList.length) {
578 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
579 }
580 if (!this.ruleForm.qlrData.length) {
581 this.ruleForm.qlrData = this.nowlist.qlrData;
582 }
583 if (!this.ruleForm.ywrData.length) {
584 this.ruleForm.ywrData = this.nowlist.ywrData;
585 }
586 this.$message({
587 type: "success",
588 message: "同步成功!",
589 });
590 }
591 });
592 })
593 .catch(() => {
594 this.$message({
595 type: "info",
596 message: "已取消同步",
597 });
598 });
599 },
600 /**
601 * @description: djlxchange
602 * @param {*} val
603 * @author: renchao
604 */
605 djlxchange (val) {
606 if (val == null || val == 100) {
607 this.ssqlxxshow = false;
608 } else {
609 this.ssqlxxshow = true;
610 }
611 },
612 /**
613 * @description: loadData
614 * @author: renchao
615 */
616 loadData () {
617 this.$startLoading();
618 this.propsParam.isEdit = this.$parent.isEdit;
619 init(this.propsParam).then((res) => {
620 if (res.code == 200) {
621 this.ruleForm = res.result;
622 let djlx = this.ruleForm.qlxx.djlx;
623 if (djlx == null || djlx == 100) {
624 this.ssqlxxshow = false;
625 }
626 460
627 this.$endLoading();
628 this.isShow = true;
629 //获取主体信息
630 getSsQlxx({
631 bdcdyid: this.propsParam.bdcdyid,
632 qllx: this.propsParam.qllx,
633 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
634 }).then((res) => {
635 if (res.code == 200) {
636 this.ssQlxxList = res.result;
637 }
638 });
639 //获取上手信息
640 getZtQlxx({
641 bdcdyid: this.propsParam.bdcdyid,
642 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
643 }).then((res) => {
644 if (res.code == 200) {
645 this.ztQlxxList = res.result;
646 }
647 });
648 }
649 });
650 },
651 // 更新土地用途信息
652 /**
653 * @description: 更新土地用途信息
654 * @param {*} val
655 * @author: renchao
656 */
657 upDateTdytxxList(val) {
658 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
659 this.key++;
660 },
661 // 更新权利人信息
662 /**
663 * @description: 更新权利人信息
664 * @param {*} val
665 * @author: renchao
666 */
667 upDateQlrxxList(val) {
668 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
669 this.czrOptions = this.ruleForm.qlrData;
670 this.key++;
671 },
672 // 更新义务人信息
673 /**
674 * @description: 更新义务人信息
675 * @param {*} val
676 * @author: renchao
677 */
678 upDateYwrxxList(val) {
679 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
680 this.key++;
681 },
682 /**
683 * @description: onSubmit
684 * @author: renchao
685 */
686 onSubmit() {
687 this.$refs.ruleForm.validate((valid) => {
688 if (valid) {
689 if (this.ruleForm.qlrData.length == 0) {
690 this.$message({
691 showClose: true,
692 message: "请确认权利人信息",
693 type: "error",
694 });
695 return false;
696 }
697 if (this.ruleForm.ywrData.length == 0) {
698 this.$message({
699 showClose: true,
700 message: "请确认义务人信息",
701 type: "error",
702 });
703 return false;
704 }
705 if (this.ruleForm.qlxx.gyfs == "0") {
706 if (this.ruleForm.qlrData.length > 1) {
707 this.$message({
708 showClose: true,
709 message: "共有方式:单独所有,权利人只能是一个人",
710 type: "error",
711 });
712 return false;
713 }
714 this.ruleForm.qlrData[0].sfczr = "1";
715 } else {
716 if (this.ruleForm.qlrData.length <= 1) {
717 this.$message({
718 showClose: true,
719 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
720 type: "error",
721 });
722 return false;
723 }
724 }
725
726 save(this.ruleForm).then((res) => {
727 if (res.code === 200) {
728 this.$message({
729 showClose: true,
730 message: "保存成功!",
731 type: "success",
732 });
733 this.$parent.changeywh();
734 this.$store.dispatch("user/refreshPage", true);
735 } else {
736 this.$message({
737 showClose: true,
738 message: res.message,
739 type: "error",
740 });
741 }
742 });
743 } else {
744 return false;
745 }
746 });
747 },
748 }, 461 },
749 }; 462 };
750 </script> 463 </script>
......
1 /* 1 /*
2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法
3 * @Autor: miaofang 3 * @Autor: miaofang
4 * @LastEditTime: 2023-07-31 10:03:23 4 * @LastEditTime: 2023-08-10 14:13:32
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { getQllxByBdcdyid } from "@/api/djbDetail.js"; 7 import { getQllxByBdcdyid } from "@/api/djbDetail.js";
...@@ -123,15 +123,6 @@ export default { ...@@ -123,15 +123,6 @@ export default {
123 //新增材料信息选项卡数据 123 //新增材料信息选项卡数据
124 this.tabList.splice(this.clxxIndex, 0, this.clxxTab); 124 this.tabList.splice(this.clxxIndex, 0, this.clxxTab);
125 } 125 }
126 // this.closefp()
127
128 // if (this.splitScreen) {
129 // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
130 // if (this.tabName == this.clxxTab.value) {
131 // this.tabName = this.tabList[0].value;
132 // this.getFromRouter(this.tabList[0].value);
133 // }
134 // }
135 break; 126 break;
136 case "B3": //材料导入 127 case "B3": //材料导入
137 document.getElementById("cldr").click(); 128 document.getElementById("cldr").click();
...@@ -139,41 +130,6 @@ export default { ...@@ -139,41 +130,6 @@ export default {
139 case "B4": 130 case "B4":
140 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) 131 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true)
141 break; 132 break;
142 // case "B5":
143 // const h = this.$createElement;
144 // this.$msgbox({
145 // title: '请选择新增权利类型',
146 // message: h('p', null, [
147 // h('span', null, '内容可以是 '),
148 // h('el-button', { style: 'color: teal' }, 'VNode'),
149 // h('i', { style: 'color: teal' }, 'VNode')
150 // ]),
151 // showCancelButton: true,
152 // confirmButtonText: '确定',
153 // cancelButtonText: '取消',
154 // beforeClose: (action, instance, done) => {
155 // if (action === 'confirm') {
156 // instance.confirmButtonLoading = true;
157 // instance.confirmButtonText = '执行中...';
158 // setTimeout(() => {
159 // done();
160 // setTimeout(() => {
161 // instance.confirmButtonLoading = false;
162 // }, 300);
163 // }, 3000);
164 // } else {
165 // done();
166 // }
167 // }
168 // }).then(action => {
169 // this.addRepairRecord()
170 // this.$message({
171 // type: 'info',
172 // message: 'action: ' + action
173 // });
174 // });
175
176 // break;
177 case "B5": 133 case "B5":
178 if (this.currentSelectProps.bdcdyid) { 134 if (this.currentSelectProps.bdcdyid) {
179 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( 135 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
...@@ -185,10 +141,6 @@ export default { ...@@ -185,10 +141,6 @@ export default {
185 } 141 }
186 ); 142 );
187 } 143 }
188 // this.$refs.Menu.loadBdcdylist("add")
189 // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true)
190
191
192 break; 144 break;
193 case "B6": 145 case "B6":
194 //根据编号获取对应信息 146 //根据编号获取对应信息
......
1 <template> 1 <template>
2 <div class="gis"> 2 <iframe :src="'http://192.168.2.22:8020/#/' + formData.bsmZd" frameborder="0" style="width: 100%; height:710px;"></iframe>
3 <div class="gis-container" ref="main">
4 <div class="flex-transverse" ref="transverse">
5 <div id="arcgisMap0" class="flex-single"></div>
6 </div>
7 <div class="flex-vertical" ref="vertical"></div>
8 </div>
9
10 <el-card class="box-card">
11 <div v-for="( item, i ) in curr" :key="i" class="text item">
12 <el-row>
13 <el-col :span="10">
14 <div class="grid-content">{{ item.key }}</div>
15 </el-col>
16 <el-col :span="14">
17 <div class="grid-content">{{ item.value }}</div>
18 </el-col>
19 </el-row>
20 </div>
21 </el-card>
22 </div>
23 </template> 3 </template>
24
25 <script> 4 <script>
26
27 import apiWrapper from '@union/gis-sdk';
28 import layerJson from '@/api/json/layer.json';
29 import axios from 'axios';
30 import { log } from 'bpmn-js-token-simulation';
31
32 export default { 5 export default {
33 props: { 6 props: {
34 formData: { 7 formData: {
...@@ -37,107 +10,6 @@ ...@@ -37,107 +10,6 @@
37 return {} 10 return {}
38 } 11 }
39 } 12 }
40 },
41 data () {
42 return {
43 curr: []
44 } 13 }
45 },
46 mounted () {
47 let doc = document.querySelector('.gis');
48 this.$nextTick(() => {
49 Object.assign(doc.style, { width: + doc.clientWidth + 'px', height: '700px' });
50 })
51 },
52 created () {
53 let { special2 } = apiWrapper.thematic, { wrapper } = apiWrapper, id = this.formData.bsmZd
54 wrapper.reduction(special2).then(() => {
55 let { children } = layerJson[0].children[2], i = 0, o, name, url, { Layer } = wrapper;
56 for (; o = children[i]; i++) if (o.id === 'ZDJBXX' && (name = o.name) === 'zd') { url = o.url + '/' + i; break; }
57
58 Layer.createLayer([{ type: 'FeatureServer', url, name, spatial: true, visible: false }]).then(() => {
59 this.positioning(id, name);
60 });
61 });
62 },
63 methods: {
64 positioning (id, name) {
65 let { Layer } = apiWrapper.wrapper;
66 Layer.attrGraph({
67 grap: id, name, where: { id }, sym: { color: [0, 139, 0, 100], outline: { color: [0, 139, 0, 150], width: 2 } },
68 callback: d => {
69 d.length ? this.analysis(id) : this.$message.error(' 暂无图形');
70 } 14 }
71 });
72 },
73 analysis (id) {
74
75 let { Views, Action } = apiWrapper.wrapper;
76 Views.grapsExtent(id);
77 setTimeout(() => { Action.gighlight({ name: id, about: 1000 }) }, 1500);
78
79 axios.get(window._config.services.management + '/bdcqjdc/rest/zd/qjZdjbxx/getQjZdjbxxDetailById', { params: { id } }).then(d => {
80 if (d.status !== 200) return;
81 let { result = {} } = d.data, data = [];
82 Object.keys(result).forEach(e => { result[e] && data.push({ key: e, value: result[e] }) });
83 this.curr.splice(0, ...data);
84 document.querySelector('.box-card').style.display = 'block';
85 });
86 }
87 }
88 }
89
90 </script> 15 </script>
...\ No newline at end of file ...\ No newline at end of file
91
92 <style scoped lang="scss">
93 .gis-container {
94 display: -webkit-flex;
95 display: flex;
96 -webkit-flex-wrap: wrap;
97 flex-wrap: wrap;
98 width: 100%;
99 height: 100%;
100 }
101
102 .flex-transverse {
103 display: -webkit-flex;
104 display: flex;
105 -webkit-flex-wrap: wrap;
106 flex-wrap: wrap;
107 width: 100%;
108 height: 100%;
109 }
110
111 .flex-single {
112 width: 100%;
113 height: 100%;
114 background-color: white;
115 }
116
117 .box-card {
118 background-color: rgba(255, 255, 255, 0.5);
119 border-radius: 8px;
120 top: 30px;
121 right: 30px;
122 position: absolute;
123 width: 16%;
124 padding: 10px;
125 display: none;
126 }
127
128 .el-row {
129 margin-bottom: 20px;
130 }
131 .el-col {
132 border-radius: 4px;
133 }
134 .grid-content {
135 border-radius: 4px;
136 min-height: 20px;
137 font-family: "Helvetica Neue";
138 }
139 .row-bg {
140 padding: 10px 0;
141 background-color: #f9fafc;
142 }
143 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 15:33:01 4 * @LastEditTime: 2023-08-10 13:43:32
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
68 } 68 }
69 }, 69 },
70 methods: { 70 methods: {
71 //获取证书内容
72 /** 71 /**
73 * @description: 获取证书内容 72 * @description: 获取证书内容
74 * @param {*} code 73 * @param {*} code
...@@ -78,7 +77,6 @@ ...@@ -78,7 +77,6 @@
78 var value = this.bdcqz[code]; 77 var value = this.bdcqz[code];
79 return value; 78 return value;
80 }, 79 },
81 //获取受理申请下全部不动产权证
82 /** 80 /**
83 * @description: 获取受理申请下全部不动产权证 81 * @description: 获取受理申请下全部不动产权证
84 * @author: renchao 82 * @author: renchao
......
1 <!--
2 * @Description: 审批意见
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:24
5 -->
6 <template>
7 <div class="spyj loadingtext">
8 <div class="box">
9 <div class="spyj_title">
10 <div class="righttitle">审批表</div>
11 </div>
12
13 <div v-for="(item, index) in tableData" :key="index">
14 <el-form
15 :model="tableData[index]"
16 label-width="120px"
17 ref="ruleFormRef'"
18 >
19 <div class="spyj_form">
20 <div class="item_left">
21 <div class="right">{{ item.jdmc }}意见</div>
22 </div>
23 <div class="item_right">
24 <el-row>
25 <el-col :span="24">
26 <el-form-item label-width="0" class="opinion_item">
27 <el-input
28 :disabled="!ableOperation&&item.show"
29 type="textarea"
30 :rows="4"
31 class="opinion"
32 placeholder="请输入审批意见"
33 v-model="item.shyj"
34 ></el-input>
35 <el-button
36 class="opinion_btn"
37 @click="commonOpinion(index)"
38 v-if="ableOperation"
39 >常用意见</el-button
40 >
41 </el-form-item>
42 </el-col>
43 </el-row>
44 <el-row>
45 <el-col :span="16">
46 <el-form-item label="审查人">
47 <el-input
48 :disabled="!ableOperation"
49 v-model="item.shryxm"
50 ></el-input>
51 </el-form-item>
52 </el-col>
53 <el-col :span="8">
54 <el-form-item class="sjxzq" label="审核时间">
55 <el-date-picker
56 :disabled="!ableOperation"
57 v-model="item.shjssj"
58 type="date"
59 placeholder="选择日期"
60 value-format="yyyy-MM-dd HH:mm:ss"
61 format="yyyy-MM-dd"
62 >
63 </el-date-picker>
64 </el-form-item>
65 </el-col>
66 </el-row>
67 </div>
68 </div>
69 </el-form>
70 </div>
71 <div class="submit_button" v-if="ableOperation">
72 <el-button type="primary" @click="onSubmit()">保存</el-button>
73 </div>
74 </div>
75 <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> -->
76 </div>
77 </template>
78 <script>
79 import { saveSpyjBySlsq, getSpyjList } from "@/api/opinion.js";
80 import { mapGetters } from "vuex";
81 export default {
82 computed: {
83 ...mapGetters(["userData", "yjsqOptions", "userInfo"]),
84 },
85 data() {
86 return {
87 isNoData: false,
88 currentindex: 0,
89 bsmSlsq: "",
90 ableOperation: false,
91 bsmSlsq: this.$route.query.bsmSlsq,
92 bestepid: this.$route.query.bestepid,
93 propsParam: {},
94 tableData: [],
95 falg: false,
96 falg1: false,
97 jdmc: "",
98 indexdqlc: 0,
99 };
100 },
101
102 watch: {
103 yjsqOptions: {
104 handler(val) {
105 console.log("val", val);
106 this.add(val);
107 },
108 deep: true,
109 immediate: true,
110 },
111 },
112 created() {},
113 mounted() {
114 this.propsParam = this.$attrs;
115 console.log("this.$parent.dqhj", this.$parent.dqhj);
116 this.ableOperation = this.$parent.currentSelectTab.ableOperation;
117 // this.ableOperation = this.$parent.ableOperation;
118 this.getShList();
119
120 switch (this.$parent.dqhj) {
121 case "cs":
122 this.indexdqlc = 0;
123 this.jdmc = "初审";
124 break;
125 case "fs":
126 this.indexdqlc = 1;
127 this.jdmc = "复审";
128 break;
129 case "hd":
130 this.indexdqlc = 2;
131 this.jdmc = "核定";
132 break;
133 }
134 },
135 methods: {
136 /**
137 * @description: getShList
138 * @param {*} obj
139 * @author: renchao
140 */
141 getShList() {
142 let that = this;
143 this.$startLoading();
144 console.log(this.userInfo);
145 var formdata = new FormData();
146 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
147 formdata.append("bestepid", this.$route.query.bestepid);
148
149 getSpyjList(formdata).then((res) => {
150 this.$endLoading();
151 if (res.code === 200 && res.result) {
152 this.tableData = res.result;
153 if (this.tableData.length == 0&&this.jdmc=="初审") {
154 console.log(0);
155 this.tableData.push({ jdmc: "初审" });
156 }else if(this.tableData[this.tableData.length-1].jdmc=="初审"&&this.jdmc=="复审") {
157 console.log(1);
158 this.tableData.push({ jdmc: "复审" });
159 }else if(this.tableData[this.tableData.length-1].jdmc=="复审"&&this.jdmc=="核定") {
160 console.log(2);
161 this.tableData.push({ jdmc: "核定" });
162 }
163
164 if(this.$parent.dqhj=="cs"){
165 this.tableData[0].show=false
166 }
167 console.log("this.tableData", this.tableData);
168 }
169 });
170 },
171 /**
172 * @description: judgment
173 * @param {*} obj
174 * @author: renchao
175 */
176 judgment(obj) {},
177 /**
178 * @description: onSubmit
179 * @author: renchao
180 */
181 onSubmit() {
182 this.tableData.forEach((item, index) => {
183 item["bsmBusiness"] = this.propsParam.bsmBusiness;
184 item["bestepid"] = this.$route.query.bestepid;
185 item["shryxm"] = this.userInfo.name;
186 item["userid"] = this.userInfo.id;
187 item["shjssj"] = item.shkssj;
188 item["czjg"] = "1";
189 item["jddm"] = this.$parent.dqhj;
190 item["jdmc"] = this.jdmc;
191
192 });
193 console.log("this.tableData", this.tableData);
194 saveSpyjBySlsq(this.tableData).then((res) => {
195 if (res.code === 200) {
196 this.$message.success("保存成功");
197 this.refresh += 1;
198 } else {
199 this.$message.error(res.message);
200 }
201 });
202 // } else {
203 // return false;
204 // }
205 },
206 //打开常用意见列表弹窗
207 /**
208 * @description: 打开常用意见列表弹窗
209 * @param {*} index
210 * @author: renchao
211 */
212 commonOpinion(index) {
213 this.currentindex = index;
214 this.$popupDialog(
215 "常用意见",
216 "workflow/components/dialog/commonOpinion",
217 {},
218 "70%",
219 true
220 );
221 },
222 /**
223 * @description: add
224 * @param {*} val
225 * @author: renchao
226 */
227 add(val) {
228 if (val != "") {
229 this.$set(this.tableData[this.currentindex], "shyj", val);
230 }
231 },
232 },
233 };
234 </script>
235 <style scoped lang="scss">
236 @import "~@/styles/mixin.scss";
237
238 .spyj {
239 width: 100%;
240 height: 100%;
241 background-color: #f5f5f5;
242 padding: 5px;
243 .box {
244 overflow-x: auto;
245 width: 100%;
246 height: 95%;
247 background: #fff;
248 text-align: center;
249 padding: 4px;
250 overflow-y: scroll;
251 padding-top: 20px;
252 padding: 20px 40px;
253 .spyj_title {
254 width: 100%;
255 height: 80px;
256 border: 1px solid $borderColor;
257 background-color: #eceef2;
258 display: flex;
259 }
260 .leftadd {
261 width: 3%;
262 height: 100%;
263 display: flex;
264 font-size: 14px;
265 text-indent: 20px;
266 align-items: center;
267 border: 1px solid $borderColor;
268 }
269 .righttitle {
270 width: 80%;
271 height: 100%;
272 line-height: 80px;
273 border: 1px solid $borderColor;
274 margin: auto;
275 font-size: 22px;
276 font-weight: 400;
277 }
278 }
279
280 /deep/.el-form-item {
281 margin-bottom: 0;
282 }
283
284 .bottom10 {
285 margin-bottom: 15px;
286 }
287
288 .spyj_form {
289 display: flex;
290 border: 1px solid $borderColor;
291
292 .item_left {
293 width: 150px;
294 background-color: #f8f8fa;
295 color: #606266;
296 display: flex;
297 font-size: 14px;
298 text-indent: 50px;
299 align-items: center;
300 border-right: 1px solid $borderColor;
301 }
302
303 .item_right {
304 flex: 1;
305 width: 100%;
306
307 /deep/.el-form-item__label {
308 background-color: #f8f8fa;
309 }
310 /deep/.el-form-item__content {
311 display: block;
312 text-align: left;
313 }
314 .opinion_item {
315 /deep/.el-form-item__error {
316 margin-top: -16px !important;
317 left: 3px;
318 }
319 border-bottom: 1px solid $borderColor;
320 }
321
322 .opinion {
323 position: relative;
324 font-size: 14px;
325
326 /deep/.el-textarea__inner {
327 border: none;
328 }
329 }
330
331 .opinion_btn {
332 position: absolute;
333 right: 15px;
334 bottom: 10px;
335 }
336 }
337 }
338
339 .submit_button {
340 text-align: center;
341 margin: 15px 0;
342 }
343
344 .el-date-editor.el-input {
345 width: 100%;
346 }
347 }
348 </style>
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </el-form> 58 </el-form>
59 </div> 59 </div>
60 <div class="submit_button" v-if="ableOperation"> 60 <div class="submit_button" v-if="ableOperation">
61 <el-button type="primary" @click="onSubmit()">保存</el-button> 61 <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button>
62 </div> 62 </div>
63 </div> 63 </div>
64 <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> 64 <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> -->
...@@ -87,6 +87,7 @@ export default { ...@@ -87,6 +87,7 @@ export default {
87 falg1: false, 87 falg1: false,
88 jdmc: "", 88 jdmc: "",
89 indexdqlc: 0, 89 indexdqlc: 0,
90 shows:false
90 }; 91 };
91 }, 92 },
92 93
...@@ -128,7 +129,6 @@ export default { ...@@ -128,7 +129,6 @@ export default {
128 * @author: renchao 129 * @author: renchao
129 */ 130 */
130 getShList() { 131 getShList() {
131 let that = this;
132 this.$startLoading(); 132 this.$startLoading();
133 var formdata = new FormData(); 133 var formdata = new FormData();
134 formdata.append("bsmBusiness", this.propsParam.bsmBusiness); 134 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
...@@ -138,6 +138,10 @@ export default { ...@@ -138,6 +138,10 @@ export default {
138 this.$endLoading(); 138 this.$endLoading();
139 if (res.code === 200 && res.result) { 139 if (res.code === 200 && res.result) {
140 this.tableData = res.result; 140 this.tableData = res.result;
141 if(this.shows){
142 this.shows=false
143 }
144
141 var index = this.tableData.findIndex( 145 var index = this.tableData.findIndex(
142 (item) => item.jddm === this.$parent.dqhj 146 (item) => item.jddm === this.$parent.dqhj
143 ); 147 );
...@@ -179,6 +183,7 @@ export default { ...@@ -179,6 +183,7 @@ export default {
179 * @author: renchao 183 * @author: renchao
180 */ 184 */
181 onSubmit() { 185 onSubmit() {
186 this.shows=true
182 this.tableData.forEach((item, index) => { 187 this.tableData.forEach((item, index) => {
183 item["bsmBusiness"] = this.propsParam.bsmBusiness; 188 item["bsmBusiness"] = this.propsParam.bsmBusiness;
184 item["czjg"] = "1"; 189 item["czjg"] = "1";
...@@ -187,6 +192,7 @@ export default { ...@@ -187,6 +192,7 @@ export default {
187 if (res.code === 200) { 192 if (res.code === 200) {
188 this.$message.success("保存成功"); 193 this.$message.success("保存成功");
189 this.refresh += 1; 194 this.refresh += 1;
195 this.getShList();
190 } else { 196 } else {
191 this.$message.error(res.message); 197 this.$message.error(res.message);
192 } 198 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-09 15:13:38 4 * @LastEditTime: 2023-08-10 14:13:41
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { uploadUndo } from "@/api/clxx"; 7 import { uploadUndo } from "@/api/clxx";
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
173 break; 173 break;
174 // 图形定位 174 // 图形定位
175 case "B-TXDW": 175 case "B-TXDW":
176 this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '80%', true) 176 this.$popupDialog('图形定位', 'workflow/components/dialog/txdw', { bsmZd: this.bsmZd }, '85%', true)
177 break; 177 break;
178 case "back": //退回按钮 178 case "back": //退回按钮
179 this.$popupDialog("退回", "workflow/components/th", { 179 this.$popupDialog("退回", "workflow/components/th", {
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-04-19 09:29:54
5 -->
6 <template>
7 <img :src="formData.previewImage" class="imgClass">
8 </template>
9 <script>
10 export default {
11 props: {
12 formData: {
13 type: Object,
14 default: () => { }
15 }
16 }
17 }
18 </script>
19 <style>
20 .imgClass {
21 width: 100%;
22 }
23 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -91,9 +91,7 @@ class data extends filter { ...@@ -91,9 +91,7 @@ class data extends filter {
91 width: '80', 91 width: '80',
92 render: (h, scope) => { 92 render: (h, scope) => {
93 return ( 93 return (
94 <div> 94 <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button>
95 <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>查看</el-link>
96 </div>
97 ) 95 )
98 } 96 }
99 }, 97 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-08 15:23:32 4 * @LastEditTime: 2023-08-10 14:05:49
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -107,20 +107,13 @@ ...@@ -107,20 +107,13 @@
107 this.$startLoading() 107 this.$startLoading()
108 bdcqzPreview(item).then(res => { 108 bdcqzPreview(item).then(res => {
109 this.$endLoading() 109 this.$endLoading()
110 this.dialogVisible = true; 110 this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", {
111 let blob = new Blob([res]); 111 bsmSlsq: item.bsmSlsq
112 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) 112 }, '1210px', true)
113 }) 113 })
114 },
115 /**
116 * @description: handleClose
117 * @author: renchao
118 */
119 handleClose () {
120 this.dialogVisible = false;
121 } 114 }
122 }, 115 }
123 }; 116 }
124 </script> 117 </script>
125 <style scoped lang="scss"> 118 <style scoped lang="scss">
126 @import "~@/styles/public.scss"; 119 @import "~@/styles/public.scss";
......