aa061113 by yangwei

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 7ddb3444 ed0b6916
Showing 73 changed files with 1551 additions and 3360 deletions
1 @union:registry=http://core.pashanhoo.com:8932/repository/npm-hosted/
...\ No newline at end of file ...\ No newline at end of file
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-27 10:05:25 4 * @LastEditTime: 2023-08-09 14:32:38
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -280,3 +280,14 @@ export function startTogetherFlow (data) { ...@@ -280,3 +280,14 @@ export function startTogetherFlow (data) {
280 data 280 data
281 }) 281 })
282 } 282 }
283 /**
284 * @description: 据不动产单元号查询宗地基本信息
285 * @param {*} data
286 * @author: renchao
287 */
288 export function getZdInfo (bdcdyid) {
289 return request({
290 url: SERVER.SERVERAPI + '/rest/business/workFlow/getZdInfo?bdcdyid=' + bdcdyid,
291 method: 'post'
292 })
293 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-20 13:33:07 4 * @LastEditTime: 2023-08-04 13:07:38
5 --> 5 -->
6 <template> 6 <template>
7 <el-dialog :visible.sync="dialogVisible" v-if="dialogVisible" :width="width" :fullscreen="fullscreen" top="0" 7 <el-dialog :visible.sync="dialogVisible" v-if="dialogVisible" :width="width" :fullscreen="fullscreen" top="0"
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
124 */ 124 */
125 closeDialog () { 125 closeDialog () {
126 this.key++ 126 this.key++
127 this.$emit('input', false)
128 this.$emit('closeDialog') 127 this.$emit('closeDialog')
128 this.$emit('input', false)
129 } 129 }
130 }, 130 },
131 } 131 }
......
...@@ -53,7 +53,20 @@ ...@@ -53,7 +53,20 @@
53 font-weight: 500; 53 font-weight: 500;
54 color: #4a4a4a; 54 color: #4a4a4a;
55 } 55 }
56 .bdcqk {
57 margin-top: 15px;
58 position: relative;
59 .count {
60 color: blue!important;
61 width: 874px;
62 font-size: 14px;
63 position: absolute;
64 left:200px;
65 top: -3px;
66 height: 30px;
56 67
68 }
69 }
57 .btn { 70 .btn {
58 text-align: center; 71 text-align: center;
59 padding-top: 10px; 72 padding-top: 10px;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-31 15:43:30 4 * @LastEditTime: 2023-08-07 14:43:46
5 --> 5 -->
6 <template> 6 <template>
7 <div class="rlPopup"> 7 <div class="rlPopup">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button> 25 <el-button type="primary" @click="clickImage" v-if="previewImg.imgList.length>0">(放大) 显示(缩小)</el-button>
26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" :key="key" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg">
29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button> 29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
...@@ -225,28 +225,12 @@ ...@@ -225,28 +225,12 @@
225 this.showViewer = true 225 this.showViewer = true
226 }, 226 },
227 /** 227 /**
228 * @description: 上传
229 * @param {*} file
230 * @author: renchao
231 */
232 beforeUpload (file) {
233 const isLt5M = file.size / 1024 / 1024 < 5;
234 if (!isLt5M) {
235 this.$message.error('上传图片大小不能超过 5MB!');
236 return false;
237 }
238
239 // 所有条件满足时返回 true
240 return true;
241 },
242 /**
243 * @description: handleChange 228 * @description: handleChange
244 * @param {*} file 229 * @param {*} file
245 * @param {*} files 230 * @param {*} files
246 * @author: renchao 231 * @author: renchao
247 */ 232 */
248 async handleChange (file, fileList) { 233 async handleChange (file, fileList) {
249 if (!this.beforeUpload(file)) return
250 let length = fileList.length; 234 let length = fileList.length;
251 this.maxFileLength = Math.max(length, this.maxFileLength) 235 this.maxFileLength = Math.max(length, this.maxFileLength)
252 var formData = new FormData(); 236 var formData = new FormData();
...@@ -254,8 +238,12 @@ ...@@ -254,8 +238,12 @@
254 if (this.maxFileLength !== length) { 238 if (this.maxFileLength !== length) {
255 return 239 return
256 } 240 }
257 let num = 0 241 let num = 0, max = 0;
242 const isLt5M = file.size / 1024 / 1024 < 5;
258 fileList.forEach(item => { 243 fileList.forEach(item => {
244 if (!isLt5M) {
245 max++
246 }
259 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) { 247 if (!['image/jpeg', 'image/png', 'image/jpg', 'image/gif'].includes(item.raw.type)) {
260 num++ 248 num++
261 } else { 249 } else {
...@@ -268,6 +256,11 @@ ...@@ -268,6 +256,11 @@
268 this.key++ 256 this.key++
269 return; 257 return;
270 } 258 }
259 if (max >= 1) {
260 this.$message.error('上传图片大小不能超过 5MB!');
261 this.key++
262 return;
263 }
271 formData.append("bsmSj", this.previewImg.bsmSj); 264 formData.append("bsmSj", this.previewImg.bsmSj);
272 formData.append("bsmSlsq", this.previewImg.bsmSlsq); 265 formData.append("bsmSlsq", this.previewImg.bsmSlsq);
273 uploadBatch(formData).then((res) => { 266 uploadBatch(formData).then((res) => {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 :show-message="false" 4 :show-message="false"
5 * @LastEditTime: 2023-08-01 18:19:44 5 * @LastEditTime: 2023-08-04 16:35:53
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
17 inline-message 17 inline-message
18 :show-message="false" 18 :show-message="false"
19 :class="{ readonly: editDisabled }" 19 :class="{ readonly: editDisabled }"
20 class="loadingtext" 20 class="loadingtext">
21 >
22 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
23 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
24 补录信息 23 补录信息
...@@ -41,75 +40,42 @@ ...@@ -41,75 +40,42 @@
41 </el-form-item> 40 </el-form-item>
42 </el-col> 41 </el-col>
43 </el-row> 42 </el-row>
44 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
45 查封登记不动产情况 44 查封登记不动产情况
46 <div class="triangle"></div> 45 <div class="count">
47 </div>
48 <el-row :gutter="10">
49 <el-col :span="8">
50 <el-form-item 46 <el-form-item
51 label="查封不动产权信息:" 47 label="查封不动产权信息:"
52 prop="ztQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
53 :rules="rules.ztQlxxrules" 49 :rules="rules.ztQlxxrules">
54 >
55 <select-table 50 <select-table
56 v-model="ruleForm.ztQlxx" 51 v-model="ruleForm.ztQlxx"
57 :table-width="550" 52 :table-width="730"
58 :tableData="ztQlxxList" 53 :tableData="ztQlxxList"
59 :props="props" 54 :props="props"
60 @change="ztQlxxchange" 55 @change="ztQlxxchange">
61 >
62 <el-table-column 56 <el-table-column
63 prop="qllxmc" 57 prop="qllxmc"
64 width="130" 58 width="130"
65 label="权利类型" 59 label="权利类型"></el-table-column>
66 ></el-table-column>
67 <el-table-column 60 <el-table-column
68 prop="bdcqzh" 61 prop="bdcqzh"
69 width="160" 62 width="160"
70 label="不动产权证书" 63 label="不动产权证书"></el-table-column>
71 ></el-table-column>
72 <el-table-column 64 <el-table-column
73 prop="qlrmc" 65 prop="qlrmc"
74 label="被执行人" 66 label="被执行人"></el-table-column>
75 ></el-table-column>
76 <el-table-column prop="mjmc" label="面积"></el-table-column> 67 <el-table-column prop="mjmc" label="面积"></el-table-column>
77 <el-table-column prop="ytmc" label="用途"></el-table-column> 68 <el-table-column prop="ytmc" label="用途"></el-table-column>
78 <el-table-column prop="zl" label="坐落"></el-table-column> 69 <el-table-column prop="zl" label="坐落"></el-table-column>
79 </select-table> 70 </select-table>
80 </el-form-item> 71 </el-form-item>
81 </el-col> 72 </div>
73
74 <div class="triangle"></div>
75 </div>
76
77 <el-row :gutter="10">
82 78
83 <el-col :span="8" v-if="ruleForm.cfdj.sfbxf == '1'">
84 <el-form-item
85 label="上手权利信息:"
86 prop="ssQlxx.bdcqzh"
87 :rules="rules.ssQlxxrules"
88 >
89 <select-table
90 v-model="ruleForm.ssQlxx"
91 :table-width="550"
92 :tableData="ssQlxxList"
93 :props="props"
94 @change="ssQlxxchange"
95 >
96 <el-table-column
97 prop="qllxmc"
98 width="130"
99 label="权利类型"
100 ></el-table-column>
101 <el-table-column
102 prop="bdcqzh"
103 width="160"
104 label="不动产权证书"
105 ></el-table-column>
106 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
107 <el-table-column prop="mjmc" label="面积"></el-table-column>
108 <el-table-column prop="ytmc" label="用途"></el-table-column>
109 <el-table-column prop="zl" label="坐落"></el-table-column>
110 </select-table>
111 </el-form-item>
112 </el-col>
113 </el-row> 79 </el-row>
114 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 80 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
115 <el-col :span="8"> 81 <el-col :span="8">
...@@ -141,7 +107,7 @@ ...@@ -141,7 +107,7 @@
141 </el-col> 107 </el-col>
142 <el-col :span="8"> 108 <el-col :span="8">
143 <el-form-item label="坐落:"> 109 <el-form-item label="坐落:">
144 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> 110 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
145 </el-form-item> 111 </el-form-item>
146 </el-col> 112 </el-col>
147 </el-row> 113 </el-row>
...@@ -162,8 +128,35 @@ ...@@ -162,8 +128,35 @@
162 </el-form-item> 128 </el-form-item>
163 </el-col> 129 </el-col>
164 </el-row> 130 </el-row>
165 <div class="slxx_title title-block"> 131 <div class="slxx_title title-block bdcqk">
166 查封登记信息 132 查封登记信息
133 <div class="count">
134 <el-form-item
135 label="上手权利信息:"
136 prop="ssQlxx.bdcqzh"
137 :rules="rules.ssQlxxrules"
138 v-if="ruleForm.cfdj.sfbxf == '1'">
139 <select-table
140 v-model="ruleForm.ssQlxx"
141 :table-width="730"
142 :tableData="ssQlxxList"
143 :props="props"
144 @change="ssQlxxchange">
145 <el-table-column
146 prop="qllxmc"
147 width="130"
148 label="权利类型"></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"></el-table-column>
153 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
154 <el-table-column prop="mjmc" label="面积"></el-table-column>
155 <el-table-column prop="ytmc" label="用途"></el-table-column>
156 <el-table-column prop="zl" label="坐落"></el-table-column>
157 </select-table>
158 </el-form-item>
159 </div>
167 <div class="triangle"></div> 160 <div class="triangle"></div>
168 </div> 161 </div>
169 <el-row :gutter="10"> 162 <el-row :gutter="10">
...@@ -176,8 +169,7 @@ ...@@ -176,8 +169,7 @@
176 <el-form-item 169 <el-form-item
177 label="业务号:" 170 label="业务号:"
178 prop="qlxx.ywh" 171 prop="qlxx.ywh"
179 :rules="rules.ywhrules" 172 :rules="rules.ywhrules">
180 >
181 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 173 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
182 </el-form-item> 174 </el-form-item>
183 </el-col> 175 </el-col>
...@@ -197,16 +189,11 @@ ...@@ -197,16 +189,11 @@
197 <el-form-item 189 <el-form-item
198 label="是否被续封:" 190 label="是否被续封:"
199 prop="cfdj.sfbxf" 191 prop="cfdj.sfbxf"
200 :rules="rules.sfbxfrules" 192 :rules="rules.sfbxfrules">
201 > 193 <el-radio-group v-model="ruleForm.cfdj.sfbxf" @change="djlxchange">
202 <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> 194 <el-radio label="1"></el-radio>
203 <el-option 195 <el-radio label="2"></el-radio>
204 v-for="item in sfbxflist" 196 </el-radio-group>
205 :key="item.dcode"
206 :label="item.dname"
207 :value="item.dcode"
208 ></el-option>
209 </el-select>
210 </el-form-item> 197 </el-form-item>
211 </el-col> 198 </el-col>
212 <el-col :span="8"> 199 <el-col :span="8">
...@@ -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,18 +371,18 @@ ...@@ -392,18 +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 { init, getSsQlxx, getZtQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 375 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
397 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 376 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
398 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 377 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
399 import tdytTable from "@/views/workflow/components/tdytTable"; 378 import tdytTable from "@/views/workflow/components/tdytTable";
400 import selectTable from "@/components/selectTable/index.vue"; 379 import selectTable from "@/components/selectTable/index.vue";
401 export default { 380 export default {
402 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 381 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
403 computed: { 382 computed: {
404 ...mapGetters(["dictData", "flag"]), 383 ...mapGetters(["dictData", "flag"]),
405 // 根据流程判断表单是否为只读 384 // 根据流程判断表单是否为只读
406 editDisabled() { 385 editDisabled () {
407 if (!this.ableOperation) { 386 if (!this.ableOperation) {
408 //只读状态 387 //只读状态
409 return true; 388 return true;
...@@ -411,7 +390,7 @@ export default { ...@@ -411,7 +390,7 @@ export default {
411 return false; 390 return false;
412 }, 391 },
413 }, 392 },
414 data() { 393 data () {
415 return { 394 return {
416 //表单是否可操作 395 //表单是否可操作
417 props: { 396 props: {
...@@ -466,17 +445,6 @@ export default { ...@@ -466,17 +445,6 @@ export default {
466 dname: "历史", 445 dname: "历史",
467 }, 446 },
468 ], 447 ],
469 // 是否被续封
470 sfbxflist: [
471 {
472 dcode: "0",
473 dname: "否",
474 },
475 {
476 dcode: "1",
477 dname: "是",
478 },
479 ],
480 ableOperation: false, 448 ableOperation: false,
481 //传递参数\ 449 //传递参数\
482 450
...@@ -502,10 +470,10 @@ export default { ...@@ -502,10 +470,10 @@ export default {
502 }, 470 },
503 }; 471 };
504 }, 472 },
505 created() { 473 created () {
506 this.loadData(); 474 this.loadData();
507 }, 475 },
508 mounted() { 476 mounted () {
509 this.ableOperation = this.$parent.ableOperation; 477 this.ableOperation = this.$parent.ableOperation;
510 }, 478 },
511 methods: { 479 methods: {
...@@ -514,7 +482,7 @@ export default { ...@@ -514,7 +482,7 @@ export default {
514 * @param {*} val 482 * @param {*} val
515 * @author: renchao 483 * @author: renchao
516 */ 484 */
517 ztQlxxchange(val) { 485 ztQlxxchange (val) {
518 this.ruleForm.ztQlxx = val; 486 this.ruleForm.ztQlxx = val;
519 }, 487 },
520 /** 488 /**
...@@ -522,14 +490,13 @@ export default { ...@@ -522,14 +490,13 @@ export default {
522 * @param {*} val 490 * @param {*} val
523 * @author: renchao 491 * @author: renchao
524 */ 492 */
525 ssQlxxchange(val) { 493 ssQlxxchange (val) {
526 this.ruleForm.ssQlxx = val; 494 this.ruleForm.ssQlxx = val;
527 this.ruleForm.qlxx.ssywh = val.ywh; 495 this.ruleForm.qlxx.ssywh = val.ywh;
528 this.ssQlxxchangediolog(val); 496 this.ssQlxxchangediolog(val);
529 }, 497 },
530 // 弹框事件 498 // 弹框事件
531 ssQlxxchangediolog(val) { 499 ssQlxxchangediolog (val) {
532 console.log("确定了", this.ruleForm);
533 this.$confirm("是否将上手权利信息同步到表单", "提示", { 500 this.$confirm("是否将上手权利信息同步到表单", "提示", {
534 iconClass: "el-icon-question", //自定义图标样式 501 iconClass: "el-icon-question", //自定义图标样式
535 confirmButtonText: "确认", //确认按钮文字更换 502 confirmButtonText: "确认", //确认按钮文字更换
...@@ -540,8 +507,6 @@ export default { ...@@ -540,8 +507,6 @@ export default {
540 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 507 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
541 if (res.code == 200) { 508 if (res.code == 200) {
542 this.nowlist = res.result; 509 this.nowlist = res.result;
543 console.log("his.nowlist", this.nowlist);
544 console.log("this.ruleForm", this.ruleForm);
545 for (var key in this.ruleForm.cfdj) { 510 for (var key in this.ruleForm.cfdj) {
546 if ( 511 if (
547 this.ruleForm.cfdj[key] == "" || 512 this.ruleForm.cfdj[key] == "" ||
...@@ -555,13 +520,11 @@ export default { ...@@ -555,13 +520,11 @@ export default {
555 (this.ruleForm.qlxx[key] == null && key != "ywh") || 520 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
556 this.ruleForm.qlxx[key] == null 521 this.ruleForm.qlxx[key] == null
557 ) { 522 ) {
558 console.log("this.ruleForm.qlxx[key]", key);
559 if (key != "ywh") { 523 if (key != "ywh") {
560 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 524 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
561 } 525 }
562 } 526 }
563 } 527 }
564 console.log("this.ruleForm", this.ruleForm);
565 this.$message({ 528 this.$message({
566 type: "success", 529 type: "success",
567 message: "同步成功!", 530 message: "同步成功!",
...@@ -580,7 +543,7 @@ export default { ...@@ -580,7 +543,7 @@ export default {
580 * @param {*} val 543 * @param {*} val
581 * @author: renchao 544 * @author: renchao
582 */ 545 */
583 djlxchange(val) { 546 djlxchange (val) {
584 if (val == null || val == 100) { 547 if (val == null || val == 100) {
585 this.ssqlxxshow = false; 548 this.ssqlxxshow = false;
586 } else { 549 } else {
...@@ -591,12 +554,15 @@ export default { ...@@ -591,12 +554,15 @@ export default {
591 * @description: loadData 554 * @description: loadData
592 * @author: renchao 555 * @author: renchao
593 */ 556 */
594 loadData() { 557 loadData () {
595 this.$startLoading(); 558 this.$startLoading();
596 this.propsParam.isEdit = this.$parent.isEdit; 559 this.propsParam.isEdit = this.$parent.isEdit;
597 init(this.propsParam).then((res) => { 560 init(this.propsParam).then((res) => {
598 if (res.code == 200) { 561 if (res.code == 200) {
599 this.ruleForm = res.result; 562 this.ruleForm = res.result;
563 if(this.ruleForm.cfdj){
564 this.ruleForm.cfdj.sfbxf="2"
565 }
600 this.isShow = true; 566 this.isShow = true;
601 let djlx = this.ruleForm.qlxx.djlx; 567 let djlx = this.ruleForm.qlxx.djlx;
602 this.$endLoading(); 568 this.$endLoading();
...@@ -646,7 +612,7 @@ export default { ...@@ -646,7 +612,7 @@ export default {
646 * @description: onSubmit 612 * @description: onSubmit
647 * @author: renchao 613 * @author: renchao
648 */ 614 */
649 onSubmit() { 615 onSubmit () {
650 this.$refs.ruleForm.validate((valid) => { 616 this.$refs.ruleForm.validate((valid) => {
651 console.log("valid", valid); 617 console.log("valid", valid);
652 if (valid) { 618 if (valid) {
...@@ -673,9 +639,9 @@ export default { ...@@ -673,9 +639,9 @@ export default {
673 }); 639 });
674 }, 640 },
675 }, 641 },
676 }; 642 };
677 </script> 643 </script>
678 <style scoped lang="scss"> 644 <style scoped lang="scss">
679 @import "~@/styles/public.scss"; 645 @import "~@/styles/public.scss";
680 @import "~@/styles/slxx/slxx.scss"; 646 @import "~@/styles/slxx/slxx.scss";
681 </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-02 10:59:22 4 * @LastEditTime: 2023-08-04 16:29:10
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -14,10 +14,9 @@ ...@@ -14,10 +14,9 @@
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 label-width="169px" 17 label-width="170px"
18 inline-message 18 inline-message
19 :show-message="false" 19 :show-message="false">
20 >
21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
22 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
23 补录信息 22 补录信息
...@@ -40,74 +39,40 @@ ...@@ -40,74 +39,40 @@
40 </el-form-item> 39 </el-form-item>
41 </el-col> 40 </el-col>
42 </el-row> 41 </el-row>
43 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
44 抵押不动产情况 43 抵押不动产情况
45 <div class="triangle"></div> 44 <div class="count">
46 </div>
47 <el-row :gutter="10">
48 <el-col :span="8">
49 <el-form-item 45 <el-form-item
50 label="抵押不动产信息:" 46 label="抵押不动产信息:"
51 prop="ztQlxx.bdcqzh" 47 prop="ztQlxx.bdcqzh"
52 :rules="rules.ztQlxxrules" 48 :rules="rules.ztQlxxrules">
53 >
54 <select-table 49 <select-table
55 v-model="ruleForm.ztQlxx" 50 v-model="ruleForm.ztQlxx"
56 :table-width="550" 51 :table-width="730"
57 :tableData="ztQlxxList" 52 :tableData="ztQlxxList"
58 :props="props" 53 :props="props"
59 @change="ztQlxxchange" 54 @change="ztQlxxchange">
60 >
61 <el-table-column 55 <el-table-column
62 prop="qllxmc" 56 prop="qllxmc"
63 width="130" 57 width="130"
64 label="权利类型" 58 label="权利类型"></el-table-column>
65 ></el-table-column>
66 <el-table-column 59 <el-table-column
67 prop="bdcqzh" 60 prop="bdcqzh"
68 width="160" 61 width="160"
69 label="不动产权证书" 62 label="不动产权证书"
70 ></el-table-column> 63 ></el-table-column>
71 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
72 <el-table-column prop="mjmc" label="面积"></el-table-column>
73 <el-table-column prop="ytmc" label="用途"></el-table-column>
74 <el-table-column prop="zl" label="坐落"></el-table-column>
75 </select-table>
76 </el-form-item>
77 </el-col>
78
79 <el-col :span="8" v-if="ssqlxxshow">
80 <el-form-item
81 label="上手权利信息:"
82 prop="ssQlxx.bdcqzh"
83 :rules="rules.ssQlxxrules"
84 >
85 <select-table
86 v-model="ruleForm.ssQlxx"
87 :table-width="550"
88 :tableData="ssQlxxList"
89 :props="props"
90 @change="ssQlxxchange"
91 >
92 <el-table-column
93 prop="qllxmc"
94 width="130"
95 label="权利类型"
96 ></el-table-column>
97 <el-table-column 64 <el-table-column
98 prop="bdcqzh" 65 prop="qlrmc"
99 width="160" 66 label="被执行人"
100 label="不动产权证书"
101 ></el-table-column> 67 ></el-table-column>
102 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
103 <el-table-column prop="mjmc" label="面积"></el-table-column> 68 <el-table-column prop="mjmc" label="面积"></el-table-column>
104 <el-table-column prop="ytmc" label="用途"></el-table-column> 69 <el-table-column prop="ytmc" label="用途"></el-table-column>
105 <el-table-column prop="zl" label="坐落"></el-table-column> 70 <el-table-column prop="zl" label="坐落"></el-table-column>
106 </select-table> 71 </select-table>
107 </el-form-item> 72 </el-form-item>
108 </el-col> 73 </div>
109 </el-row> 74 <div class="triangle"></div>
110 75 </div>
111 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 76 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
112 <el-col :span="8"> 77 <el-col :span="8">
113 <el-form-item label="权利人:"> 78 <el-form-item label="权利人:">
...@@ -138,7 +103,7 @@ ...@@ -138,7 +103,7 @@
138 </el-col> 103 </el-col>
139 <el-col :span="8"> 104 <el-col :span="8">
140 <el-form-item label="坐落:"> 105 <el-form-item label="坐落:">
141 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> 106 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
142 </el-form-item> 107 </el-form-item>
143 </el-col> 108 </el-col>
144 </el-row> 109 </el-row>
...@@ -159,8 +124,38 @@ ...@@ -159,8 +124,38 @@
159 </el-form-item> 124 </el-form-item>
160 </el-col> 125 </el-col>
161 </el-row> 126 </el-row>
162 <div class="slxx_title title-block"> 127 <div class="slxx_title title-block bdcqk">
163 抵押权信息 128 抵押权信息
129 <div class="count" v-if="ssqlxxshow">
130 <el-form-item
131 label="上手权利信息:"
132 prop="ssQlxx.bdcqzh"
133 :rules="rules.ssQlxxrules"
134 >
135 <select-table
136 v-model="ruleForm.ssQlxx"
137 :table-width="730"
138 :tableData="ssQlxxList"
139 :props="props"
140 @change="ssQlxxchange"
141 >
142 <el-table-column
143 prop="qllxmc"
144 width="130"
145 label="权利类型"
146 ></el-table-column>
147 <el-table-column
148 prop="bdcqzh"
149 width="160"
150 label="不动产权证书"
151 ></el-table-column>
152 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
153 <el-table-column prop="mjmc" label="面积"></el-table-column>
154 <el-table-column prop="ytmc" label="用途"></el-table-column>
155 <el-table-column prop="zl" label="坐落"></el-table-column>
156 </select-table>
157 </el-form-item>
158 </div>
164 <div class="triangle"></div> 159 <div class="triangle"></div>
165 </div> 160 </div>
166 161
...@@ -179,15 +174,13 @@ ...@@ -179,15 +174,13 @@
179 <el-form-item 174 <el-form-item
180 label="登记类型:" 175 label="登记类型:"
181 prop="qlxx.djlx" 176 prop="qlxx.djlx"
182 :rules="rules.djlxrules" 177 :rules="rules.djlxrules">
183 >
184 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 178 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
185 <el-option 179 <el-option
186 v-for="item in djlxlist" 180 v-for="item in djlxlist"
187 :key="item.dcode" 181 :key="item.dcode"
188 :label="item.dname" 182 :label="item.dname"
189 :value="item.dcode" 183 :value="item.dcode"></el-option>
190 ></el-option>
191 </el-select> 184 </el-select>
192 </el-form-item> 185 </el-form-item>
193 </el-col> 186 </el-col>
...@@ -200,8 +193,7 @@ ...@@ -200,8 +193,7 @@
200 v-for="item in qsztlist" 193 v-for="item in qsztlist"
201 :key="item.dcode" 194 :key="item.dcode"
202 :label="item.dname" 195 :label="item.dname"
203 :value="item.dcode" 196 :value="item.dcode"></el-option>
204 ></el-option>
205 </el-select> 197 </el-select>
206 </el-form-item> 198 </el-form-item>
207 </el-col> 199 </el-col>
...@@ -209,8 +201,7 @@ ...@@ -209,8 +201,7 @@
209 <el-form-item 201 <el-form-item
210 label="业务号:" 202 label="业务号:"
211 prop="qlxx.ywh" 203 prop="qlxx.ywh"
212 :rules="rules.ywhrules" 204 :rules="rules.ywhrules">
213 >
214 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 205 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
215 </el-form-item> 206 </el-form-item>
216 </el-col> 207 </el-col>
...@@ -243,15 +234,13 @@ ...@@ -243,15 +234,13 @@
243 <el-input 234 <el-input
244 v-model="ruleForm.diyaq.zgzqse" 235 v-model="ruleForm.diyaq.zgzqse"
245 style="width: 500%" 236 style="width: 500%"
246 oninput="value=value.replace(/[^\d.]/g,'')" 237 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
247 ></el-input>
248 <el-select v-model="ruleForm.diyaq.jedw"> 238 <el-select v-model="ruleForm.diyaq.jedw">
249 <el-option 239 <el-option
250 v-for="item in dictData['A57']" 240 v-for="item in dictData['A57']"
251 :key="item.dcode" 241 :key="item.dcode"
252 :label="item.dname" 242 :label="item.dname"
253 :value="item.dcode" 243 :value="item.dcode"></el-option>
254 ></el-option>
255 </el-select> 244 </el-select>
256 </div> 245 </div>
257 </el-form-item> 246 </el-form-item>
...@@ -262,15 +251,13 @@ ...@@ -262,15 +251,13 @@
262 <el-input 251 <el-input
263 v-model="ruleForm.diyaq.bdbzzqse" 252 v-model="ruleForm.diyaq.bdbzzqse"
264 style="width: 500%" 253 style="width: 500%"
265 oninput="value=value.replace(/[^\d.]/g,'')" 254 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
266 ></el-input>
267 <el-select v-model="ruleForm.diyaq.jedw"> 255 <el-select v-model="ruleForm.diyaq.jedw">
268 <el-option 256 <el-option
269 v-for="item in dictData['A57']" 257 v-for="item in dictData['A57']"
270 :key="item.dcode" 258 :key="item.dcode"
271 :label="item.dname" 259 :label="item.dname"
272 :value="item.dcode" 260 :value="item.dcode"></el-option>
273 ></el-option>
274 </el-select> 261 </el-select>
275 </div> 262 </div>
276 </el-form-item> 263 </el-form-item>
...@@ -282,15 +269,13 @@ ...@@ -282,15 +269,13 @@
282 <div class="flex"> 269 <div class="flex">
283 <el-input 270 <el-input
284 v-model="ruleForm.diyaq.dymj" 271 v-model="ruleForm.diyaq.dymj"
285 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 272 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
286 ></el-input> 273 <el-select v-model="ruleForm.diyaq.mjdw" style="width: 20%">
287 <el-select v-model="ruleForm.diyaq.jedw" style="width: 20%">
288 <el-option 274 <el-option
289 v-for="item in dictData['A7']" 275 v-for="item in dictData['A7']"
290 :key="item.dcode" 276 :key="item.dcode"
291 :label="item.dname" 277 :label="item.dname"
292 :value="item.dcode" 278 :value="item.dcode">
293 >
294 </el-option> 279 </el-option>
295 </el-select> 280 </el-select>
296 </div> 281 </div>
...@@ -301,15 +286,13 @@ ...@@ -301,15 +286,13 @@
301 <el-form-item 286 <el-form-item
302 label="债务履行起始时间:" 287 label="债务履行起始时间:"
303 prop="diyaq.zwlxqssj" 288 prop="diyaq.zwlxqssj"
304 :rules="rules.zwlxqssjrules" 289 :rules="rules.zwlxqssjrules">
305 >
306 <el-date-picker 290 <el-date-picker
307 v-model="ruleForm.diyaq.zwlxqssj" 291 v-model="ruleForm.diyaq.zwlxqssj"
308 type="date" 292 type="date"
309 placeholder="选择日期" 293 placeholder="选择日期"
310 value-format="yyyy-MM-dd HH:mm:ss" 294 value-format="yyyy-MM-dd HH:mm:ss"
311 format="yyyy-MM-dd" 295 format="yyyy-MM-dd">
312 >
313 </el-date-picker> 296 </el-date-picker>
314 </el-form-item> 297 </el-form-item>
315 </el-col> 298 </el-col>
...@@ -317,15 +300,13 @@ ...@@ -317,15 +300,13 @@
317 <el-form-item 300 <el-form-item
318 label="债务履行结束时间:" 301 label="债务履行结束时间:"
319 prop="diyaq.zwlxjssj" 302 prop="diyaq.zwlxjssj"
320 :rules="rules.zwlxjssjrules" 303 :rules="rules.zwlxjssjrules">
321 >
322 <el-date-picker 304 <el-date-picker
323 v-model="ruleForm.diyaq.zwlxjssj" 305 v-model="ruleForm.diyaq.zwlxjssj"
324 type="date" 306 type="date"
325 placeholder="选择日期" 307 placeholder="选择日期"
326 value-format="yyyy-MM-dd HH:mm:ss" 308 value-format="yyyy-MM-dd HH:mm:ss"
327 format="yyyy-MM-dd" 309 format="yyyy-MM-dd">
328 >
329 </el-date-picker> 310 </el-date-picker>
330 </el-form-item> 311 </el-form-item>
331 </el-col> 312 </el-col>
...@@ -379,8 +360,7 @@ ...@@ -379,8 +360,7 @@
379 v-for="item in dictData['A6']" 360 v-for="item in dictData['A6']"
380 :key="item.dcode" 361 :key="item.dcode"
381 :label="item.dname" 362 :label="item.dname"
382 :value="item.dcode" 363 :value="item.dcode">
383 >
384 </el-option> 364 </el-option>
385 </el-select> 365 </el-select>
386 </el-form-item> 366 </el-form-item>
...@@ -389,8 +369,7 @@ ...@@ -389,8 +369,7 @@
389 <el-form-item 369 <el-form-item
390 label="不动产登记证明号:" 370 label="不动产登记证明号:"
391 prop="qlxx.bdcqzh" 371 prop="qlxx.bdcqzh"
392 :rules="rules.bdcqzhrules" 372 :rules="rules.bdcqzhrules">
393 >
394 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 373 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
395 </el-form-item> 374 </el-form-item>
396 </el-col> 375 </el-col>
...@@ -399,8 +378,7 @@ ...@@ -399,8 +378,7 @@
399 <el-form-item 378 <el-form-item
400 label="登记机构:" 379 label="登记机构:"
401 prop="qlxx.djjg" 380 prop="qlxx.djjg"
402 :rules="rules.djjgrules" 381 :rules="rules.djjgrules">
403 >
404 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 382 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
405 </el-form-item> 383 </el-form-item>
406 </el-col> 384 </el-col>
...@@ -408,8 +386,7 @@ ...@@ -408,8 +386,7 @@
408 <el-form-item 386 <el-form-item
409 label="登簿人:" 387 label="登簿人:"
410 prop="qlxx.dbr" 388 prop="qlxx.dbr"
411 :rules="rules.dbrrules" 389 :rules="rules.dbrrules">
412 >
413 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 390 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
414 </el-form-item> 391 </el-form-item>
415 </el-col> 392 </el-col>
...@@ -417,16 +394,14 @@ ...@@ -417,16 +394,14 @@
417 <el-form-item 394 <el-form-item
418 label="登记时间:" 395 label="登记时间:"
419 prop="qlxx.djsj" 396 prop="qlxx.djsj"
420 :rules="rules.djsjrules" 397 :rules="rules.djsjrules">
421 >
422 <el-date-picker 398 <el-date-picker
423 v-model="ruleForm.qlxx.djsj" 399 v-model="ruleForm.qlxx.djsj"
424 type="date" 400 type="date"
425 class="width100" 401 class="width100"
426 placeholder="选择日期" 402 placeholder="选择日期"
427 value-format="yyyy-MM-dd HH:mm:ss" 403 value-format="yyyy-MM-dd HH:mm:ss"
428 format="yyyy-MM-dd" 404 format="yyyy-MM-dd">
429 >
430 </el-date-picker> 405 </el-date-picker>
431 </el-form-item> 406 </el-form-item>
432 </el-col> 407 </el-col>
...@@ -468,15 +443,13 @@ ...@@ -468,15 +443,13 @@
468 <el-form-item 443 <el-form-item
469 label="注销时间:" 444 label="注销时间:"
470 prop="qlxx.zxsj" 445 prop="qlxx.zxsj"
471 :rules="rules.zxsjrules" 446 :rules="rules.zxsjrules">
472 >
473 <el-date-picker 447 <el-date-picker
474 v-model="ruleForm.qlxx.zxsj" 448 v-model="ruleForm.qlxx.zxsj"
475 type="date" 449 type="date"
476 placeholder="选择日期" 450 placeholder="选择日期"
477 value-format="yyyy-MM-dd HH:mm:ss" 451 value-format="yyyy-MM-dd HH:mm:ss"
478 format="yyyy-MM-dd" 452 format="yyyy-MM-dd">
479 >
480 </el-date-picker> 453 </el-date-picker>
481 </el-form-item> 454 </el-form-item>
482 </el-col> 455 </el-col>
...@@ -484,8 +457,7 @@ ...@@ -484,8 +457,7 @@
484 <el-form-item 457 <el-form-item
485 label="注销登簿人:" 458 label="注销登簿人:"
486 prop="qlxx.zxdbr" 459 prop="qlxx.zxdbr"
487 :rules="rules.zxdbrrules" 460 :rules="rules.zxdbrrules">
488 >
489 <el-input v-model="ruleForm.qlxx.zxdbr"></el-input> 461 <el-input v-model="ruleForm.qlxx.zxdbr"></el-input>
490 </el-form-item> 462 </el-form-item>
491 </el-col> 463 </el-col>
...@@ -493,8 +465,7 @@ ...@@ -493,8 +465,7 @@
493 <el-form-item 465 <el-form-item
494 label="注销抵押原因:" 466 label="注销抵押原因:"
495 prop="diyaq.zxdyyy" 467 prop="diyaq.zxdyyy"
496 :rules="rules.zxdyyyrules" 468 :rules="rules.zxdyyyrules">
497 >
498 <el-input v-model="ruleForm.diyaq.zxdyyy"></el-input> 469 <el-input v-model="ruleForm.diyaq.zxdyyy"></el-input>
499 </el-form-item> 470 </el-form-item>
500 </el-col> 471 </el-col>
...@@ -508,8 +479,7 @@ ...@@ -508,8 +479,7 @@
508 <el-form-item label="共有方式:"> 479 <el-form-item label="共有方式:">
509 <el-radio-group 480 <el-radio-group
510 :disabled="!ableOperation" 481 :disabled="!ableOperation"
511 v-model="ruleForm.qlxx.gyfs" 482 v-model="ruleForm.qlxx.gyfs">
512 >
513 <el-radio label="0">单独所有</el-radio> 483 <el-radio label="0">单独所有</el-radio>
514 <el-radio label="1">共同共有</el-radio> 484 <el-radio label="1">共同共有</el-radio>
515 <el-radio label="2">按份所有</el-radio> 485 <el-radio label="2">按份所有</el-radio>
...@@ -517,12 +487,11 @@ ...@@ -517,12 +487,11 @@
517 </el-radio-group> 487 </el-radio-group>
518 </el-form-item> 488 </el-form-item>
519 </el-col> 489 </el-col>
520 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 490 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
521 <el-form-item label="是否分别持证:"> 491 <el-form-item label="是否分别持证:">
522 <el-radio-group 492 <el-radio-group
523 v-model="ruleForm.qlxx.sqfbcz" 493 v-model="ruleForm.qlxx.sqfbcz"
524 :disabled="!ableOperation" 494 :disabled="!ableOperation">
525 >
526 <el-radio :label="1"></el-radio> 495 <el-radio :label="1"></el-radio>
527 <el-radio :label="0"></el-radio> 496 <el-radio :label="0"></el-radio>
528 </el-radio-group> 497 </el-radio-group>
...@@ -530,32 +499,28 @@ ...@@ -530,32 +499,28 @@
530 </el-col> 499 </el-col>
531 <el-col 500 <el-col
532 :span="6" 501 :span="6"
533 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" 502 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
534 >
535 <el-form-item label="持证人:"> 503 <el-form-item label="持证人:">
536 <el-select 504 <el-select
537 v-model="ruleForm.czr" 505 v-model="ruleForm.czr"
538 placeholder="持证人" 506 placeholder="持证人"
539 :disabled="!ableOperation" 507 :disabled="!ableOperation">
540 >
541 <el-option 508 <el-option
542 v-for="item in czrOptions" 509 v-for="item in czrOptions"
543 :key="item.zjh" 510 :key="item.zjh"
544 :label="item.sqrmc" 511 :label="item.sqrmc"
545 :value="item.zjh" 512 :value="item.zjh">
546 >
547 </el-option> 513 </el-option>
548 </el-select> 514 </el-select>
549 </el-form-item> 515 </el-form-item>
550 </el-col> 516 </el-col> -->
551 </el-row> 517 </el-row>
552 <qlrCommonTable 518 <qlrCommonTable
553 :tableData="ruleForm.qlrData" 519 :tableData="ruleForm.qlrData"
554 @upDateQlrxxList="upDateQlrxxList" 520 @upDateQlrxxList="upDateQlrxxList"
555 :key="key" 521 :key="key"
556 :ableOperation="ableOperation" 522 :ableOperation="ableOperation"
557 :gyfs="ruleForm.qlxx.gyfs" 523 :gyfs="ruleForm.qlxx.gyfs" />
558 />
559 524
560 <div v-if="ruleForm.ywrData"> 525 <div v-if="ruleForm.ywrData">
561 <div class="slxx_title title-block"> 526 <div class="slxx_title title-block">
...@@ -567,8 +532,7 @@ ...@@ -567,8 +532,7 @@
567 :tableData="ruleForm.ywrData" 532 :tableData="ruleForm.ywrData"
568 :key="key" 533 :key="key"
569 :ableOperation="ableOperation" 534 :ableOperation="ableOperation"
570 @upDateQlrxxList="upDateYwrxxList" 535 @upDateQlrxxList="upDateYwrxxList" />
571 />
572 </div> 536 </div>
573 </div> 537 </div>
574 <el-row class="btn" v-if="ableOperation"> 538 <el-row class="btn" v-if="ableOperation">
...@@ -580,84 +544,19 @@ ...@@ -580,84 +544,19 @@
580 </div> 544 </div>
581 </template> 545 </template>
582 <script> 546 <script>
583 import { mapGetters } from "vuex"; 547 import ywmix from "./dataprocessing";
584 import ywmix from "@/views/ywbl/mixin/index"; 548 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
585 import { init, getSsQlxx, getZtQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 549 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
586 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 550 import selectTable from "@/components/selectTable/index.vue";
587 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 551 import tdytTable from "@/views/workflow/components/tdytTable";
588 import selectTable from "@/components/selectTable/index.vue"; 552 export default {
589 import tdytTable from "@/views/workflow/components/tdytTable";
590 export default {
591 mixins: [ywmix], 553 mixins: [ywmix],
592 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 554 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
593 computed: { 555
594 ...mapGetters(["dictData", "flag"]), 556 data () {
595 // 根据流程判断表单是否为只读
596 editDisabled() {
597 if (!this.ableOperation) {
598 //只读状态
599 return true;
600 }
601 return false;
602 },
603 },
604 data() {
605 return { 557 return {
606 mjdw: "1", 558 mjdw: "1",
607 props: {
608 label: "bdcqzh",
609 value: "bdcdyid",
610 },
611 //表单是否可操作 559 //表单是否可操作
612 propsParam: this.$attrs,
613 key: 0,
614 isShow: false,
615 disabled: true,
616 ssqlxxshow: true,
617 czrOptions: [],
618 ruleForm: {},
619 // 权属状态
620 qsztlist: [
621 {
622 dcode: "1",
623 dname: "现势",
624 },
625 {
626 dcode: "2",
627 dname: "历史",
628 },
629 ],
630 // 登记类型
631 djlxlist: [
632 {
633 dcode: "100",
634 dname: "首次登记",
635 },
636 {
637 dcode: "200",
638 dname: "转移登记",
639 },
640 {
641 dcode: "300",
642 dname: "变更登记",
643 },
644 {
645 dcode: "500",
646 dname: "更正登记",
647 },
648
649 {
650 dcode: "901",
651 dname: "补证",
652 },
653 {
654 dcode: "902",
655 dname: "换证",
656 },
657 ],
658 ssQlxxList: [],
659 ztQlxxList: [],
660 ableOperation: false,
661 rules: { 560 rules: {
662 ssQlxxrules: [ 561 ssQlxxrules: [
663 { required: true, message: "上手权利信息", trigger: "blur" }, 562 { required: true, message: "上手权利信息", trigger: "blur" },
...@@ -688,251 +587,18 @@ export default { ...@@ -688,251 +587,18 @@ export default {
688 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 587 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
689 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 588 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
690 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 589 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
691 },
692 };
693 },
694 created() {},
695 mounted() {
696 this.loadData();
697 this.ableOperation = this.$parent.ableOperation;
698 },
699 methods: {
700 /**
701 * @description: ztQlxxchange
702 * @param {*} val
703 * @author: renchao
704 */
705 ztQlxxchange(val) {
706 this.ruleForm.ztQlxx = val;
707 },
708 /**
709 * @description: ssQlxxchange
710 * @param {*} val
711 * @author: renchao
712 */
713 ssQlxxchange(val) {
714 this.ruleForm.ssQlxx = val;
715 this.ruleForm.qlxx.ssywh = val.ywh;
716 this.ssQlxxchangediolog(val);
717 },
718 // 弹框事件
719 ssQlxxchangediolog(val) {
720 console.log("确定了", this.ruleForm);
721 this.$confirm("是否将上手权利信息同步到表单", "提示", {
722 iconClass: "el-icon-question", //自定义图标样式
723 confirmButtonText: "确认", //确认按钮文字更换
724 cancelButtonText: "取消", //取消按钮文字更换
725 showClose: true, //是否显示右上角关闭按钮
726 type: "warning",
727 }).then(() => {
728 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
729 if (res.code == 200) {
730 this.nowlist = res.result;
731 console.log("his.nowlist", this.nowlist);
732 console.log("this.ruleForm", this.ruleForm);
733 for (var key in this.ruleForm.diyaq) {
734 if (
735 this.ruleForm.diyaq[key] == "" ||
736 this.ruleForm.diyaq[key] == null
737 ) {
738 this.ruleForm.diyaq[key] = this.nowlist.diyaq[key];
739 }
740 }
741 for (var key in this.ruleForm.qlxx) {
742 if (
743 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
744 this.ruleForm.qlxx[key] == null
745 ) {
746 console.log("this.ruleForm.qlxx[key]", key);
747 if (key != "ywh") {
748 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
749 }
750 }
751 } 590 }
752 if (!this.ruleForm.tdytqxList.length) {
753 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
754 }
755 if (!this.ruleForm.qlrData.length) {
756 this.ruleForm.qlrData = this.nowlist.qlrData;
757 }
758 if (!this.ruleForm.ywrData.length) {
759 this.ruleForm.ywrData = this.nowlist.ywrData;
760 }
761 console.log("this.ruleForm", this.ruleForm);
762 this.$message({
763 type: "success",
764 message: "同步成功!",
765 });
766 }
767 });
768 }).catch(() => {
769 this.$message({
770 type: "info",
771 message: "已取消同步",
772 });
773 });
774 },
775
776 djlxchange(val) {
777 if (val == null || val == 100) {
778 this.ssqlxxshow = false;
779 } else {
780 this.ssqlxxshow = true;
781 } 591 }
782 }, 592 },
783 /** 593 };
784 * @description: loadData
785 * @author: renchao
786 */
787 loadData() {
788 this.$startLoading();
789 this.propsParam.isEdit = this.$parent.isEdit;
790 init(this.propsParam).then((res) => {
791 if (res.code == 200) {
792 this.ruleForm = res.result;
793 this.$endLoading();
794 this.isShow = true;
795 let djlx = this.ruleForm.qlxx.djlx;
796 if (djlx == null || djlx == 100) {
797 this.ssqlxxshow = false;
798 }
799
800 //获取主体信息
801 getSsQlxx({
802 bdcdyid: this.propsParam.bdcdyid,
803 qllx: this.propsParam.qllx,
804 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
805 }).then((res) => {
806 if (res.code == 200) {
807 this.ssQlxxList = res.result;
808 }
809 });
810 //获取上手信息
811 getZtQlxx({
812 bdcdyid: this.propsParam.bdcdyid,
813 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
814 }).then((res) => {
815 if (res.code == 200) {
816 this.ztQlxxList = res.result;
817 }
818 });
819 }
820 });
821 },
822 // 更新土地用途信息
823 /**
824 * @description: 更新土地用途信息
825 * @param {*} val
826 * @author: renchao
827 */
828 upDateTdytxxList(val) {
829 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
830 this.key++;
831 },
832 // 更新权利人信息
833 /**
834 * @description: 更新权利人信息
835 * @param {*} val
836 * @author: renchao
837 */
838 upDateQlrxxList(val) {
839 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
840 this.czrOptions = this.ruleForm.qlrData;
841 this.key++;
842 },
843 // 更新义务人信息
844 /**
845 * @description: 更新义务人信息
846 * @param {*} val
847 * @author: renchao
848 */
849 upDateYwrxxList(val) {
850 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
851 this.key++;
852 },
853 /**
854 * @description: onSubmit
855 * @author: renchao
856 */
857 onSubmit() {
858 this.$refs.ruleForm.validate((valid) => {
859 if (valid) {
860 if (this.ruleForm.qlrData.length == 0) {
861 this.$message({
862 showClose: true,
863 message: "请确认权利人信息",
864 type: "error",
865 });
866 return false;
867 }
868 if (this.ruleForm.ywrData.length == 0) {
869 this.$message({
870 showClose: true,
871 message: "请确认义务人信息",
872 type: "error",
873 });
874 return false;
875 }
876 if (this.ruleForm.qlxx.gyfs == "0") {
877 if (this.ruleForm.qlrData.length > 1) {
878 this.$message({
879 showClose: true,
880 message: "共有方式:单独所有,权利人只能是一个人",
881 type: "error",
882 });
883 return false;
884 }
885 this.ruleForm.qlrData[0].sfczr = "1";
886 }
887 if (this.ruleForm.qlxx.gyfs == "1") {
888 //是否分别持证
889 if (this.ruleForm.qlxx.sqfbcz == "1") {
890 //是
891 this.ruleForm.qlrData.forEach((item, index) => {
892 item.sfczr = "1";
893 });
894 } else {
895 this.ruleForm.qlrData.forEach((item, index) => {
896 if (item.zjh == this.ruleForm.czr) {
897 item.sfczr = "1";
898 } else {
899 item.sfczr = "0";
900 }
901 });
902 }
903 }
904 save(this.ruleForm).then((res) => {
905 if (res.code === 200) {
906 this.$message({
907 showClose: true,
908 message: "保存成功!",
909 type: "success",
910 });
911 this.$parent.changeywh();
912 this.$store.dispatch("user/refreshPage", true);
913 } else {
914 this.$message({
915 showClose: true,
916 message: res.message,
917 type: "error",
918 });
919 }
920 });
921 } else {
922 return false;
923 }
924 });
925 },
926 },
927 };
928 </script> 594 </script>
929 <style scoped lang="scss"> 595 <style scoped lang="scss">
930 @import "~@/styles/public.scss"; 596 @import "~@/styles/public.scss";
931 @import "~@/styles/slxx/slxx.scss"; 597 @import "~@/styles/slxx/slxx.scss";
932 .el-date-editor.el-input { 598 .el-date-editor.el-input {
933 width: 100%; 599 width: 100%;
934 } 600 }
935 .el-table__row { 601 .el-table__row {
936 height: 30px !important; 602 height: 30px !important;
937 } 603 }
938 </style> 604 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:00:09 4 * @LastEditTime: 2023-08-04 16:35:32
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 :show-message="false" 17 :show-message="false"
18 label-width="150px"> 18 label-width="145px">
19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
20 <div class="slxx_title title-block"> 20 <div class="slxx_title title-block">
21 补录信息 21 补录信息
...@@ -38,63 +38,43 @@ ...@@ -38,63 +38,43 @@
38 </el-form-item> 38 </el-form-item>
39 </el-col> 39 </el-col>
40 </el-row> 40 </el-row>
41 <div class="slxx_title title-block"> 41 <div class="slxx_title title-block bdcqk">
42 地役权不动产情况 42 地役权不动产情况
43 <div class="triangle"></div> 43 <div class="count">
44 </div>
45 <el-row :gutter="10">
46 <el-col :span="8">
47 <el-form-item 44 <el-form-item
48 label="地役权不动产信息:" 45 label="地役权不动产情况"
49 prop="ztQlxx.bdcqzh" 46 prop="ztQlxx.bdcqzh"
50 :rules="rules.ztQlxxrules"> 47 :rules="rules.ztQlxxrules"
48 >
51 <select-table 49 <select-table
52 v-model="ruleForm.ztQlxx" 50 v-model="ruleForm.ztQlxx"
53 :table-width="550" 51 :table-width="730"
54 :tableData="ztQlxxList" 52 :tableData="ztQlxxList"
55 :props="props" 53 :props="props"
56 @change="ztQlxxchange"> 54 @change="ztQlxxchange"
55 >
57 <el-table-column 56 <el-table-column
58 prop="qllxmc" 57 prop="qllxmc"
59 width="130" 58 width="130"
60 label="权利类型"></el-table-column> 59 label="权利类型"
60 ></el-table-column>
61 <el-table-column 61 <el-table-column
62 prop="bdcqzh" 62 prop="bdcqzh"
63 width="160" 63 width="160"
64 label="不动产权证书"></el-table-column> 64 label="不动产权证书"
65 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 65 ></el-table-column>
66 <el-table-column prop="mjmc" label="面积"></el-table-column>
67 <el-table-column prop="ytmc" label="用途"></el-table-column>
68 <el-table-column prop="zl" label="坐落"></el-table-column>
69 </select-table>
70 </el-form-item>
71 </el-col>
72
73 <el-col :span="8" v-if="ssqlxxshow">
74 <el-form-item label="上手权利信息:" prop="ssQlxx.bdcqzh" :rules="rules.ssQlxxrules">
75 <select-table
76 v-model="ruleForm.ssQlxx"
77 :table-width="550"
78 :tableData="ssQlxxList"
79 :props="props"
80 @change="ssQlxxchange">
81 <el-table-column
82 prop="qllxmc"
83 width="130"
84 label="权利类型"></el-table-column>
85 <el-table-column 66 <el-table-column
86 prop="bdcqzh" 67 prop="qlrmc"
87 width="160" 68 label="被执行人"
88 label="不动产权证书"></el-table-column> 69 ></el-table-column>
89 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
90 <el-table-column prop="mjmc" label="面积"></el-table-column> 70 <el-table-column prop="mjmc" label="面积"></el-table-column>
91 <el-table-column prop="ytmc" label="用途"></el-table-column> 71 <el-table-column prop="ytmc" label="用途"></el-table-column>
92 <el-table-column prop="zl" label="坐落"></el-table-column> 72 <el-table-column prop="zl" label="坐落"></el-table-column>
93 </select-table> 73 </select-table>
94 </el-form-item> 74 </el-form-item>
95 </el-col> 75 </div>
96 </el-row> 76 <div class="triangle"></div>
97 77 </div>
98 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 78 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
99 <el-col :span="8"> 79 <el-col :span="8">
100 <el-form-item label="权利人:"> 80 <el-form-item label="权利人:">
...@@ -146,8 +126,38 @@ ...@@ -146,8 +126,38 @@
146 </el-form-item> 126 </el-form-item>
147 </el-col> 127 </el-col>
148 </el-row> 128 </el-row>
149 <div class="slxx_title title-block"> 129 <div class="slxx_title title-block bdcqk">
150 地役权信息 130 地役权信息
131 <div class="count" v-if="ssqlxxshow">
132 <el-form-item
133 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules"
136 >
137 <select-table
138 v-model="ruleForm.ssQlxx"
139 :table-width="730"
140 :tableData="ssQlxxList"
141 :props="props"
142 @change="ssQlxxchange"
143 >
144 <el-table-column
145 prop="qllxmc"
146 width="130"
147 label="权利类型"
148 ></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column>
157 <el-table-column prop="zl" label="坐落"></el-table-column>
158 </select-table>
159 </el-form-item>
160 </div>
151 <div class="triangle"></div> 161 <div class="triangle"></div>
152 </div> 162 </div>
153 <el-row :gutter="10"> 163 <el-row :gutter="10">
...@@ -374,7 +384,7 @@ ...@@ -374,7 +384,7 @@
374 </el-radio-group> 384 </el-radio-group>
375 </el-form-item> 385 </el-form-item>
376 </el-col> 386 </el-col>
377 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 387 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
378 <el-form-item label="是否分别持证:"> 388 <el-form-item label="是否分别持证:">
379 <el-radio-group 389 <el-radio-group
380 v-model="ruleForm.qlxx.sqfbcz" 390 v-model="ruleForm.qlxx.sqfbcz"
...@@ -400,7 +410,7 @@ ...@@ -400,7 +410,7 @@
400 </el-option> 410 </el-option>
401 </el-select> 411 </el-select>
402 </el-form-item> 412 </el-form-item>
403 </el-col> 413 </el-col> -->
404 </el-row> 414 </el-row>
405 <qlrCommonTable 415 <qlrCommonTable
406 :tableData="ruleForm.qlrData" 416 :tableData="ruleForm.qlrData"
...@@ -431,9 +441,7 @@ ...@@ -431,9 +441,7 @@
431 </div> 441 </div>
432 </template> 442 </template>
433 <script> 443 <script>
434 import { mapGetters } from "vuex"; 444 import ywmix from "./dataprocessing";
435 import ywmix from "@/views/ywbl/mixin/index"
436 import { init, getSsQlxx, getZtQlxx, getQlxxByQlxxBsm,save } from "@/api/djbRepair.js";
437 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 445 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
438 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 446 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
439 import tdytTable from "@/views/workflow/components/tdytTable"; 447 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -441,73 +449,8 @@ ...@@ -441,73 +449,8 @@
441 export default { 449 export default {
442 mixins: [ywmix], 450 mixins: [ywmix],
443 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 451 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
444 computed: {
445 ...mapGetters(["dictData", "flag"]),
446 // 根据流程判断表单是否为只读
447 editDisabled () {
448 if (!this.ableOperation) {
449 //只读状态
450 return true;
451 }
452 return false;
453 },
454 },
455 data () { 452 data () {
456 return { 453 return {
457 ssqlxxshow: true,
458 props: {
459 label: "bdcqzh",
460 value: "bdcdyid",
461 },
462 //表单是否可操作
463 propsParam: this.$attrs,
464 key: 0,
465 isShow: false,
466 disabled: true,
467 czrOptions: [],
468 ssQlxxList: [],
469 ztQlxxList: [],
470 ruleForm: {},
471 // 登记类型
472 djlxlist: [
473 {
474 dcode: "100",
475 dname: "首次登记",
476 },
477 {
478 dcode: "200",
479 dname: "转移登记",
480 },
481 {
482 dcode: "300",
483 dname: "变更登记",
484 },
485 {
486 dcode: "500",
487 dname: "更正登记",
488 },
489
490 {
491 dcode: "901",
492 dname: "补证",
493 },
494 {
495 dcode: "902",
496 dname: "换证",
497 },
498 ],
499 // 权属状态
500 qsztlist: [
501 {
502 dcode: "1",
503 dname: "现势",
504 },
505 {
506 dcode: "2",
507 dname: "历史",
508 },
509 ],
510 ableOperation: false,
511 //传递参数\ 454 //传递参数\
512 rules: { 455 rules: {
513 ssQlxxrules: [ 456 ssQlxxrules: [
...@@ -527,245 +470,7 @@ ...@@ -527,245 +470,7 @@
527 }, 470 },
528 }; 471 };
529 }, 472 },
530 created () { },
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 console.log("确定了",this.ruleForm)
557 this.$confirm("是否将上手权利信息同步到表单", "提示", {
558 iconClass: "el-icon-question", //自定义图标样式
559 confirmButtonText: "确认", //确认按钮文字更换
560 cancelButtonText: "取消", //取消按钮文字更换
561 showClose: true, //是否显示右上角关闭按钮
562 type: "warning",
563 }).then(() => {
564 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
565 if (res.code == 200) {
566 this.nowlist = res.result;
567 console.log("his.nowlist", this.nowlist);
568 console.log("this.ruleForm", this.ruleForm);
569 for (var key in this.ruleForm.dyiq) {
570 if (
571 this.ruleForm.dyiq[key] == "" ||
572 this.ruleForm.dyiq[key] == null
573 ) {
574 this.ruleForm.dyiq[key] = this.nowlist.dyiq[key];
575 }
576 }
577 for (var key in this.ruleForm.qlxx) {
578 if (
579 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
580 this.ruleForm.qlxx[key] == null
581 ) {
582 console.log("this.ruleForm.qlxx[key]", key);
583 if (key != "ywh") {
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 }
597 console.log("this.ruleForm", this.ruleForm);
598 this.$message({
599 type: "success",
600 message: "同步成功!",
601 });
602 }
603 });
604 }).catch(() => {
605 this.$message({
606 type: "info",
607 message: "已取消同步",
608 });
609 });
610 },
611 /**
612 * @description: djlxchange
613 * @param {*} val
614 * @author: renchao
615 */
616 djlxchange (val) {
617 console.log("val", val);
618 if (val == null || val == 100) {
619 this.ssqlxxshow = false;
620 } else {
621 this.ssqlxxshow = true;
622 }
623 },
624 /**
625 * @description: loadData
626 * @author: renchao
627 */
628 loadData () {
629 this.$startLoading();
630 this.propsParam.isEdit = this.$parent.isEdit;
631 init(this.propsParam).then((res) => {
632 if (res.code == 200) {
633 this.ruleForm = res.result;
634 let djlx = this.ruleForm.qlxx.djlx;
635 if (djlx == null || djlx == 100) {
636 this.ssqlxxshow = false;
637 }
638 this.$endLoading();
639 this.isShow = true;
640
641 //获取主体信息
642 getSsQlxx({
643 bdcdyid: this.propsParam.bdcdyid,
644 qllx: this.propsParam.qllx,
645 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
646 }).then((res) => {
647 if (res.code == 200) {
648 this.ssQlxxList = res.result;
649 } 473 }
650 });
651 //获取上手信息
652 getZtQlxx({
653 bdcdyid: this.propsParam.bdcdyid,
654 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
655 }).then((res) => {
656 if (res.code == 200) {
657 this.ztQlxxList = res.result;
658 }
659 });
660 }
661 });
662 },
663 // 更新土地用途信息
664 /**
665 * @description: 更新土地用途信息
666 * @param {*} val
667 * @author: renchao
668 */
669 upDateTdytxxList (val) {
670 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
671 this.key++;
672 },
673 // 更新权利人信息
674 /**
675 * @description: 更新权利人信息
676 * @param {*} val
677 * @author: renchao
678 */
679 upDateQlrxxList (val) {
680 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
681 this.czrOptions = this.ruleForm.qlrData;
682 this.key++;
683 },
684 // 更新义务人信息
685 /**
686 * @description: 更新义务人信息
687 * @param {*} val
688 * @author: renchao
689 */
690 upDateYwrxxList (val) {
691 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
692 this.key++;
693 },
694 /**
695 * @description: onSubmit
696 * @author: renchao
697 */
698 onSubmit () {
699 this.$refs.ruleForm.validate((valid) => {
700 if (valid) {
701 if (this.ruleForm.qlrData.length == 0) {
702 this.$message({
703 showClose: true,
704 message: "请确认权利人信息",
705 type: "error",
706 });
707 return false;
708 }
709 if (this.ruleForm.ywrData.length == 0) {
710 this.$message({
711 showClose: true,
712 message: "请确认义务人信息",
713 type: "error",
714 });
715 return false;
716 }
717 if (this.ruleForm.qlxx.gyfs == "0") {
718 if (this.ruleForm.qlrData.length > 1) {
719 this.$message({
720 showClose: true,
721 message: "共有方式:单独所有,权利人只能是一个人",
722 type: "error",
723 });
724 return false;
725 }
726 this.ruleForm.qlrData[0].sfczr = "1";
727 }
728 if (this.ruleForm.qlxx.gyfs == "1") {
729 //是否分别持证
730 if (this.ruleForm.qlxx.sqfbcz == "1") {
731 //是
732 this.ruleForm.qlrData.forEach((item, index) => {
733 item.sfczr = "1";
734 });
735 } else {
736 this.ruleForm.qlrData.forEach((item, index) => {
737 if (item.zjh == this.ruleForm.czr) {
738 item.sfczr = "1";
739 } else {
740 item.sfczr = "0";
741 }
742 });
743 }
744 }
745 save(this.ruleForm).then((res) => {
746 if (res.code === 200) {
747 this.$message({
748 showClose: true,
749 message: "保存成功!",
750 type: "success",
751 });
752 this.$parent.changeywh()
753 this.$store.dispatch("user/refreshPage", true);
754 } else {
755 this.$message({
756 showClose: true,
757 message: res.message,
758 type: "error",
759 });
760 }
761 });
762 } else {
763 return false;
764 }
765 });
766 },
767 },
768 };
769 </script> 474 </script>
770 <style scoped lang="scss"> 475 <style scoped lang="scss">
771 @import "~@/styles/public.scss"; 476 @import "~@/styles/public.scss";
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:38:11 4 * @LastEditTime: 2023-08-04 15:53:29
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -16,8 +16,7 @@ ...@@ -16,8 +16,7 @@
16 :inline="flag" 16 :inline="flag"
17 :show-message="false" 17 :show-message="false"
18 inline-message 18 inline-message
19 label-width="145px" 19 label-width="145px">
20 >
21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
22 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
23 补录信息 22 补录信息
...@@ -40,42 +39,36 @@ ...@@ -40,42 +39,36 @@
40 </el-form-item> 39 </el-form-item>
41 </el-col> 40 </el-col>
42 </el-row> 41 </el-row>
43 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
44 房地产权(独幢、层、套、间房屋) 43 房地产权信息
45 <div class="triangle"></div> 44 <div class="count" v-if="ssqlxxshow">
46 </div>
47 <el-row :gutter="24">
48 <el-col :span="24" v-if="ssqlxxshow">
49 <el-form-item 45 <el-form-item
50 label="上手权利信息:" 46 label="上手权利信息:"
51 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
52 :rules="rules.ssQlxxrules" 48 :rules="rules.ssQlxxrules">
53 >
54 <select-table 49 <select-table
55 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
56 :table-width="550" 51 :table-width="730"
57 :tableData="ssQlxxList" 52 :tableData="ssQlxxList"
58 :props="props" 53 :props="props"
59 @change="ssQlxxchange" 54 @change="ssQlxxchange">
60 >
61 <el-table-column 55 <el-table-column
62 prop="qllxmc" 56 prop="qllxmc"
63 width="130" 57 width="130"
64 label="权利类型" 58 label="权利类型"></el-table-column>
65 ></el-table-column>
66 <el-table-column 59 <el-table-column
67 prop="bdcqzh" 60 prop="bdcqzh"
68 width="160" 61 width="160"
69 label="不动产权证书" 62 label="不动产权证书"></el-table-column>
70 ></el-table-column>
71 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 63 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
72 <el-table-column prop="mjmc" label="面积"></el-table-column> 64 <el-table-column prop="mjmc" label="面积"></el-table-column>
73 <el-table-column prop="ytmc" label="用途"></el-table-column> 65 <el-table-column prop="ytmc" label="用途"></el-table-column>
74 <el-table-column prop="zl" label="坐落"></el-table-column> 66 <el-table-column prop="zl" label="坐落"></el-table-column>
75 </select-table> 67 </select-table>
76 </el-form-item> 68 </el-form-item>
77 </el-col> 69 </div>
78 </el-row> 70 <div class="triangle"></div>
71 </div>
79 <el-row :gutter="10"> 72 <el-row :gutter="10">
80 <el-col :span="8"> 73 <el-col :span="8">
81 <el-form-item label="不动产单元号:"> 74 <el-form-item label="不动产单元号:">
...@@ -86,8 +79,7 @@ ...@@ -86,8 +79,7 @@
86 <el-form-item 79 <el-form-item
87 label="业务号:" 80 label="业务号:"
88 prop="qlxx.ywh" 81 prop="qlxx.ywh"
89 :rules="rules.ywhrules" 82 :rules="rules.ywhrules">
90 >
91 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 83 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
92 </el-form-item> 84 </el-form-item>
93 </el-col> 85 </el-col>
...@@ -107,15 +99,13 @@ ...@@ -107,15 +99,13 @@
107 <el-form-item 99 <el-form-item
108 label="登记类型:" 100 label="登记类型:"
109 prop="qlxx.djlx" 101 prop="qlxx.djlx"
110 :rules="rules.djlxrules" 102 :rules="rules.djlxrules">
111 >
112 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 103 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
113 <el-option 104 <el-option
114 v-for="item in djlxlist" 105 v-for="item in djlxlist"
115 :key="item.dcode" 106 :key="item.dcode"
116 :label="item.dname" 107 :label="item.dname"
117 :value="item.dcode" 108 :value="item.dcode">
118 >
119 </el-option> 109 </el-option>
120 </el-select> 110 </el-select>
121 </el-form-item> 111 </el-form-item>
...@@ -135,15 +125,13 @@ ...@@ -135,15 +125,13 @@
135 <div class="flex"> 125 <div class="flex">
136 <el-input 126 <el-input
137 v-model="ruleForm.fdcq2.dytdmj" 127 v-model="ruleForm.fdcq2.dytdmj"
138 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 128 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
139 ></el-input>
140 <el-select disabled v-model="mjdw" style="width: 20%"> 129 <el-select disabled v-model="mjdw" style="width: 20%">
141 <el-option 130 <el-option
142 v-for="item in dictData['A7']" 131 v-for="item in dictData['A7']"
143 :key="item.dcode" 132 :key="item.dcode"
144 :label="item.dname" 133 :label="item.dname"
145 :value="item.dcode" 134 :value="item.dcode">
146 >
147 </el-option> 135 </el-option>
148 </el-select> 136 </el-select>
149 </div> 137 </div>
...@@ -154,15 +142,13 @@ ...@@ -154,15 +142,13 @@
154 <div class="flex"> 142 <div class="flex">
155 <el-input 143 <el-input
156 v-model="ruleForm.fdcq2.fttdmj" 144 v-model="ruleForm.fdcq2.fttdmj"
157 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 145 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
158 ></el-input>
159 <el-select disabled v-model="mjdw" style="width: 20%"> 146 <el-select disabled v-model="mjdw" style="width: 20%">
160 <el-option 147 <el-option
161 v-for="item in dictData['A7']" 148 v-for="item in dictData['A7']"
162 :key="item.dcode" 149 :key="item.dcode"
163 :label="item.dname" 150 :label="item.dname"
164 :value="item.dcode" 151 :value="item.dcode">
165 >
166 </el-option> 152 </el-option>
167 </el-select> 153 </el-select>
168 </div> 154 </div>
...@@ -172,13 +158,12 @@ ...@@ -172,13 +158,12 @@
172 <!-- 下拉框 --> 158 <!-- 下拉框 -->
173 <el-form-item label="土地性质:" style="margin-bottom: 3px"> 159 <el-form-item label="土地性质:" style="margin-bottom: 3px">
174 <treeselect 160 <treeselect
175 v-model="tdxz" 161 v-model="ruleForm.fdcq2.tdxz"
176 noOptionsText="暂无数据" 162 noOptionsText="暂无数据"
177 placeholder="" 163 placeholder=""
178 :normalizer="normalizer" 164 :normalizer="normalizer"
179 :show-count="true" 165 :show-count="true"
180 :options="dictData['A9']" 166 :options="dictData['A9']" />
181 />
182 </el-form-item> 167 </el-form-item>
183 </el-col> 168 </el-col>
184 <el-col :span="8"> 169 <el-col :span="8">
...@@ -187,15 +172,13 @@ ...@@ -187,15 +172,13 @@
187 <el-input 172 <el-input
188 v-model="ruleForm.fdcq2.qjjg" 173 v-model="ruleForm.fdcq2.qjjg"
189 style="width: 500%" 174 style="width: 500%"
190 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 175 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
191 ></el-input>
192 <el-select v-model="ruleForm.fdcq2.jedw"> 176 <el-select v-model="ruleForm.fdcq2.jedw">
193 <el-option 177 <el-option
194 v-for="item in dictData['A57']" 178 v-for="item in dictData['A57']"
195 :key="item.dcode" 179 :key="item.dcode"
196 :label="item.dname" 180 :label="item.dname"
197 :value="item.dcode" 181 :value="item.dcode">
198 >
199 </el-option> 182 </el-option>
200 </el-select> 183 </el-select>
201 </div> 184 </div>
...@@ -208,8 +191,7 @@ ...@@ -208,8 +191,7 @@
208 v-for="item in qsztlist" 191 v-for="item in qsztlist"
209 :key="item.dcode" 192 :key="item.dcode"
210 :label="item.dname" 193 :label="item.dname"
211 :value="item.dcode" 194 :value="item.dcode">
212 >
213 </el-option> 195 </el-option>
214 </el-select> 196 </el-select>
215 </el-form-item> 197 </el-form-item>
...@@ -221,8 +203,7 @@ ...@@ -221,8 +203,7 @@
221 v-for="item in dictData['A17']" 203 v-for="item in dictData['A17']"
222 :key="item.dcode" 204 :key="item.dcode"
223 :label="item.dname" 205 :label="item.dname"
224 :value="item.dcode" 206 :value="item.dcode">
225 >
226 </el-option> 207 </el-option>
227 </el-select> 208 </el-select>
228 </el-form-item> 209 </el-form-item>
...@@ -244,8 +225,7 @@ ...@@ -244,8 +225,7 @@
244 v-for="item in dictData['A19']" 225 v-for="item in dictData['A19']"
245 :key="item.dcode" 226 :key="item.dcode"
246 :label="item.dname" 227 :label="item.dname"
247 :value="item.dcode" 228 :value="item.dcode">
248 >
249 </el-option> 229 </el-option>
250 </el-select> 230 </el-select>
251 </el-form-item> 231 </el-form-item>
...@@ -254,15 +234,13 @@ ...@@ -254,15 +234,13 @@
254 <el-form-item 234 <el-form-item
255 label="房屋结构:" 235 label="房屋结构:"
256 prop="fdcq2.fwjg" 236 prop="fdcq2.fwjg"
257 :rules="rules.fwjgrules" 237 :rules="rules.fwjgrules">
258 >
259 <el-select v-model="ruleForm.fdcq2.fwjg"> 238 <el-select v-model="ruleForm.fdcq2.fwjg">
260 <el-option 239 <el-option
261 v-for="item in dictData['A46']" 240 v-for="item in dictData['A46']"
262 :key="item.dcode" 241 :key="item.dcode"
263 :label="item.dname" 242 :label="item.dname"
264 :value="item.dcode" 243 :value="item.dcode">
265 >
266 </el-option> 244 </el-option>
267 </el-select> 245 </el-select>
268 </el-form-item> 246 </el-form-item>
...@@ -282,15 +260,13 @@ ...@@ -282,15 +260,13 @@
282 <div class="flex"> 260 <div class="flex">
283 <el-input 261 <el-input
284 v-model="ruleForm.fdcq2.jzmj" 262 v-model="ruleForm.fdcq2.jzmj"
285 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 263 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
286 ></el-input>
287 <el-select disabled v-model="mjdw" style="width: 20%"> 264 <el-select disabled v-model="mjdw" style="width: 20%">
288 <el-option 265 <el-option
289 v-for="item in dictData['A7']" 266 v-for="item in dictData['A7']"
290 :key="item.dcode" 267 :key="item.dcode"
291 :label="item.dname" 268 :label="item.dname"
292 :value="item.dcode" 269 :value="item.dcode">
293 >
294 </el-option> 270 </el-option>
295 </el-select> 271 </el-select>
296 </div> 272 </div>
...@@ -301,15 +277,13 @@ ...@@ -301,15 +277,13 @@
301 <div class="flex"> 277 <div class="flex">
302 <el-input 278 <el-input
303 v-model="ruleForm.fdcq2.zyjzmj" 279 v-model="ruleForm.fdcq2.zyjzmj"
304 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 280 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
305 ></el-input>
306 <el-select disabled v-model="mjdw" style="width: 20%"> 281 <el-select disabled v-model="mjdw" style="width: 20%">
307 <el-option 282 <el-option
308 v-for="item in dictData['A7']" 283 v-for="item in dictData['A7']"
309 :key="item.dcode" 284 :key="item.dcode"
310 :label="item.dname" 285 :label="item.dname"
311 :value="item.dcode" 286 :value="item.dcode">
312 >
313 </el-option> 287 </el-option>
314 </el-select> 288 </el-select>
315 </div> 289 </div>
...@@ -320,15 +294,13 @@ ...@@ -320,15 +294,13 @@
320 <div class="flex"> 294 <div class="flex">
321 <el-input 295 <el-input
322 v-model="ruleForm.fdcq2.ftjzmj" 296 v-model="ruleForm.fdcq2.ftjzmj"
323 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 297 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
324 ></el-input>
325 <el-select disabled v-model="mjdw" style="width: 20%"> 298 <el-select disabled v-model="mjdw" style="width: 20%">
326 <el-option 299 <el-option
327 v-for="item in dictData['A7']" 300 v-for="item in dictData['A7']"
328 :key="item.dcode" 301 :key="item.dcode"
329 :label="item.dname" 302 :label="item.dname"
330 :value="item.dcode" 303 :value="item.dcode">
331 >
332 </el-option> 304 </el-option>
333 </el-select> 305 </el-select>
334 </div> 306 </div>
...@@ -342,8 +314,7 @@ ...@@ -342,8 +314,7 @@
342 type="date" 314 type="date"
343 placeholder="选择日期" 315 placeholder="选择日期"
344 value-format="yyyy-MM-dd HH:mm:ss" 316 value-format="yyyy-MM-dd HH:mm:ss"
345 format="yyyy-MM-dd" 317 format="yyyy-MM-dd">
346 >
347 </el-date-picker> 318 </el-date-picker>
348 </el-form-item> 319 </el-form-item>
349 </el-col> 320 </el-col>
...@@ -352,8 +323,7 @@ ...@@ -352,8 +323,7 @@
352 <el-form-item 323 <el-form-item
353 label="不动产权证号:" 324 label="不动产权证号:"
354 prop="qlxx.bdcqzh" 325 prop="qlxx.bdcqzh"
355 :rules="rules.bdcqzhrules" 326 :rules="rules.bdcqzhrules">
356 >
357 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 327 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
358 </el-form-item> 328 </el-form-item>
359 </el-col> 329 </el-col>
...@@ -370,8 +340,7 @@ ...@@ -370,8 +340,7 @@
370 <el-form-item 340 <el-form-item
371 label="登记机构:" 341 label="登记机构:"
372 prop="qlxx.djjg" 342 prop="qlxx.djjg"
373 :rules="rules.djjgrules" 343 :rules="rules.djjgrules">
374 >
375 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 344 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
376 </el-form-item> 345 </el-form-item>
377 </el-col> 346 </el-col>
...@@ -379,8 +348,7 @@ ...@@ -379,8 +348,7 @@
379 <el-form-item 348 <el-form-item
380 label="登簿人:" 349 label="登簿人:"
381 prop="qlxx.dbr" 350 prop="qlxx.dbr"
382 :rules="rules.dbrrules" 351 :rules="rules.dbrrules">
383 >
384 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 352 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
385 </el-form-item> 353 </el-form-item>
386 </el-col> 354 </el-col>
...@@ -388,16 +356,14 @@ ...@@ -388,16 +356,14 @@
388 <el-form-item 356 <el-form-item
389 label="登记时间:" 357 label="登记时间:"
390 prop="qlxx.djsj" 358 prop="qlxx.djsj"
391 :rules="rules.djsjrules" 359 :rules="rules.djsjrules">
392 >
393 <el-date-picker 360 <el-date-picker
394 v-model="ruleForm.qlxx.djsj" 361 v-model="ruleForm.qlxx.djsj"
395 type="date" 362 type="date"
396 class="width100" 363 class="width100"
397 placeholder="选择日期" 364 placeholder="选择日期"
398 value-format="yyyy-MM-dd HH:mm:ss" 365 value-format="yyyy-MM-dd HH:mm:ss"
399 format="yyyy-MM-dd" 366 format="yyyy-MM-dd">
400 >
401 </el-date-picker> 367 </el-date-picker>
402 </el-form-item> 368 </el-form-item>
403 </el-col> 369 </el-col>
...@@ -423,8 +389,7 @@ ...@@ -423,8 +389,7 @@
423 <tdytTable 389 <tdytTable
424 :tableData="ruleForm.tdytqxList" 390 :tableData="ruleForm.tdytqxList"
425 @upDateTdytxxList="upDateTdytxxList" 391 @upDateTdytxxList="upDateTdytxxList"
426 :ableOperation="ableOperation" 392 :ableOperation="ableOperation" />
427 />
428 <div class="slxx_title title-block"> 393 <div class="slxx_title title-block">
429 权利人信息 394 权利人信息
430 <div class="triangle"></div> 395 <div class="triangle"></div>
...@@ -434,8 +399,7 @@ ...@@ -434,8 +399,7 @@
434 <el-form-item label="共有方式:"> 399 <el-form-item label="共有方式:">
435 <el-radio-group 400 <el-radio-group
436 :disabled="!ableOperation" 401 :disabled="!ableOperation"
437 v-model="ruleForm.qlxx.gyfs" 402 v-model="ruleForm.qlxx.gyfs">
438 >
439 <el-radio label="0">单独所有</el-radio> 403 <el-radio label="0">单独所有</el-radio>
440 <el-radio label="1">共同共有</el-radio> 404 <el-radio label="1">共同共有</el-radio>
441 <el-radio label="2">按份所有</el-radio> 405 <el-radio label="2">按份所有</el-radio>
...@@ -443,45 +407,13 @@ ...@@ -443,45 +407,13 @@
443 </el-radio-group> 407 </el-radio-group>
444 </el-form-item> 408 </el-form-item>
445 </el-col> 409 </el-col>
446 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
447 <el-form-item label="是否分别持证:">
448 <el-radio-group
449 v-model="ruleForm.qlxx.sqfbcz"
450 :disabled="!ableOperation"
451 >
452 <el-radio :label="1"></el-radio>
453 <el-radio :label="0"></el-radio>
454 </el-radio-group>
455 </el-form-item>
456 </el-col>
457 <el-col
458 :span="6"
459 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
460 >
461 <el-form-item label="持证人:">
462 <el-select
463 v-model="ruleForm.czr"
464 placeholder="持证人"
465 :disabled="!ableOperation"
466 >
467 <el-option
468 v-for="item in czrOptions"
469 :key="item.zjh"
470 :label="item.sqrmc"
471 :value="item.zjh"
472 >
473 </el-option>
474 </el-select>
475 </el-form-item>
476 </el-col>
477 </el-row> 410 </el-row>
478 <qlrCommonTable 411 <qlrCommonTable
479 :tableData="ruleForm.qlrData" 412 :tableData="ruleForm.qlrData"
480 @upDateQlrxxList="upDateQlrxxList" 413 @upDateQlrxxList="upDateQlrxxList"
481 :ableOperation="ableOperation" 414 :ableOperation="ableOperation"
482 :key="key" 415 :key="key"
483 :gyfs="ruleForm.qlxx.gyfs" 416 :gyfs="ruleForm.qlxx.gyfs" />
484 />
485 </div> 417 </div>
486 <el-row class="btn" v-if="ableOperation"> 418 <el-row class="btn" v-if="ableOperation">
487 <el-form-item> 419 <el-form-item>
...@@ -492,36 +424,19 @@ ...@@ -492,36 +424,19 @@
492 </div> 424 </div>
493 </template> 425 </template>
494 <script> 426 <script>
495 import { mapGetters } from "vuex"; 427 import ywmix from "./dataprocessing";
496 import ywmix from "@/views/ywbl/mixin/index"; 428 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
497 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 429 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
498 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 430 import selectTable from "@/components/selectTable/index.vue";
499 import selectTable from "@/components/selectTable/index.vue"; 431 import tdytTable from "@/views/workflow/components/tdytTable";
500 import tdytTable from "@/views/workflow/components/tdytTable"; 432 export default {
501 export default {
502 mixins: [ywmix], 433 mixins: [ywmix],
503 components: { qlrCommonTable, tdytTable, selectTable }, 434 components: { qlrCommonTable, tdytTable, selectTable },
504 computed: { 435 data () {
505 ...mapGetters(["dictData", "flag"]),
506 // 根据流程判断表单是否为只读
507 editDisabled() {
508 if (!this.ableOperation) {
509 //只读状态
510 return true;
511 }
512 return false;
513 },
514 },
515 data() {
516 return { 436 return {
517 mjdw: "1", 437 mjdw: "1",
518 ssqlxxshow: true,
519 props: {
520 label: "bdcqzh",
521 value: "bdcdyid",
522 },
523 // 键名转换,方法默认是label和children进行树状渲染 438 // 键名转换,方法默认是label和children进行树状渲染
524 normalizer(node) { 439 normalizer (node) {
525 //方法 440 //方法
526 if (node.children == null || node.children == "null") { 441 if (node.children == null || node.children == "null") {
527 delete node.children; 442 delete node.children;
...@@ -531,59 +446,13 @@ export default { ...@@ -531,59 +446,13 @@ export default {
531 label: node.dname, 446 label: node.dname,
532 }; 447 };
533 }, 448 },
534
535 //表单是否可操作
536 propsParam: this.$attrs,
537 // 登记类型
538 djlxlist: [
539 {
540 dcode: "100",
541 dname: "首次登记",
542 },
543 {
544 dcode: "200",
545 dname: "转移登记",
546 },
547 {
548 dcode: "300",
549 dname: "变更登记",
550 },
551 {
552 dcode: "500",
553 dname: "更正登记",
554 },
555
556 {
557 dcode: "901",
558 dname: "补证",
559 },
560 {
561 dcode: "902",
562 dname: "换证",
563 },
564 ],
565 // 权属状态
566 qsztlist: [
567 {
568 dcode: "1",
569 dname: "现势",
570 },
571 {
572 dcode: "2",
573 dname: "历史",
574 },
575 ],
576 key: 0, 449 key: 0,
577 tdxz: null, 450 tdxz: null,
578 isShow: false, 451 isShow: false,
579 disabled: true, 452 disabled: true,
580 czrOptions: [], 453 czrOptions: [],
581 ssQlxxList: [], 454 ssQlxxList: [],
582 ruleForm: { 455 ruleForm: {},
583 fdcq2: {
584 ftjzmj: "",
585 },
586 },
587 ableOperation: false, 456 ableOperation: false,
588 //传递参数\ 457 //传递参数\
589 rules: { 458 rules: {
...@@ -621,7 +490,6 @@ export default { ...@@ -621,7 +490,6 @@ export default {
621 }, 490 },
622 // 弹框事件 491 // 弹框事件
623 ssQlxxchangediolog(val) { 492 ssQlxxchangediolog(val) {
624 console.log("确定了", this.ruleForm, val);
625 this.$confirm("是否将上手权利信息同步到表单", "提示", { 493 this.$confirm("是否将上手权利信息同步到表单", "提示", {
626 iconClass: "el-icon-question", //自定义图标样式 494 iconClass: "el-icon-question", //自定义图标样式
627 confirmButtonText: "确认", //确认按钮文字更换 495 confirmButtonText: "确认", //确认按钮文字更换
...@@ -634,8 +502,6 @@ export default { ...@@ -634,8 +502,6 @@ export default {
634 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 502 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
635 if (res.code == 200) { 503 if (res.code == 200) {
636 this.nowlist = res.result; 504 this.nowlist = res.result;
637 console.log("his.nowlist", this.nowlist);
638 console.log("this.ruleForm", this.ruleForm);
639 for (var key in this.ruleForm.fdcq2) { 505 for (var key in this.ruleForm.fdcq2) {
640 if ( 506 if (
641 this.ruleForm.fdcq2[key] == "" || 507 this.ruleForm.fdcq2[key] == "" ||
...@@ -646,13 +512,16 @@ export default { ...@@ -646,13 +512,16 @@ export default {
646 } 512 }
647 for (var key in this.ruleForm.qlxx) { 513 for (var key in this.ruleForm.qlxx) {
648 if ( 514 if (
649 (this.ruleForm.qlxx[key] == null && key != "ywh") || 515 this.ruleForm.qlxx[key] == ""||
650 this.ruleForm.qlxx[key] == null 516 this.ruleForm.qlxx[key] == null &&
651 ) { 517 key != "ywh" &&
652 console.log("this.ruleForm.qlxx[key]", key); 518 key != "dbr" &&
653 if (key != "ywh") { 519 key != "djsj" &&
520 key != "ssywh" &&
521 key != "ssywh" &&
522 key != "bdcqzh") {
654 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 523 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
655 } 524
656 } 525 }
657 } 526 }
658 if (!this.ruleForm.tdytqxList.length) { 527 if (!this.ruleForm.tdytqxList.length) {
...@@ -664,7 +533,6 @@ export default { ...@@ -664,7 +533,6 @@ export default {
664 if (!this.ruleForm.ywrData.length) { 533 if (!this.ruleForm.ywrData.length) {
665 this.ruleForm.ywrData = this.nowlist.ywrData; 534 this.ruleForm.ywrData = this.nowlist.ywrData;
666 } 535 }
667 console.log("this.ruleForm", this.ruleForm);
668 this.$message({ 536 this.$message({
669 type: "success", 537 type: "success",
670 message: "同步成功!", 538 message: "同步成功!",
...@@ -683,7 +551,7 @@ export default { ...@@ -683,7 +551,7 @@ export default {
683 * @param {*} val 551 * @param {*} val
684 * @author: renchao 552 * @author: renchao
685 */ 553 */
686 djlxchange(val) { 554 djlxchange(val) {
687 if (val == null || val == 100) { 555 if (val == null || val == 100) {
688 this.ssqlxxshow = false; 556 this.ssqlxxshow = false;
689 } else { 557 } else {
...@@ -706,11 +574,6 @@ export default { ...@@ -706,11 +574,6 @@ export default {
706 } 574 }
707 this.ruleForm.fdcq2.jedw = "1"; 575 this.ruleForm.fdcq2.jedw = "1";
708 this.$endLoading(); 576 this.$endLoading();
709 if (this.ruleForm.tdytqxList.length > 0) {
710 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
711 } else {
712 this.tdxz = null;
713 }
714 this.isShow = true; 577 this.isShow = true;
715 //获取主体信息 578 //获取主体信息
716 getSsQlxx({ 579 getSsQlxx({
...@@ -771,7 +634,7 @@ export default { ...@@ -771,7 +634,7 @@ export default {
771 }); 634 });
772 return false; 635 return false;
773 } 636 }
774 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { 637 if (this.ruleForm.tdytqxList.length == 0) {
775 this.$message({ 638 this.$message({
776 showClose: true, 639 showClose: true,
777 message: "请补充土地用途信息", 640 message: "请补充土地用途信息",
...@@ -779,20 +642,23 @@ export default { ...@@ -779,20 +642,23 @@ export default {
779 }); 642 });
780 return false; 643 return false;
781 } 644 }
782 if (!this.tdxz) { 645 if (!this.ruleForm.fdcq2.tdxz) {
783 this.$message({ 646 this.$message({
784 showClose: true, 647 showClose: true,
785 message: "请补充土地性质", 648 message: "请补充土地性质",
786 type: "error", 649 type: "error",
787 }); 650 });
788 return false;
789 } 651 }
790 this.ruleForm.tdytqxList = this.ruleForm.tdytqxList.map((item) => { 652 if (this.ruleForm.qlxx.gyfs == "0") {
791 return { 653 if (this.ruleForm.qlrData.length > 1) {
792 ...item, 654 this.$message({
793 qlxzbm: this.tdxz, 655 showClose: true,
794 }; 656 message: "请确认权利人信息",
657 type: "error",
795 }); 658 });
659 return false;
660 }
661 }
796 if (this.ruleForm.qlxx.gyfs == "0") { 662 if (this.ruleForm.qlxx.gyfs == "0") {
797 if (this.ruleForm.qlrData.length > 1) { 663 if (this.ruleForm.qlrData.length > 1) {
798 this.$message({ 664 this.$message({
...@@ -802,25 +668,16 @@ export default { ...@@ -802,25 +668,16 @@ export default {
802 }); 668 });
803 return false; 669 return false;
804 } 670 }
805 this.ruleForm.qlrData[0].sfczr = "1"; 671 } else {
672 if (this.ruleForm.qlrData.length <= 1) {
673 this.$message({
674 showClose: true,
675 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
676 type: "error",
677 });
678 return false;
679 }
806 } 680 }
807 // if (this.ruleForm.qlxx.gyfs == "1") {
808 // //是否分别持证
809 // if (this.ruleForm.qlxx.sqfbcz == "1") {
810 // //是
811 // this.ruleForm.qlrData.forEach((item, index) => {
812 // item.sfczr = "1";
813 // });
814 // } else {
815 // this.ruleForm.qlrData.forEach((item, index) => {
816 // if (item.zjh == this.ruleForm.czr) {
817 // item.sfczr = "1";
818 // } else {
819 // item.sfczr = "0";
820 // }
821 // });
822 // }
823 // }
824 save(this.ruleForm).then((res) => { 681 save(this.ruleForm).then((res) => {
825 if (res.code === 200) { 682 if (res.code === 200) {
826 this.$message({ 683 this.$message({
...@@ -847,12 +704,12 @@ export default { ...@@ -847,12 +704,12 @@ export default {
847 }; 704 };
848 </script> 705 </script>
849 <style scoped lang="scss"> 706 <style scoped lang="scss">
850 @import "~@/styles/public.scss"; 707 @import "~@/styles/public.scss";
851 @import "~@/styles/slxx/slxx.scss"; 708 @import "~@/styles/slxx/slxx.scss";
852 .el-date-editor.el-input { 709 .el-date-editor.el-input {
853 width: 100%; 710 width: 100%;
854 } 711 }
855 .el-table__row { 712 .el-table__row {
856 height: 30px !important; 713 height: 30px !important;
857 } 714 }
858 </style> 715 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:01:16 4 * @LastEditTime: 2023-08-04 15:53:36
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
17 label-width="145px" 17 label-width="145px"
18 inline-message
19 :show-message="false"
18 > 20 >
19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
20 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
...@@ -38,42 +40,36 @@ ...@@ -38,42 +40,36 @@
38 </el-form-item> 40 </el-form-item>
39 </el-col> 41 </el-col>
40 </el-row> 42 </el-row>
41 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
42 建设用地、宅基地使用权信息 44 建设用地、宅基地使用权信息
43 <div class="triangle"></div> 45 <div class="count" v-if="ssqlxxshow">
44 </div>
45 <el-row :gutter="24">
46 <el-col :span="8" v-if="ssqlxxshow">
47 <el-form-item 46 <el-form-item
48 label="上手权利信息:" 47 label="上手权利信息:"
49 prop="ssQlxx.bdcqzh" 48 prop="ssQlxx.bdcqzh"
50 :rules="rules.ssQlxxrules" 49 :rules="rules.ssQlxxrules">
51 >
52 <select-table 50 <select-table
53 v-model="ruleForm.ssQlxx" 51 v-model="ruleForm.ssQlxx"
54 :table-width="550" 52 :table-width="730"
55 :tableData="ssQlxxList" 53 :tableData="ssQlxxList"
56 :props="props" 54 :props="props"
57 @change="ssQlxxchange" 55 @change="ssQlxxchange">
58 >
59 <el-table-column 56 <el-table-column
60 prop="qllxmc" 57 prop="qllxmc"
61 width="130" 58 width="130"
62 label="权利类型" 59 label="权利类型"></el-table-column>
63 ></el-table-column>
64 <el-table-column 60 <el-table-column
65 prop="bdcqzh" 61 prop="bdcqzh"
66 width="160" 62 width="160"
67 label="不动产权证书" 63 label="不动产权证书"></el-table-column>
68 ></el-table-column>
69 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 64 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
70 <el-table-column prop="mjmc" label="面积"></el-table-column> 65 <el-table-column prop="mjmc" label="面积"></el-table-column>
71 <el-table-column prop="ytmc" label="用途"></el-table-column> 66 <el-table-column prop="ytmc" label="用途"></el-table-column>
72 <el-table-column prop="zl" label="坐落"></el-table-column> 67 <el-table-column prop="zl" label="坐落"></el-table-column>
73 </select-table> 68 </select-table>
74 </el-form-item> 69 </el-form-item>
75 </el-col> 70 </div>
76 </el-row> 71 <div class="triangle"></div>
72 </div>
77 <el-row :gutter="10"> 73 <el-row :gutter="10">
78 <el-col :span="8"> 74 <el-col :span="8">
79 <el-form-item label="不动产单元号:"> 75 <el-form-item label="不动产单元号:">
...@@ -81,7 +77,11 @@ ...@@ -81,7 +77,11 @@
81 </el-form-item> 77 </el-form-item>
82 </el-col> 78 </el-col>
83 <el-col :span="8"> 79 <el-col :span="8">
84 <el-form-item label="业务号:"> 80 <el-form-item
81 label="业务号:"
82 prop="qlxx.ywh"
83 :rules="rules.ywhrules"
84 >
85 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 85 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
...@@ -101,15 +101,13 @@ ...@@ -101,15 +101,13 @@
101 <el-form-item 101 <el-form-item
102 label="登记类型:" 102 label="登记类型:"
103 prop="qlxx.djlx" 103 prop="qlxx.djlx"
104 :rules="rules.djlxrules" 104 :rules="rules.djlxrules">
105 >
106 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 105 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
107 <el-option 106 <el-option
108 v-for="item in djlxlist" 107 v-for="item in djlxlist"
109 :key="item.dcode" 108 :key="item.dcode"
110 :label="item.dname" 109 :label="item.dname"
111 :value="item.dcode" 110 :value="item.dcode">
112 >
113 </el-option> 111 </el-option>
114 </el-select> 112 </el-select>
115 </el-form-item> 113 </el-form-item>
...@@ -121,8 +119,7 @@ ...@@ -121,8 +119,7 @@
121 v-for="item in qsztlist" 119 v-for="item in qsztlist"
122 :key="item.dcode" 120 :key="item.dcode"
123 :label="item.dname" 121 :label="item.dname"
124 :value="item.dcode" 122 :value="item.dcode">
125 >
126 </el-option> 123 </el-option>
127 </el-select> 124 </el-select>
128 </el-form-item> 125 </el-form-item>
...@@ -143,15 +140,13 @@ ...@@ -143,15 +140,13 @@
143 <div class="flex"> 140 <div class="flex">
144 <el-input 141 <el-input
145 v-model="ruleForm.jsydsyq.syqmj" 142 v-model="ruleForm.jsydsyq.syqmj"
146 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 143 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
147 ></el-input>
148 <el-select disabled v-model="mjdw" style="width: 20%"> 144 <el-select disabled v-model="mjdw" style="width: 20%">
149 <el-option 145 <el-option
150 v-for="item in dictData['A7']" 146 v-for="item in dictData['A7']"
151 :key="item.dcode" 147 :key="item.dcode"
152 :label="item.dname" 148 :label="item.dname"
153 :value="item.dcode" 149 :value="item.dcode">
154 >
155 </el-option> 150 </el-option>
156 </el-select> 151 </el-select>
157 </div> 152 </div>
...@@ -182,15 +177,13 @@ ...@@ -182,15 +177,13 @@
182 <div style="display: flex"> 177 <div style="display: flex">
183 <el-input 178 <el-input
184 v-model="ruleForm.jsydsyq.qdjg" 179 v-model="ruleForm.jsydsyq.qdjg"
185 style="width: 500%" 180 style="width: 500%"></el-input>
186 ></el-input>
187 <el-select v-model="ruleForm.jsydsyq.jedw"> 181 <el-select v-model="ruleForm.jsydsyq.jedw">
188 <el-option 182 <el-option
189 v-for="item in dictData['A57']" 183 v-for="item in dictData['A57']"
190 :key="item.dcode" 184 :key="item.dcode"
191 :label="item.dname" 185 :label="item.dname"
192 :value="item.dcode" 186 :value="item.dcode">
193 >
194 </el-option> 187 </el-option>
195 </el-select> 188 </el-select>
196 </div> 189 </div>
...@@ -201,8 +194,7 @@ ...@@ -201,8 +194,7 @@
201 <el-form-item 194 <el-form-item
202 label="不动产权证号:" 195 label="不动产权证号:"
203 prop="qlxx.bdcqzh" 196 prop="qlxx.bdcqzh"
204 :rules="rules.bdcqzhrules" 197 :rules="rules.bdcqzhrules">
205 >
206 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 198 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
207 </el-form-item> 199 </el-form-item>
208 </el-col> 200 </el-col>
...@@ -219,8 +211,7 @@ ...@@ -219,8 +211,7 @@
219 <el-form-item 211 <el-form-item
220 label="登记机构:" 212 label="登记机构:"
221 prop="qlxx.djjg" 213 prop="qlxx.djjg"
222 :rules="rules.djjgrules" 214 :rules="rules.djjgrules">
223 >
224 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 215 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
225 </el-form-item> 216 </el-form-item>
226 </el-col> 217 </el-col>
...@@ -228,8 +219,7 @@ ...@@ -228,8 +219,7 @@
228 <el-form-item 219 <el-form-item
229 label="登簿人:" 220 label="登簿人:"
230 prop="qlxx.dbr" 221 prop="qlxx.dbr"
231 :rules="rules.dbrrules" 222 :rules="rules.dbrrules">
232 >
233 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 223 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
234 </el-form-item> 224 </el-form-item>
235 </el-col> 225 </el-col>
...@@ -237,16 +227,14 @@ ...@@ -237,16 +227,14 @@
237 <el-form-item 227 <el-form-item
238 label="登记时间:" 228 label="登记时间:"
239 prop="qlxx.djsj" 229 prop="qlxx.djsj"
240 :rules="rules.djsjrules" 230 :rules="rules.djsjrules">
241 >
242 <el-date-picker 231 <el-date-picker
243 v-model="ruleForm.qlxx.djsj" 232 v-model="ruleForm.qlxx.djsj"
244 type="date" 233 type="date"
245 class="width100" 234 class="width100"
246 placeholder="选择日期" 235 placeholder="选择日期"
247 value-format="yyyy-MM-dd HH:mm:ss" 236 value-format="yyyy-MM-dd HH:mm:ss"
248 format="yyyy-MM-dd" 237 format="yyyy-MM-dd">
249 >
250 </el-date-picker> 238 </el-date-picker>
251 </el-form-item> 239 </el-form-item>
252 </el-col> 240 </el-col>
...@@ -265,8 +253,7 @@ ...@@ -265,8 +253,7 @@
265 <tdytTable 253 <tdytTable
266 :tableData="ruleForm.tdytqxList" 254 :tableData="ruleForm.tdytqxList"
267 @upDateTdytxxList="upDateTdytxxList" 255 @upDateTdytxxList="upDateTdytxxList"
268 :ableOperation="ableOperation" 256 :ableOperation="ableOperation" />
269 />
270 <div class="slxx_title title-block"> 257 <div class="slxx_title title-block">
271 权利人信息 258 权利人信息
272 <div class="triangle"></div> 259 <div class="triangle"></div>
...@@ -276,8 +263,7 @@ ...@@ -276,8 +263,7 @@
276 <el-form-item label="共有方式:"> 263 <el-form-item label="共有方式:">
277 <el-radio-group 264 <el-radio-group
278 :disabled="!ableOperation" 265 :disabled="!ableOperation"
279 v-model="ruleForm.qlxx.gyfs" 266 v-model="ruleForm.qlxx.gyfs">
280 >
281 <el-radio label="0">单独所有</el-radio> 267 <el-radio label="0">单独所有</el-radio>
282 <el-radio label="1">共同共有</el-radio> 268 <el-radio label="1">共同共有</el-radio>
283 <el-radio label="2">按份所有</el-radio> 269 <el-radio label="2">按份所有</el-radio>
...@@ -285,45 +271,13 @@ ...@@ -285,45 +271,13 @@
285 </el-radio-group> 271 </el-radio-group>
286 </el-form-item> 272 </el-form-item>
287 </el-col> 273 </el-col>
288 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
289 <el-form-item label="是否分别持证:">
290 <el-radio-group
291 v-model="ruleForm.qlxx.sqfbcz"
292 :disabled="!ableOperation"
293 >
294 <el-radio :label="1"></el-radio>
295 <el-radio :label="0"></el-radio>
296 </el-radio-group>
297 </el-form-item>
298 </el-col>
299 <el-col
300 :span="6"
301 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
302 >
303 <el-form-item label="持证人:">
304 <el-select
305 v-model="ruleForm.czr"
306 placeholder="持证人"
307 :disabled="!ableOperation"
308 >
309 <el-option
310 v-for="item in czrOptions"
311 :key="item.zjh"
312 :label="item.sqrmc"
313 :value="item.zjh"
314 >
315 </el-option>
316 </el-select>
317 </el-form-item>
318 </el-col>
319 </el-row> 274 </el-row>
320 <qlrCommonTable 275 <qlrCommonTable
321 :tableData="ruleForm.qlrData" 276 :tableData="ruleForm.qlrData"
322 @upDateQlrxxList="upDateQlrxxList" 277 @upDateQlrxxList="upDateQlrxxList"
323 :key="key" 278 :key="key"
324 :ableOperation="ableOperation" 279 :ableOperation="ableOperation"
325 :gyfs="ruleForm.qlxx.gyfs" 280 :gyfs="ruleForm.qlxx.gyfs" />
326 />
327 </div> 281 </div>
328 <el-row class="btn" v-if="ableOperation"> 282 <el-row class="btn" v-if="ableOperation">
329 <el-form-item> 283 <el-form-item>
...@@ -436,6 +390,7 @@ export default { ...@@ -436,6 +390,7 @@ export default {
436 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 390 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
437 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 391 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
438 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 392 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }],
393 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
439 }, 394 },
440 }; 395 };
441 }, 396 },
...@@ -458,7 +413,6 @@ export default { ...@@ -458,7 +413,6 @@ export default {
458 }, 413 },
459 // 弹框事件 414 // 弹框事件
460 ssQlxxchangediolog(val) { 415 ssQlxxchangediolog(val) {
461 console.log("确定了", this.ruleForm);
462 this.$confirm("是否将上手权利信息同步到表单", "提示", { 416 this.$confirm("是否将上手权利信息同步到表单", "提示", {
463 iconClass: "el-icon-question", //自定义图标样式 417 iconClass: "el-icon-question", //自定义图标样式
464 confirmButtonText: "确认", //确认按钮文字更换 418 confirmButtonText: "确认", //确认按钮文字更换
...@@ -469,8 +423,6 @@ export default { ...@@ -469,8 +423,6 @@ export default {
469 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 423 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
470 if (res.code == 200) { 424 if (res.code == 200) {
471 this.nowlist = res.result; 425 this.nowlist = res.result;
472 console.log("his.nowlist", this.nowlist);
473 console.log("this.ruleForm", this.ruleForm);
474 for (var key in this.ruleForm.jsydsyq) { 426 for (var key in this.ruleForm.jsydsyq) {
475 if ( 427 if (
476 this.ruleForm.jsydsyq[key] == "" || 428 this.ruleForm.jsydsyq[key] == "" ||
...@@ -481,13 +433,16 @@ export default { ...@@ -481,13 +433,16 @@ export default {
481 } 433 }
482 for (var key in this.ruleForm.qlxx) { 434 for (var key in this.ruleForm.qlxx) {
483 if ( 435 if (
484 (this.ruleForm.qlxx[key] == null && key != "ywh") || 436 this.ruleForm.qlxx[key] == ""||
485 this.ruleForm.qlxx[key] == null 437 this.ruleForm.qlxx[key] == null &&
486 ) { 438 key != "ywh" &&
487 console.log("this.ruleForm.qlxx[key]", key); 439 key != "dbr" &&
488 if (key != "ywh") { 440 key != "djsj" &&
441 key != "ssywh" &&
442 key != "ssywh" &&
443 key != "bdcqzh") {
489 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 444 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
490 } 445
491 } 446 }
492 } 447 }
493 if (!this.ruleForm.tdytqxList.length) { 448 if (!this.ruleForm.tdytqxList.length) {
...@@ -499,7 +454,6 @@ export default { ...@@ -499,7 +454,6 @@ export default {
499 if (!this.ruleForm.ywrData.length) { 454 if (!this.ruleForm.ywrData.length) {
500 this.ruleForm.ywrData = this.nowlist.ywrData; 455 this.ruleForm.ywrData = this.nowlist.ywrData;
501 } 456 }
502 console.log("this.ruleForm", this.ruleForm);
503 this.$message({ 457 this.$message({
504 type: "success", 458 type: "success",
505 message: "同步成功!", 459 message: "同步成功!",
...@@ -518,7 +472,7 @@ export default { ...@@ -518,7 +472,7 @@ export default {
518 * @param {*} val 472 * @param {*} val
519 * @author: renchao 473 * @author: renchao
520 */ 474 */
521 djlxchange(val) { 475 djlxchange (val) {
522 if (val == null || val == 100) { 476 if (val == null || val == 100) {
523 this.ssqlxxshow = false; 477 this.ssqlxxshow = false;
524 } else { 478 } else {
...@@ -531,14 +485,14 @@ export default { ...@@ -531,14 +485,14 @@ export default {
531 * @param {*} val 485 * @param {*} val
532 * @author: renchao 486 * @author: renchao
533 */ 487 */
534 getDictData(val) { 488 getDictData (val) {
535 return store.getters.dictData[val]; 489 return store.getters.dictData[val];
536 }, 490 },
537 /** 491 /**
538 * @description: loadData 492 * @description: loadData
539 * @author: renchao 493 * @author: renchao
540 */ 494 */
541 loadData() { 495 loadData () {
542 this.$startLoading(); 496 this.$startLoading();
543 this.propsParam.isEdit = this.$parent.isEdit; 497 this.propsParam.isEdit = this.$parent.isEdit;
544 init(this.propsParam).then((res) => { 498 init(this.propsParam).then((res) => {
...@@ -574,7 +528,7 @@ export default { ...@@ -574,7 +528,7 @@ export default {
574 * @param {*} val 528 * @param {*} val
575 * @author: renchao 529 * @author: renchao
576 */ 530 */
577 upDateTdytxxList(val) { 531 upDateTdytxxList (val) {
578 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 532 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
579 this.key++; 533 this.key++;
580 }, 534 },
...@@ -584,7 +538,7 @@ export default { ...@@ -584,7 +538,7 @@ export default {
584 * @param {*} val 538 * @param {*} val
585 * @author: renchao 539 * @author: renchao
586 */ 540 */
587 upDateQlrxxList(val) { 541 upDateQlrxxList (val) {
588 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 542 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
589 this.czrOptions = this.ruleForm.qlrData; 543 this.czrOptions = this.ruleForm.qlrData;
590 this.key++; 544 this.key++;
...@@ -594,9 +548,18 @@ export default { ...@@ -594,9 +548,18 @@ export default {
594 * @description: onSubmit 548 * @description: onSubmit
595 * @author: renchao 549 * @author: renchao
596 */ 550 */
597 onSubmit() { 551 onSubmit () {
598 this.$refs.ruleForm.validate((valid) => { 552 this.$refs.ruleForm.validate((valid) => {
599 if (valid) { 553 if (valid) {
554 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
555 if (arr.length > 0) {
556 this.$message({
557 showClose: true,
558 message: "土地用途不能为空",
559 type: "error",
560 });
561 return false;
562 }
600 if (this.ruleForm.qlrData.length == 0) { 563 if (this.ruleForm.qlrData.length == 0) {
601 this.$message({ 564 this.$message({
602 showClose: true, 565 showClose: true,
...@@ -605,7 +568,6 @@ export default { ...@@ -605,7 +568,6 @@ export default {
605 }); 568 });
606 return false; 569 return false;
607 } 570 }
608
609 if (this.ruleForm.qlxx.gyfs == "0") { 571 if (this.ruleForm.qlxx.gyfs == "0") {
610 if (this.ruleForm.qlrData.length > 1) { 572 if (this.ruleForm.qlrData.length > 1) {
611 this.$message({ 573 this.$message({
...@@ -615,23 +577,14 @@ export default { ...@@ -615,23 +577,14 @@ export default {
615 }); 577 });
616 return false; 578 return false;
617 } 579 }
618 this.ruleForm.qlrData[0].sfczr = "1";
619 }
620 if (this.ruleForm.qlxx.gyfs == "1") {
621 //是否分别持证
622 if (this.ruleForm.qlxx.sqfbcz == "1") {
623 //是
624 this.ruleForm.qlrData.forEach((item, index) => {
625 item.sfczr = "1";
626 });
627 } else { 580 } else {
628 this.ruleForm.qlrData.forEach((item, index) => { 581 if (this.ruleForm.qlrData.length <= 1) {
629 if (item.zjh == this.ruleForm.czr) { 582 this.$message({
630 item.sfczr = "1"; 583 showClose: true,
631 } else { 584 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
632 item.sfczr = "0"; 585 type: "error",
633 }
634 }); 586 });
587 return false;
635 } 588 }
636 } 589 }
637 save(this.ruleForm).then((res) => { 590 save(this.ruleForm).then((res) => {
...@@ -655,11 +608,11 @@ export default { ...@@ -655,11 +608,11 @@ export default {
655 return false; 608 return false;
656 } 609 }
657 }); 610 });
658 }, 611 }
659 }, 612 }
660 }; 613 }
661 </script> 614 </script>
662 <style scoped lang="scss"> 615 <style scoped lang="scss">
663 @import "~@/styles/public.scss"; 616 @import "~@/styles/public.scss";
664 @import "~@/styles/slxx/slxx.scss"; 617 @import "~@/styles/slxx/slxx.scss";
665 </style> 618 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:01:08 4 * @LastEditTime: 2023-08-04 15:53:40
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
15 :show-message="false" 15 :show-message="false"
16 :label-position="flag ? 'top' : ''" 16 :label-position="flag ? 'top' : ''"
17 :inline="flag" 17 :inline="flag"
18 label-width="120px" 18 label-width="145px"
19 > 19 >
20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
21 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
...@@ -39,41 +39,37 @@ ...@@ -39,41 +39,37 @@
39 </el-form-item> 39 </el-form-item>
40 </el-col> 40 </el-col>
41 </el-row> 41 </el-row>
42 <div class="slxx_title title-block"> 42 <div class="slxx_title title-block bdcqk">
43 土地所有权信息 43 土地所有权信息
44 <div class="triangle"></div> 44 <div class="count" v-if="ssqlxxshow">
45 </div>
46 <el-row :gutter="10">
47 <el-col :span="8" v-if="ssqlxxshow">
48 <el-form-item 45 <el-form-item
49 label="上手权利信息:" 46 label="上手权利信息:"
50 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
51 :rules="rules.ssQlxxrules" 48 :rules="rules.ssQlxxrules">
52 >
53 <select-table 49 <select-table
54 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
55 :table-width="550" 51 :table-width="730"
56 :tableData="ssQlxxList" 52 :tableData="ssQlxxList"
57 :props="props" 53 :props="props"
58 @change="ssQlxxchange" 54 @change="ssQlxxchange">
59 >
60 <el-table-column 55 <el-table-column
61 prop="qllxmc" 56 prop="qllxmc"
62 width="130" 57 width="130"
63 label="权利类型" 58 label="权利类型"></el-table-column>
64 ></el-table-column>
65 <el-table-column 59 <el-table-column
66 prop="bdcqzh" 60 prop="bdcqzh"
67 width="160" 61 width="160"
68 label="不动产权证书" 62 label="不动产权证书"></el-table-column>
69 ></el-table-column>
70 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 63 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
71 <el-table-column prop="mjmc" label="面积"></el-table-column> 64 <el-table-column prop="mjmc" label="面积"></el-table-column>
72 <el-table-column prop="ytmc" label="用途"></el-table-column> 65 <el-table-column prop="ytmc" label="用途"></el-table-column>
73 <el-table-column prop="zl" label="坐落"></el-table-column> 66 <el-table-column prop="zl" label="坐落"></el-table-column>
74 </select-table> 67 </select-table>
75 </el-form-item> 68 </el-form-item>
76 </el-col> 69 </div>
70 <div class="triangle"></div>
71 </div>
72 <el-row :gutter="10">
77 <el-col :span="8"> 73 <el-col :span="8">
78 <el-form-item label="上手业务号:"> 74 <el-form-item label="上手业务号:">
79 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> 75 <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input>
...@@ -83,15 +79,13 @@ ...@@ -83,15 +79,13 @@
83 <el-form-item 79 <el-form-item
84 label="登记类型:" 80 label="登记类型:"
85 prop="qlxx.djlx" 81 prop="qlxx.djlx"
86 :rules="rules.djlxrules" 82 :rules="rules.djlxrules">
87 >
88 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 83 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
89 <el-option 84 <el-option
90 v-for="item in djlxlist" 85 v-for="item in djlxlist"
91 :key="item.dcode" 86 :key="item.dcode"
92 :label="item.dname" 87 :label="item.dname"
93 :value="item.dcode" 88 :value="item.dcode">
94 >
95 </el-option> 89 </el-option>
96 </el-select> 90 </el-select>
97 </el-form-item> 91 </el-form-item>
...@@ -104,7 +98,11 @@ ...@@ -104,7 +98,11 @@
104 </el-form-item> 98 </el-form-item>
105 </el-col> 99 </el-col>
106 <el-col :span="8"> 100 <el-col :span="8">
107 <el-form-item label="业务号:"> 101 <el-form-item
102 label="业务号:"
103 prop="qlxx.ywh"
104 :rules="rules.ywhrules"
105 >
108 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 106 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
109 </el-form-item> 107 </el-form-item>
110 </el-col> 108 </el-col>
...@@ -118,8 +116,7 @@ ...@@ -118,8 +116,7 @@
118 <el-form-item 116 <el-form-item
119 label="登簿人:" 117 label="登簿人:"
120 prop="qlxx.dbr" 118 prop="qlxx.dbr"
121 :rules="rules.dbrrules" 119 :rules="rules.dbrrules">
122 >
123 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 120 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
124 </el-form-item> 121 </el-form-item>
125 </el-col> 122 </el-col>
...@@ -127,8 +124,7 @@ ...@@ -127,8 +124,7 @@
127 <el-form-item 124 <el-form-item
128 label="登记机构:" 125 label="登记机构:"
129 prop="qlxx.djjg" 126 prop="qlxx.djjg"
130 :rules="rules.djjgrules" 127 :rules="rules.djjgrules">
131 >
132 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 128 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
133 </el-form-item> 129 </el-form-item>
134 </el-col> 130 </el-col>
...@@ -145,8 +141,7 @@ ...@@ -145,8 +141,7 @@
145 <el-form-item 141 <el-form-item
146 label="不动产权证号:" 142 label="不动产权证号:"
147 prop="qlxx.bdcqzh" 143 prop="qlxx.bdcqzh"
148 :rules="rules.bdcqzhrules" 144 :rules="rules.bdcqzhrules">
149 >
150 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 145 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
151 </el-form-item> 146 </el-form-item>
152 </el-col> 147 </el-col>
...@@ -157,8 +152,7 @@ ...@@ -157,8 +152,7 @@
157 v-for="item in qsztlist" 152 v-for="item in qsztlist"
158 :key="item.dcode" 153 :key="item.dcode"
159 :label="item.dname" 154 :label="item.dname"
160 :value="item.dcode" 155 :value="item.dcode">
161 >
162 </el-option> 156 </el-option>
163 </el-select> 157 </el-select>
164 </el-form-item> 158 </el-form-item>
...@@ -177,19 +171,16 @@ ...@@ -177,19 +171,16 @@
177 <el-input 171 <el-input
178 v-model="ruleForm.tdsyq.nydmj" 172 v-model="ruleForm.tdsyq.nydmj"
179 :disabled="!ableOperation" 173 :disabled="!ableOperation"
180 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 174 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
181 ></el-input>
182 <el-select 175 <el-select
183 v-model="ruleForm.tdsyq.mjdw" 176 v-model="ruleForm.tdsyq.mjdw"
184 :disabled="!ableOperation" 177 :disabled="!ableOperation"
185 style="width: 20%" 178 style="width: 20%">
186 >
187 <el-option 179 <el-option
188 v-for="item in dictData['A7']" 180 v-for="item in dictData['A7']"
189 :key="item.dcode" 181 :key="item.dcode"
190 :label="item.dname" 182 :label="item.dname"
191 :value="item.dcode" 183 :value="item.dcode">
192 >
193 </el-option> 184 </el-option>
194 </el-select> 185 </el-select>
195 </div> 186 </div>
...@@ -201,19 +192,16 @@ ...@@ -201,19 +192,16 @@
201 <el-input 192 <el-input
202 v-model="ruleForm.tdsyq.gdmj" 193 v-model="ruleForm.tdsyq.gdmj"
203 :disabled="!ableOperation" 194 :disabled="!ableOperation"
204 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 195 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
205 ></el-input>
206 <el-select 196 <el-select
207 v-model="ruleForm.tdsyq.mjdw" 197 v-model="ruleForm.tdsyq.mjdw"
208 :disabled="!ableOperation" 198 :disabled="!ableOperation"
209 style="width: 20%" 199 style="width: 20%">
210 >
211 <el-option 200 <el-option
212 v-for="item in dictData['A7']" 201 v-for="item in dictData['A7']"
213 :key="item.dcode" 202 :key="item.dcode"
214 :label="item.dname" 203 :label="item.dname"
215 :value="item.dcode" 204 :value="item.dcode">
216 >
217 </el-option> 205 </el-option>
218 </el-select> 206 </el-select>
219 </div> 207 </div>
...@@ -225,19 +213,16 @@ ...@@ -225,19 +213,16 @@
225 <el-input 213 <el-input
226 v-model="ruleForm.tdsyq.ldmj" 214 v-model="ruleForm.tdsyq.ldmj"
227 :disabled="!ableOperation" 215 :disabled="!ableOperation"
228 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 216 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
229 ></el-input>
230 <el-select 217 <el-select
231 v-model="ruleForm.tdsyq.mjdw" 218 v-model="ruleForm.tdsyq.mjdw"
232 :disabled="!ableOperation" 219 :disabled="!ableOperation"
233 style="width: 20%" 220 style="width: 20%">
234 >
235 <el-option 221 <el-option
236 v-for="item in dictData['A7']" 222 v-for="item in dictData['A7']"
237 :key="item.dcode" 223 :key="item.dcode"
238 :label="item.dname" 224 :label="item.dname"
239 :value="item.dcode" 225 :value="item.dcode">
240 >
241 </el-option> 226 </el-option>
242 </el-select> 227 </el-select>
243 </div> 228 </div>
...@@ -251,19 +236,16 @@ ...@@ -251,19 +236,16 @@
251 <el-input 236 <el-input
252 v-model="ruleForm.tdsyq.cdmj" 237 v-model="ruleForm.tdsyq.cdmj"
253 :disabled="!ableOperation" 238 :disabled="!ableOperation"
254 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 239 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
255 ></el-input>
256 <el-select 240 <el-select
257 v-model="ruleForm.tdsyq.mjdw" 241 v-model="ruleForm.tdsyq.mjdw"
258 :disabled="!ableOperation" 242 :disabled="!ableOperation"
259 style="width: 20%" 243 style="width: 20%">
260 >
261 <el-option 244 <el-option
262 v-for="item in dictData['A7']" 245 v-for="item in dictData['A7']"
263 :key="item.dcode" 246 :key="item.dcode"
264 :label="item.dname" 247 :label="item.dname"
265 :value="item.dcode" 248 :value="item.dcode">
266 >
267 </el-option> 249 </el-option>
268 </el-select> 250 </el-select>
269 </div> 251 </div>
...@@ -275,19 +257,16 @@ ...@@ -275,19 +257,16 @@
275 <el-input 257 <el-input
276 v-model="ruleForm.tdsyq.qtnydmj" 258 v-model="ruleForm.tdsyq.qtnydmj"
277 :disabled="!ableOperation" 259 :disabled="!ableOperation"
278 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 260 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
279 ></el-input>
280 <el-select 261 <el-select
281 v-model="ruleForm.tdsyq.mjdw" 262 v-model="ruleForm.tdsyq.mjdw"
282 :disabled="!ableOperation" 263 :disabled="!ableOperation"
283 style="width: 20%" 264 style="width: 20%">
284 >
285 <el-option 265 <el-option
286 v-for="item in dictData['A7']" 266 v-for="item in dictData['A7']"
287 :key="item.dcode" 267 :key="item.dcode"
288 :label="item.dname" 268 :label="item.dname"
289 :value="item.dcode" 269 :value="item.dcode">
290 >
291 </el-option> 270 </el-option>
292 </el-select> 271 </el-select>
293 </div> 272 </div>
...@@ -299,19 +278,16 @@ ...@@ -299,19 +278,16 @@
299 <el-input 278 <el-input
300 v-model="ruleForm.tdsyq.jsydmj" 279 v-model="ruleForm.tdsyq.jsydmj"
301 :disabled="!ableOperation" 280 :disabled="!ableOperation"
302 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 281 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
303 ></el-input>
304 <el-select 282 <el-select
305 v-model="ruleForm.tdsyq.mjdw" 283 v-model="ruleForm.tdsyq.mjdw"
306 :disabled="!ableOperation" 284 :disabled="!ableOperation"
307 style="width: 20%" 285 style="width: 20%">
308 >
309 <el-option 286 <el-option
310 v-for="item in dictData['A7']" 287 v-for="item in dictData['A7']"
311 :key="item.dcode" 288 :key="item.dcode"
312 :label="item.dname" 289 :label="item.dname"
313 :value="item.dcode" 290 :value="item.dcode">
314 >
315 </el-option> 291 </el-option>
316 </el-select> 292 </el-select>
317 </div> 293 </div>
...@@ -325,19 +301,16 @@ ...@@ -325,19 +301,16 @@
325 <el-input 301 <el-input
326 v-model="ruleForm.tdsyq.wlydmj" 302 v-model="ruleForm.tdsyq.wlydmj"
327 :disabled="!ableOperation" 303 :disabled="!ableOperation"
328 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 304 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
329 ></el-input>
330 <el-select 305 <el-select
331 v-model="ruleForm.tdsyq.mjdw" 306 v-model="ruleForm.tdsyq.mjdw"
332 :disabled="!ableOperation" 307 :disabled="!ableOperation"
333 style="width: 20%" 308 style="width: 20%">
334 >
335 <el-option 309 <el-option
336 v-for="item in dictData['A7']" 310 v-for="item in dictData['A7']"
337 :key="item.dcode" 311 :key="item.dcode"
338 :label="item.dname" 312 :label="item.dname"
339 :value="item.dcode" 313 :value="item.dcode">
340 >
341 </el-option> 314 </el-option>
342 </el-select> 315 </el-select>
343 </div> 316 </div>
...@@ -347,16 +320,14 @@ ...@@ -347,16 +320,14 @@
347 <el-form-item 320 <el-form-item
348 label="登记时间:" 321 label="登记时间:"
349 prop="qlxx.djsj" 322 prop="qlxx.djsj"
350 :rules="rules.djsjrules" 323 :rules="rules.djsjrules">
351 >
352 <el-date-picker 324 <el-date-picker
353 v-model="ruleForm.qlxx.djsj" 325 v-model="ruleForm.qlxx.djsj"
354 type="date" 326 type="date"
355 class="width100" 327 class="width100"
356 placeholder="选择日期" 328 placeholder="选择日期"
357 value-format="yyyy-MM-dd HH:mm:ss" 329 value-format="yyyy-MM-dd HH:mm:ss"
358 format="yyyy-MM-dd" 330 format="yyyy-MM-dd">
359 >
360 </el-date-picker> 331 </el-date-picker>
361 </el-form-item> 332 </el-form-item>
362 </el-col> 333 </el-col>
...@@ -375,8 +346,7 @@ ...@@ -375,8 +346,7 @@
375 <tdytTable 346 <tdytTable
376 :tableData="ruleForm.tdytqxList" 347 :tableData="ruleForm.tdytqxList"
377 @upDateTdytxxList="upDateTdytxxList" 348 @upDateTdytxxList="upDateTdytxxList"
378 :ableOperation="ableOperation" 349 :ableOperation="ableOperation" />
379 />
380 <div class="slxx_title title-block"> 350 <div class="slxx_title title-block">
381 权利人信息 351 权利人信息
382 <div class="triangle"></div> 352 <div class="triangle"></div>
...@@ -386,8 +356,7 @@ ...@@ -386,8 +356,7 @@
386 <el-form-item label="共有方式:"> 356 <el-form-item label="共有方式:">
387 <el-radio-group 357 <el-radio-group
388 :disabled="!ableOperation" 358 :disabled="!ableOperation"
389 v-model="ruleForm.qlxx.gyfs" 359 v-model="ruleForm.qlxx.gyfs">
390 >
391 <el-radio label="0">单独所有</el-radio> 360 <el-radio label="0">单独所有</el-radio>
392 <el-radio label="1">共同共有</el-radio> 361 <el-radio label="1">共同共有</el-radio>
393 <el-radio label="2">按份所有</el-radio> 362 <el-radio label="2">按份所有</el-radio>
...@@ -395,45 +364,40 @@ ...@@ -395,45 +364,40 @@
395 </el-radio-group> 364 </el-radio-group>
396 </el-form-item> 365 </el-form-item>
397 </el-col> 366 </el-col>
398 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 367 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
399 <el-form-item label="是否分别持证:"> 368 <el-form-item label="是否分别持证:">
400 <el-radio-group 369 <el-radio-group
401 v-model="ruleForm.qlxx.sqfbcz" 370 v-model="ruleForm.qlxx.sqfbcz"
402 :disabled="!ableOperation" 371 :disabled="!ableOperation">
403 >
404 <el-radio :label="1"></el-radio> 372 <el-radio :label="1"></el-radio>
405 <el-radio :label="0"></el-radio> 373 <el-radio :label="0"></el-radio>
406 </el-radio-group> 374 </el-radio-group>
407 </el-form-item> 375 </el-form-item>
408 </el-col> 376 </el-col> -->
409 <el-col 377 <!-- <el-col
410 :span="6" 378 :span="6"
411 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" 379 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
412 >
413 <el-form-item label="持证人:"> 380 <el-form-item label="持证人:">
414 <el-select 381 <el-select
415 v-model="ruleForm.czr" 382 v-model="ruleForm.czr"
416 placeholder="持证人" 383 placeholder="持证人"
417 :disabled="!ableOperation" 384 :disabled="!ableOperation">
418 >
419 <el-option 385 <el-option
420 v-for="item in czrOptions" 386 v-for="item in czrOptions"
421 :key="item.zjh" 387 :key="item.zjh"
422 :label="item.sqrmc" 388 :label="item.sqrmc"
423 :value="item.zjh" 389 :value="item.zjh">
424 >
425 </el-option> 390 </el-option>
426 </el-select> 391 </el-select>
427 </el-form-item> 392 </el-form-item>
428 </el-col> 393 </el-col> -->
429 </el-row> 394 </el-row>
430 <qlrCommonTable 395 <qlrCommonTable
431 :tableData="ruleForm.qlrData" 396 :tableData="ruleForm.qlrData"
432 @upDateQlrxxList="upDateQlrxxList" 397 @upDateQlrxxList="upDateQlrxxList"
433 :key="key" 398 :key="key"
434 :ableOperation="ableOperation" 399 :ableOperation="ableOperation"
435 :gyfs="ruleForm.qlxx.gyfs" 400 :gyfs="ruleForm.qlxx.gyfs" />
436 />
437 </div> 401 </div>
438 <el-row class="btn" v-if="ableOperation"> 402 <el-row class="btn" v-if="ableOperation">
439 <el-form-item> 403 <el-form-item>
...@@ -447,7 +411,7 @@ ...@@ -447,7 +411,7 @@
447 import { mapGetters } from "vuex"; 411 import { mapGetters } from "vuex";
448 import store from "@/store/index.js"; 412 import store from "@/store/index.js";
449 import ywmix from "@/views/ywbl/mixin/index"; 413 import ywmix from "@/views/ywbl/mixin/index";
450 import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 414 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
451 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 415 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
452 import selectTable from "@/components/selectTable/index.vue"; 416 import selectTable from "@/components/selectTable/index.vue";
453 import tdytTable from "@/views/workflow/components/tdytTable"; 417 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -544,6 +508,7 @@ export default { ...@@ -544,6 +508,7 @@ export default {
544 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 508 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
545 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 509 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
546 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 510 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
511 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
547 }, 512 },
548 }; 513 };
549 }, 514 },
...@@ -565,19 +530,17 @@ export default { ...@@ -565,19 +530,17 @@ export default {
565 }, 530 },
566 // 弹框事件 531 // 弹框事件
567 ssQlxxchangediolog(val) { 532 ssQlxxchangediolog(val) {
568 console.log("确定了", this.ruleForm);
569 this.$confirm("是否将上手权利信息同步到表单", "提示", { 533 this.$confirm("是否将上手权利信息同步到表单", "提示", {
570 iconClass: "el-icon-question", //自定义图标样式 534 iconClass: "el-icon-question", //自定义图标样式
571 confirmButtonText: "确认", //确认按钮文字更换 535 confirmButtonText: "确认", //确认按钮文字更换
572 cancelButtonText: "取消", //取消按钮文字更换 536 cancelButtonText: "取消", //取消按钮文字更换
573 showClose: true, //是否显示右上角关闭按钮 537 showClose: true, //是否显示右上角关闭按钮
574 type: "warning", 538 type: "warning",
575 }).then(() => { 539 })
540 .then(() => {
576 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 541 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
577 if (res.code == 200) { 542 if (res.code == 200) {
578 this.nowlist = res.result; 543 this.nowlist = res.result;
579 console.log("his.nowlist", this.nowlist);
580 console.log("this.ruleForm", this.ruleForm);
581 for (var key in this.ruleForm.tdsyq) { 544 for (var key in this.ruleForm.tdsyq) {
582 if ( 545 if (
583 this.ruleForm.tdsyq[key] == "" || 546 this.ruleForm.tdsyq[key] == "" ||
...@@ -588,13 +551,16 @@ export default { ...@@ -588,13 +551,16 @@ export default {
588 } 551 }
589 for (var key in this.ruleForm.qlxx) { 552 for (var key in this.ruleForm.qlxx) {
590 if ( 553 if (
591 (this.ruleForm.qlxx[key] == null && key != "ywh") || 554 this.ruleForm.qlxx[key] == ""||
592 this.ruleForm.qlxx[key] == null 555 this.ruleForm.qlxx[key] == null &&
593 ) { 556 key != "ywh" &&
594 console.log("this.ruleForm.qlxx[key]", key); 557 key != "dbr" &&
595 if (key != "ywh") { 558 key != "djsj" &&
559 key != "ssywh" &&
560 key != "ssywh" &&
561 key != "bdcqzh") {
596 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 562 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
597 } 563
598 } 564 }
599 } 565 }
600 if (!this.ruleForm.tdytqxList.length) { 566 if (!this.ruleForm.tdytqxList.length) {
...@@ -606,14 +572,14 @@ export default { ...@@ -606,14 +572,14 @@ export default {
606 if (!this.ruleForm.ywrData.length) { 572 if (!this.ruleForm.ywrData.length) {
607 this.ruleForm.ywrData = this.nowlist.ywrData; 573 this.ruleForm.ywrData = this.nowlist.ywrData;
608 } 574 }
609 console.log("this.ruleForm", this.ruleForm);
610 this.$message({ 575 this.$message({
611 type: "success", 576 type: "success",
612 message: "同步成功!", 577 message: "同步成功!",
613 }); 578 });
614 } 579 }
615 }); 580 });
616 }).catch(() => { 581 })
582 .catch(() => {
617 this.$message({ 583 this.$message({
618 type: "info", 584 type: "info",
619 message: "已取消同步", 585 message: "已取消同步",
...@@ -626,7 +592,6 @@ export default { ...@@ -626,7 +592,6 @@ export default {
626 * @author: renchao 592 * @author: renchao
627 */ 593 */
628 djlxchange(val) { 594 djlxchange(val) {
629 console.log("val", val);
630 if (val == null || val == 100) { 595 if (val == null || val == 100) {
631 this.ssqlxxshow = false; 596 this.ssqlxxshow = false;
632 } else { 597 } else {
...@@ -653,6 +618,8 @@ export default { ...@@ -653,6 +618,8 @@ export default {
653 init(this.propsParam).then((res) => { 618 init(this.propsParam).then((res) => {
654 if (res.code == 200) { 619 if (res.code == 200) {
655 this.ruleForm = res.result; 620 this.ruleForm = res.result;
621 this.ruleForm.tdsyq.mjdw="1"
622
656 let djlx = this.ruleForm.qlxx.djlx; 623 let djlx = this.ruleForm.qlxx.djlx;
657 if (djlx == null || djlx == 100) { 624 if (djlx == null || djlx == 100) {
658 this.ssqlxxshow = false; 625 this.ssqlxxshow = false;
...@@ -697,9 +664,18 @@ export default { ...@@ -697,9 +664,18 @@ export default {
697 * @description: onSubmit 664 * @description: onSubmit
698 * @author: renchao 665 * @author: renchao
699 */ 666 */
700 onSubmit() { 667 onSubmit () {
701 this.$refs.ruleForm.validate((valid) => { 668 this.$refs.ruleForm.validate((valid) => {
702 if (valid) { 669 if (valid) {
670 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
671 if (arr.length > 0) {
672 this.$message({
673 showClose: true,
674 message: "土地用途不能为空",
675 type: "error",
676 });
677 return false;
678 }
703 if (this.ruleForm.qlrData.length == 0) { 679 if (this.ruleForm.qlrData.length == 0) {
704 this.$message({ 680 this.$message({
705 showClose: true, 681 showClose: true,
...@@ -708,7 +684,6 @@ export default { ...@@ -708,7 +684,6 @@ export default {
708 }); 684 });
709 return false; 685 return false;
710 } 686 }
711
712 if (this.ruleForm.qlxx.gyfs == "0") { 687 if (this.ruleForm.qlxx.gyfs == "0") {
713 if (this.ruleForm.qlrData.length > 1) { 688 if (this.ruleForm.qlrData.length > 1) {
714 this.$message({ 689 this.$message({
...@@ -718,23 +693,14 @@ export default { ...@@ -718,23 +693,14 @@ export default {
718 }); 693 });
719 return false; 694 return false;
720 } 695 }
721 this.ruleForm.qlrData[0].sfczr = "1";
722 }
723 if (this.ruleForm.qlxx.gyfs == "1") {
724 //是否分别持证
725 if (this.ruleForm.qlxx.sqfbcz == "1") {
726 //是
727 this.ruleForm.qlrData.forEach((item, index) => {
728 item.sfczr = "1";
729 });
730 } else { 696 } else {
731 this.ruleForm.qlrData.forEach((item, index) => { 697 if (this.ruleForm.qlrData.length <= 1) {
732 if (item.zjh == this.ruleForm.czr) { 698 this.$message({
733 item.sfczr = "1"; 699 showClose: true,
734 } else { 700 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
735 item.sfczr = "0"; 701 type: "error",
736 }
737 }); 702 });
703 return false;
738 } 704 }
739 } 705 }
740 save(this.ruleForm).then((res) => { 706 save(this.ruleForm).then((res) => {
...@@ -760,55 +726,55 @@ export default { ...@@ -760,55 +726,55 @@ export default {
760 }); 726 });
761 }, 727 },
762 }, 728 },
763 }; 729 };
764 </script> 730 </script>
765 <style scoped lang="scss"> 731 <style scoped lang="scss">
766 @import "~@/styles/public.scss"; 732 @import "~@/styles/public.scss";
767 @import "~@/styles/slxx/slxx.scss"; 733 @import "~@/styles/slxx/slxx.scss";
768 /deep/.el-form { 734 /deep/.el-form {
769 display: flex; 735 display: flex;
770 flex-direction: column; 736 flex-direction: column;
771 height: calc(100vh - 130px); 737 height: calc(100vh - 130px);
772 } 738 }
773 739
774 /deep/.el-form-item__label { 740 /deep/.el-form-item__label {
775 padding: 0; 741 padding: 0;
776 } 742 }
777 743
778 /deep/.el-radio { 744 /deep/.el-radio {
779 margin-right: 10px; 745 margin-right: 10px;
780 } 746 }
781 747
782 /deep/.el-select { 748 /deep/.el-select {
783 width: 100%; 749 width: 100%;
784 } 750 }
785 751
786 /deep/.el-form-item { 752 /deep/.el-form-item {
787 margin-bottom: 8px; 753 margin-bottom: 8px;
788 } 754 }
789 755
790 .marginBot0 { 756 .marginBot0 {
791 margin-bottom: 0 !important; 757 margin-bottom: 0 !important;
792 } 758 }
793 759
794 .slxx { 760 .slxx {
795 box-sizing: border-box; 761 box-sizing: border-box;
796 } 762 }
797 763
798 .slxx_con { 764 .slxx_con {
799 flex: 1; 765 flex: 1;
800 height: 100%; 766 height: 100%;
801 background-color: #ffffff; 767 background-color: #ffffff;
802 overflow-y: auto; 768 overflow-y: auto;
803 padding-right: 3px; 769 padding-right: 3px;
804 overflow-x: hidden; 770 overflow-x: hidden;
805 } 771 }
806 772
807 .submit_btn { 773 .submit_btn {
808 height: 50px; 774 height: 50px;
809 } 775 }
810 776
811 .slxx_title { 777 .slxx_title {
812 border-bottom: 1px solid $borderColor; 778 border-bottom: 1px solid $borderColor;
813 padding-left: 10px; 779 padding-left: 10px;
814 padding-bottom: 5px; 780 padding-bottom: 5px;
...@@ -817,23 +783,23 @@ export default { ...@@ -817,23 +783,23 @@ export default {
817 font-size: 16px; 783 font-size: 16px;
818 font-weight: 500; 784 font-weight: 500;
819 color: #4a4a4a; 785 color: #4a4a4a;
820 } 786 }
821 787
822 .btn { 788 .btn {
823 text-align: center; 789 text-align: center;
824 padding-top: 10px; 790 padding-top: 10px;
825 height: 36px; 791 height: 36px;
826 background-color: #ffffff; 792 background-color: #ffffff;
827 padding: 5px 0; 793 padding: 5px 0;
828 } 794 }
829 795
830 .textArea { 796 .textArea {
831 /deep/.el-textarea__inner { 797 /deep/.el-textarea__inner {
832 min-height: 90px !important; 798 min-height: 90px !important;
833 } 799 }
834 } 800 }
835 801
836 /deep/.el-form-item__label { 802 /deep/.el-form-item__label {
837 padding-bottom: 0px; 803 padding-bottom: 0px;
838 } 804 }
839 </style> 805 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:00:54 4 * @LastEditTime: 2023-08-04 15:53:44
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
17 :show-message="false" 17 :show-message="false"
18 :inline="flag" 18 :inline="flag"
19 inline-message 19 inline-message
20 label-width="145px" 20 label-width="145px">
21 >
22 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
23 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
24 补录信息 23 补录信息
...@@ -41,74 +40,41 @@ ...@@ -41,74 +40,41 @@
41 </el-form-item> 40 </el-form-item>
42 </el-col> 41 </el-col>
43 </el-row> 42 </el-row>
44 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
45 预告抵押登记信息不动产情况 44 预告抵押不动产情况
46 <div class="triangle"></div> 45 <div class="count">
47 </div>
48 <el-row :gutter="10">
49 <el-col :span="8" v-if="ztQlxxList">
50 <el-form-item 46 <el-form-item
51 label="抵押不动产信息:" 47 label="预告抵押不动产情况"
52 prop="ztQlxx" 48 prop="ztQlxx.bdcqzh"
53 :rules="rules.ztQlxxrules" 49 :rules="rules.ztQlxxrules"
54 > 50 >
55 <select-table 51 <select-table
56 v-model="ruleForm.ztQlxx" 52 v-model="ruleForm.ztQlxx"
57 :table-width="550" 53 :table-width="730"
58 :tableData="ztQlxxList" 54 :tableData="ztQlxxList"
59 :props="props" 55 :props="props"
60 @change="ztQlxxchange" 56 @change="ztQlxxchange">
61 >
62 <el-table-column 57 <el-table-column
63 prop="qllxmc" 58 prop="qllxmc"
64 width="130" 59 width="130"
65 label="权利类型" 60 label="权利类型"></el-table-column>
66 ></el-table-column>
67 <el-table-column 61 <el-table-column
68 prop="bdcqzh" 62 prop="bdcqzh"
69 width="160" 63 width="160"
70 label="不动产权证书" 64 label="不动产权证书"
71 ></el-table-column> 65 ></el-table-column>
72 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
73 <el-table-column prop="mjmc" label="面积"></el-table-column>
74 <el-table-column prop="ytmc" label="用途"></el-table-column>
75 <el-table-column prop="zl" label="坐落"></el-table-column>
76 </select-table>
77 </el-form-item>
78 </el-col>
79
80 <el-col :span="8" v-if="ssqlxxshow">
81 <el-form-item
82 label="上手权利信息:"
83 prop="ssQlxx.bdcqzh"
84 :rules="rules.ssQlxxrules"
85 >
86 <select-table
87 v-model="ruleForm.ssQlxx"
88 :table-width="550"
89 :tableData="ssQlxxList"
90 :props="props"
91 @change="ssQlxxchange"
92 >
93 <el-table-column 66 <el-table-column
94 prop="qllxmc" 67 prop="qlrmc"
95 width="130" 68 label="被执行人"
96 label="权利类型"
97 ></el-table-column>
98 <el-table-column
99 prop="bdcqzh"
100 width="160"
101 label="不动产权证书"
102 ></el-table-column> 69 ></el-table-column>
103 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
104 <el-table-column prop="mjmc" label="面积"></el-table-column> 70 <el-table-column prop="mjmc" label="面积"></el-table-column>
105 <el-table-column prop="ytmc" label="用途"></el-table-column> 71 <el-table-column prop="ytmc" label="用途"></el-table-column>
106 <el-table-column prop="zl" label="坐落"></el-table-column> 72 <el-table-column prop="zl" label="坐落"></el-table-column>
107 </select-table> 73 </select-table>
108 </el-form-item> 74 </el-form-item>
109 </el-col> 75 </div>
110 </el-row> 76 <div class="triangle"></div>
111 77 </div>
112 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 78 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
113 <el-col :span="8"> 79 <el-col :span="8">
114 <el-form-item label="权利人:"> 80 <el-form-item label="权利人:">
...@@ -139,7 +105,7 @@ ...@@ -139,7 +105,7 @@
139 </el-col> 105 </el-col>
140 <el-col :span="8"> 106 <el-col :span="8">
141 <el-form-item label="坐落:"> 107 <el-form-item label="坐落:">
142 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> 108 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
143 </el-form-item> 109 </el-form-item>
144 </el-col> 110 </el-col>
145 </el-row> 111 </el-row>
...@@ -160,8 +126,38 @@ ...@@ -160,8 +126,38 @@
160 </el-form-item> 126 </el-form-item>
161 </el-col> 127 </el-col>
162 </el-row> 128 </el-row>
163 <div class="slxx_title title-block"> 129 <div class="slxx_title title-block bdcqk">
164 预告登记信息 130 预告登记信息
131 <div class="count" v-if="ssqlxxshow">
132 <el-form-item
133 label="上手权利信息:"
134 prop="ssQlxx.bdcqzh"
135 :rules="rules.ssQlxxrules"
136 >
137 <select-table
138 v-model="ruleForm.ssQlxx"
139 :table-width="730"
140 :tableData="ssQlxxList"
141 :props="props"
142 @change="ssQlxxchange"
143 >
144 <el-table-column
145 prop="qllxmc"
146 width="130"
147 label="权利类型"
148 ></el-table-column>
149 <el-table-column
150 prop="bdcqzh"
151 width="160"
152 label="不动产权证书"
153 ></el-table-column>
154 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
155 <el-table-column prop="mjmc" label="面积"></el-table-column>
156 <el-table-column prop="ytmc" label="用途"></el-table-column>
157 <el-table-column prop="zl" label="坐落"></el-table-column>
158 </select-table>
159 </el-form-item>
160 </div>
165 <div class="triangle"></div> 161 <div class="triangle"></div>
166 </div> 162 </div>
167 <el-row :gutter="10"> 163 <el-row :gutter="10">
...@@ -174,8 +170,7 @@ ...@@ -174,8 +170,7 @@
174 <el-form-item 170 <el-form-item
175 label="业务号:" 171 label="业务号:"
176 prop="qlxx.ywh" 172 prop="qlxx.ywh"
177 :rules="rules.ywhrules" 173 :rules="rules.ywhrules">
178 >
179 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 174 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
180 </el-form-item> 175 </el-form-item>
181 </el-col> 176 </el-col>
...@@ -200,15 +195,13 @@ ...@@ -200,15 +195,13 @@
200 <el-form-item 195 <el-form-item
201 label="登记类型:" 196 label="登记类型:"
202 prop="qlxx.djlx" 197 prop="qlxx.djlx"
203 :rules="rules.djlxrules" 198 :rules="rules.djlxrules">
204 >
205 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 199 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
206 <el-option 200 <el-option
207 v-for="item in djlxlist" 201 v-for="item in djlxlist"
208 :key="item.dcode" 202 :key="item.dcode"
209 :label="item.dname" 203 :label="item.dname"
210 :value="item.dcode" 204 :value="item.dcode">
211 >
212 </el-option> 205 </el-option>
213 </el-select> 206 </el-select>
214 </el-form-item> 207 </el-form-item>
...@@ -222,8 +215,7 @@ ...@@ -222,8 +215,7 @@
222 <el-form-item 215 <el-form-item
223 label="不动产权证号:" 216 label="不动产权证号:"
224 prop="qlxx.bdcqzh" 217 prop="qlxx.bdcqzh"
225 :rules="rules.bdcqzhrules" 218 :rules="rules.bdcqzhrules">
226 >
227 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 219 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
228 </el-form-item> 220 </el-form-item>
229 </el-col> 221 </el-col>
...@@ -236,8 +228,7 @@ ...@@ -236,8 +228,7 @@
236 <el-form-item 228 <el-form-item
237 label="登记机构:" 229 label="登记机构:"
238 prop="qlxx.djjg" 230 prop="qlxx.djjg"
239 :rules="rules.djjgrules" 231 :rules="rules.djjgrules">
240 >
241 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 232 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
242 </el-form-item> 233 </el-form-item>
243 </el-col> 234 </el-col>
...@@ -245,8 +236,7 @@ ...@@ -245,8 +236,7 @@
245 <el-form-item 236 <el-form-item
246 label="登簿人:" 237 label="登簿人:"
247 prop="qlxx.dbr" 238 prop="qlxx.dbr"
248 :rules="rules.dbrrules" 239 :rules="rules.dbrrules">
249 >
250 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 240 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
251 </el-form-item> 241 </el-form-item>
252 </el-col> 242 </el-col>
...@@ -254,16 +244,14 @@ ...@@ -254,16 +244,14 @@
254 <el-form-item 244 <el-form-item
255 label="登记时间:" 245 label="登记时间:"
256 prop="qlxx.djsj" 246 prop="qlxx.djsj"
257 :rules="rules.djsjrules" 247 :rules="rules.djsjrules">
258 >
259 <el-date-picker 248 <el-date-picker
260 v-model="ruleForm.qlxx.djsj" 249 v-model="ruleForm.qlxx.djsj"
261 type="date" 250 type="date"
262 class="width100" 251 class="width100"
263 placeholder="选择日期" 252 placeholder="选择日期"
264 value-format="yyyy-MM-dd HH:mm:ss" 253 value-format="yyyy-MM-dd HH:mm:ss"
265 format="yyyy-MM-dd" 254 format="yyyy-MM-dd">
266 >
267 </el-date-picker> 255 </el-date-picker>
268 </el-form-item> 256 </el-form-item>
269 </el-col> 257 </el-col>
...@@ -274,8 +262,7 @@ ...@@ -274,8 +262,7 @@
274 v-for="item in qsztlist" 262 v-for="item in qsztlist"
275 :key="item.dcode" 263 :key="item.dcode"
276 :label="item.dname" 264 :label="item.dname"
277 :value="item.dcode" 265 :value="item.dcode">
278 >
279 </el-option> 266 </el-option>
280 </el-select> 267 </el-select>
281 </el-form-item> 268 </el-form-item>
...@@ -285,15 +272,13 @@ ...@@ -285,15 +272,13 @@
285 <el-form-item 272 <el-form-item
286 label="预告登记种类:" 273 label="预告登记种类:"
287 prop="ygdj.ygdjzl" 274 prop="ygdj.ygdjzl"
288 :rules="rules.ygdjzlrules" 275 :rules="rules.ygdjzlrules">
289 >
290 <el-select v-model="ruleForm.ygdj.ygdjzl"> 276 <el-select v-model="ruleForm.ygdj.ygdjzl">
291 <el-option 277 <el-option
292 v-for="item in dictData['A29']" 278 v-for="item in dictData['A29']"
293 :key="item.dcode" 279 :key="item.dcode"
294 :label="item.dname" 280 :label="item.dname"
295 :value="item.dcode" 281 :value="item.dcode">
296 >
297 </el-option> 282 </el-option>
298 </el-select> 283 </el-select>
299 </el-form-item> 284 </el-form-item>
...@@ -310,8 +295,7 @@ ...@@ -310,8 +295,7 @@
310 v-for="item in dictData['A17']" 295 v-for="item in dictData['A17']"
311 :key="item.dcode" 296 :key="item.dcode"
312 :label="item.dname" 297 :label="item.dname"
313 :value="item.dcode" 298 :value="item.dcode">
314 >
315 </el-option> 299 </el-option>
316 </el-select> 300 </el-select>
317 </el-form-item> 301 </el-form-item>
...@@ -328,8 +312,7 @@ ...@@ -328,8 +312,7 @@
328 v-for="item in dictData['A19']" 312 v-for="item in dictData['A19']"
329 :key="item.dcode" 313 :key="item.dcode"
330 :label="item.dname" 314 :label="item.dname"
331 :value="item.dcode" 315 :value="item.dcode">
332 >
333 </el-option> 316 </el-option>
334 </el-select> 317 </el-select>
335 </el-form-item> 318 </el-form-item>
...@@ -346,8 +329,7 @@ ...@@ -346,8 +329,7 @@
346 v-for="item in dictData['A46']" 329 v-for="item in dictData['A46']"
347 :key="item.dcode" 330 :key="item.dcode"
348 :label="item.dname" 331 :label="item.dname"
349 :value="item.dcode" 332 :value="item.dcode">
350 >
351 </el-option> 333 </el-option>
352 </el-select> 334 </el-select>
353 </el-form-item> 335 </el-form-item>
...@@ -367,19 +349,16 @@ ...@@ -367,19 +349,16 @@
367 <div class="flex"> 349 <div class="flex">
368 <el-input 350 <el-input
369 v-model="ruleForm.ygdj.jzmj" 351 v-model="ruleForm.ygdj.jzmj"
370 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 352 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
371 ></el-input>
372 <el-select 353 <el-select
373 v-model="mjdw" 354 v-model="ruleForm.ygdj.mjdw"
374 :disabled="!ableOperation" 355 :disabled="!ableOperation"
375 style="width: 20%" 356 style="width: 20%">
376 >
377 <el-option 357 <el-option
378 v-for="item in dictData['A7']" 358 v-for="item in dictData['A7']"
379 :key="item.dcode" 359 :key="item.dcode"
380 :label="item.dname" 360 :label="item.dname"
381 :value="item.dcode" 361 :value="item.dcode">
382 >
383 </el-option> 362 </el-option>
384 </el-select> 363 </el-select>
385 </div> 364 </div>
...@@ -403,8 +382,7 @@ ...@@ -403,8 +382,7 @@
403 class="width100" 382 class="width100"
404 placeholder="选择日期" 383 placeholder="选择日期"
405 value-format="yyyy-MM-dd HH:mm:ss" 384 value-format="yyyy-MM-dd HH:mm:ss"
406 format="yyyy-MM-dd" 385 format="yyyy-MM-dd">
407 >
408 </el-date-picker> 386 </el-date-picker>
409 </el-form-item> 387 </el-form-item>
410 </el-col> 388 </el-col>
...@@ -414,29 +392,23 @@ ...@@ -414,29 +392,23 @@
414 <el-tooltip 392 <el-tooltip
415 content="取得价格被担保主债权数额:" 393 content="取得价格被担保主债权数额:"
416 placement="top" 394 placement="top"
417 effect="light" 395 effect="light">
418 > 396 <span type="text" style="color: #444" size="mini">取得价格被担保...</span>
419 <span type="text" style="color: #444" size="mini"
420 >取得价格被担保...</span
421 >
422 </el-tooltip> 397 </el-tooltip>
423 </span> 398 </span>
424 <div class="flex"> 399 <div class="flex">
425 <el-input 400 <el-input
426 v-model="ruleForm.ygdj.qdjg" 401 v-model="ruleForm.ygdj.qdjg"
427 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 402 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
428 ></el-input>
429 <el-select 403 <el-select
430 v-model="ruleForm.ygdj.jedw" 404 v-model="ruleForm.ygdj.jedw"
431 :disabled="!ableOperation" 405 :disabled="!ableOperation"
432 style="width: 20%" 406 style="width: 20%">
433 >
434 <el-option 407 <el-option
435 v-for="item in dictData['A57']" 408 v-for="item in dictData['A57']"
436 :key="item.dcode" 409 :key="item.dcode"
437 :label="item.dname" 410 :label="item.dname"
438 :value="item.dcode" 411 :value="item.dcode">
439 >
440 </el-option> 412 </el-option>
441 </el-select> 413 </el-select>
442 </div> 414 </div>
...@@ -453,11 +425,8 @@ ...@@ -453,11 +425,8 @@
453 <el-tooltip 425 <el-tooltip
454 content="是否存在禁止或限制转让抵押不动产的约定:" 426 content="是否存在禁止或限制转让抵押不动产的约定:"
455 placement="top" 427 placement="top"
456 effect="light" 428 effect="light">
457 > 429 <span type="text" style="color: #444" size="mini">是否存在禁止或限制...</span>
458 <span type="text" style="color: #444" size="mini"
459 >是否存在禁止或限制...</span
460 >
461 </el-tooltip> 430 </el-tooltip>
462 </span> 431 </span>
463 <el-input v-model="ruleForm.ygdj.sfczjzhxz"></el-input> 432 <el-input v-model="ruleForm.ygdj.sfczjzhxz"></el-input>
...@@ -483,8 +452,7 @@ ...@@ -483,8 +452,7 @@
483 <el-form-item label="共有方式:"> 452 <el-form-item label="共有方式:">
484 <el-radio-group 453 <el-radio-group
485 :disabled="!ableOperation" 454 :disabled="!ableOperation"
486 v-model="ruleForm.qlxx.gyfs" 455 v-model="ruleForm.qlxx.gyfs">
487 >
488 <el-radio label="0">单独所有</el-radio> 456 <el-radio label="0">单独所有</el-radio>
489 <el-radio label="1">共同共有</el-radio> 457 <el-radio label="1">共同共有</el-radio>
490 <el-radio label="2">按份所有</el-radio> 458 <el-radio label="2">按份所有</el-radio>
...@@ -492,45 +460,13 @@ ...@@ -492,45 +460,13 @@
492 </el-radio-group> 460 </el-radio-group>
493 </el-form-item> 461 </el-form-item>
494 </el-col> 462 </el-col>
495 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
496 <el-form-item label="是否分别持证:">
497 <el-radio-group
498 v-model="ruleForm.qlxx.sqfbcz"
499 :disabled="!ableOperation"
500 >
501 <el-radio :label="1"></el-radio>
502 <el-radio :label="0"></el-radio>
503 </el-radio-group>
504 </el-form-item>
505 </el-col>
506 <el-col
507 :span="6"
508 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'"
509 >
510 <el-form-item label="持证人:">
511 <el-select
512 v-model="ruleForm.czr"
513 placeholder="持证人"
514 :disabled="!ableOperation"
515 >
516 <el-option
517 v-for="item in czrOptions"
518 :key="item.zjh"
519 :label="item.sqrmc"
520 :value="item.zjh"
521 >
522 </el-option>
523 </el-select>
524 </el-form-item>
525 </el-col>
526 </el-row> 463 </el-row>
527 <qlrCommonTable 464 <qlrCommonTable
528 :tableData="ruleForm.qlrData" 465 :tableData="ruleForm.qlrData"
529 @upDateQlrxxList="upDateQlrxxList" 466 @upDateQlrxxList="upDateQlrxxList"
530 :key="key" 467 :key="key"
531 :ableOperation="ableOperation" 468 :ableOperation="ableOperation"
532 :gyfs="ruleForm.qlxx.gyfs" 469 :gyfs="ruleForm.qlxx.gyfs" />
533 />
534 470
535 <div v-if="ruleForm.ywrData"> 471 <div v-if="ruleForm.ywrData">
536 <div class="slxx_title title-block"> 472 <div class="slxx_title title-block">
...@@ -542,8 +478,7 @@ ...@@ -542,8 +478,7 @@
542 :tableData="ruleForm.ywrData" 478 :tableData="ruleForm.ywrData"
543 :key="key" 479 :key="key"
544 :ableOperation="ableOperation" 480 :ableOperation="ableOperation"
545 @upDateQlrxxList="upDateYwrxxList" 481 @upDateQlrxxList="upDateYwrxxList" />
546 />
547 </div> 482 </div>
548 </div> 483 </div>
549 <el-row class="btn" v-if="ableOperation"> 484 <el-row class="btn" v-if="ableOperation">
...@@ -555,83 +490,16 @@ ...@@ -555,83 +490,16 @@
555 </div> 490 </div>
556 </template> 491 </template>
557 <script> 492 <script>
558 import { mapGetters } from "vuex"; 493 import ywmix from "./dataprocessing";
559 import ywmix from "@/views/ywbl/mixin/index"; 494 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
560 import { init, getSsQlxx, getZtQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 495 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
561 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 496 import tdytTable from "@/views/workflow/components/tdytTable";
562 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 497 import selectTable from "@/components/selectTable/index.vue";
563 import tdytTable from "@/views/workflow/components/tdytTable"; 498 export default {
564 import selectTable from "@/components/selectTable/index.vue";
565 export default {
566 mixins: [ywmix], 499 mixins: [ywmix],
567 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 500 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
568 computed: { 501 data () {
569 ...mapGetters(["dictData", "flag"]),
570 // 根据流程判断表单是否为只读
571 editDisabled() {
572 if (!this.ableOperation) {
573 //只读状态
574 return true;
575 }
576 return false;
577 },
578 },
579 data() {
580 return { 502 return {
581 ssqlxxshow: true,
582 props: {
583 label: "bdcqzh",
584 value: "bdcdyid",
585 },
586 mjdw: "1",
587 //表单是否可操作
588 propsParam: this.$attrs,
589 key: 0,
590 isShow: false,
591 disabled: true,
592 czrOptions: [],
593 ssQlxxList: [],
594 ztQlxxList: [],
595 ruleForm: {},
596 // 登记类型
597 djlxlist: [
598 {
599 dcode: "100",
600 dname: "首次登记",
601 },
602 {
603 dcode: "200",
604 dname: "转移登记",
605 },
606 {
607 dcode: "300",
608 dname: "变更登记",
609 },
610 {
611 dcode: "500",
612 dname: "更正登记",
613 },
614
615 {
616 dcode: "901",
617 dname: "补证",
618 },
619 {
620 dcode: "902",
621 dname: "换证",
622 },
623 ],
624 // 权属状态
625 qsztlist: [
626 {
627 dcode: "1",
628 dname: "现势",
629 },
630 {
631 dcode: "2",
632 dname: "历史",
633 },
634 ],
635 //传递参数\ 503 //传递参数\
636 rules: { 504 rules: {
637 ztQlxxrules: [ 505 ztQlxxrules: [
...@@ -656,249 +524,9 @@ export default { ...@@ -656,249 +524,9 @@ export default {
656 ableOperation: false, 524 ableOperation: false,
657 }; 525 };
658 }, 526 },
659 created() { 527 };
660 this.loadData();
661 },
662 mounted() {
663 this.ableOperation = this.$parent.ableOperation;
664 },
665 methods: {
666 /**
667 * @description: ztQlxxchange
668 * @param {*} val
669 * @author: renchao
670 */
671 ztQlxxchange(val) {
672 this.ruleForm.ztQlxx = val;
673 },
674 /**
675 * @description: ssQlxxchange
676 * @param {*} val
677 * @author: renchao
678 */
679 ssQlxxchange(val) {
680 this.ruleForm.ssQlxx = val;
681 this.ruleForm.qlxx.ssywh = val.ywh;
682 this.ssQlxxchangediolog(val);
683 },
684 // 弹框事件
685 ssQlxxchangediolog(val) {
686 console.log("确定了", this.ruleForm);
687 this.$confirm("是否将上手权利信息同步到表单", "提示", {
688 iconClass: "el-icon-question", //自定义图标样式
689 confirmButtonText: "确认", //确认按钮文字更换
690 cancelButtonText: "取消", //取消按钮文字更换
691 showClose: true, //是否显示右上角关闭按钮
692 type: "warning",
693 })
694 .then(() => {
695 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
696 if (res.code == 200) {
697 this.nowlist = res.result;
698 console.log("his.nowlist", this.nowlist);
699 console.log("this.ruleForm", this.ruleForm);
700 for (var key in this.ruleForm.ygdj) {
701 if (
702 this.ruleForm.ygdj[key] == "" ||
703 this.ruleForm.ygdj[key] == null
704 ) {
705 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
706 }
707 }
708 for (var key in this.ruleForm.qlxx) {
709 if (
710 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
711 this.ruleForm.qlxx[key] == null
712 ) {
713 console.log("this.ruleForm.qlxx[key]", key);
714 if (key != "ywh") {
715 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
716 }
717 }
718 }
719 if (!this.ruleForm.tdytqxList.length) {
720 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
721 }
722 if (!this.ruleForm.qlrData.length) {
723 this.ruleForm.qlrData = this.nowlist.qlrData;
724 }
725 if (!this.ruleForm.ywrData.length) {
726 this.ruleForm.ywrData = this.nowlist.ywrData;
727 }
728 console.log("this.ruleForm", this.ruleForm);
729 this.$message({
730 type: "success",
731 message: "同步成功!",
732 });
733 }
734 });
735 })
736 .catch(() => {
737 this.$message({
738 type: "info",
739 message: "已取消同步",
740 });
741 });
742 },
743 /**
744 * @description: djlxchange
745 * @param {*} val
746 * @author: renchao
747 */
748 djlxchange(val) {
749 if (val == null || val == 100) {
750 this.ssqlxxshow = false;
751 } else {
752 this.ssqlxxshow = true;
753 }
754 },
755 /**
756 * @description: loadData
757 * @author: renchao
758 */
759 loadData() {
760 this.$startLoading();
761 this.propsParam.isEdit = this.$parent.isEdit;
762 init(this.propsParam).then((res) => {
763 if (res.code == 200) {
764 this.ruleForm = res.result;
765 let djlx = this.ruleForm.qlxx.djlx;
766 if (djlx == null || djlx == 100) {
767 this.ssqlxxshow = false;
768 }
769 this.ruleForm.ygdj.jedw = "1";
770 this.$endLoading();
771 this.isShow = true;
772 //获取主体信息
773 getSsQlxx({
774 bdcdyid: this.propsParam.bdcdyid,
775 qllx: this.propsParam.qllx,
776 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
777 }).then((res) => {
778 if (res.code == 200) {
779 this.ssQlxxList = res.result;
780 }
781 });
782 //获取上手信息
783 getZtQlxx({
784 bdcdyid: this.propsParam.bdcdyid,
785 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
786 }).then((res) => {
787 if (res.code == 200) {
788 this.ztQlxxList = res.result;
789 }
790 });
791 }
792 });
793 },
794 // 更新土地用途信息
795 /**
796 * @description: 更新土地用途信息
797 * @param {*} val
798 * @author: renchao
799 */
800 upDateTdytxxList(val) {
801 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
802 this.key++;
803 },
804 // 更新权利人信息
805 /**
806 * @description: 更新权利人信息
807 * @param {*} val
808 * @author: renchao
809 */
810 upDateQlrxxList(val) {
811 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
812 this.czrOptions = this.ruleForm.qlrData;
813 this.key++;
814 },
815 // 更新义务人信息
816 /**
817 * @description: 更新义务人信息
818 * @param {*} val
819 * @author: renchao
820 */
821 upDateYwrxxList(val) {
822 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
823 this.key++;
824 },
825 /**
826 * @description: onSubmit
827 * @author: renchao
828 */
829 onSubmit() {
830 this.$refs.ruleForm.validate((valid) => {
831 if (valid) {
832 if (this.ruleForm.qlrData.length == 0) {
833 this.$message({
834 showClose: true,
835 message: "请确认权利人信息",
836 type: "error",
837 });
838 return false;
839 }
840 if (this.ruleForm.ywrData.length == 0) {
841 this.$message({
842 showClose: true,
843 message: "请确认义务人信息",
844 type: "error",
845 });
846 return false;
847 }
848 if (this.ruleForm.qlxx.gyfs == "0") {
849 if (this.ruleForm.qlrData.length > 1) {
850 this.$message({
851 showClose: true,
852 message: "共有方式:单独所有,权利人只能是一个人",
853 type: "error",
854 });
855 return false;
856 }
857 this.ruleForm.qlrData[0].sfczr = "1";
858 }
859 if (this.ruleForm.qlxx.gyfs == "1") {
860 //是否分别持证
861 if (this.ruleForm.qlxx.sqfbcz == "1") {
862 //是
863 this.ruleForm.qlrData.forEach((item, index) => {
864 item.sfczr = "1";
865 });
866 } else {
867 this.ruleForm.qlrData.forEach((item, index) => {
868 if (item.zjh == this.ruleForm.czr) {
869 item.sfczr = "1";
870 } else {
871 item.sfczr = "0";
872 }
873 });
874 }
875 }
876 save(this.ruleForm).then((res) => {
877 if (res.code === 200) {
878 this.$message({
879 showClose: true,
880 message: "保存成功!",
881 type: "success",
882 });
883 this.$parent.changeywh();
884 this.$store.dispatch("user/refreshPage", true);
885 } else {
886 this.$message({
887 showClose: true,
888 message: res.message,
889 type: "error",
890 });
891 }
892 });
893 } else {
894 return false;
895 }
896 });
897 },
898 },
899 };
900 </script> 528 </script>
901 <style scoped lang="scss"> 529 <style scoped lang="scss">
902 @import "~@/styles/public.scss"; 530 @import "~@/styles/public.scss";
903 @import "~@/styles/slxx/slxx.scss"; 531 @import "~@/styles/slxx/slxx.scss";
904 </style> 532 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:00:48 4 * @LastEditTime: 2023-08-04 15:53:48
5 :show-message="false" 5 :show-message="false"
6 --> 6 -->
7 <template> 7 <template>
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
17 :show-message="false" 17 :show-message="false"
18 :inline="flag" 18 :inline="flag"
19 inline-message 19 inline-message
20 label-width="145px" 20 label-width="145px">
21 >
22 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 21 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
23 <div class="slxx_title title-block"> 22 <div class="slxx_title title-block">
24 补录信息 23 补录信息
...@@ -41,42 +40,36 @@ ...@@ -41,42 +40,36 @@
41 </el-form-item> 40 </el-form-item>
42 </el-col> 41 </el-col>
43 </el-row> 42 </el-row>
44 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
45 预告买卖登记信息不动产情况 44 预告买卖不动产情况
46 <div class="triangle"></div> 45 <div class="count" v-if="ssqlxxshow">
47 </div>
48 <el-row :gutter="24">
49 <el-col :span="24" v-if="ssqlxxshow">
50 <el-form-item 46 <el-form-item
51 label="上手权利信息:" 47 label="上手权利信息:"
52 prop="ssQlxx.bdcqzh" 48 prop="ssQlxx.bdcqzh"
53 :rules="rules.ssQlxxrules" 49 :rules="rules.ssQlxxrules">
54 >
55 <select-table 50 <select-table
56 v-model="ruleForm.ssQlxx" 51 v-model="ruleForm.ssQlxx"
57 :table-width="550" 52 :table-width="730"
58 :tableData="ssQlxxList" 53 :tableData="ssQlxxList"
59 :props="props" 54 :props="props"
60 @change="ssQlxxchange" 55 @change="ssQlxxchange">
61 >
62 <el-table-column 56 <el-table-column
63 prop="qllxmc" 57 prop="qllxmc"
64 width="130" 58 width="130"
65 label="权利类型" 59 label="权利类型"></el-table-column>
66 ></el-table-column>
67 <el-table-column 60 <el-table-column
68 prop="bdcqzh" 61 prop="bdcqzh"
69 width="160" 62 width="160"
70 label="不动产权证书" 63 label="不动产权证书"></el-table-column>
71 ></el-table-column>
72 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 64 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
73 <el-table-column prop="mjmc" label="面积"></el-table-column> 65 <el-table-column prop="mjmc" label="面积"></el-table-column>
74 <el-table-column prop="ytmc" label="用途"></el-table-column> 66 <el-table-column prop="ytmc" label="用途"></el-table-column>
75 <el-table-column prop="zl" label="坐落"></el-table-column> 67 <el-table-column prop="zl" label="坐落"></el-table-column>
76 </select-table> 68 </select-table>
77 </el-form-item> 69 </el-form-item>
78 </el-col> 70 </div>
79 </el-row> 71 <div class="triangle"></div>
72 </div>
80 <el-row :gutter="10"> 73 <el-row :gutter="10">
81 <el-col :span="8"> 74 <el-col :span="8">
82 <el-form-item label="上手业务号:"> 75 <el-form-item label="上手业务号:">
...@@ -87,15 +80,13 @@ ...@@ -87,15 +80,13 @@
87 <el-form-item 80 <el-form-item
88 label="登记类型:" 81 label="登记类型:"
89 prop="qlxx.djlx" 82 prop="qlxx.djlx"
90 :rules="rules.djlxrules" 83 :rules="rules.djlxrules">
91 >
92 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 84 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
93 <el-option 85 <el-option
94 v-for="item in djlxlist" 86 v-for="item in djlxlist"
95 :key="item.dcode" 87 :key="item.dcode"
96 :label="item.dname" 88 :label="item.dname"
97 :value="item.dcode" 89 :value="item.dcode">
98 >
99 </el-option> 90 </el-option>
100 </el-select> 91 </el-select>
101 </el-form-item> 92 </el-form-item>
...@@ -109,8 +100,7 @@ ...@@ -109,8 +100,7 @@
109 <el-form-item 100 <el-form-item
110 label="业务号:" 101 label="业务号:"
111 prop="qlxx.ywh" 102 prop="qlxx.ywh"
112 :rules="rules.ywhrules" 103 :rules="rules.ywhrules">
113 >
114 <el-input v-model="ruleForm.qlxx.ywh"></el-input> 104 <el-input v-model="ruleForm.qlxx.ywh"></el-input>
115 </el-form-item> 105 </el-form-item>
116 </el-col> 106 </el-col>
...@@ -133,8 +123,7 @@ ...@@ -133,8 +123,7 @@
133 <el-form-item 123 <el-form-item
134 label="不动产权证号:" 124 label="不动产权证号:"
135 prop="qlxx.bdcqzh" 125 prop="qlxx.bdcqzh"
136 :rules="rules.bdcqzhrules" 126 :rules="rules.bdcqzhrules">
137 >
138 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 127 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
139 </el-form-item> 128 </el-form-item>
140 </el-col> 129 </el-col>
...@@ -147,8 +136,7 @@ ...@@ -147,8 +136,7 @@
147 <el-form-item 136 <el-form-item
148 label="登记机构:" 137 label="登记机构:"
149 prop="qlxx.djjg" 138 prop="qlxx.djjg"
150 :rules="rules.djjgrules" 139 :rules="rules.djjgrules">
151 >
152 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 140 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
153 </el-form-item> 141 </el-form-item>
154 </el-col> 142 </el-col>
...@@ -156,8 +144,7 @@ ...@@ -156,8 +144,7 @@
156 <el-form-item 144 <el-form-item
157 label="登簿人:" 145 label="登簿人:"
158 prop="qlxx.dbr" 146 prop="qlxx.dbr"
159 :rules="rules.dbrrules" 147 :rules="rules.dbrrules">
160 >
161 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 148 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
162 </el-form-item> 149 </el-form-item>
163 </el-col> 150 </el-col>
...@@ -165,16 +152,14 @@ ...@@ -165,16 +152,14 @@
165 <el-form-item 152 <el-form-item
166 label="登记时间:" 153 label="登记时间:"
167 prop="qlxx.djsj" 154 prop="qlxx.djsj"
168 :rules="rules.djsjrules" 155 :rules="rules.djsjrules">
169 >
170 <el-date-picker 156 <el-date-picker
171 v-model="ruleForm.qlxx.djsj" 157 v-model="ruleForm.qlxx.djsj"
172 class="width100" 158 class="width100"
173 type="date" 159 type="date"
174 placeholder="选择日期" 160 placeholder="选择日期"
175 value-format="yyyy-MM-dd HH:mm:ss" 161 value-format="yyyy-MM-dd HH:mm:ss"
176 format="yyyy-MM-dd" 162 format="yyyy-MM-dd">
177 >
178 </el-date-picker> 163 </el-date-picker>
179 </el-form-item> 164 </el-form-item>
180 </el-col> 165 </el-col>
...@@ -185,8 +170,7 @@ ...@@ -185,8 +170,7 @@
185 v-for="item in qsztlist" 170 v-for="item in qsztlist"
186 :key="item.dcode" 171 :key="item.dcode"
187 :label="item.dname" 172 :label="item.dname"
188 :value="item.dcode" 173 :value="item.dcode">
189 >
190 </el-option> 174 </el-option>
191 </el-select> 175 </el-select>
192 </el-form-item> 176 </el-form-item>
...@@ -196,15 +180,13 @@ ...@@ -196,15 +180,13 @@
196 <el-form-item 180 <el-form-item
197 label="预告登记种类:" 181 label="预告登记种类:"
198 prop="ygdj.ygdjzl" 182 prop="ygdj.ygdjzl"
199 :rules="rules.ygdjzlrules" 183 :rules="rules.ygdjzlrules">
200 >
201 <el-select v-model="ruleForm.ygdj.ygdjzl"> 184 <el-select v-model="ruleForm.ygdj.ygdjzl">
202 <el-option 185 <el-option
203 v-for="item in dictData['A29']" 186 v-for="item in dictData['A29']"
204 :key="item.dcode" 187 :key="item.dcode"
205 :label="item.dname" 188 :label="item.dname"
206 :value="item.dcode" 189 :value="item.dcode">
207 >
208 </el-option> 190 </el-option>
209 </el-select> 191 </el-select>
210 </el-form-item> 192 </el-form-item>
...@@ -221,8 +203,7 @@ ...@@ -221,8 +203,7 @@
221 v-for="item in dictData['A17']" 203 v-for="item in dictData['A17']"
222 :key="item.dcode" 204 :key="item.dcode"
223 :label="item.dname" 205 :label="item.dname"
224 :value="item.dcode" 206 :value="item.dcode">
225 >
226 </el-option> 207 </el-option>
227 </el-select> 208 </el-select>
228 </el-form-item> 209 </el-form-item>
...@@ -239,8 +220,7 @@ ...@@ -239,8 +220,7 @@
239 v-for="item in dictData['A19']" 220 v-for="item in dictData['A19']"
240 :key="item.dcode" 221 :key="item.dcode"
241 :label="item.dname" 222 :label="item.dname"
242 :value="item.dcode" 223 :value="item.dcode">
243 >
244 </el-option> 224 </el-option>
245 </el-select> 225 </el-select>
246 </el-form-item> 226 </el-form-item>
...@@ -257,8 +237,7 @@ ...@@ -257,8 +237,7 @@
257 v-for="item in dictData['A46']" 237 v-for="item in dictData['A46']"
258 :key="item.dcode" 238 :key="item.dcode"
259 :label="item.dname" 239 :label="item.dname"
260 :value="item.dcode" 240 :value="item.dcode">
261 >
262 </el-option> 241 </el-option>
263 </el-select> 242 </el-select>
264 </el-form-item> 243 </el-form-item>
...@@ -278,19 +257,16 @@ ...@@ -278,19 +257,16 @@
278 <div class="flex"> 257 <div class="flex">
279 <el-input 258 <el-input
280 v-model="ruleForm.ygdj.jzmj" 259 v-model="ruleForm.ygdj.jzmj"
281 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 260 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
282 ></el-input>
283 <el-select 261 <el-select
284 v-model="mjdw" 262 v-model="ruleForm.ygdj.mjdw"
285 :disabled="!ableOperation" 263 :disabled="!ableOperation"
286 style="width: 20%" 264 style="width: 20%">
287 >
288 <el-option 265 <el-option
289 v-for="item in dictData['A7']" 266 v-for="item in dictData['A7']"
290 :key="item.dcode" 267 :key="item.dcode"
291 :label="item.dname" 268 :label="item.dname"
292 :value="item.dcode" 269 :value="item.dcode">
293 >
294 </el-option> 270 </el-option>
295 </el-select> 271 </el-select>
296 </div> 272 </div>
...@@ -314,8 +290,7 @@ ...@@ -314,8 +290,7 @@
314 type="date" 290 type="date"
315 placeholder="选择日期" 291 placeholder="选择日期"
316 value-format="yyyy-MM-dd HH:mm:ss" 292 value-format="yyyy-MM-dd HH:mm:ss"
317 format="yyyy-MM-dd" 293 format="yyyy-MM-dd">
318 >
319 </el-date-picker> 294 </el-date-picker>
320 </el-form-item> 295 </el-form-item>
321 </el-col> 296 </el-col>
...@@ -326,31 +301,26 @@ ...@@ -326,31 +301,26 @@
326 <el-tooltip 301 <el-tooltip
327 content="取得价格被担保主债权数额:" 302 content="取得价格被担保主债权数额:"
328 placement="top" 303 placement="top"
329 effect="light" 304 effect="light">
330 >
331 <span 305 <span
332 type="text" 306 type="text"
333 style="color: #444" 307 style="color: #444"
334 size="mini" 308 size="mini">取得价格被担保...</span>
335 >取得价格被担保...</span>
336 </el-tooltip> 309 </el-tooltip>
337 </span> 310 </span>
338 <div class="flex"> 311 <div class="flex">
339 <el-input 312 <el-input
340 v-model="ruleForm.ygdj.qdjg" 313 v-model="ruleForm.ygdj.qdjg"
341 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 314 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
342 ></el-input>
343 <el-select 315 <el-select
344 v-model="ruleForm.ygdj.jedw" 316 v-model="ruleForm.ygdj.jedw"
345 :disabled="!ableOperation" 317 :disabled="!ableOperation"
346 style="width: 20%" 318 style="width: 20%">
347 >
348 <el-option 319 <el-option
349 v-for="item in dictData['A57']" 320 v-for="item in dictData['A57']"
350 :key="item.dcode" 321 :key="item.dcode"
351 :label="item.dname" 322 :label="item.dname"
352 :value="item.dcode" 323 :value="item.dcode">
353 >
354 </el-option> 324 </el-option>
355 </el-select> 325 </el-select>
356 </div> 326 </div>
...@@ -368,13 +338,11 @@ ...@@ -368,13 +338,11 @@
368 <el-tooltip 338 <el-tooltip
369 content="是否存在禁止或限制转让抵押不动产的约定:" 339 content="是否存在禁止或限制转让抵押不动产的约定:"
370 placement="top" 340 placement="top"
371 effect="light" 341 effect="light">
372 >
373 <span 342 <span
374 type="text" 343 type="text"
375 style="color: #444" 344 style="color: #444"
376 size="mini" 345 size="mini">是否存在禁止或限制...</span>
377 >是否存在禁止或限制...</span>
378 </el-tooltip> 346 </el-tooltip>
379 </span> 347 </span>
380 <el-input v-model="ruleForm.ygdj.sfczjzhxz"></el-input> 348 <el-input v-model="ruleForm.ygdj.sfczjzhxz"></el-input>
...@@ -400,8 +368,7 @@ ...@@ -400,8 +368,7 @@
400 <el-form-item label="共有方式:"> 368 <el-form-item label="共有方式:">
401 <el-radio-group 369 <el-radio-group
402 :disabled="!ableOperation" 370 :disabled="!ableOperation"
403 v-model="ruleForm.qlxx.gyfs" 371 v-model="ruleForm.qlxx.gyfs">
404 >
405 <el-radio label="0">单独所有</el-radio> 372 <el-radio label="0">单独所有</el-radio>
406 <el-radio label="1">共同共有</el-radio> 373 <el-radio label="1">共同共有</el-radio>
407 <el-radio label="2">按份所有</el-radio> 374 <el-radio label="2">按份所有</el-radio>
...@@ -409,12 +376,11 @@ ...@@ -409,12 +376,11 @@
409 </el-radio-group> 376 </el-radio-group>
410 </el-form-item> 377 </el-form-item>
411 </el-col> 378 </el-col>
412 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 379 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
413 <el-form-item label="是否分别持证:"> 380 <el-form-item label="是否分别持证:">
414 <el-radio-group 381 <el-radio-group
415 v-model="ruleForm.qlxx.sqfbcz" 382 v-model="ruleForm.qlxx.sqfbcz"
416 :disabled="!ableOperation" 383 :disabled="!ableOperation">
417 >
418 <el-radio :label="1"></el-radio> 384 <el-radio :label="1"></el-radio>
419 <el-radio :label="0"></el-radio> 385 <el-radio :label="0"></el-radio>
420 </el-radio-group> 386 </el-radio-group>
...@@ -422,32 +388,28 @@ ...@@ -422,32 +388,28 @@
422 </el-col> 388 </el-col>
423 <el-col 389 <el-col
424 :span="6" 390 :span="6"
425 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" 391 v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs != '0'">
426 >
427 <el-form-item label="持证人:"> 392 <el-form-item label="持证人:">
428 <el-select 393 <el-select
429 v-model="ruleForm.czr" 394 v-model="ruleForm.czr"
430 placeholder="持证人" 395 placeholder="持证人"
431 :disabled="!ableOperation" 396 :disabled="!ableOperation">
432 >
433 <el-option 397 <el-option
434 v-for="item in czrOptions" 398 v-for="item in czrOptions"
435 :key="item.zjh" 399 :key="item.zjh"
436 :label="item.sqrmc" 400 :label="item.sqrmc"
437 :value="item.zjh" 401 :value="item.zjh">
438 >
439 </el-option> 402 </el-option>
440 </el-select> 403 </el-select>
441 </el-form-item> 404 </el-form-item>
442 </el-col> 405 </el-col> -->
443 </el-row> 406 </el-row>
444 <qlrCommonTable 407 <qlrCommonTable
445 :tableData="ruleForm.qlrData" 408 :tableData="ruleForm.qlrData"
446 @upDateQlrxxList="upDateQlrxxList" 409 @upDateQlrxxList="upDateQlrxxList"
447 :key="key" 410 :key="key"
448 :ableOperation="ableOperation" 411 :ableOperation="ableOperation"
449 :gyfs="ruleForm.qlxx.gyfs" 412 :gyfs="ruleForm.qlxx.gyfs" />
450 />
451 413
452 <div v-if="ruleForm.ywrData"> 414 <div v-if="ruleForm.ywrData">
453 <div class="slxx_title title-block"> 415 <div class="slxx_title title-block">
...@@ -459,8 +421,7 @@ ...@@ -459,8 +421,7 @@
459 :tableData="ruleForm.ywrData" 421 :tableData="ruleForm.ywrData"
460 :key="key" 422 :key="key"
461 :ableOperation="ableOperation" 423 :ableOperation="ableOperation"
462 @upDateQlrxxList="upDateYwrxxList" 424 @upDateQlrxxList="upDateYwrxxList" />
463 />
464 </div> 425 </div>
465 </div> 426 </div>
466 <el-row class="btn" v-if="ableOperation"> 427 <el-row class="btn" v-if="ableOperation">
...@@ -472,86 +433,23 @@ ...@@ -472,86 +433,23 @@
472 </div> 433 </div>
473 </template> 434 </template>
474 <script> 435 <script>
475 import { mapGetters } from "vuex"; 436 import ywmix from "./dataprocessing";
476 import ywmix from "@/views/ywbl/mixin/index"; 437 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
477 import { init, getSsQlxx,getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 438 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
478 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 439 import tdytTable from "@/views/workflow/components/tdytTable";
479 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 440 import selectTable from "@/components/selectTable/index.vue";
480 import tdytTable from "@/views/workflow/components/tdytTable"; 441 export default {
481 import selectTable from "@/components/selectTable/index.vue";
482 export default {
483 mixins: [ywmix], 442 mixins: [ywmix],
484 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 443 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
485 computed: { 444 data () {
486 ...mapGetters(["dictData", "flag"]),
487 // 根据流程判断表单是否为只读
488 editDisabled() {
489 if (!this.ableOperation) {
490 //只读状态
491 return true;
492 }
493 return false;
494 },
495 },
496 data() {
497 return { 445 return {
498 ssqlxxshow: true,
499 props: {
500 label: "bdcqzh",
501 value: "bdcdyid",
502 },
503 mjdw: "1",
504 //表单是否可操作
505 propsParam: this.$attrs,
506 key: 0,
507 isShow: false,
508 disabled: true,
509 czrOptions: [],
510 ssQlxxList: [],
511 ruleForm: {},
512 // 登记类型
513 djlxlist: [
514 {
515 dcode: "100",
516 dname: "首次登记",
517 },
518 {
519 dcode: "200",
520 dname: "转移登记",
521 },
522 {
523 dcode: "300",
524 dname: "变更登记",
525 },
526 {
527 dcode: "500",
528 dname: "更正登记",
529 },
530
531 {
532 dcode: "901",
533 dname: "补证",
534 },
535 {
536 dcode: "902",
537 dname: "换证",
538 },
539 ],
540 // 权属状态
541 qsztlist: [
542 {
543 dcode: "1",
544 dname: "现势",
545 },
546 {
547 dcode: "2",
548 dname: "历史",
549 },
550 ],
551 //传递参数\ 446 //传递参数\
552 rules: { 447 rules: {
448 ztQlxxrules: [
449 { required: true, message: "抵押不动产信息", trigger: "blur" },
450 ],
553 bdcqzhrules: [ 451 bdcqzhrules: [
554 { required: true, message: "不动产权证号:", trigger: "blur" }, 452 { required: true, message: "不动产登记证明号", trigger: "blur" },
555 ], 453 ],
556 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 454 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
557 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 455 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
...@@ -566,241 +464,20 @@ export default { ...@@ -566,241 +464,20 @@ export default {
566 { required: true, message: "上手权利信息", trigger: "blur" }, 464 { required: true, message: "上手权利信息", trigger: "blur" },
567 ], 465 ],
568 }, 466 },
569 ableOperation: false,
570 }; 467 };
571 }, 468 },
572 created() { 469
573 this.loadData(); 470 };
574 },
575 mounted() {
576 this.ableOperation = this.$parent.ableOperation;
577 },
578 methods: {
579 /**
580 * @description: ssQlxxchange
581 * @param {*} val
582 * @author: renchao
583 */
584 ssQlxxchange(val) {
585 this.ruleForm.ssQlxx = val;
586 this.ruleForm.qlxx.ssywh = val.ywh;
587 this.ssQlxxchangediolog(val);
588 },
589 // 弹框事件
590 ssQlxxchangediolog(val) {
591 console.log("确定了", this.ruleForm);
592 this.$confirm("是否将上手权利信息同步到表单", "提示", {
593 iconClass: "el-icon-question", //自定义图标样式
594 confirmButtonText: "确认", //确认按钮文字更换
595 cancelButtonText: "取消", //取消按钮文字更换
596 showClose: true, //是否显示右上角关闭按钮
597 type: "warning",
598 }).then(() => {
599 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
600 if (res.code == 200) {
601 this.nowlist = res.result;
602 console.log("his.nowlist", this.nowlist);
603 console.log("this.ruleForm", this.ruleForm);
604 for (var key in this.ruleForm.ygdj) {
605 if (
606 this.ruleForm.ygdj[key] == "" ||
607 this.ruleForm.ygdj[key] == null
608 ) {
609 this.ruleForm.ygdj[key] = this.nowlist.ygdj[key];
610 }
611 }
612 for (var key in this.ruleForm.qlxx) {
613 if (
614 (this.ruleForm.qlxx[key] == null && key != "ywh") ||
615 this.ruleForm.qlxx[key] == null
616 ) {
617 console.log("this.ruleForm.qlxx[key]", key);
618 if (key != "ywh") {
619 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
620 }
621 }
622 }
623 if (!this.ruleForm.tdytqxList.length) {
624 this.ruleForm.tdytqxList = this.nowlist.tdytqxList;
625 }
626 if (!this.ruleForm.qlrData.length) {
627 this.ruleForm.qlrData = this.nowlist.qlrData;
628 }
629 if (!this.ruleForm.ywrData.length) {
630 this.ruleForm.ywrData = this.nowlist.ywrData;
631 }
632 console.log("this.ruleForm", this.ruleForm);
633 this.$message({
634 type: "success",
635 message: "同步成功!",
636 });
637 }
638 });
639 }).catch(() => {
640 this.$message({
641 type: "info",
642 message: "已取消同步",
643 });
644 });
645 },
646 /**
647 * @description: djlxchange
648 * @param {*} val
649 * @author: renchao
650 */
651 djlxchange(val) {
652 if (val == null || val == 100) {
653 this.ssqlxxshow = false;
654 } else {
655 this.ssqlxxshow = true;
656 }
657 },
658 /**
659 * @description: loadData
660 * @author: renchao
661 */
662 loadData() {
663 this.$startLoading();
664 this.propsParam.isEdit = this.$parent.isEdit;
665 init(this.propsParam).then((res) => {
666 if (res.code == 200) {
667 this.ruleForm = res.result;
668 let djlx = this.ruleForm.qlxx.djlx;
669 if (djlx == null || djlx == 100) {
670 this.ssqlxxshow = false;
671 }
672 this.ruleForm.ygdj.jedw = "1";
673 this.$endLoading();
674 this.isShow = true;
675 //获取主体信息
676 getSsQlxx({
677 bdcdyid: this.propsParam.bdcdyid,
678 qllx: this.propsParam.qllx,
679 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
680 }).then((res) => {
681 if (res.code == 200) {
682 this.ssQlxxList = res.result;
683 }
684 });
685 }
686 });
687 },
688 // 更新土地用途信息
689 /**
690 * @description: 更新土地用途信息
691 * @param {*} val
692 * @author: renchao
693 */
694 upDateTdytxxList(val) {
695 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
696 this.key++;
697 },
698 // 更新权利人信息
699 /**
700 * @description: 更新权利人信息
701 * @param {*} val
702 * @author: renchao
703 */
704 upDateQlrxxList(val) {
705 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
706 this.czrOptions = this.ruleForm.qlrData;
707 this.key++;
708 },
709 // 更新义务人信息
710 /**
711 * @description: 更新义务人信息
712 * @param {*} val
713 * @author: renchao
714 */
715 upDateYwrxxList(val) {
716 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
717 this.key++;
718 },
719 /**
720 * @description: onSubmit
721 * @author: renchao
722 */
723 onSubmit() {
724 this.$refs.ruleForm.validate((valid) => {
725 if (valid) {
726 if (this.ruleForm.qlrData.length == 0) {
727 this.$message({
728 showClose: true,
729 message: "请确认权利人信息",
730 type: "error",
731 });
732 return false;
733 }
734 if (this.ruleForm.ywrData.length == 0) {
735 this.$message({
736 showClose: true,
737 message: "请确认义务人信息",
738 type: "error",
739 });
740 return false;
741 }
742 if (this.ruleForm.qlxx.gyfs == "0") {
743 if (this.ruleForm.qlrData.length > 1) {
744 this.$message({
745 showClose: true,
746 message: "共有方式:单独所有,权利人只能是一个人",
747 type: "error",
748 });
749 return false;
750 }
751 this.ruleForm.qlrData[0].sfczr = "1";
752 }
753 if (this.ruleForm.qlxx.gyfs == "1") {
754 //是否分别持证
755 if (this.ruleForm.qlxx.sqfbcz == "1") {
756 //是
757 this.ruleForm.qlrData.forEach((item, index) => {
758 item.sfczr = "1";
759 });
760 } else {
761 this.ruleForm.qlrData.forEach((item, index) => {
762 if (item.zjh == this.ruleForm.czr) {
763 item.sfczr = "1";
764 } else {
765 item.sfczr = "0";
766 }
767 });
768 }
769 }
770 save(this.ruleForm).then((res) => {
771 if (res.code === 200) {
772 this.$message({
773 showClose: true,
774 message: "保存成功!",
775 type: "success",
776 });
777 this.$parent.changeywh();
778 this.$store.dispatch("user/refreshPage", true);
779 } else {
780 this.$message({
781 showClose: true,
782 message: res.message,
783 type: "error",
784 });
785 }
786 });
787 } else {
788 return false;
789 }
790 });
791 },
792 },
793 };
794 </script> 471 </script>
795 <style scoped lang="scss"> 472 <style scoped lang="scss">
796 @import "~@/styles/public.scss"; 473 @import "~@/styles/public.scss";
797 @import "~@/styles/slxx/slxx.scss"; 474 @import "~@/styles/slxx/slxx.scss";
798 form /deep/ .el-form-item__label { 475 form /deep/ .el-form-item__label {
799 width: 145px !important; 476 width: 145px !important;
800 overflow: hidden; 477 overflow: hidden;
801 white-space: nowrap; 478 white-space: nowrap;
802 text-overflow: ellipsis; 479 text-overflow: ellipsis;
803 height: 32px; 480 height: 32px;
804 float: none; 481 float: none;
805 } 482 }
806 </style> 483 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 11:00:40 4 * @LastEditTime: 2023-08-01 18:12:57
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -40,12 +40,9 @@ ...@@ -40,12 +40,9 @@
40 </el-form-item> 40 </el-form-item>
41 </el-col> 41 </el-col>
42 </el-row> 42 </el-row>
43 <div class="slxx_title title-block"> 43 <div class="slxx_title title-block bdcqk">
44 异议登记不动产情况 44 异议登记不动产情况
45 <div class="triangle"></div> 45 <div class="count">
46 </div>
47 <el-row :gutter="10">
48 <el-col :span="8">
49 <el-form-item 46 <el-form-item
50 label="抵押不动产信息:" 47 label="抵押不动产信息:"
51 prop="ztQlxx.bdcqzh" 48 prop="ztQlxx.bdcqzh"
...@@ -74,40 +71,9 @@ ...@@ -74,40 +71,9 @@
74 <el-table-column prop="zl" label="坐落"></el-table-column> 71 <el-table-column prop="zl" label="坐落"></el-table-column>
75 </select-table> 72 </select-table>
76 </el-form-item> 73 </el-form-item>
77 </el-col> 74 </div>
78 75 <div class="triangle"></div>
79 <el-col :span="8" v-if="ssqlxxshow"> 76 </div>
80 <el-form-item
81 label="上手权利信息:"
82 prop="ssQlxx.bdcqzh"
83 :rules="rules.ssQlxxrules"
84 >
85 <select-table
86 v-model="ruleForm.ssQlxx"
87 :table-width="550"
88 :tableData="ssQlxxList"
89 :props="props"
90 @change="ssQlxxchange"
91 >
92 <el-table-column
93 prop="qllxmc"
94 width="130"
95 label="权利类型"
96 ></el-table-column>
97 <el-table-column
98 prop="bdcqzh"
99 width="160"
100 label="不动产权证书"
101 ></el-table-column>
102 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
103 <el-table-column prop="mjmc" label="面积"></el-table-column>
104 <el-table-column prop="ytmc" label="用途"></el-table-column>
105 <el-table-column prop="zl" label="坐落"></el-table-column>
106 </select-table>
107 </el-form-item>
108 </el-col>
109 </el-row>
110
111 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null"> 77 <el-row :gutter="10" v-if="ruleForm.ztQlxx != null">
112 <el-col :span="8"> 78 <el-col :span="8">
113 <el-form-item label="权利人:"> 79 <el-form-item label="权利人:">
...@@ -159,8 +125,38 @@ ...@@ -159,8 +125,38 @@
159 </el-form-item> 125 </el-form-item>
160 </el-col> 126 </el-col>
161 </el-row> 127 </el-row>
162 <div class="slxx_title title-block"> 128 <div class="slxx_title title-block bdcqk">
163 异议登记信息 129 异议登记信息
130 <div class="count" v-if="ssqlxxshow">
131 <el-form-item
132 label="上手权利信息:"
133 prop="ssQlxx.bdcqzh"
134 :rules="rules.ssQlxxrules"
135 >
136 <select-table
137 v-model="ruleForm.ssQlxx"
138 :table-width="550"
139 :tableData="ssQlxxList"
140 :props="props"
141 @change="ssQlxxchange"
142 >
143 <el-table-column
144 prop="qllxmc"
145 width="130"
146 label="权利类型"
147 ></el-table-column>
148 <el-table-column
149 prop="bdcqzh"
150 width="160"
151 label="不动产权证书"
152 ></el-table-column>
153 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
154 <el-table-column prop="mjmc" label="面积"></el-table-column>
155 <el-table-column prop="ytmc" label="用途"></el-table-column>
156 <el-table-column prop="zl" label="坐落"></el-table-column>
157 </select-table>
158 </el-form-item>
159 </div>
164 <div class="triangle"></div> 160 <div class="triangle"></div>
165 </div> 161 </div>
166 <el-row :gutter="10"> 162 <el-row :gutter="10">
...@@ -281,20 +277,23 @@ ...@@ -281,20 +277,23 @@
281 </el-col> 277 </el-col>
282 278
283 <el-col :span="8"> 279 <el-col :span="8">
284 <el-form-item label="异议事项:" prop="yydj.yysx" :rules="rules.yysxrules"> 280 <el-form-item label="异议事项:"
281 prop="yydj.yysx"
282 :rules="rules.yysxrules">
285 <el-input v-model="ruleForm.yydj.yysx"></el-input> 283 <el-input v-model="ruleForm.yydj.yysx"></el-input>
286 </el-form-item> 284 </el-form-item>
287 </el-col> 285 </el-col>
288 <el-col :span="8"> 286 <el-col :span="8">
289 <el-form-item label="不动产登记证明号:"> 287 <el-form-item label="不动产登记证明号:">
290 <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input> 288 <el-input
291 </el-form-item> 289 v-model="ruleForm.yydj.bdcdjzmh"
292 </el-col> 290 prop="yydj.bdcdjzmh"
293 <el-col :span="24"> 291 :rules="rules.bdcdjzmhrules"
294 <el-form-item label="附记:"> 292 >></el-input
295 <el-input v-model="ruleForm.yydj.fj"></el-input> 293 >
296 </el-form-item> 294 </el-form-item>
297 </el-col> 295 </el-col>
296
298 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 297 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
299 <el-form-item label="注销异议业务号:"> 298 <el-form-item label="注销异议业务号:">
300 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input> 299 <el-input v-model="ruleForm.yydj.zxyyywh"></el-input>
...@@ -323,6 +322,11 @@ ...@@ -323,6 +322,11 @@
323 </el-date-picker> 322 </el-date-picker>
324 </el-form-item> 323 </el-form-item>
325 </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>
326 </el-row> 330 </el-row>
327 <div class="slxx_title title-block"> 331 <div class="slxx_title title-block">
328 权利人信息 332 权利人信息
...@@ -342,7 +346,7 @@ ...@@ -342,7 +346,7 @@
342 </el-radio-group> 346 </el-radio-group>
343 </el-form-item> 347 </el-form-item>
344 </el-col> 348 </el-col>
345 <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'"> 349 <!-- <el-col :span="6" v-show="ruleForm.qlxx.gyfs != '0'">
346 <el-form-item label="是否分别持证:"> 350 <el-form-item label="是否分别持证:">
347 <el-radio-group 351 <el-radio-group
348 v-model="ruleForm.qlxx.sqfbcz" 352 v-model="ruleForm.qlxx.sqfbcz"
...@@ -372,7 +376,7 @@ ...@@ -372,7 +376,7 @@
372 </el-option> 376 </el-option>
373 </el-select> 377 </el-select>
374 </el-form-item> 378 </el-form-item>
375 </el-col> 379 </el-col> -->
376 </el-row> 380 </el-row>
377 <qlrCommonTable 381 <qlrCommonTable
378 :tableData="ruleForm.qlrData" 382 :tableData="ruleForm.qlrData"
...@@ -404,9 +408,9 @@ ...@@ -404,9 +408,9 @@
404 </div> 408 </div>
405 </template> 409 </template>
406 <script> 410 <script>
407 import { mapGetters } from "vuex"; 411
408 import ywmix from "@/views/ywbl/mixin/index"; 412 // import ywmix from "@/views/ywbl/mixin/index";
409 import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; 413 import ywmix from "./dataprocessing";
410 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 414 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
411 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 415 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
412 import tdytTable from "@/views/workflow/components/tdytTable"; 416 import tdytTable from "@/views/workflow/components/tdytTable";
...@@ -414,24 +418,9 @@ import selectTable from "@/components/selectTable/index.vue"; ...@@ -414,24 +418,9 @@ import selectTable from "@/components/selectTable/index.vue";
414 export default { 418 export default {
415 mixins: [ywmix], 419 mixins: [ywmix],
416 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 420 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
417 computed: {
418 ...mapGetters(["dictData", "flag"]),
419 // 根据流程判断表单是否为只读
420 editDisabled() {
421 if (!this.ableOperation) {
422 //只读状态
423 return true;
424 }
425 return false;
426 },
427 },
428 data() { 421 data() {
429 return { 422 return {
430 ssqlxxshow: true, 423 ssqlxxshow: true,
431 props: {
432 label: "bdcqzh",
433 value: "bdcdyid",
434 },
435 //表单是否可操作 424 //表单是否可操作
436 propsParam: this.$attrs, 425 propsParam: this.$attrs,
437 key: 0, 426 key: 0,
...@@ -441,45 +430,7 @@ export default { ...@@ -441,45 +430,7 @@ export default {
441 ssQlxxList: [], 430 ssQlxxList: [],
442 ztQlxxList: [], 431 ztQlxxList: [],
443 ruleForm: {}, 432 ruleForm: {},
444 // 登记类型
445 djlxlist: [
446 {
447 dcode: "100",
448 dname: "首次登记",
449 },
450 {
451 dcode: "200",
452 dname: "转移登记",
453 },
454 {
455 dcode: "300",
456 dname: "变更登记",
457 },
458 {
459 dcode: "500",
460 dname: "更正登记",
461 },
462
463 {
464 dcode: "901",
465 dname: "补证",
466 },
467 {
468 dcode: "902",
469 dname: "换证",
470 },
471 ],
472 // 权属状态 433 // 权属状态
473 qsztlist: [
474 {
475 dcode: "1",
476 dname: "现势",
477 },
478 {
479 dcode: "2",
480 dname: "历史",
481 },
482 ],
483 //传递参数\ 434 //传递参数\
484 rules: { 435 rules: {
485 ssQlxxrules: [ 436 ssQlxxrules: [
...@@ -489,7 +440,7 @@ export default { ...@@ -489,7 +440,7 @@ export default {
489 { required: true, message: "抵押不动产信息", trigger: "blur" }, 440 { required: true, message: "抵押不动产信息", trigger: "blur" },
490 ], 441 ],
491 bdcqzhrules: [ 442 bdcqzhrules: [
492 { required: true, message: "不动产登记证明号", trigger: "blur" }, 443 { required: true, message: "不动产证号 ", trigger: "blur" },
493 ], 444 ],
494 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], 445 // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
495 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], 446 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
...@@ -497,215 +448,16 @@ export default { ...@@ -497,215 +448,16 @@ export default {
497 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 448 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
498 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }], 449 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
499 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 450 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
451 bdcdjzmhrules: [
452 { required: true, message: "不动产登记证明号: ", trigger: "blur" },
453 ],
500 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }], 454 yysxrules: [{ required: true, message: "异议事项", trigger: "blur" }],
501 }, 455 },
502 ableOperation: false, 456 ableOperation: false,
503 }; 457 };
504 }, 458 },
505 created() {
506 this.loadData();
507 },
508 mounted() {
509 this.ableOperation = this.$parent.ableOperation;
510 },
511 methods: { 459 methods: {
512 /**
513 * @description: ztQlxxchange
514 * @param {*} val
515 * @author: renchao
516 */
517 ztQlxxchange(val) {
518 this.ruleForm.ztQlxx = val;
519 },
520 /**
521 * @description: ssQlxxchange
522 * @param {*} val
523 * @author: renchao
524 */
525 ssQlxxchange(val) {
526 this.ruleForm.ssQlxx = val;
527 this.ruleForm.qlxx.ssywh = val.ywh;
528 this.ssQlxxchangediolog(val);
529 },
530 // 弹框事件
531 ssQlxxchangediolog(val) {
532 console.log("确定了", this.ruleForm);
533 this.$confirm("是否将上手权利信息同步到表单", "提示", {
534 iconClass: "el-icon-question", //自定义图标样式
535 confirmButtonText: "确认", //确认按钮文字更换
536 cancelButtonText: "取消", //取消按钮文字更换
537 showClose: true, //是否显示右上角关闭按钮
538 type: "warning",
539 })
540 .then(() => {
541 // this.ruleForm.qlxx.ssywh = "1111111111111";
542 this.$message({
543 type: "success",
544 message: "同步成功!",
545 });
546 })
547 .catch(() => {
548 this.$message({
549 type: "info",
550 message: "已取消同步",
551 });
552 });
553 },
554 /**
555 * @description: djlxchange
556 * @param {*} val
557 * @author: renchao
558 */
559 djlxchange(val) {
560 // if (val == null || val == 100) {
561 // this.ssqlxxshow = false;
562 // } else {
563 // this.ssqlxxshow = true;
564 // }
565 },
566 /**
567 * @description: loadData
568 * @author: renchao
569 */
570 loadData() {
571 this.$startLoading();
572 this.propsParam.isEdit = this.$parent.isEdit;
573 init(this.propsParam).then((res) => {
574 if (res.code == 200) {
575 this.ruleForm = res.result;
576 let djlx = this.ruleForm.qlxx.djlx;
577 if (djlx == null || djlx == 100) {
578 this.ssqlxxshow = false;
579 }
580 this.$endLoading();
581 this.isShow = true;
582 460
583 //获取主体信息
584 getSsQlxx({
585 bdcdyid: this.propsParam.bdcdyid,
586 qllx: this.propsParam.qllx,
587 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
588 }).then((res) => {
589 if (res.code == 200) {
590 this.ssQlxxList = res.result;
591 }
592 });
593 //获取上手信息
594 getZtQlxx({
595 bdcdyid: this.propsParam.bdcdyid,
596 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
597 }).then((res) => {
598 if (res.code == 200) {
599 this.ztQlxxList = res.result;
600 }
601 });
602 }
603 });
604 },
605 // 更新土地用途信息
606 /**
607 * @description: 更新土地用途信息
608 * @param {*} val
609 * @author: renchao
610 */
611 upDateTdytxxList(val) {
612 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
613 this.key++;
614 },
615 // 更新权利人信息
616 /**
617 * @description: 更新权利人信息
618 * @param {*} val
619 * @author: renchao
620 */
621 upDateQlrxxList(val) {
622 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
623 this.czrOptions = this.ruleForm.qlrData;
624 this.key++;
625 },
626 // 更新义务人信息
627 /**
628 * @description: 更新义务人信息
629 * @param {*} val
630 * @author: renchao
631 */
632 upDateYwrxxList(val) {
633 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
634 this.key++;
635 },
636 /**
637 * @description: onSubmit
638 * @author: renchao
639 */
640 onSubmit() {
641 this.$refs.ruleForm.validate((valid) => {
642 if (valid) {
643 if (this.ruleForm.qlrData.length == 0) {
644 this.$message({
645 showClose: true,
646 message: "请确认权利人信息",
647 type: "error",
648 });
649 return false;
650 }
651 if (this.ruleForm.ywrData.length == 0) {
652 this.$message({
653 showClose: true,
654 message: "请确认义务人信息",
655 type: "error",
656 });
657 return false;
658 }
659 if (this.ruleForm.qlxx.gyfs == "0") {
660 if (this.ruleForm.qlrData.length > 1) {
661 this.$message({
662 showClose: true,
663 message: "共有方式:单独所有,权利人只能是一个人",
664 type: "error",
665 });
666 return false;
667 }
668 this.ruleForm.qlrData[0].sfczr = "1";
669 }
670 if (this.ruleForm.qlxx.gyfs == "1") {
671 //是否分别持证
672 if (this.ruleForm.qlxx.sqfbcz == "1") {
673 //是
674 this.ruleForm.qlrData.forEach((item, index) => {
675 item.sfczr = "1";
676 });
677 } else {
678 this.ruleForm.qlrData.forEach((item, index) => {
679 if (item.zjh == this.ruleForm.czr) {
680 item.sfczr = "1";
681 } else {
682 item.sfczr = "0";
683 }
684 });
685 }
686 }
687 save(this.ruleForm).then((res) => {
688 if (res.code === 200) {
689 this.$message({
690 showClose: true,
691 message: "保存成功!",
692 type: "success",
693 });
694 this.$parent.changeywh();
695 this.$store.dispatch("user/refreshPage", true);
696 } else {
697 this.$message({
698 showClose: true,
699 message: res.message,
700 type: "error",
701 });
702 }
703 });
704 } else {
705 return false;
706 }
707 });
708 },
709 }, 461 },
710 }; 462 };
711 </script> 463 </script>
......
...@@ -90,16 +90,19 @@ export default { ...@@ -90,16 +90,19 @@ export default {
90 tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], 90 tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }],
91 falg: false, 91 falg: false,
92 falg1: false, 92 falg1: false,
93 monitor:true
93 }; 94 };
94 }, 95 },
95 96
96 watch: { 97 watch: {
97 yjsqOptions: { 98 yjsqOptions: {
98 handler(val) { 99 handler(val) {
99 console.log("val", val); 100 if(this.monitor){
100 console.log("this.tableData[this.currentindex]",this.tableData[this.currentindex]); 101 this.add(val);
101 102 this.monitor=false
103 }else{
102 this.add(val); 104 this.add(val);
105 }
103 }, 106 },
104 deep: true, 107 deep: true,
105 immediate: true, 108 immediate: true,
......
1 /* 1 /*
2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法
3 * @Autor: miaofang 3 * @Autor: miaofang
4 * @LastEditTime: 2023-07-17 16:14:23 4 * @LastEditTime: 2023-08-10 13:41:26
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";
...@@ -19,7 +19,7 @@ import { ...@@ -19,7 +19,7 @@ import {
19 } from "@/api/workFlow.js"; 19 } from "@/api/workFlow.js";
20 import { mapGetters } from 'vuex' 20 import { mapGetters } from 'vuex'
21 export default { 21 export default {
22 data() { 22 data () {
23 return { 23 return {
24 //是否开启材料分屏 24 //是否开启材料分屏
25 splitScreen: false, 25 splitScreen: false,
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
40 40
41 } 41 }
42 }, 42 },
43 mounted() { 43 mounted () {
44 this.flowInitParam(); 44 this.flowInitParam();
45 }, 45 },
46 methods: { 46 methods: {
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
49 * @description: 加载流程初始参数 49 * @description: 加载流程初始参数
50 * @author: renchao 50 * @author: renchao
51 */ 51 */
52 flowInitParam() { 52 flowInitParam () {
53 var formdata = new FormData(); 53 var formdata = new FormData();
54 54
55 formdata.append("bsmSlsq", this.bsmSlsq); 55 formdata.append("bsmSlsq", this.bsmSlsq);
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
60 stepExpandInfo(formdata).then((res) => { 60 stepExpandInfo(formdata).then((res) => {
61 if (res.code === 200) { 61 if (res.code === 200) {
62 this.leftButtonList = res.result.button; 62 this.leftButtonList = res.result.button;
63 if (res.result.properties&&res.result.properties.length) { 63 if (res.result.properties && res.result.properties.length) {
64 this.showidea = res.result.properties[0].value 64 this.showidea = res.result.properties[0].value
65 } 65 }
66 66
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
82 * @param {*} item 82 * @param {*} item
83 * @author: renchao 83 * @author: renchao
84 */ 84 */
85 operation(item) { 85 operation (item) {
86 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 86 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
87 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 87 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
88 let that = this; 88 let that = this;
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
101 finishedInfo: { 101 finishedInfo: {
102 finishedTaskSet: result.finishedActivityIds, 102 finishedTaskSet: result.finishedActivityIds,
103 unfinishedTaskSet: result.runningActivityIds, 103 unfinishedTaskSet: result.runningActivityIds,
104 rejectedTaskSet: {}, 104 rejectedTaskSet: result.rejectedActivityIds,
105 finishedSequenceFlowSet: result.finishedSequenceFlowIds 105 finishedSequenceFlowSet: result.finishedSequenceFlowIds
106 }, 106 },
107 handlinglist: result.runningTasks, 107 handlinglist: result.runningTasks,
...@@ -125,15 +125,6 @@ export default { ...@@ -125,15 +125,6 @@ export default {
125 //新增材料信息选项卡数据 125 //新增材料信息选项卡数据
126 this.tabList.splice(this.clxxIndex, 0, this.clxxTab); 126 this.tabList.splice(this.clxxIndex, 0, this.clxxTab);
127 } 127 }
128 // this.closefp()
129
130 // if (this.splitScreen) {
131 // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容
132 // if (this.tabName == this.clxxTab.value) {
133 // this.tabName = this.tabList[0].value;
134 // this.getFromRouter(this.tabList[0].value);
135 // }
136 // }
137 break; 128 break;
138 case "B3": //材料导入 129 case "B3": //材料导入
139 document.getElementById("cldr").click(); 130 document.getElementById("cldr").click();
...@@ -141,41 +132,6 @@ export default { ...@@ -141,41 +132,6 @@ export default {
141 case "B4": 132 case "B4":
142 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true) 133 this.$popupDialog("登记簿详情", "registerBook/djbFrame", this.currentSelectProps, '80%', true)
143 break; 134 break;
144 // case "B5":
145 // const h = this.$createElement;
146 // this.$msgbox({
147 // title: '请选择新增权利类型',
148 // message: h('p', null, [
149 // h('span', null, '内容可以是 '),
150 // h('el-button', { style: 'color: teal' }, 'VNode'),
151 // h('i', { style: 'color: teal' }, 'VNode')
152 // ]),
153 // showCancelButton: true,
154 // confirmButtonText: '确定',
155 // cancelButtonText: '取消',
156 // beforeClose: (action, instance, done) => {
157 // if (action === 'confirm') {
158 // instance.confirmButtonLoading = true;
159 // instance.confirmButtonText = '执行中...';
160 // setTimeout(() => {
161 // done();
162 // setTimeout(() => {
163 // instance.confirmButtonLoading = false;
164 // }, 300);
165 // }, 3000);
166 // } else {
167 // done();
168 // }
169 // }
170 // }).then(action => {
171 // this.addRepairRecord()
172 // this.$message({
173 // type: 'info',
174 // message: 'action: ' + action
175 // });
176 // });
177
178 // break;
179 case "B5": 135 case "B5":
180 if (this.currentSelectProps.bdcdyid) { 136 if (this.currentSelectProps.bdcdyid) {
181 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( 137 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
...@@ -187,10 +143,6 @@ export default { ...@@ -187,10 +143,6 @@ export default {
187 } 143 }
188 ); 144 );
189 } 145 }
190 // this.$refs.Menu.loadBdcdylist("add")
191 // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true)
192
193
194 break; 146 break;
195 case "B6": 147 case "B6":
196 //根据编号获取对应信息 148 //根据编号获取对应信息
...@@ -292,7 +244,7 @@ export default { ...@@ -292,7 +244,7 @@ export default {
292 * @description: del 244 * @description: del
293 * @author: renchao 245 * @author: renchao
294 */ 246 */
295 del() { 247 del () {
296 let formdata = new FormData(); 248 let formdata = new FormData();
297 formdata.append("bsmSlsq", this.bsmSlsq); 249 formdata.append("bsmSlsq", this.bsmSlsq);
298 this.$confirm("确定要删除吗, 是否继续?", "提示", { 250 this.$confirm("确定要删除吗, 是否继续?", "提示", {
...@@ -327,7 +279,7 @@ export default { ...@@ -327,7 +279,7 @@ export default {
327 * @param {*} obj 279 * @param {*} obj
328 * @author: renchao 280 * @author: renchao
329 */ 281 */
330 sendToNext(obj) { 282 sendToNext (obj) {
331 this.$popupDialog("转出", "djbworkflow/components/zc", { 283 this.$popupDialog("转出", "djbworkflow/components/zc", {
332 obj: obj, 284 obj: obj,
333 bsmSlsq: this.bsmSlsq, 285 bsmSlsq: this.bsmSlsq,
...@@ -340,7 +292,7 @@ export default { ...@@ -340,7 +292,7 @@ export default {
340 * @description: 转出最后一个流程 292 * @description: 转出最后一个流程
341 * @author: renchao 293 * @author: renchao
342 */ 294 */
343 sendToEnd() { 295 sendToEnd () {
344 this.$popupDialog("转出", "djbworkflow/components/zc", { 296 this.$popupDialog("转出", "djbworkflow/components/zc", {
345 obj: "", 297 obj: "",
346 bsmSlsq: this.bsmSlsq, 298 bsmSlsq: this.bsmSlsq,
...@@ -355,7 +307,7 @@ export default { ...@@ -355,7 +307,7 @@ export default {
355 * @description: 批量操作 307 * @description: 批量操作
356 * @author: renchao 308 * @author: renchao
357 */ 309 */
358 handleBatchDel() { 310 handleBatchDel () {
359 this.$popupDialog("批量删除", "workflow/components/batchDel", { 311 this.$popupDialog("批量删除", "workflow/components/batchDel", {
360 width: "50%", 312 width: "50%",
361 btnShow: false, 313 btnShow: false,
...@@ -369,7 +321,7 @@ export default { ...@@ -369,7 +321,7 @@ export default {
369 * @param {*} file 321 * @param {*} file
370 * @author: renchao 322 * @author: renchao
371 */ 323 */
372 handleChange(file) { 324 handleChange (file) {
373 var formdata = new FormData(); 325 var formdata = new FormData();
374 formdata.append("file", file.raw); 326 formdata.append("file", file.raw);
375 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); 327 formdata.append("bsmSldy", this.currentSelectProps.bsmSldy);
...@@ -388,7 +340,7 @@ export default { ...@@ -388,7 +340,7 @@ export default {
388 * @param {*} file 340 * @param {*} file
389 * @author: renchao 341 * @author: renchao
390 */ 342 */
391 beforeUpload(file) { 343 beforeUpload (file) {
392 return true; 344 return true;
393 } 345 }
394 } 346 }
......
1 <!-- 1 <!--
2 * @Description :宗地基本信息 2 * @Description :宗地基本信息
3 * @Autor : miaofang 3 * @Autor : miaofang
4 * @LastEditTime : 2023-07-31 17:21:56 4 * @LastEditTime: 2023-08-04 10:06:45
5 --> 5 -->
6 <template> 6 <template>
7 <div class="tableDivCss"> 7 <div class="tableDivCss">
...@@ -87,30 +87,11 @@ ...@@ -87,30 +87,11 @@
87 <td colspan="3">{{ zdjbxx.zdszb }}</td> 87 <td colspan="3">{{ zdjbxx.zdszb }}</td>
88 </tr> 88 </tr>
89 <tr> 89 <tr>
90 <td>登记时间</td>
91 <td colspan="2">{{ zdjbxx.bz }}</td>
92 <td>登簿人</td>
93 <td>{{ zdjbxx.bz }}</td>
94 </tr>
95
96 <tr>
97 <td>附记</td> 90 <td>附记</td>
98 <td colspan="4">{{ zdjbxx.fj }}</td> 91 <td colspan="4">{{ zdjbxx.fj }}</td>
99 </tr> 92 </tr>
100 <!-- <tr>
101 <td>状态</td>
102 <td colspan="2">{{ zdjbxx.zt }}</td>
103 <td>区县代码</td>
104 <td>{{ zdjbxx.qxdm }}</td>
105 </tr> -->
106 <tr v-if="showGroup"> 93 <tr v-if="showGroup">
107 <td rowspan="4">变化情况</td> 94 <td rowspan="4">变化情况</td>
108
109 <!-- <table cellspacing="0" cellpadding="0" :width="bhqkTableWidth">
110 <tr v-for="(item, index) in bhqkColumns" :key="index">
111 <td class="bhqkTh">{{ item.label }}</td>
112 </tr>
113 </table> -->
114 </tr> 95 </tr>
115 96
116 <tr v-if="showGroup"> 97 <tr v-if="showGroup">
...@@ -130,11 +111,11 @@ ...@@ -130,11 +111,11 @@
130 </template> 111 </template>
131 112
132 <script> 113 <script>
133 import store from "@/store/index.js"; 114 import store from "@/store/index.js";
134 import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js"; 115 import { getZdjjxxBybdcdyid } from "@/api/djbDetail.js";
135 116
136 export default { 117 export default {
137 data() { 118 data () {
138 return { 119 return {
139 bhqkColumns: [ 120 bhqkColumns: [
140 { 121 {
...@@ -213,7 +194,7 @@ export default { ...@@ -213,7 +194,7 @@ export default {
213 } 194 }
214 }, 195 },
215 }, 196 },
216 created() { 197 created () {
217 this.loadData(); 198 this.loadData();
218 }, 199 },
219 methods: { 200 methods: {
...@@ -221,7 +202,7 @@ export default { ...@@ -221,7 +202,7 @@ export default {
221 * @description: loadData 202 * @description: loadData
222 * @author: renchao 203 * @author: renchao
223 */ 204 */
224 loadData() { 205 loadData () {
225 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { 206 getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
226 if (res.code === 200) { 207 if (res.code === 200) {
227 this.zdjbxx = res.result.zdjbxx; 208 this.zdjbxx = res.result.zdjbxx;
...@@ -233,8 +214,8 @@ export default { ...@@ -233,8 +214,8 @@ export default {
233 }); 214 });
234 }, 215 },
235 }, 216 },
236 }; 217 };
237 </script> 218 </script>
238 <style lang="scss" scoped> 219 <style lang="scss" scoped>
239 @import "~@/styles/tablecss.scss"; 220 @import "~@/styles/tablecss.scss";
240 </style> 221 </style>
......
...@@ -54,11 +54,10 @@ class data extends filter { ...@@ -54,11 +54,10 @@ class data extends filter {
54 { 54 {
55 prop: "createtime", 55 prop: "createtime",
56 label: "创建时间", 56 label: "创建时间",
57 // width: '180',
58 }, 57 },
59 { 58 {
60 label: '操作', 59 label: '操作',
61 width: '130', 60 width: '100',
62 render: (h, scope) => { 61 render: (h, scope) => {
63 return ( 62 return (
64 <div> 63 <div>
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
59 </div> 59 </div>
60 <!-- 表格 --> 60 <!-- 表格 -->
61 <div class="from-clues-content"> 61 <div class="from-clues-content">
62 <lb-table :page-size="pageData.size" :heightNum="305" class="loadingtext" @sort-change="handleSort" 62 <lb-table :page-size="pageData.size" :heightNum="315" class="loadingtext" @sort-change="handleSort"
63 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" 63 :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange"
64 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 64 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data">
65 </lb-table> 65 </lb-table>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 10:23:27 4 * @LastEditTime: 2023-08-08 15:32:24
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -364,7 +364,7 @@ ...@@ -364,7 +364,7 @@
364 } 364 }
365 </script> 365 </script>
366 <style rel="stylesheet/scss" lang="scss" scoped> 366 <style rel="stylesheet/scss" lang="scss" scoped>
367 @import "~@/styles/dialogBoxheader.scss"; 367 // @import "~@/styles/dialogBoxheader.scss";
368 /deep/.el-radio-group { 368 /deep/.el-radio-group {
369 display: flex; 369 display: flex;
370 justify-content: center; 370 justify-content: center;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 09:27:43 4 * @LastEditTime: 2023-08-08 11:01:08
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
8 <!-- 表单部分 --> 8 <!-- 表单部分 -->
9 <div class="from-clues-header"> 9 <div class="from-clues-header">
10 <el-form :model="ruleForm" @submit.native.prevent label-width="80px"> 10 <el-form :model="ruleForm" @submit.native.prevent label-width="50px">
11 <el-row> 11 <el-row>
12 <el-col :span="5"> 12 <el-col :span="5">
13 <el-form-item label="标题"> 13 <el-form-item label="标题">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 </el-form> 24 </el-form>
25 </div> 25 </div>
26 <!-- 表格 --> 26 <!-- 表格 -->
27 <div class="from-clues-content"> 27 <div class="from-clues-content loadingtext">
28 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" 28 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total"
29 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 29 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
30 :data="tableData.data"> 30 :data="tableData.data">
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-24 14:11:31 4 * @LastEditTime: 2023-08-09 10:09:12
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 <el-col :span="18" class="btnColRight"> 20 <el-col :span="18" class="btnColRight">
21 <el-form-item> 21 <el-form-item>
22 <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button> 22 <el-button type="primary" icon="el-icon-search" @click="handleSearch">查询</el-button>
23 <el-button @click="moreQueryClick()">高级查询</el-button> 23 <!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
24 </el-form-item> 24 </el-form-item>
25 </el-col> 25 </el-col>
26 </el-row> 26 </el-row>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
27 </el-form> 27 </el-form>
28 </div> 28 </div>
29 <!-- 表格 --> 29 <!-- 表格 -->
30 <div class="from-clues-content"> 30 <div class="from-clues-content loadingtext">
31 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" 31 <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total"
32 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 32 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
33 :data="tableData.data"> 33 :data="tableData.data">
......
...@@ -113,14 +113,6 @@ export default { ...@@ -113,14 +113,6 @@ export default {
113 }, 113 },
114 }, 114 },
115 mounted() { 115 mounted() {
116 console.log(
117 "bestepid: this.$route.query.bestepid,",
118 this.$route.query.bestepid
119 );
120 console.log(
121 "bestepid: this.$route.query.sqywbm,",
122 this.$route.query.sqywbm
123 );
124 this.ableOperation = this.$parent.ableOperation; 116 this.ableOperation = this.$parent.ableOperation;
125 }, 117 },
126 methods: { 118 methods: {
...@@ -162,7 +154,6 @@ export default { ...@@ -162,7 +154,6 @@ export default {
162 return new Promise((resolve) => { 154 return new Promise((resolve) => {
163 this.unitData = this.$parent.unitData; 155 this.unitData = this.$parent.unitData;
164 var formdata = new FormData(); 156 var formdata = new FormData();
165
166 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 157 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
167 if (this.$route.query.sqywbm == "DJBBL") { 158 if (this.$route.query.sqywbm == "DJBBL") {
168 formdata.append("bsmSldy", this.$parent.bsmRepair); 159 formdata.append("bsmSldy", this.$parent.bsmRepair);
...@@ -259,6 +250,9 @@ export default { ...@@ -259,6 +250,9 @@ export default {
259 sjlx: data.cllx, 250 sjlx: data.cllx,
260 sfxjcl: "1", // 是否必选 251 sfxjcl: "1", // 是否必选
261 }; 252 };
253 if (this.$route.query.sqywbm == "DJBBL") {
254 obj.bsmSldy=this.$parent.bsmRepair
255 }
262 saveClml(obj).then(async (res) => { 256 saveClml(obj).then(async (res) => {
263 if (res.code == 200) { 257 if (res.code == 200) {
264 let res = await this.clmlInitList(2); 258 let res = await this.clmlInitList(2);
...@@ -324,6 +318,7 @@ export default { ...@@ -324,6 +318,7 @@ export default {
324 data: this.tableData, 318 data: this.tableData,
325 unitData: this.$parent.unitData, 319 unitData: this.$parent.unitData,
326 ableOperation: this.$parent.ableOperation, 320 ableOperation: this.$parent.ableOperation,
321 bsmRepair:this.$parent.bsmRepair
327 }, 322 },
328 "60%", 323 "60%",
329 true 324 true
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-27 09:03:56 4 * @LastEditTime: 2023-08-04 13:29:47
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm" 7 <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm"
...@@ -42,27 +42,25 @@ ...@@ -42,27 +42,25 @@
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 <el-col :span="8"> 44 <el-col :span="8">
45 <el-form-item label="性别"> 45 <el-form-item label="份数" prop="fs">
46 <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择"> 46 <el-input v-model="ruleForm.fs" maxlength="8" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
47 <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
48 </el-option>
49 </el-select>
50 </el-form-item> 47 </el-form-item>
51 </el-col> 48 </el-col>
49
52 </el-row> 50 </el-row>
53 <el-row> 51 <el-row>
54 <el-col :span="8"> 52 <el-col :span="8">
55 <el-form-item label="法人名称"> 53 <el-form-item label="法人名称" prop="frmc">
56 <el-input v-model="ruleForm.frmc"></el-input> 54 <el-input v-model="ruleForm.frmc"></el-input>
57 </el-form-item> 55 </el-form-item>
58 </el-col> 56 </el-col>
59 <el-col :span="8"> 57 <el-col :span="8">
60 <el-form-item label="国家/地区"> 58 <el-form-item label="国家/地区" prop="gj">
61 <el-input v-model="ruleForm.gj"></el-input> 59 <el-input v-model="ruleForm.gj"></el-input>
62 </el-form-item> 60 </el-form-item>
63 </el-col> 61 </el-col>
64 <el-col :span="8"> 62 <el-col :span="8">
65 <el-form-item label="户籍所在省市"> 63 <el-form-item label="户籍所在省市" prop="hjszss">
66 <el-input v-model="ruleForm.hjszss"></el-input> 64 <el-input v-model="ruleForm.hjszss"></el-input>
67 </el-form-item> 65 </el-form-item>
68 </el-col> 66 </el-col>
...@@ -70,12 +68,12 @@ ...@@ -70,12 +68,12 @@
70 68
71 <el-row> 69 <el-row>
72 <el-col :span="16"> 70 <el-col :span="16">
73 <el-form-item label="地址"> 71 <el-form-item label="地址" prop="txdz">
74 <el-input v-model="ruleForm.txdz"></el-input> 72 <el-input v-model="ruleForm.txdz"></el-input>
75 </el-form-item> 73 </el-form-item>
76 </el-col> 74 </el-col>
77 <el-col :span="8"> 75 <el-col :span="8">
78 <el-form-item label="邮编"> 76 <el-form-item label="邮编" prop="yb">
79 <el-input v-model="ruleForm.yb"></el-input> 77 <el-input v-model="ruleForm.yb"></el-input>
80 </el-form-item> 78 </el-form-item>
81 </el-col> 79 </el-col>
...@@ -83,17 +81,17 @@ ...@@ -83,17 +81,17 @@
83 81
84 <el-row> 82 <el-row>
85 <el-col :span="8"> 83 <el-col :span="8">
86 <el-form-item label="发证机关"> 84 <el-form-item label="发证机关" prop="fzjg">
87 <el-input v-model="ruleForm.fzjg"></el-input> 85 <el-input v-model="ruleForm.fzjg"></el-input>
88 </el-form-item> 86 </el-form-item>
89 </el-col> 87 </el-col>
90 <el-col :span="8"> 88 <el-col :span="8">
91 <el-form-item label="电子邮件"> 89 <el-form-item label="电子邮件" prop="dzyj">
92 <el-input v-model="ruleForm.dzyj"></el-input> 90 <el-input v-model="ruleForm.dzyj"></el-input>
93 </el-form-item> 91 </el-form-item>
94 </el-col> 92 </el-col>
95 <el-col :span="8"> 93 <el-col :span="8">
96 <el-form-item label="权利比例"> 94 <el-form-item label="权利比例" prop="qlbl">
97 <el-input v-model="ruleForm.qlbl"></el-input> 95 <el-input v-model="ruleForm.qlbl"></el-input>
98 </el-form-item> 96 </el-form-item>
99 </el-col> 97 </el-col>
...@@ -101,12 +99,12 @@ ...@@ -101,12 +99,12 @@
101 99
102 <el-row> 100 <el-row>
103 <el-col :span="8"> 101 <el-col :span="8">
104 <el-form-item label="工作单位"> 102 <el-form-item label="工作单位" prop="gzdw">
105 <el-input v-model="ruleForm.gzdw"></el-input> 103 <el-input v-model="ruleForm.gzdw"></el-input>
106 </el-form-item> 104 </el-form-item>
107 </el-col> 105 </el-col>
108 <el-col :span="16"> 106 <el-col :span="16">
109 <el-form-item label="代理机构"> 107 <el-form-item label="代理机构" prop="dlrjg">
110 <el-input v-model="ruleForm.dlrjg"></el-input> 108 <el-input v-model="ruleForm.dlrjg"></el-input>
111 </el-form-item> 109 </el-form-item>
112 </el-col> 110 </el-col>
...@@ -114,17 +112,17 @@ ...@@ -114,17 +112,17 @@
114 112
115 <el-row> 113 <el-row>
116 <el-col :span="8"> 114 <el-col :span="8">
117 <el-form-item label="联系电话"> 115 <el-form-item label="联系电话" prop="dlrdh">
118 <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input> 116 <el-input v-model="ruleForm.dlrdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
119 </el-form-item> 117 </el-form-item>
120 </el-col> 118 </el-col>
121 <el-col :span="8"> 119 <el-col :span="8">
122 <el-form-item label="代理人姓名"> 120 <el-form-item label="代理人姓名" prop="dlrmc">
123 <el-input v-model="ruleForm.dlrmc"></el-input> 121 <el-input v-model="ruleForm.dlrmc"></el-input>
124 </el-form-item> 122 </el-form-item>
125 </el-col> 123 </el-col>
126 <el-col :span="8"> 124 <el-col :span="8">
127 <el-form-item label="代理人证件类型"> 125 <el-form-item label="代理人证件类型" prop="dlrzjlx">
128 <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择"> 126 <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
129 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 127 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
130 </el-option> 128 </el-option>
...@@ -134,7 +132,15 @@ ...@@ -134,7 +132,15 @@
134 </el-row> 132 </el-row>
135 <el-row> 133 <el-row>
136 <el-col :span="8"> 134 <el-col :span="8">
137 <el-form-item label="代理人证件号"> 135 <el-form-item label="性别" prop="xb">
136 <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择">
137 <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
138 </el-option>
139 </el-select>
140 </el-form-item>
141 </el-col>
142 <el-col :span="8">
143 <el-form-item label="代理人证件号" prop="dlrzjh">
138 <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input> 144 <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input>
139 </el-form-item> 145 </el-form-item>
140 </el-col> 146 </el-col>
...@@ -163,6 +169,7 @@ ...@@ -163,6 +169,7 @@
163 zjh: "", 169 zjh: "",
164 dh: "", 170 dh: "",
165 xb: "", 171 xb: "",
172 fs: "",
166 frmc: "", 173 frmc: "",
167 gj: "", 174 gj: "",
168 hjszss: "", 175 hjszss: "",
...@@ -183,8 +190,8 @@ ...@@ -183,8 +190,8 @@
183 sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }], 190 sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
184 zjzl: [{ required: true, message: "证件种类", trigger: "change" }], 191 zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
185 zjh: [{ required: true, message: "证件号", trigger: "blur" }], 192 zjh: [{ required: true, message: "证件号", trigger: "blur" }],
186 }, 193 }
187 }; 194 }
188 }, 195 },
189 watch: { 196 watch: {
190 value (val) { 197 value (val) {
......
...@@ -209,9 +209,14 @@ ...@@ -209,9 +209,14 @@
209 return new Promise(resolve => { 209 return new Promise(resolve => {
210 this.unitData = this.$parent.unitData; 210 this.unitData = this.$parent.unitData;
211 var formdata = new FormData(); 211 var formdata = new FormData();
212 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
213 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq); 212 formdata.append("bsmSlsq", Vue.prototype.$currentRoute.query.bsmSlsq);
213 if (Vue.prototype.$currentRoute.query.sqywbm == "DJBBL") {
214 formdata.append("bsmSldy", this.formData.bsmRepair);
215 formdata.append("clfl", 3);
216 } else {
217 formdata.append("bsmSldy", this.formData.unitData[0]?.bsmSldy);
214 formdata.append("clfl", 2); 218 formdata.append("clfl", 2);
219 }
215 InitClml(formdata).then((res) => { 220 InitClml(formdata).then((res) => {
216 if (res.code == 200) { 221 if (res.code == 200) {
217 resolve(res.code) 222 resolve(res.code)
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-12 14:20:58
5 -->
6 <template> 1 <template>
7 <div> 2 <iframe :src="'http://192.168.2.22:8020/#/' + formData.bsmZd" frameborder="0" style="width: 100%; height:710px;"></iframe>
8 图形定位
9 </div>
10 </template> 3 </template>
11 <script> 4 <script>
12 export default { 5 export default {
13 props: { 6 props: {
14 formData: { 7 formData: {
15 type: Object, 8 type: Object,
16 default: {} 9 default: () => {
10 return {}
17 } 11 }
18 },
19 data () {
20 return {
21 } 12 }
22 },
23 methods: {
24 } 13 }
25 } 14 }
26 </script> 15 </script>
...\ No newline at end of file ...\ No newline at end of file
27 <style scoped lang='scss'>
28 </style>
...\ No newline at end of file ...\ No newline at end of file
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-28 15:47:25 4 * @LastEditTime: 2023-08-10 15:20:52
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -154,7 +154,27 @@ ...@@ -154,7 +154,27 @@
154 context.fillText(line, 138, y + (index * 20)); // 调整行高 154 context.fillText(line, 138, y + (index * 20)); // 调整行高
155 }) 155 })
156 }) 156 })
157 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 580, 100); 157
158 let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split(' ') : [];
159 lines1.forEach((line, index) => {
160 const y = 100 + (index * 37); // 每行文本的垂直位置
161 let currentLine = '';
162 let arr = [];
163 for (let word of line) {
164 const testLine = currentLine + word;
165 const lineWidth = context.measureText(testLine).width;
166 if (lineWidth <= 395) {
167 currentLine = testLine;
168 } else {
169 arr.push(currentLine);
170 currentLine = word;
171 }
172 }
173 arr.push(currentLine);
174 arr.forEach((line, index) => {
175 context.fillText(line, 580, y + (index * 20)); // 调整行高
176 })
177 })
158 } 178 }
159 image.src = this.imgSrc 179 image.src = this.imgSrc
160 }, 180 },
......
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
......
...@@ -485,8 +485,19 @@ ...@@ -485,8 +485,19 @@
485 // this.taskList =this.formData.allCommentList; 485 // this.taskList =this.formData.allCommentList;
486 // 处理数据之后赋值 486 // 处理数据之后赋值
487 this.taskCommentList = this.taskList; 487 this.taskCommentList = this.taskList;
488 this.taskCommentList=this.taskCommentList.sort(this.sortDownDate)
488 }, 489 },
490 /**
491 * 时间排序函数
492 * @description: formatDate
493 * @param {*} row
494 * @param {*} column
495 * @author: renchao
496 */
489 497
498 sortDownDate(a, b) {
499 return Date.parse(a.createTime) - Date.parse(b.createTime);
500 },
490 // 设置流程图元素状态 501 // 设置流程图元素状态
491 /** 502 /**
492 * @description: 设置流程图元素状态 503 * @description: 设置流程图元素状态
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 17:41:49 4 * @LastEditTime: 2023-08-04 13:26:31
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -141,7 +141,6 @@ ...@@ -141,7 +141,6 @@
141 }, 141 },
142 gyfs: { 142 gyfs: {
143 handler (newVal, oldValue) { 143 handler (newVal, oldValue) {
144 console.log(newVal, 'newValnewValnewValnewVal', this.tableData);
145 let dataList = _.cloneDeep(this.InformationTable) 144 let dataList = _.cloneDeep(this.InformationTable)
146 if (newVal == 0) { 145 if (newVal == 0) {
147 this.column = _.cloneDeep(dataList) 146 this.column = _.cloneDeep(dataList)
...@@ -189,6 +188,8 @@ ...@@ -189,6 +188,8 @@
189 if (this.gyfs == '0' && this.tableDataList.length > 0) { 188 if (this.gyfs == '0' && this.tableDataList.length > 0) {
190 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") 189 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
191 } else { 190 } else {
191 this.key++
192 this.details = {}
192 this.dialog = true 193 this.dialog = true
193 this.isaddupdate = true 194 this.isaddupdate = true
194 } 195 }
......
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 }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <i class="el-icon-question invalid-icon"></i> 9 <i class="el-icon-question invalid-icon"></i>
10 <div class="invalid-body">您是否确定终止该业务办理?</div> 10 <div class="invalid-body">您是否确定终止该业务办理?</div>
11 </div> 11 </div>
12 <div class="invalid-reson">终止原因:</div> 12 <div class="invalid-reson">退件原因:</div>
13 <el-input 13 <el-input
14 v-model="stopMessage" 14 v-model="stopMessage"
15 placeholder="请输入终止原因" 15 placeholder="请输入终止原因"
......
...@@ -255,6 +255,7 @@ ...@@ -255,6 +255,7 @@
255 255
256 .card_padding { 256 .card_padding {
257 padding-top: 8px; 257 padding-top: 8px;
258 font-size: 16px;
258 } 259 }
259 260
260 .invalid-diglog { 261 .invalid-diglog {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 14:20:17 4 * @LastEditTime: 2023-08-10 09:34:25
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";
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
36 batchButtonName: '', 36 batchButtonName: '',
37 // 受理申请信息 37 // 受理申请信息
38 slsq: {}, 38 slsq: {},
39 dqhj:"" 39 dqhj: ""
40 } 40 }
41 }, 41 },
42 mounted () { 42 mounted () {
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
58 stepExpandInfo(formdata).then((res) => { 58 stepExpandInfo(formdata).then((res) => {
59 if (res.code === 200) { 59 if (res.code === 200) {
60 this.leftButtonList = res.result.button; 60 this.leftButtonList = res.result.button;
61 if (res.result.properties&&res.result.properties.length) { 61 if (res.result.properties && res.result.properties.length) {
62 this.dqhj = res.result.properties[0].value 62 this.dqhj = res.result.properties[0].value
63 } 63 }
64 this.rightButtonList = res.result.operation; 64 this.rightButtonList = res.result.operation;
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
91 finishedInfo: { 91 finishedInfo: {
92 finishedTaskSet: result.finishedActivityIds, 92 finishedTaskSet: result.finishedActivityIds,
93 unfinishedTaskSet: result.runningActivityIds, 93 unfinishedTaskSet: result.runningActivityIds,
94 rejectedTaskSet: {}, 94 rejectedTaskSet: result.rejectedActivityIds,
95 finishedSequenceFlowSet: result.finishedSequenceFlowIds 95 finishedSequenceFlowSet: result.finishedSequenceFlowIds
96 }, 96 },
97 handlinglist: result.runningTasks, 97 handlinglist: result.runningTasks,
...@@ -160,8 +160,8 @@ export default { ...@@ -160,8 +160,8 @@ export default {
160 if (res.code === 200) { 160 if (res.code === 200) {
161 this.$popupDialog('楼盘表', 'lpb/index', { 161 this.$popupDialog('楼盘表', 'lpb/index', {
162 bsm: res.result[0], 162 bsm: res.result[0],
163 onlyShow:false, 163 onlyShow: false,
164 unitData:window.unitData 164 unitData: window.unitData
165 }, '90%', true) 165 }, '90%', true)
166 } else { 166 } else {
167 this.$message.error(res.message) 167 this.$message.error(res.message)
...@@ -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', {}, '60%', 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", {
...@@ -281,7 +281,7 @@ export default { ...@@ -281,7 +281,7 @@ export default {
281 */ 281 */
282 sendToNext (obj) { 282 sendToNext (obj) {
283 this.$popupDialog("转出", "djbworkflow/components/zc", { 283 this.$popupDialog("转出", "djbworkflow/components/zc", {
284 obj:obj, 284 obj: obj,
285 bsmSlsq: this.bsmSlsq, 285 bsmSlsq: this.bsmSlsq,
286 tabList: this.tabList 286 tabList: this.tabList
287 }, '800px', true) 287 }, '800px', true)
...@@ -294,7 +294,7 @@ export default { ...@@ -294,7 +294,7 @@ export default {
294 */ 294 */
295 sendToEnd (obj) { 295 sendToEnd (obj) {
296 this.$popupDialog("转出", "djbworkflow/components/zc", { 296 this.$popupDialog("转出", "djbworkflow/components/zc", {
297 obj:"", 297 obj: "",
298 bsmSlsq: this.bsmSlsq, 298 bsmSlsq: this.bsmSlsq,
299 tabList: this.tabList 299 tabList: this.tabList
300 }, '800px', true) 300 }, '800px', true)
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-25 16:15:39 4 * @LastEditTime: 2023-08-09 14:54:20
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
64 <script> 64 <script>
65 import WorkFlow from "./mixin/index" 65 import WorkFlow from "./mixin/index"
66 import publicFlow from "./mixin/public.js" 66 import publicFlow from "./mixin/public.js"
67 import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js" 67 import { getStepFormInfo, unClaimTask, getZdInfo } from "@/api/workFlow.js"
68 import { getForm } from "./flowform" 68 import { getForm } from "./flowform"
69 import NoticeBar from "@/components/NoticeBar/index" 69 import NoticeBar from "@/components/NoticeBar/index"
70 // import ProcessViewer from "./components/processViewer.vue" 70 // import ProcessViewer from "./components/processViewer.vue"
...@@ -108,7 +108,9 @@ ...@@ -108,7 +108,9 @@
108 clxxTab: {}, 108 clxxTab: {},
109 ableOperation: false, 109 ableOperation: false,
110 //页面监听时间 110 //页面监听时间
111 _beforeUnload_time: "" 111 _beforeUnload_time: "",
112 // 宗地id
113 bsmZd: ''
112 } 114 }
113 }, 115 },
114 mounted () { 116 mounted () {
...@@ -131,6 +133,13 @@ ...@@ -131,6 +133,13 @@
131 */ 133 */
132 getCurrentSelectProps (val) { 134 getCurrentSelectProps (val) {
133 this.currentSelectProps = val 135 this.currentSelectProps = val
136
137 getZdInfo(val.bdcdyid).then(res => {
138 this.bsmZd = res?.result[0]?.bsmZd
139 })
140 // getZdInfo(val.bdcdyid).then(res => {
141 // this.bsmZd = res?.result[0]?.bsmZd
142 // })
134 }, 143 },
135 /** 144 /**
136 * @description: beforeunloadHandler 145 * @description: beforeunloadHandler
...@@ -210,7 +219,7 @@ ...@@ -210,7 +219,7 @@
210 * @param {*} handleClick 219 * @param {*} handleClick
211 * @author: renchao 220 * @author: renchao
212 */ 221 */
213 handleClick(a) { 222 handleClick (a) {
214 let p = Object.keys(this.tabList[0]).filter( 223 let p = Object.keys(this.tabList[0]).filter(
215 (item) => item == "ableOperation" 224 (item) => item == "ableOperation"
216 ); 225 );
...@@ -222,10 +231,10 @@ ...@@ -222,10 +231,10 @@
222 } 231 }
223 </script> 232 </script>
224 <style scoped lang="scss"> 233 <style scoped lang="scss">
225 .rightContainer { 234 .rightContainer {
226 position: relative; 235 position: relative;
227 } 236 }
228 .count { 237 .count {
229 font-size: 14px; 238 font-size: 14px;
230 position: absolute; 239 position: absolute;
231 right: 25px; 240 right: 25px;
...@@ -235,5 +244,5 @@ ...@@ -235,5 +244,5 @@
235 font-weight: 600; 244 font-weight: 600;
236 color: #3498db; 245 color: #3498db;
237 } 246 }
238 } 247 }
239 </style> 248 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-13 10:32:28 4 * @LastEditTime: 2023-08-09 10:36:14
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 </el-input> 21 </el-input>
22 </el-form-item> 22 </el-form-item>
23 </el-col> 23 </el-col>
24 <el-col :span="4" class="btnColRight"> 24 <el-col :span="14" class="btnColRight">
25 <el-form-item> 25 <el-form-item>
26 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 26 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
27 </el-form-item> 27 </el-form-item>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-04-18 14:28:42 4 * @LastEditTime: 2023-08-09 10:36:31
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -30,7 +30,7 @@ class data extends filter { ...@@ -30,7 +30,7 @@ class data extends filter {
30 { 30 {
31 prop: "ywlx", 31 prop: "ywlx",
32 label: "业务类型", 32 label: "业务类型",
33 width: '90' 33 width: '100'
34 }, 34 },
35 { 35 {
36 prop: "cwdm", 36 prop: "cwdm",
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-24 15:06:24 4 * @LastEditTime: 2023-08-08 14:32:47
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -43,14 +43,6 @@ class data extends filter { ...@@ -43,14 +43,6 @@ class data extends filter {
43 return <div class='suspend'>异议挂起</div> 43 return <div class='suspend'>异议挂起</div>
44 } 44 }
45 return <div class='allow'>进行中</div> 45 return <div class='allow'>进行中</div>
46 // switch (scope.row.lczt) {
47 // case '1':
48 // return <div class='allow'>进行中</div>
49 // case '2':
50 // return <div class='prohibit'>已结束</div>
51 // case '3':
52 // return <div class='allow'>进行中</div>
53 // }
54 } 46 }
55 }, 47 },
56 { 48 {
...@@ -80,11 +72,13 @@ class data extends filter { ...@@ -80,11 +72,13 @@ class data extends filter {
80 prop: "qlrmc", 72 prop: "qlrmc",
81 label: "权利人", 73 label: "权利人",
82 width: '120', 74 width: '120',
75 showOverflowTooltip: true
83 }, 76 },
84 { 77 {
85 prop: "ywrmc", 78 prop: "ywrmc",
86 label: "义务人", 79 label: "义务人",
87 width: '120', 80 width: '120',
81 showOverflowTooltip: true
88 }, 82 },
89 { 83 {
90 prop: "zl", 84 prop: "zl",
......
1 import { log } from "bpmn-js-token-simulation"
2
1 /* 3 /*
2 * @Description: 4 * @Description:
3 * @Autor: renchao 5 * @Autor: renchao
...@@ -11,6 +13,7 @@ export default { ...@@ -11,6 +13,7 @@ export default {
11 watch: { 13 watch: {
12 'ruleForm.sldy.gyfs': { 14 'ruleForm.sldy.gyfs': {
13 handler: function (val, oldVal) { 15 handler: function (val, oldVal) {
16 console.log("单独所有",val,oldVal);
14 if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) { 17 if (val == '0' && this.ruleForm.qlrList.length > 1 && oldVal) {
15 this.ruleForm.sldy.gyfs = oldVal 18 this.ruleForm.sldy.gyfs = oldVal
16 this.$message({ 19 this.$message({
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
82 </el-col> 82 </el-col>
83 <el-col :span="8"> 83 <el-col :span="8">
84 <el-form-item label="坐落:"> 84 <el-form-item label="坐落:">
85 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input> 85 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
88 </el-row> 88 </el-row>
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-02 08:40:35 4 * @LastEditTime: 2023-08-04 16:33:46
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 </el-col> 58 </el-col>
59 <el-col :span="16"> 59 <el-col :span="16">
60 <el-form-item label="坐落:"> 60 <el-form-item label="坐落:">
61 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 61 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 </el-row> 64 </el-row>
...@@ -126,7 +126,6 @@ ...@@ -126,7 +126,6 @@
126 </el-form-item> 126 </el-form-item>
127 </el-col> 127 </el-col>
128 128
129
130 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 129 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
131 <el-form-item label="是否分别持证:"> 130 <el-form-item label="是否分别持证:">
132 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> 131 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
...@@ -205,7 +204,7 @@ ...@@ -205,7 +204,7 @@
205 } 204 }
206 }); 205 });
207 }, 206 },
208 components: { qlrCommonTable, tdytTable ,fdcqxmTable}, 207 components: { qlrCommonTable, tdytTable, fdcqxmTable },
209 computed: { 208 computed: {
210 ...mapGetters(["dictData", "flag"]), 209 ...mapGetters(["dictData", "flag"]),
211 }, 210 },
...@@ -283,6 +282,15 @@ ...@@ -283,6 +282,15 @@
283 * @author: renchao 282 * @author: renchao
284 */ 283 */
285 onSubmit () { 284 onSubmit () {
285 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
286 if (arr.length > 0) {
287 this.$message({
288 showClose: true,
289 message: "土地用途不能为空",
290 type: "error",
291 });
292 return false;
293 }
286 saveData(this.ruleForm).then((res) => { 294 saveData(this.ruleForm).then((res) => {
287 if (res.code === 200) { 295 if (res.code === 200) {
288 this.$message({ 296 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:53:43 4 * @LastEditTime: 2023-08-04 16:32:05
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
53 <el-row :gutter="10" v-if="ruleForm.qlxx"> 53 <el-row :gutter="10" v-if="ruleForm.qlxx">
54 <el-col :span="8"> 54 <el-col :span="8">
55 <el-form-item label="不动产单元号:"> 55 <el-form-item label="不动产单元号:">
56 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 56 <el-input disabled v-model="ruleForm.sldy.bdcdyh"></el-input>
57 </el-form-item> 57 </el-form-item>
58 </el-col> 58 </el-col>
59 <el-col :span="16"> 59 <el-col :span="16">
60 <el-form-item label="坐落:"> 60 <el-form-item label="坐落:">
61 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 61 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 </el-row> 64 </el-row>
...@@ -227,7 +227,7 @@ ...@@ -227,7 +227,7 @@
227 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" 227 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
228 :gyfs="ruleForm.slsq.gyfs" /> 228 :gyfs="ruleForm.slsq.gyfs" />
229 229
230 <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'"> 230 <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'">
231 <div class="slxx_title title-block"> 231 <div class="slxx_title title-block">
232 义务人信息 232 义务人信息
233 <div class="triangle"></div> 233 <div class="triangle"></div>
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:46:35 4 * @LastEditTime: 2023-08-04 16:32:08
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 </el-col> 60 </el-col>
61 <el-col :span="16"> 61 <el-col :span="16">
62 <el-form-item label="坐落:"> 62 <el-form-item label="坐落:">
63 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 63 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
64 </el-form-item> 64 </el-form-item>
65 </el-col> 65 </el-col>
66 </el-row> 66 </el-row>
...@@ -392,6 +392,15 @@ ...@@ -392,6 +392,15 @@
392 * @author: renchao 392 * @author: renchao
393 */ 393 */
394 onSubmit () { 394 onSubmit () {
395 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
396 if (arr.length > 0) {
397 this.$message({
398 showClose: true,
399 message: "土地用途不能为空",
400 type: "error",
401 });
402 return false;
403 }
395 saveData(this.ruleForm).then((res) => { 404 saveData(this.ruleForm).then((res) => {
396 if (res.code === 200) { 405 if (res.code === 200) {
397 this.$message({ 406 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 18:14:28 4 * @LastEditTime: 2023-08-04 15:45:47
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -293,6 +293,15 @@ ...@@ -293,6 +293,15 @@
293 * @author: renchao 293 * @author: renchao
294 */ 294 */
295 onSubmit () { 295 onSubmit () {
296 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
297 if (arr.length > 0) {
298 this.$message({
299 showClose: true,
300 message: "土地用途不能为空",
301 type: "error",
302 });
303 return false;
304 }
296 fristReg(this.ruleForm).then((res) => { 305 fristReg(this.ruleForm).then((res) => {
297 if (res.code === 200 && res.result) { 306 if (res.code === 200 && res.result) {
298 console.log(res); 307 console.log(res);
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 08:45:57 4 * @LastEditTime: 2023-08-04 16:31:38
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 </el-col> 60 </el-col>
61 <el-col :span="8"> 61 <el-col :span="8">
62 <el-form-item label="不动产单元号:"> 62 <el-form-item label="不动产单元号:">
63 <el-input v-model="ruleForm.zdjbxx.bdcdyh"></el-input> 63 <el-input v-model="ruleForm.sldy.bdcdyh"></el-input>
64 </el-form-item> 64 </el-form-item>
65 </el-col> 65 </el-col>
66 <el-col :span="8"> 66 <el-col :span="8">
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
113 113
114 <el-col :span="16"> 114 <el-col :span="16">
115 <el-form-item label="坐落:"> 115 <el-form-item label="坐落:">
116 <el-input v-model="ruleForm.zdjbxx.zl"></el-input> 116 <el-input v-model="ruleForm.sldy.zl"></el-input>
117 </el-form-item> 117 </el-form-item>
118 </el-col> 118 </el-col>
119 </el-row> 119 </el-row>
...@@ -179,8 +179,8 @@ ...@@ -179,8 +179,8 @@
179 placeholder="持证人" 179 placeholder="持证人"
180 :disabled="!ableOperation"> 180 :disabled="!ableOperation">
181 <el-option 181 <el-option
182 v-for="item in czrOptions" 182 v-for="(item,index) in czrOptions"
183 :key="item.zjh" 183 :key="index"
184 :label="item.sqrmc" 184 :label="item.sqrmc"
185 :value="item.zjh"> 185 :value="item.zjh">
186 </el-option> 186 </el-option>
...@@ -276,7 +276,6 @@ ...@@ -276,7 +276,6 @@
276 } 276 }
277 }, 277 },
278 methods: { 278 methods: {
279 // 更新土地用途信息
280 /** 279 /**
281 * @description: 更新土地用途信息 280 * @description: 更新土地用途信息
282 * @param {*} val 281 * @param {*} val
...@@ -312,6 +311,16 @@ ...@@ -312,6 +311,16 @@
312 * @author: renchao 311 * @author: renchao
313 */ 312 */
314 onSubmit () { 313 onSubmit () {
314 let that = this
315 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
316 if (arr.length > 0) {
317 this.$message({
318 showClose: true,
319 message: "土地用途不能为空",
320 type: "error",
321 });
322 return false;
323 }
315 if (this.ruleForm.qlrList.length == 0) { 324 if (this.ruleForm.qlrList.length == 0) {
316 this.$message({ 325 this.$message({
317 showClose: true, 326 showClose: true,
...@@ -320,7 +329,6 @@ ...@@ -320,7 +329,6 @@
320 }); 329 });
321 return false; 330 return false;
322 } 331 }
323
324 if (this.ruleForm.sldy.gyfs == "0") { 332 if (this.ruleForm.sldy.gyfs == "0") {
325 if (this.ruleForm.qlrList.length > 1) { 333 if (this.ruleForm.qlrList.length > 1) {
326 this.$message({ 334 this.$message({
...@@ -331,21 +339,37 @@ ...@@ -331,21 +339,37 @@
331 return false; 339 return false;
332 } 340 }
333 this.ruleForm.qlrList[0].sfczr = "1"; 341 this.ruleForm.qlrList[0].sfczr = "1";
342 } else {
343 if (this.ruleForm.qlrList.length <= 1) {
344 this.$message({
345 showClose: true,
346 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
347 type: "error",
348 });
349 return false;
334 } 350 }
335 if (this.ruleForm.sldy.gyfs == "1") {
336 //是否分别持证 351 //是否分别持证
337 if (this.ruleForm.sldy.sqfbcz == '1') { //是 352 if (this.ruleForm.sldy.sqfbcz == "1") {
353 //是
338 this.ruleForm.qlrList.forEach((item, index) => { 354 this.ruleForm.qlrList.forEach((item, index) => {
339 item.sfczr = "1" 355 item.sfczr = "1";
340 }); 356 });
341 } else { 357 } else {
358 if (!that.ruleForm.czr) {
359 that.$message({
360 showClose: true,
361 message: "请选择持证人",
362 type: "error",
363 });
364 return false;
365 }
342 this.ruleForm.qlrList.forEach((item, index) => { 366 this.ruleForm.qlrList.forEach((item, index) => {
343 if (item.zjh == this.ruleForm.czr) { 367 if (item.zjh == this.ruleForm.czr) {
344 item.sfczr = "1" 368 item.sfczr = "1";
345 } else { 369 } else {
346 item.sfczr = "0" 370 item.sfczr = "0";
347 } 371 }
348 }) 372 });
349 } 373 }
350 } 374 }
351 /** 375 /**
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <!-- 2 <!--
3 * @Description: 3 * @Description:
4 * @Autor: renchao 4 * @Autor: renchao
5 * @LastEditTime: 2023-08-02 08:45:44 5 * @LastEditTime: 2023-08-04 16:32:14
6 --> 6 -->
7 <template> 7 <template>
8 <!-- 受理信息 --> 8 <!-- 受理信息 -->
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
116 116
117 <el-col :span="16"> 117 <el-col :span="16">
118 <el-form-item label="坐落:"> 118 <el-form-item label="坐落:">
119 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 119 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
120 </el-form-item> 120 </el-form-item>
121 </el-col> 121 </el-col>
122 </el-row> 122 </el-row>
...@@ -280,6 +280,15 @@ ...@@ -280,6 +280,15 @@
280 * @author: renchao 280 * @author: renchao
281 */ 281 */
282 onSubmit () { 282 onSubmit () {
283 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
284 if (arr.length > 0) {
285 this.$message({
286 showClose: true,
287 message: "土地用途不能为空",
288 type: "error",
289 });
290 return false;
291 }
283 saveData(this.ruleForm).then((res) => { 292 saveData(this.ruleForm).then((res) => {
284 if (res.code === 200) { 293 if (res.code === 200) {
285 this.$message({ 294 this.$message({
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-03 14:37:14 4 * @LastEditTime: 2023-08-04 15:46:17
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
11 ref="ruleForm" 11 ref="ruleForm"
12 :label-position="flag ? 'top' : ''" 12 :label-position="flag ? 'top' : ''"
13 :inline="flag" 13 :inline="flag"
14 label-width="140px" 14 label-width="140px">
15 >
16 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 15 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
17 <div class="slxx_title title-block"> 16 <div class="slxx_title title-block">
18 受理信息 17 受理信息
...@@ -64,7 +63,7 @@ ...@@ -64,7 +63,7 @@
64 </el-col> 63 </el-col>
65 <el-col :span="16"> 64 <el-col :span="16">
66 <el-form-item label="坐落:"> 65 <el-form-item label="坐落:">
67 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 66 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
68 </el-form-item> 67 </el-form-item>
69 </el-col> 68 </el-col>
70 </el-row> 69 </el-row>
...@@ -155,8 +154,7 @@ ...@@ -155,8 +154,7 @@
155 <tdytTable 154 <tdytTable
156 :ableOperation="ableOperation" 155 :ableOperation="ableOperation"
157 :tableData="ruleForm.tdytqxList" 156 :tableData="ruleForm.tdytqxList"
158 @upDateTdytxxList="upDateTdytxxList" 157 @upDateTdytxxList="upDateTdytxxList" />
159 />
160 <div class="slxx_title title-block"> 158 <div class="slxx_title title-block">
161 权利人信息 159 权利人信息
162 <div class="triangle"></div> 160 <div class="triangle"></div>
...@@ -166,8 +164,7 @@ ...@@ -166,8 +164,7 @@
166 <el-form-item label="共有方式:"> 164 <el-form-item label="共有方式:">
167 <el-radio-group 165 <el-radio-group
168 :disabled="!ableOperation" 166 :disabled="!ableOperation"
169 v-model="ruleForm.sldy.gyfs" 167 v-model="ruleForm.sldy.gyfs">
170 >
171 <el-radio label="0">单独所有</el-radio> 168 <el-radio label="0">单独所有</el-radio>
172 <el-radio label="1">共同共有</el-radio> 169 <el-radio label="1">共同共有</el-radio>
173 <el-radio label="2">按份所有</el-radio> 170 <el-radio label="2">按份所有</el-radio>
...@@ -188,8 +185,7 @@ ...@@ -188,8 +185,7 @@
188 <el-form-item label="是否分别持证:"> 185 <el-form-item label="是否分别持证:">
189 <el-radio-group 186 <el-radio-group
190 v-model="ruleForm.sldy.sqfbcz" 187 v-model="ruleForm.sldy.sqfbcz"
191 :disabled="!ableOperation" 188 :disabled="!ableOperation">
192 >
193 <el-radio label="1"></el-radio> 189 <el-radio label="1"></el-radio>
194 <el-radio label="0"></el-radio> 190 <el-radio label="0"></el-radio>
195 </el-radio-group> 191 </el-radio-group>
...@@ -200,14 +196,12 @@ ...@@ -200,14 +196,12 @@
200 <el-select 196 <el-select
201 v-model="ruleForm.slsq.czr" 197 v-model="ruleForm.slsq.czr"
202 placeholder="持证人" 198 placeholder="持证人"
203 :disabled="!ableOperation" 199 :disabled="!ableOperation">
204 >
205 <el-option 200 <el-option
206 v-for="item in czrOptions" 201 v-for="item in czrOptions"
207 :key="item.value" 202 :key="item.value"
208 :label="item.label" 203 :label="item.label"
209 :value="item.value" 204 :value="item.value">
210 >
211 </el-option> 205 </el-option>
212 </el-select> 206 </el-select>
213 </el-form-item> 207 </el-form-item>
...@@ -217,8 +211,7 @@ ...@@ -217,8 +211,7 @@
217 @upDateQlrxxList="upDateQlrxxList" 211 @upDateQlrxxList="upDateQlrxxList"
218 :tableData="ruleForm.qlrList" 212 :tableData="ruleForm.qlrList"
219 :disabled="!ableOperation" 213 :disabled="!ableOperation"
220 :gyfs="ruleForm.slsq.gyfs" 214 :gyfs="ruleForm.slsq.gyfs" />
221 />
222 215
223 <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'"> 216 <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'">
224 <div class="slxx_title title-block"> 217 <div class="slxx_title title-block">
...@@ -229,8 +222,7 @@ ...@@ -229,8 +222,7 @@
229 v-if="ruleForm.qlxx" 222 v-if="ruleForm.qlxx"
230 @upDateQlrxxList="upDateYwrxxList" 223 @upDateQlrxxList="upDateYwrxxList"
231 :tableData="ruleForm.ywrList" 224 :tableData="ruleForm.ywrList"
232 :gyfs="ruleForm.qlxx.gyfs" 225 :gyfs="ruleForm.qlxx.gyfs" />
233 />
234 </div> 226 </div>
235 <div class="slxx_title title-block"> 227 <div class="slxx_title title-block">
236 登记原因 228 登记原因
...@@ -243,8 +235,7 @@ ...@@ -243,8 +235,7 @@
243 class="textArea" 235 class="textArea"
244 type="textarea" 236 type="textarea"
245 :disabled="!ableOperation" 237 :disabled="!ableOperation"
246 v-model="ruleForm.lq.djyy" 238 v-model="ruleForm.lq.djyy">
247 >
248 </el-input> 239 </el-input>
249 </el-form-item> 240 </el-form-item>
250 </el-col> 241 </el-col>
...@@ -259,14 +250,14 @@ ...@@ -259,14 +250,14 @@
259 </div> 250 </div>
260 </template> 251 </template>
261 <script> 252 <script>
262 import ywmix from "@/views/ywbl/mixin/index"; 253 import ywmix from "@/views/ywbl/mixin/index";
263 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 254 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
264 import tdytTable from "@/views/workflow/components/tdytTable"; 255 import tdytTable from "@/views/workflow/components/tdytTable";
265 import { Init, saveData } from "@/api/workflow/lqFlow.js"; 256 import { Init, saveData } from "@/api/workflow/lqFlow.js";
266 import { mapGetters } from "vuex"; 257 import { mapGetters } from "vuex";
267 export default { 258 export default {
268 mixins: [ywmix], 259 mixins: [ywmix],
269 mounted() { 260 mounted () {
270 this.ableOperation = this.$parent.currentSelectTab.ableOperation; 261 this.ableOperation = this.$parent.currentSelectTab.ableOperation;
271 this.propsParam = this.$attrs; 262 this.propsParam = this.$attrs;
272 var formdata = new FormData(); 263 var formdata = new FormData();
...@@ -290,7 +281,7 @@ export default { ...@@ -290,7 +281,7 @@ export default {
290 computed: { 281 computed: {
291 ...mapGetters(["dictData", "flag"]), 282 ...mapGetters(["dictData", "flag"]),
292 }, 283 },
293 data() { 284 data () {
294 return { 285 return {
295 disabled: true, 286 disabled: true,
296 tdytOption: [], 287 tdytOption: [],
...@@ -328,7 +319,7 @@ export default { ...@@ -328,7 +319,7 @@ export default {
328 * @param {*} val 319 * @param {*} val
329 * @author: renchao 320 * @author: renchao
330 */ 321 */
331 upDateTdytxxList(val) { 322 upDateTdytxxList (val) {
332 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 323 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
333 this.key++; 324 this.key++;
334 }, 325 },
...@@ -338,7 +329,7 @@ export default { ...@@ -338,7 +329,7 @@ export default {
338 * @param {*} val 329 * @param {*} val
339 * @author: renchao 330 * @author: renchao
340 */ 331 */
341 upDateQlrxxList(val) { 332 upDateQlrxxList (val) {
342 this.ruleForm.qlrList = _.cloneDeep(val); 333 this.ruleForm.qlrList = _.cloneDeep(val);
343 }, 334 },
344 // 更新权利人信息 335 // 更新权利人信息
...@@ -347,14 +338,23 @@ export default { ...@@ -347,14 +338,23 @@ export default {
347 * @param {*} val 338 * @param {*} val
348 * @author: renchao 339 * @author: renchao
349 */ 340 */
350 upDateYwrxxList(val) { 341 upDateYwrxxList (val) {
351 this.ruleForm.ywrList = _.cloneDeep(val); 342 this.ruleForm.ywrList = _.cloneDeep(val);
352 }, 343 },
353 /** 344 /**
354 * @description: onSubmit 345 * @description: onSubmit
355 * @author: renchao 346 * @author: renchao
356 */ 347 */
357 onSubmit() { 348 onSubmit () {
349 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
350 if (arr.length > 0) {
351 this.$message({
352 showClose: true,
353 message: "土地用途不能为空",
354 type: "error",
355 });
356 return false;
357 }
358 saveData(this.ruleForm).then((res) => { 358 saveData(this.ruleForm).then((res) => {
359 if (res.code === 200) { 359 if (res.code === 200) {
360 this.$message({ 360 this.$message({
...@@ -373,55 +373,55 @@ export default { ...@@ -373,55 +373,55 @@ export default {
373 }); 373 });
374 }, 374 },
375 }, 375 },
376 }; 376 };
377 </script> 377 </script>
378 <style scoped lang="scss"> 378 <style scoped lang="scss">
379 @import "~@/styles/public.scss"; 379 @import "~@/styles/public.scss";
380 380
381 /deep/.el-form { 381 /deep/.el-form {
382 display: flex; 382 display: flex;
383 flex-direction: column; 383 flex-direction: column;
384 height: calc(100vh - 130px); 384 height: calc(100vh - 130px);
385 } 385 }
386 386
387 /deep/.el-form-item__label { 387 /deep/.el-form-item__label {
388 padding: 0; 388 padding: 0;
389 } 389 }
390 390
391 /deep/.el-radio { 391 /deep/.el-radio {
392 margin-right: 10px; 392 margin-right: 10px;
393 } 393 }
394 394
395 /deep/.el-select { 395 /deep/.el-select {
396 width: 100%; 396 width: 100%;
397 } 397 }
398 398
399 /deep/.el-form-item { 399 /deep/.el-form-item {
400 margin-bottom: 8px; 400 margin-bottom: 8px;
401 } 401 }
402 402
403 .marginBot0 { 403 .marginBot0 {
404 margin-bottom: 0 !important; 404 margin-bottom: 0 !important;
405 } 405 }
406 406
407 .slxx { 407 .slxx {
408 box-sizing: border-box; 408 box-sizing: border-box;
409 } 409 }
410 410
411 .slxx_con { 411 .slxx_con {
412 flex: 1; 412 flex: 1;
413 height: 100%; 413 height: 100%;
414 background-color: #ffffff; 414 background-color: #ffffff;
415 overflow-y: auto; 415 overflow-y: auto;
416 padding-right: 3px; 416 padding-right: 3px;
417 overflow-x: hidden; 417 overflow-x: hidden;
418 } 418 }
419 419
420 .submit_btn { 420 .submit_btn {
421 height: 50px; 421 height: 50px;
422 } 422 }
423 423
424 .slxx_title { 424 .slxx_title {
425 border-bottom: 1px solid $borderColor; 425 border-bottom: 1px solid $borderColor;
426 padding-left: 10px; 426 padding-left: 10px;
427 padding-bottom: 5px; 427 padding-bottom: 5px;
...@@ -430,23 +430,23 @@ export default { ...@@ -430,23 +430,23 @@ export default {
430 font-size: 16px; 430 font-size: 16px;
431 font-weight: 500; 431 font-weight: 500;
432 color: #4a4a4a; 432 color: #4a4a4a;
433 } 433 }
434 434
435 .btn { 435 .btn {
436 text-align: center; 436 text-align: center;
437 padding-top: 10px; 437 padding-top: 10px;
438 height: 36px; 438 height: 36px;
439 background-color: #ffffff; 439 background-color: #ffffff;
440 padding: 5px 0; 440 padding: 5px 0;
441 } 441 }
442 442
443 .textArea { 443 .textArea {
444 /deep/.el-textarea__inner { 444 /deep/.el-textarea__inner {
445 min-height: 90px !important; 445 min-height: 90px !important;
446 } 446 }
447 } 447 }
448 448
449 /deep/.el-form-item__label { 449 /deep/.el-form-item__label {
450 padding-bottom: 0px; 450 padding-bottom: 0px;
451 } 451 }
452 </style> 452 </style>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 <el-row :gutter="10"> 83 <el-row :gutter="10">
84 <el-col :span="16"> 84 <el-col :span="16">
85 <el-form-item label="坐落:"> 85 <el-form-item label="坐落:">
86 <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> 86 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 </el-row> 89 </el-row>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 <el-row :gutter="10"> 83 <el-row :gutter="10">
84 <el-col :span="16"> 84 <el-col :span="16">
85 <el-form-item label="坐落:"> 85 <el-form-item label="坐落:">
86 <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> 86 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 </el-row> 89 </el-row>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 18:15:20 4 * @LastEditTime: 2023-08-04 15:51:27
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -430,6 +430,16 @@ ...@@ -430,6 +430,16 @@
430 * @author: renchao 430 * @author: renchao
431 */ 431 */
432 onSubmit () { 432 onSubmit () {
433 let that = this
434 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt)
435 if (arr.length > 0) {
436 this.$message({
437 showClose: true,
438 message: "土地用途不能为空",
439 type: "error",
440 });
441 return false;
442 }
433 if (this.ruleForm.qlrList.length == 0) { 443 if (this.ruleForm.qlrList.length == 0) {
434 this.$message({ 444 this.$message({
435 showClose: true, 445 showClose: true,
...@@ -449,8 +459,15 @@ ...@@ -449,8 +459,15 @@
449 return false; 459 return false;
450 } 460 }
451 this.ruleForm.qlrList[0].sfczr = "1"; 461 this.ruleForm.qlrList[0].sfczr = "1";
462 } else {
463 if (this.ruleForm.qlrList.length <= 1) {
464 this.$message({
465 showClose: true,
466 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
467 type: "error",
468 });
469 return false;
452 } 470 }
453 if (this.ruleForm.sldy.gyfs == "1") {
454 //是否分别持证 471 //是否分别持证
455 if (this.ruleForm.sldy.sqfbcz == "1") { 472 if (this.ruleForm.sldy.sqfbcz == "1") {
456 //是 473 //是
...@@ -458,6 +475,14 @@ ...@@ -458,6 +475,14 @@
458 item.sfczr = "1"; 475 item.sfczr = "1";
459 }); 476 });
460 } else { 477 } else {
478 if (!that.ruleForm.czr) {
479 that.$message({
480 showClose: true,
481 message: "请选择持证人",
482 type: "error",
483 });
484 return false;
485 }
461 this.ruleForm.qlrList.forEach((item, index) => { 486 this.ruleForm.qlrList.forEach((item, index) => {
462 if (item.zjh == this.ruleForm.czr) { 487 if (item.zjh == this.ruleForm.czr) {
463 item.sfczr = "1"; 488 item.sfczr = "1";
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
54 </el-col> 54 </el-col>
55 <el-col :span="16"> 55 <el-col :span="16">
56 <el-form-item label="坐落:"> 56 <el-form-item label="坐落:">
57 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 57 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
58 </el-form-item> 58 </el-form-item>
59 </el-col> 59 </el-col>
60 </el-row> 60 </el-row>
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 </el-col> 56 </el-col>
57 <el-col :span="16"> 57 <el-col :span="16">
58 <el-form-item label="坐落:"> 58 <el-form-item label="坐落:">
59 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 59 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
60 </el-form-item> 60 </el-form-item>
61 </el-col> 61 </el-col>
62 </el-row> 62 </el-row>
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
44 </el-row> 44 </el-row>
45 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block" v-if="ruleForm.hlist && ruleForm.hlist.length>0">
46 抵押户信息列表信息({{ruleForm.hlist.length}} 户) 46 抵押户信息列表信息({{ruleForm.hlist.length}} 户)
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
...@@ -51,10 +51,9 @@ ...@@ -51,10 +51,9 @@
51 抵押信息 51 抵押信息
52 <div class="triangle"></div> 52 <div class="triangle"></div>
53 </div> 53 </div>
54 <el-row :gutter="10"> 54 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
55 <el-col :span="8"> 55 <el-col :span="8">
56 <el-form-item label="抵押方式:"> 56 <el-form-item label="抵押方式:">
57 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
58 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs"> 57 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs">
59 <el-radio label="1">一般抵押</el-radio> 58 <el-radio label="1">一般抵押</el-radio>
60 <el-radio label="2">最高额抵押</el-radio> 59 <el-radio label="2">最高额抵押</el-radio>
...@@ -79,7 +78,7 @@ ...@@ -79,7 +78,7 @@
79 </el-col> 78 </el-col>
80 </el-row> 79 </el-row>
81 80
82 <el-row :gutter="10"> 81 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 82 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
84 <el-form-item label="被担保主债权数额:"> 83 <el-form-item label="被担保主债权数额:">
85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input> 84 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
...@@ -114,7 +113,7 @@ ...@@ -114,7 +113,7 @@
114 </el-col> 113 </el-col>
115 </el-row> 114 </el-row>
116 115
117 <el-row> 116 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
118 <el-col :span="24"> 117 <el-col :span="24">
119 <el-form-item label="担保范围:"> 118 <el-form-item label="担保范围:">
120 <el-input v-model="ruleForm.diyaqList[0].dbfw" 119 <el-input v-model="ruleForm.diyaqList[0].dbfw"
...@@ -122,14 +121,14 @@ ...@@ -122,14 +121,14 @@
122 </el-form-item> 121 </el-form-item>
123 </el-col> 122 </el-col>
124 </el-row> 123 </el-row>
125 <el-row> 124 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
126 <el-col :span="24"> 125 <el-col :span="24">
127 <el-form-item label="最高债权确定事实和数额:"> 126 <el-form-item label="最高债权确定事实和数额:">
128 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input> 127 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input>
129 </el-form-item> 128 </el-form-item>
130 </el-col> 129 </el-col>
131 </el-row> 130 </el-row>
132 <el-row> 131 <el-row v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
133 <el-col> 132 <el-col>
134 <el-form-item label="附记:" prop="fj"> 133 <el-form-item label="附记:" prop="fj">
135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input> 134 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input>
...@@ -141,7 +140,7 @@ ...@@ -141,7 +140,7 @@
141 抵押权人信息 140 抵押权人信息
142 <div class="triangle"></div> 141 <div class="triangle"></div>
143 </div> 142 </div>
144 <el-row :gutter="10"> 143 <el-row :gutter="10" v-if="ruleForm.sldyList && ruleForm.sldyList.length>0">
145 <el-col :span="14"> 144 <el-col :span="14">
146 <el-form-item label="共有方式:"> 145 <el-form-item label="共有方式:">
147 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs"> 146 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs">
...@@ -170,7 +169,8 @@ ...@@ -170,7 +169,8 @@
170 </el-form-item> 169 </el-form-item>
171 </el-col> 170 </el-col>
172 </el-row> 171 </el-row>
173 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" /> 172 <qlrCommonTable v-if="ruleForm.sldyList && ruleForm.sldyList.length>0" :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
173 :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" />
174 <div class="slxx_title title-block"> 174 <div class="slxx_title title-block">
175 抵押人信息 175 抵押人信息
176 <div class="triangle"></div> 176 <div class="triangle"></div>
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
181 登记原因 181 登记原因
182 <div class="triangle"></div> 182 <div class="triangle"></div>
183 </div> 183 </div>
184 <el-row :gutter="10"> 184 <el-row :gutter="10" v-if="ruleForm.diyaqList && ruleForm.diyaqList.length>0">
185 <el-col> 185 <el-col>
186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 186 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
187 <el-input class="textArea" type="textarea" :disabled="!ableOperation" 187 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 210 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
211 import { mapGetters } from "vuex"; 211 import { mapGetters } from "vuex";
212 export default { 212 export default {
213 created () { 213 mounted () {
214 this.ableOperation = this.$parent.currentSelectTab.ableOperation 214 this.ableOperation = this.$parent.currentSelectTab.ableOperation
215 this.propsParam = this.$attrs; 215 this.propsParam = this.$attrs;
216 var formdata = new FormData(); 216 var formdata = new FormData();
...@@ -220,9 +220,13 @@ ...@@ -220,9 +220,13 @@
220 formdata.append("djlx", this.propsParam.djlx); 220 formdata.append("djlx", this.propsParam.djlx);
221 formdata.append("isEdit", this.ableOperation); 221 formdata.append("isEdit", this.ableOperation);
222 bacthInit(formdata).then((res) => { 222 bacthInit(formdata).then((res) => {
223 this.$endLoading();
223 if (res.code === 200 && res.result) { 224 if (res.code === 200 && res.result) {
225 this.$nextTick(() => {
224 this.ruleForm = res.result; 226 this.ruleForm = res.result;
225 this.$endLoading(); 227 })
228 } else {
229 this.$message.error(res.message);
226 } 230 }
227 }) 231 })
228 }, 232 },
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item label="坐落:"> 95 <el-form-item label="坐落:">
96 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 96 <el-input disabled v-model="ruleForm.sldy.zl"></el-input>
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 </el-row> 99 </el-row>
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
11 :model="queryForm" 11 :model="queryForm"
12 ref="queryForm" 12 ref="queryForm"
13 @submit.native.prevent 13 @submit.native.prevent
14 label-width="80px"> 14 label-width="80px"
15 >
15 <el-row> 16 <el-row>
16 <el-col :span="5"> 17 <el-col :span="5">
17 <el-form-item label="业务来源" label-width="70px"> 18 <el-form-item label="业务来源" label-width="70px">
...@@ -22,12 +23,14 @@ ...@@ -22,12 +23,14 @@
22 class="width100" 23 class="width100"
23 filterable 24 filterable
24 clearable 25 clearable
25 placeholder="请选择业务来源"> 26 placeholder="请选择业务来源"
27 >
26 <el-option 28 <el-option
27 v-for="item in dictData['ywly']" 29 v-for="item in dictData['ywly']"
28 :key="item.dcode" 30 :key="item.dcode"
29 :label="item.dname" 31 :label="item.dname"
30 :value="item.dcode"> 32 :value="item.dcode"
33 >
31 </el-option> 34 </el-option>
32 </el-select> 35 </el-select>
33 </el-form-item> 36 </el-form-item>
...@@ -41,12 +44,14 @@ ...@@ -41,12 +44,14 @@
41 class="width100" 44 class="width100"
42 filterable 45 filterable
43 clearable 46 clearable
44 placeholder="请选择权利类型"> 47 placeholder="请选择权利类型"
48 >
45 <el-option 49 <el-option
46 v-for="item in dictData['A8']" 50 v-for="item in dictData['A8']"
47 :key="item.dcode" 51 :key="item.dcode"
48 :label="item.dname" 52 :label="item.dname"
49 :value="item.dcode"> 53 :value="item.dcode"
54 >
50 </el-option> 55 </el-option>
51 </el-select> 56 </el-select>
52 </el-form-item> 57 </el-form-item>
...@@ -60,12 +65,14 @@ ...@@ -60,12 +65,14 @@
60 class="width100" 65 class="width100"
61 filterable 66 filterable
62 clearable 67 clearable
63 placeholder="请选择登记类型"> 68 placeholder="请选择登记类型"
69 >
64 <el-option 70 <el-option
65 v-for="item in dictData['A21']" 71 v-for="item in dictData['A21']"
66 :key="item.dcode" 72 :key="item.dcode"
67 :label="item.dname" 73 :label="item.dname"
68 :value="item.dcode"> 74 :value="item.dcode"
75 >
69 </el-option> 76 </el-option>
70 </el-select> 77 </el-select>
71 </el-form-item> 78 </el-form-item>
...@@ -76,14 +83,20 @@ ...@@ -76,14 +83,20 @@
76 placeholder="请输入业务号" 83 placeholder="请输入业务号"
77 v-model="queryForm.ywh" 84 v-model="queryForm.ywh"
78 clearable 85 clearable
79 class="width200px"> 86 class="width200px"
87 >
80 </el-input> 88 </el-input>
81 </el-form-item> 89 </el-form-item>
82 </el-col> 90 </el-col>
83 91
84 <el-col :span="4" class="btnColRight"> 92 <el-col :span="4" class="btnColRight">
85 <el-form-item> 93 <el-form-item>
86 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 94 <el-button
95 type="primary"
96 native-type="submit"
97 @click="handleSearch"
98 >查询</el-button
99 >
87 <el-button @click="moreQueryClick">高级查询</el-button> 100 <el-button @click="moreQueryClick">高级查询</el-button>
88 </el-form-item> 101 </el-form-item>
89 </el-col> 102 </el-col>
...@@ -95,14 +108,16 @@ ...@@ -95,14 +108,16 @@
95 {{ item.name }}:{{ item.value }} 108 {{ item.name }}:{{ item.value }}
96 <i 109 <i
97 class="el-icon-circle-close" 110 class="el-icon-circle-close"
98 @click="handelItem(item, index)"></i> 111 @click="handelItem(item, index)"
112 ></i>
99 </li> 113 </li>
100 </ul> 114 </ul>
101 <el-button 115 <el-button
102 class="clean-btn" 116 class="clean-btn"
103 type="text" 117 type="text"
104 v-if="searchList.length > 0" 118 v-if="searchList.length > 0"
105 @click.native="hanldeCleanAll">清除全部 119 @click.native="hanldeCleanAll"
120 >清除全部
106 </el-button> 121 </el-button>
107 </el-row> 122 </el-row>
108 </el-form> 123 </el-form>
...@@ -119,30 +134,35 @@ ...@@ -119,30 +134,35 @@
119 @size-change="handleSizeChange" 134 @size-change="handleSizeChange"
120 @p-current-change="handleCurrentChange" 135 @p-current-change="handleCurrentChange"
121 :column="tableData.columns" 136 :column="tableData.columns"
122 :data="tableData.data"> 137 :data="tableData.data"
138 >
123 </lb-table> 139 </lb-table>
124 </div> 140 </div>
125 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> 141 <searchBox
142 v-model="isSearch"
143 @getSearch="getSearch"
144 :advancedForm="otherForm"
145 />
126 </div> 146 </div>
127 </template> 147 </template>
128 <script> 148 <script>
129 import { mapGetters } from "vuex"; 149 import { mapGetters } from "vuex";
130 import searchMin from "../components/mixin/index"; 150 import searchMin from "../components/mixin/index";
131 import table from "@/utils/mixin/table"; 151 import table from "@/utils/mixin/table";
132 import { datas, sendThis } from "./ybxdata"; 152 import { datas, sendThis } from "./ybxdata";
133 import { searchTaskDone } from "@/api/workflow/search.js"; 153 import { searchTaskDone } from "@/api/workflow/search.js";
134 import searchBox from "../components/search.vue"; 154 import searchBox from "../components/search.vue";
135 export default { 155 export default {
136 name: "ybx", 156 name: "ybx",
137 components: { searchBox }, 157 components: { searchBox },
138 mixins: [table, searchMin], 158 mixins: [table, searchMin],
139 mounted () { 159 mounted() {
140 sendThis(this); 160 sendThis(this);
141 }, 161 },
142 computed: { 162 computed: {
143 ...mapGetters(["dictData"]), 163 ...mapGetters(["dictData"]),
144 }, 164 },
145 data () { 165 data() {
146 return { 166 return {
147 queryForm: { 167 queryForm: {
148 ywly: "", 168 ywly: "",
...@@ -163,11 +183,11 @@ ...@@ -163,11 +183,11 @@
163 }, 183 },
164 }; 184 };
165 }, 185 },
166 activated () { 186 activated() {
167 this.queryClick() 187 this.queryClick();
168 window["getBpageList"] = () => { 188 window["getBpageList"] = () => {
169 this.queryClick() 189 this.queryClick();
170 } 190 };
171 }, 191 },
172 methods: { 192 methods: {
173 // 列表渲染接口 193 // 列表渲染接口
...@@ -175,7 +195,7 @@ ...@@ -175,7 +195,7 @@
175 * @description: 列表渲染接口 195 * @description: 列表渲染接口
176 * @author: renchao 196 * @author: renchao
177 */ 197 */
178 queryClick () { 198 queryClick() {
179 this.$startLoading(); 199 this.$startLoading();
180 this.searchForm.ywh = this.queryForm.ywh; 200 this.searchForm.ywh = this.queryForm.ywh;
181 this.iterationData(); 201 this.iterationData();
...@@ -203,7 +223,7 @@ ...@@ -203,7 +223,7 @@
203 * @param {*} val 223 * @param {*} val
204 * @author: renchao 224 * @author: renchao
205 */ 225 */
206 handleSort (val) { 226 handleSort(val) {
207 this.queryForm.sortField = val.prop; 227 this.queryForm.sortField = val.prop;
208 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 228 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
209 this.queryClick(); 229 this.queryClick();
...@@ -213,14 +233,17 @@ ...@@ -213,14 +233,17 @@
213 * @param {*} item 233 * @param {*} item
214 * @author: renchao 234 * @author: renchao
215 */ 235 */
216 ywhClick (item) { 236 ywhClick(item) {
217 //有任务权限 237 //有任务权限
218 if (item.sjlx == "3") { 238 if (item.sjlx == "3") {
239 item.djywbm = "DJBBL";
219 const { href } = this.$router.resolve( 240 const { href } = this.$router.resolve(
220 "/djbworkFrameview?bsmSlsq=" + 241 "/djbworkFrameview?bsmSlsq=" +
221 item.bsmSlsq + 242 item.bsmSlsq +
222 "&bestepid=" + 243 "&bestepid=" +
223 item.bestepid 244 item.bestepid +
245 "&sqywbm=" +
246 item.djywbm
224 ); 247 );
225 window.open(href, `djbworkFrameview${item.bsmSlsq}`); 248 window.open(href, `djbworkFrameview${item.bsmSlsq}`);
226 } else { 249 } else {
...@@ -232,10 +255,10 @@ ...@@ -232,10 +255,10 @@
232 ); 255 );
233 window.open(href, `workFrameView${item.bsmSlsq}`); 256 window.open(href, `workFrameView${item.bsmSlsq}`);
234 } 257 }
235 } 258 },
236 } 259 },
237 } 260 };
238 </script> 261 </script>
239 <style scoped lang="scss"> 262 <style scoped lang="scss">
240 @import "~@/styles/public.scss"; 263 @import "~@/styles/public.scss";
241 </style> 264 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-02 09:58:05 4 * @LastEditTime: 2023-08-07 16:06:37
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -96,16 +96,16 @@ ...@@ -96,16 +96,16 @@
96 </el-col> 96 </el-col>
97 </el-row> 97 </el-row>
98 <el-row> 98 <el-row>
99 <el-col :span="7"> 99 <el-col :span="6">
100 <el-form-item label="项目名称"> 100 <el-form-item label="项目名称">
101 <el-input placeholder="请输入项目名称" v-model="querydzForm.xmmc"></el-input> 101 <el-input placeholder="请输入项目名称" v-model="querydzForm.xmmc"></el-input>
102 </el-form-item> 102 </el-form-item>
103 </el-col> 103 </el-col>
104 104
105 <el-col :span="3" class="btnColRight"> 105 <el-col :span="18" class="btnColRight">
106 <el-form-item> 106 <el-form-item>
107 <el-button type="primary" @click="resetForm(true)">重置</el-button> 107 <el-button type="primary" @click="resetForm(true)">重置</el-button>
108 <el-button type="primary" @click="handleSearch">查询11</el-button> 108 <el-button type="primary" @click="handleSearch">查询</el-button>
109 </el-form-item> 109 </el-form-item>
110 </el-col> 110 </el-col>
111 </el-row> 111 </el-row>
......
...@@ -198,10 +198,11 @@ ...@@ -198,10 +198,11 @@
198 if (data[index].sffqlc == "1") { 198 if (data[index].sffqlc == "1") {
199 this.selectParam = data[index]; 199 this.selectParam = data[index];
200 this.btnDisabled = false; 200 this.btnDisabled = false;
201 // this.djqxList = []
201 } else { 202 } else {
202 this.btnDisabled = true; 203 this.btnDisabled = true;
203 this.getNextNode(data[index].bsmSqyw);
204 } 204 }
205 this.getNextNode(data[index].bsmSqyw);
205 }, 206 },
206 //获取下个节点类型数据 207 //获取下个节点类型数据
207 /** 208 /**
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 16:59:31 4 * @LastEditTime: 2023-08-04 09:52:09
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -113,7 +113,7 @@ class data extends filter { ...@@ -113,7 +113,7 @@ class data extends filter {
113 }, 113 },
114 { 114 {
115 label: '操作', 115 label: '操作',
116 width: '130', 116 width: '100',
117 render: (h, scope) => { 117 render: (h, scope) => {
118 return ( 118 return (
119 <div> 119 <div>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 16:59:35 4 * @LastEditTime: 2023-08-04 09:54:32
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -40,17 +40,6 @@ class data extends filter { ...@@ -40,17 +40,6 @@ class data extends filter {
40 <div> 40 <div>
41 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> 41 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
42 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> 42 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
43 {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
44 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
45 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
46 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
47 <span v-show={scope.row.cfzt == 1}>,已查封</span>
48 <span v-show={scope.row.diyizt == 1}>,已地役</span>
49 <span v-show={scope.row.yyzt == 1}>,异议中</span>
50 <span v-show={scope.row.xzzt == 1}>,已限制</span>
51 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
52 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
53 <span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
54 </div> 43 </div>
55 ) 44 )
56 } 45 }
...@@ -61,6 +50,8 @@ class data extends filter { ...@@ -61,6 +50,8 @@ class data extends filter {
61 }, 50 },
62 { 51 {
63 prop: "qllxmc", 52 prop: "qllxmc",
53 width: '100',
54 showOverflowTooltip: true,
64 label: "权利类型", 55 label: "权利类型",
65 }, 56 },
66 { 57 {
...@@ -70,6 +61,8 @@ class data extends filter { ...@@ -70,6 +61,8 @@ class data extends filter {
70 { 61 {
71 prop: "zrzh", 62 prop: "zrzh",
72 label: "自然幢号", 63 label: "自然幢号",
64 width: '90',
65 showOverflowTooltip: true,
73 }, 66 },
74 { 67 {
75 prop: "jzwmc", 68 prop: "jzwmc",
...@@ -98,6 +91,7 @@ class data extends filter { ...@@ -98,6 +91,7 @@ class data extends filter {
98 }, 91 },
99 { 92 {
100 label: "土地/房屋用途", 93 label: "土地/房屋用途",
94 minWidth: '170',
101 render: (h, scope) => { 95 render: (h, scope) => {
102 return ( 96 return (
103 <div> 97 <div>
...@@ -119,13 +113,13 @@ class data extends filter { ...@@ -119,13 +113,13 @@ class data extends filter {
119 { 113 {
120 prop: "zl", 114 prop: "zl",
121 label: "自然幢坐落", 115 label: "自然幢坐落",
122 minWidth: '130' 116 minWidth: '120',
117 showOverflowTooltip: true
123 }, 118 },
124 { 119 {
125 label: '操作', 120 label: '操作',
126 width: '160', 121 width: '110',
127 align: 'center', 122 align: 'center',
128 fixed: 'right',
129 render: (h, scope) => { 123 render: (h, scope) => {
130 return ( 124 return (
131 <div> 125 <div>
...@@ -228,16 +222,16 @@ class data extends filter { ...@@ -228,16 +222,16 @@ class data extends filter {
228 ) 222 )
229 } 223 }
230 }, 224 },
231 { 225 // {
232 prop: "zcs", 226 // prop: "zcs",
233 label: "总层数", 227 // label: "总层数",
234 width: '70', 228 // width: '70',
235 }, 229 // },
236 { 230 // {
237 prop: "zts", 231 // prop: "zts",
238 label: "总套数", 232 // label: "总套数",
239 width: '70', 233 // width: '70',
240 }, 234 // },
241 { 235 {
242 prop: "zl", 236 prop: "zl",
243 label: "多幢坐落", 237 label: "多幢坐落",
......
...@@ -112,7 +112,7 @@ class data extends filter { ...@@ -112,7 +112,7 @@ class data extends filter {
112 }, 112 },
113 { 113 {
114 label: '操作', 114 label: '操作',
115 width: '130', 115 width: '100',
116 render: (h, scope) => { 116 render: (h, scope) => {
117 return ( 117 return (
118 <div> 118 <div>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 16:59:53 4 * @LastEditTime: 2023-08-04 09:47:56
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -104,9 +104,8 @@ class data extends filter { ...@@ -104,9 +104,8 @@ class data extends filter {
104 }, 104 },
105 { 105 {
106 label: '操作', 106 label: '操作',
107 width: '160', 107 width: '110',
108 align: 'center', 108 align: 'center',
109 fixed: 'right',
110 render: (h, scope) => { 109 render: (h, scope) => {
111 return ( 110 return (
112 <div> 111 <div>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 17:00:00 4 * @LastEditTime: 2023-08-10 15:35:50
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -40,17 +40,6 @@ class data extends filter { ...@@ -40,17 +40,6 @@ class data extends filter {
40 <div> 40 <div>
41 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> 41 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
42 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> 42 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
43 {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
44 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
45 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
46 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
47 <span v-show={scope.row.cfzt == 1}>,已查封</span>
48 <span v-show={scope.row.diyizt == 1}>,已地役</span>
49 <span v-show={scope.row.yyzt == 1}>,异议中</span>
50 <span v-show={scope.row.xzzt == 1}>,已限制</span>
51 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
52 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
53 <span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
54 </div> 43 </div>
55 ) 44 )
56 } 45 }
...@@ -67,7 +56,8 @@ class data extends filter { ...@@ -67,7 +56,8 @@ class data extends filter {
67 { 56 {
68 prop: "bdcqzh", 57 prop: "bdcqzh",
69 label: "不动产权证号", 58 label: "不动产权证号",
70 minWidth: '150' 59 showOverflowTooltip: true,
60 width: '150'
71 }, 61 },
72 { 62 {
73 prop: "gyqk", 63 prop: "gyqk",
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 17:00:21 4 * @LastEditTime: 2023-08-04 09:52:38
5 */ 5 */
6 import filter from '@/utils/filter.js' 6 import filter from '@/utils/filter.js'
7 let vm = null 7 let vm = null
...@@ -112,7 +112,7 @@ class data extends filter { ...@@ -112,7 +112,7 @@ class data extends filter {
112 }, 112 },
113 { 113 {
114 label: '操作', 114 label: '操作',
115 width: '130', 115 width: '100',
116 render: (h, scope) => { 116 render: (h, scope) => {
117 return ( 117 return (
118 <div> 118 <div>
......
...@@ -129,7 +129,7 @@ class data extends filter { ...@@ -129,7 +129,7 @@ class data extends filter {
129 { 129 {
130 label: '操作', 130 label: '操作',
131 width: '130', 131 width: '130',
132 fixed: "right", 132 fixed: 'right',
133 render: (h, scope) => { 133 render: (h, scope) => {
134 return ( 134 return (
135 <div> 135 <div>
......
...@@ -39,6 +39,7 @@ class data extends filter { ...@@ -39,6 +39,7 @@ class data extends filter {
39 }, 39 },
40 { 40 {
41 label: "在办环节", 41 label: "在办环节",
42 minWidth: '100',
42 render: (h, scope) => { 43 render: (h, scope) => {
43 if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null)) 44 if ((scope.row.zbhj != '' && scope.row.zbhj != null) || (scope.row.userName != '' && scope.row.userName != null))
44 return ( 45 return (
......
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-07-19 14:07:38 4 * @LastEditTime: 2023-08-10 14:05:49
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
37 <el-col :span="4" class="btnColRight"> 37 <el-col :span="4" class="btnColRight">
38 <el-form-item> 38 <el-form-item>
39 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 39 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button>
40 <el-button @click="moreQueryClick()">高级查询</el-button> 40 <!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
41 </el-form-item> 41 </el-form-item>
42 </el-col> 42 </el-col>
43 </el-row> 43 </el-row>
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
83 this.queryClick(); 83 this.queryClick();
84 }, 84 },
85 methods: { 85 methods: {
86 // 查询
87 /** 86 /**
88 * @description: 查询 87 * @description: 查询
89 * @author: renchao 88 * @author: renchao
...@@ -108,20 +107,13 @@ ...@@ -108,20 +107,13 @@
108 this.$startLoading() 107 this.$startLoading()
109 bdcqzPreview(item).then(res => { 108 bdcqzPreview(item).then(res => {
110 this.$endLoading() 109 this.$endLoading()
111 this.dialogVisible = true; 110 this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", {
112 let blob = new Blob([res]); 111 bsmSlsq: item.bsmSlsq
113 this.$popupDialog("证书内容", "zhcx/zslqcx/components/zslr", { 'previewImage': window.URL.createObjectURL(blob) }) 112 }, '1210px', true)
114 }) 113 })
115 },
116 /**
117 * @description: handleClose
118 * @author: renchao
119 */
120 handleClose () {
121 this.dialogVisible = false;
122 } 114 }
123 }, 115 }
124 }; 116 }
125 </script> 117 </script>
126 <style scoped lang="scss"> 118 <style scoped lang="scss">
127 @import "~@/styles/public.scss"; 119 @import "~@/styles/public.scss";
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
31 <el-col :span="3" class="btnColRight"> 31 <el-col :span="3" class="btnColRight">
32 <el-form-item> 32 <el-form-item>
33 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="handleSearch">查询</el-button> 33 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="handleSearch">查询</el-button>
34 <el-button @click="moreQueryClick()">高级查询</el-button> 34 <!-- <el-button @click="moreQueryClick()">高级查询</el-button> -->
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
......