2b0f92b5 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents fa2546e7 7a1f759a
Showing 44 changed files with 1631 additions and 1285 deletions
...@@ -128,3 +128,28 @@ export function getZtQlxx (params) { ...@@ -128,3 +128,28 @@ export function getZtQlxx (params) {
128 data 128 data
129 }) 129 })
130 } 130 }
131 /**
132 * @description: 添加审核意见
133 * @param {*} data
134 * @author: renchao
135 */
136 export function addidea (data) {
137 return request({
138 url: SERVER.SERVERAPI + '/rest/djbRepair/sh',
139 method: 'post',
140 data
141 })
142 }
143 /**
144 * @description: 添加审核意见
145 * @param {*} data
146 * @author: renchao
147 */
148 export function getShList (data) {
149 console.log(data);
150 return request({
151 url: SERVER.SERVERAPI + '/rest/djbRepair/getShList?bsmRepair='+data.bsmRepair,
152 method: 'post',
153 data
154 })
155 }
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 16:06:39 4 * @LastEditTime: 2023-07-11 09:51:07
5 */ 5 */
6 import request from "@/utils/request"; 6 import request from "@/utils/request";
7 let SERVER = window.config 7 let SERVER = window.config
...@@ -16,7 +16,7 @@ const url = SERVER.SERVERAPI + "/rest/zhcx/lpcx/"; ...@@ -16,7 +16,7 @@ const url = SERVER.SERVERAPI + "/rest/zhcx/lpcx/";
16 */ 16 */
17 export function getLpZrz(data) { 17 export function getLpZrz(data) {
18 return request({ 18 return request({
19 url: "service-lpb-zq/rest/zhcx/lpcx/getLpZrz", 19 url: "service-lpb/rest/zhcx/lpcx/getLpZrz",
20 method: "post", 20 method: "post",
21 data: data, 21 data: data,
22 }); 22 });
...@@ -29,7 +29,7 @@ export function getLpZrz(data) { ...@@ -29,7 +29,7 @@ export function getLpZrz(data) {
29 */ 29 */
30 export function getLpb(zrzbsm) { 30 export function getLpb(zrzbsm) {
31 return request({ 31 return request({
32 url: "service-lpb-zq/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm, 32 url: "service-lpb/rest/zhcx/lpcx/getLpb?scyclx=0&zrzbsm=" + zrzbsm,
33 method: "get", 33 method: "get",
34 }); 34 });
35 } 35 }
...@@ -41,7 +41,7 @@ export function getLpb(zrzbsm) { ...@@ -41,7 +41,7 @@ export function getLpb(zrzbsm) {
41 export function getLpbFwytAndQlxz(zrzbsm) { 41 export function getLpbFwytAndQlxz(zrzbsm) {
42 return request({ 42 return request({
43 url: 43 url:
44 "service-lpb-zq/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" + 44 "service-lpb/rest/zhcx/lpcx/getLpbFwytAndQlxz?scyclx=0&zrzbsm=" +
45 zrzbsm, 45 zrzbsm,
46 method: "get", 46 method: "get",
47 }); 47 });
...@@ -53,7 +53,7 @@ export function getLpbFwytAndQlxz(zrzbsm) { ...@@ -53,7 +53,7 @@ export function getLpbFwytAndQlxz(zrzbsm) {
53 */ 53 */
54 export function getLpbQsxtj(zrzbsm) { 54 export function getLpbQsxtj(zrzbsm) {
55 return request({ 55 return request({
56 url: "service-lpb-zq/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm, 56 url: "service-lpb/rest/zhcx/lpcx/getLpbQsxtj?scyclx=0&zrzbsm=" + zrzbsm,
57 method: "get", 57 method: "get",
58 }); 58 });
59 } 59 }
...@@ -67,7 +67,7 @@ export function getLpbQsxtj(zrzbsm) { ...@@ -67,7 +67,7 @@ export function getLpbQsxtj(zrzbsm) {
67 */ 67 */
68 export function getLpbTj(zrzbsm) { 68 export function getLpbTj(zrzbsm) {
69 return request({ 69 return request({
70 url: "service-lpb-zq/rest/zhcx/lpcx/getLpbTj?scyclx=0&zrzbsm=" + zrzbsm, 70 url: "service-lpb/rest/zhcx/lpcx/getLpbTj?scyclx=0&zrzbsm=" + zrzbsm,
71 method: "get", 71 method: "get",
72 }); 72 });
73 } 73 }
......
...@@ -381,8 +381,8 @@ aside { ...@@ -381,8 +381,8 @@ aside {
381 381
382 //楼盘表的幢/幢单元名称 382 //楼盘表的幢/幢单元名称
383 .lpb-xmmc { 383 .lpb-xmmc {
384 height: 60px; 384 height: 34px;
385 line-height: 60px; 385 line-height: 34px;
386 background-color: #ffffff; 386 background-color: #ffffff;
387 border: 1px solid #e6e6e6; 387 border: 1px solid #e6e6e6;
388 text-align: center; 388 text-align: center;
......
...@@ -124,7 +124,8 @@ export default { ...@@ -124,7 +124,8 @@ export default {
124 //读取申请单元信息 124 //读取申请单元信息
125 loadBdcdylist(add) { 125 loadBdcdylist(add) {
126 var formdata = new FormData(); 126 var formdata = new FormData();
127 formdata.append("bsmSlsq", this.bsmSlsq); 127 if(this.bsmSlsq){
128 formdata.append("bsmSlsq", this.bsmSlsq);
128 formdata.append("bestepid", this.bestepid); 129 formdata.append("bestepid", this.bestepid);
129 leftMenu(formdata).then((res) => { 130 leftMenu(formdata).then((res) => {
130 if (res.code === 200 && res.result) { 131 if (res.code === 200 && res.result) {
...@@ -135,6 +136,8 @@ export default { ...@@ -135,6 +136,8 @@ export default {
135 } 136 }
136 } 137 }
137 }); 138 });
139 }
140
138 141
139 }, 142 },
140 // 获取右侧菜单 143 // 获取右侧菜单
......
...@@ -59,16 +59,17 @@ ...@@ -59,16 +59,17 @@
59 <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" /> 59 <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" />
60 <el-table-column label="流程状态" header-align="center" align="center"> 60 <el-table-column label="流程状态" header-align="center" align="center">
61 <template slot-scope="scope"> 61 <template slot-scope="scope">
62 <div v-if="scope.row.finishTime == null">正在办理</div> 62 <div v-if="scope.row.endTime">已完结</div>
63 <div v-else>已完结</div> 63 <div v-else>正在办理</div>
64 </template> 64 </template>
65 </el-table-column> 65 </el-table-column>
66 <el-table-column label="环节名称" prop="name" minWidth="100" align="center" /> 66 <el-table-column label="环节名称" prop="name" minWidth="100" align="center" />
67 <el-table-column label="办理人" prop="agent" minWidth="120" align="center" /> 67 <el-table-column label="办理人" prop="agent" minWidth="120" align="center" />
68 <el-table-column label="处理时间" prop="createTime" width="160" align="center" /> 68 <el-table-column label="转入时间" prop="createTime" :formatter="formatDate" width="160" align="center" />
69 <el-table-column label="办结时间" prop="finishTime" width="160" align="center" /> 69 <el-table-column label="认领时间" prop="claimTime" :formatter="formatDate" width="160" align="center" />
70 <el-table-column label="操作方式" align="center"> 70 <el-table-column label="转出时间" prop="endTime" :formatter="formatDate" width="160" align="center" />
71 </el-table-column> 71 <el-table-column label="操作方式" prop="controls" align="center"/>
72 <el-table-column label="意见" prop="idea" align="center"/>
72 </el-table> 73 </el-table>
73 </div> 74 </div>
74 </div> 75 </div>
...@@ -118,6 +119,14 @@ ...@@ -118,6 +119,14 @@
118 this.clearViewer() 119 this.clearViewer()
119 }, 120 },
120 methods: { 121 methods: {
122 formatDate(row, column) {
123 let data = row[column.property]
124 if(data == null) {
125 return null
126 }
127 let dt = new Date(data)
128 return dt.getFullYear() + '-' + (dt.getMonth() + 1) + '-' + dt.getDate() + ' ' + dt.getHours() + ':' + dt.getMinutes() + ':' + dt.getSeconds()
129 },
121 processReZoom () { 130 processReZoom () {
122 this.defaultZoom = 1 131 this.defaultZoom = 1
123 this.bpmnViewer.get('canvas').zoom('fit-viewport', 'auto') 132 this.bpmnViewer.get('canvas').zoom('fit-viewport', 'auto')
...@@ -237,13 +246,32 @@ ...@@ -237,13 +246,32 @@
237 // 获取流程记录 246 // 获取流程记录
238 getCommentList() { 247 getCommentList() {
239 this.formData.allCommentList.forEach(async (item,index) => { 248 this.formData.allCommentList.forEach(async (item,index) => {
240 this.formData.allCommentList[index].agent=item.assignee.name 249 item.comments.forEach(element => {
250 if(element.type=="COMPLETE"){
251 this.formData.allCommentList[index].idea=element.message
252 this.formData.allCommentList[index].controls="完成"
253 }
254 });
255 this.formData.allCommentList[index].agent=item.assignee.name
256 })
257 this.formData.handlinglist.forEach(async (item,index) => {
258 if(item.assignee.name){
259 this.formData.handlinglist[index].agent=item.assignee.name
260 }else{
261 let str=""
262 item.countersign.forEach((item) => {
263 str+=item.name+","
264 })
265 str=str.slice(0, -1);
266 this.formData.allCommentList[index].agent=str
267 }
268
241 }) 269 })
242 setTimeout(() => { 270 this.taskList =[...this.formData.allCommentList,...this.formData.handlinglist];
243 this.taskList =this.formData.allCommentList; 271 // this.taskList =this.formData.allCommentList;
244 // 处理数据之后赋值 272 // 处理数据之后赋值
245 this.taskCommentList=this.taskList 273 this.taskCommentList=this.taskList
246 }, 100) 274
247 }, 275 },
248 276
249 // 设置流程图元素状态 277 // 设置流程图元素状态
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +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> 18 inline-message
19 >
19 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
20 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
21 补录信息 22 补录信息
...@@ -50,18 +51,22 @@ ...@@ -50,18 +51,22 @@
50 :table-width="550" 51 :table-width="550"
51 :tableData="ztQlxxList" 52 :tableData="ztQlxxList"
52 :props="props" 53 :props="props"
53 @change="ztQlxxchange"> 54 @change="ztQlxxchange"
55 >
54 <el-table-column 56 <el-table-column
55 prop="qllxmc" 57 prop="qllxmc"
56 width="130" 58 width="130"
57 label="权利类型"></el-table-column> 59 label="权利类型"
60 ></el-table-column>
58 <el-table-column 61 <el-table-column
59 prop="bdcqzh" 62 prop="bdcqzh"
60 width="160" 63 width="160"
61 label="不动产权证书"></el-table-column> 64 label="不动产权证书"
65 ></el-table-column>
62 <el-table-column 66 <el-table-column
63 prop="qlrmc" 67 prop="qlrmc"
64 label="被执行人"></el-table-column> 68 label="被执行人"
69 ></el-table-column>
65 <el-table-column prop="mjmc" label="面积"></el-table-column> 70 <el-table-column prop="mjmc" label="面积"></el-table-column>
66 <el-table-column prop="ytmc" label="用途"></el-table-column> 71 <el-table-column prop="ytmc" label="用途"></el-table-column>
67 <el-table-column prop="zl" label="坐落"></el-table-column> 72 <el-table-column prop="zl" label="坐落"></el-table-column>
...@@ -76,15 +81,18 @@ ...@@ -76,15 +81,18 @@
76 :table-width="550" 81 :table-width="550"
77 :tableData="ssQlxxList" 82 :tableData="ssQlxxList"
78 :props="props" 83 :props="props"
79 @change="ssQlxxchange"> 84 @change="ssQlxxchange"
85 >
80 <el-table-column 86 <el-table-column
81 prop="qllxmc" 87 prop="qllxmc"
82 width="130" 88 width="130"
83 label="权利类型"></el-table-column> 89 label="权利类型"
90 ></el-table-column>
84 <el-table-column 91 <el-table-column
85 prop="bdcqzh" 92 prop="bdcqzh"
86 width="160" 93 width="160"
87 label="不动产权证书"></el-table-column> 94 label="不动产权证书"
95 ></el-table-column>
88 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 96 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
89 <el-table-column prop="mjmc" label="面积"></el-table-column> 97 <el-table-column prop="mjmc" label="面积"></el-table-column>
90 <el-table-column prop="ytmc" label="用途"></el-table-column> 98 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -178,7 +186,8 @@ ...@@ -178,7 +186,8 @@
178 v-for="item in sfbxflist" 186 v-for="item in sfbxflist"
179 :key="item.dcode" 187 :key="item.dcode"
180 :label="item.dname" 188 :label="item.dname"
181 :value="item.dcode"></el-option> 189 :value="item.dcode"
190 ></el-option>
182 </el-select> 191 </el-select>
183 </el-form-item> 192 </el-form-item>
184 </el-col> 193 </el-col>
...@@ -194,12 +203,17 @@ ...@@ -194,12 +203,17 @@
194 v-for="item in qsztlist" 203 v-for="item in qsztlist"
195 :key="item.dcode" 204 :key="item.dcode"
196 :label="item.dname" 205 :label="item.dname"
197 :value="item.dcode"></el-option> 206 :value="item.dcode"
207 ></el-option>
198 </el-select> 208 </el-select>
199 </el-form-item> 209 </el-form-item>
200 </el-col> 210 </el-col>
201 <el-col :span="8"> 211 <el-col :span="8">
202 <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules"> 212 <el-form-item
213 label="不动产权证号:"
214 prop="qlxx.bdcqzh"
215 :rules="rules.bdcqzhrules"
216 >
203 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 217 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
204 </el-form-item> 218 </el-form-item>
205 </el-col> 219 </el-col>
...@@ -215,7 +229,8 @@ ...@@ -215,7 +229,8 @@
215 v-for="item in dictData['A32']" 229 v-for="item in dictData['A32']"
216 :key="item.dcode" 230 :key="item.dcode"
217 :label="item.dname" 231 :label="item.dname"
218 :value="item.dcode"></el-option> 232 :value="item.dcode"
233 ></el-option>
219 </el-select> 234 </el-select>
220 </el-form-item> 235 </el-form-item>
221 </el-col> 236 </el-col>
...@@ -245,24 +260,47 @@ ...@@ -245,24 +260,47 @@
245 </el-form-item> 260 </el-form-item>
246 </el-col> 261 </el-col>
247 <el-col :span="8"> 262 <el-col :span="8">
248 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> 263 <el-form-item
264 label="区县代码:"
265 prop="qlxx.qxdm"
266 :rules="rules.qxdmrules"
267 >
249 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 268 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
250 </el-form-item> 269 </el-form-item>
251 </el-col> 270 </el-col>
252 <el-col :span="8"> 271 <el-col :span="8">
253 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> 272 <el-form-item
273 label="登记机构:"
274 prop="qlxx.djjg"
275 :rules="rules.djjgrules"
276 >
254 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 277 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
255 </el-form-item> 278 </el-form-item>
256 </el-col> 279 </el-col>
257 280
258 <el-col :span="8"> 281 <el-col :span="8">
259 <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules"> 282 <el-form-item
283 label="登簿人:"
284 prop="qlxx.dbr"
285 :rules="rules.dbrrules"
286 >
260 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 287 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
261 </el-form-item> 288 </el-form-item>
262 </el-col> 289 </el-col>
263 <el-col :span="8"> 290 <el-col :span="8">
264 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> 291 <el-form-item
265 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 292 label="登记时间:"
293 prop="qlxx.djsj"
294 :rules="rules.djsjrules"
295 >
296 <el-date-picker
297 v-model="ruleForm.qlxx.djsj"
298 type="date"
299 placeholder="选择日期"
300 value-format="yyyy-MM-dd HH:mm:ss"
301 format="yyyy-MM-dd"
302 >
303 </el-date-picker>
266 </el-form-item> 304 </el-form-item>
267 </el-col> 305 </el-col>
268 <el-col :span="24"> 306 <el-col :span="24">
...@@ -302,7 +340,7 @@ ...@@ -302,7 +340,7 @@
302 </el-form-item> 340 </el-form-item>
303 </el-col> 341 </el-col>
304 </div> 342 </div>
305 <el-row class="btn"> 343 <el-row class="btn" v-if="!$route.query.viewtype">
306 <el-form-item> 344 <el-form-item>
307 <el-button type="primary" @click="onSubmit">保存</el-button> 345 <el-button type="primary" @click="onSubmit">保存</el-button>
308 </el-form-item> 346 </el-form-item>
...@@ -311,227 +349,227 @@ ...@@ -311,227 +349,227 @@
311 </div> 349 </div>
312 </template> 350 </template>
313 <script> 351 <script>
314 import { mapGetters } from "vuex"; 352 import { mapGetters } from "vuex";
315 import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js"; 353 import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js";
316 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 354 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
317 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; 355 import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable";
318 import tdytTable from "@/views/workflow/components/tdytTable"; 356 import tdytTable from "@/views/workflow/components/tdytTable";
319 import selectTable from "@/components/selectTable/index.vue"; 357 import selectTable from "@/components/selectTable/index.vue";
320 export default { 358 export default {
321 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, 359 components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable },
322 computed: { 360 computed: {
323 ...mapGetters(["dictData", "flag"]), 361 ...mapGetters(["dictData", "flag"]),
324 }, 362 },
325 data () { 363 data() {
326 return { 364 return {
327 //表单是否可操作 365 //表单是否可操作
328 props: { 366 props: {
329 label: "bdcqzh", 367 label: "bdcqzh",
330 value: "bdcdyid", 368 value: "bdcdyid",
369 },
370 propsParam: this.$attrs,
371 key: 0,
372 isShow: false,
373 ssqlxxshow: true,
374 disabled: true,
375 czrOptions: [],
376 ruleForm: {},
377 rules: {},
378 // 登记类型
379 djlxlist: [
380 {
381 dcode: "100",
382 dname: "首次登记",
383 },
384 {
385 dcode: "200",
386 dname: "转移登记",
387 },
388 {
389 dcode: "300",
390 dname: "变更登记",
391 },
392 {
393 dcode: "500",
394 dname: "更正登记",
331 }, 395 },
332 propsParam: this.$attrs,
333 key: 0,
334 isShow: false,
335 ssqlxxshow: true,
336 disabled: true,
337 czrOptions: [],
338 ruleForm: {},
339 rules: {},
340 // 登记类型
341 djlxlist: [
342 {
343 dcode: "100",
344 dname: "首次登记",
345 },
346 {
347 dcode: "200",
348 dname: "转移登记",
349 },
350 {
351 dcode: "300",
352 dname: "变更登记",
353 },
354 {
355 dcode: "500",
356 dname: "更正登记",
357 },
358
359 {
360 dcode: "901",
361 dname: "补证",
362 },
363 {
364 dcode: "902",
365 dname: "换证",
366 },
367 ],
368 396
369 // 权属状态 397 {
370 qsztlist: [ 398 dcode: "901",
371 { 399 dname: "补证",
372 dcode: "1", 400 },
373 dname: "现势", 401 {
374 }, 402 dcode: "902",
375 { 403 dname: "换证",
376 dcode: "2", 404 },
377 dname: "历史", 405 ],
378 },
379 ],
380 // 是否被续封
381 sfbxflist: [
382 {
383 dcode: "0",
384 dname: "否",
385 },
386 {
387 dcode: "1",
388 dname: "是",
389 },
390 ],
391 //传递参数\
392 406
393 ssQlxxList: [], 407 // 权属状态
394 ztQlxxList: [], 408 qsztlist: [
395 rules: { 409 {
396 bdcqzh: [ 410 dcode: "1",
397 { required: true, message: "不动产登记证明号", trigger: "blur" }, 411 dname: "现势",
398 ], 412 },
399 qxdm: [{ required: true, message: "区县代码", trigger: "blur" }], 413 {
400 djjg: [{ required: true, message: "登记机构", trigger: "blur" }], 414 dcode: "2",
401 dbr: [{ required: true, message: "登簿人", trigger: "blur" }], 415 dname: "历史",
402 djsj: [{ required: true, message: "登记时间", trigger: "blur" }],
403 }, 416 },
404 }; 417 ],
418 // 是否被续封
419 sfbxflist: [
420 {
421 dcode: "0",
422 dname: "否",
423 },
424 {
425 dcode: "1",
426 dname: "是",
427 },
428 ],
429 //传递参数\
430
431 ssQlxxList: [],
432 ztQlxxList: [],
433 rules: {
434 bdcqzhrules: [
435 { required: true, message: "不动产权证号:", trigger: "change" },
436 ],
437 qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
438 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
439 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
440 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }],
441 },
442 };
443 },
444 created() {
445 this.loadData();
446 },
447 mounted() {},
448 methods: {
449 ztQlxxchange(val) {
450 this.ruleForm.ztQlxx = val;
405 }, 451 },
406 created () { 452 ssQlxxchange(val) {
407 this.loadData(); 453 this.ruleForm.ssQlxx = val;
454 this.ruleForm.qlxx.ssywh = val.ssywh;
408 }, 455 },
409 mounted () { }, 456 djlxchange(val) {
410 methods: { 457 if (val == null || val == 100) {
411 ztQlxxchange (val) { 458 this.ssqlxxshow = false;
412 this.ruleForm.ztQlxx = val; 459 } else {
413 }, 460 this.ssqlxxshow = true;
414 ssQlxxchange (val) { 461 }
415 this.ruleForm.ssQlxx = val; 462 },
416 this.ruleForm.qlxx.ssywh = val.ssywh; 463 loadData() {
417 }, 464 this.propsParam.isEdit = this.$parent.isEdit;
418 djlxchange (val) { 465 init(this.propsParam).then((res) => {
419 if (val == null || val == 100) { 466 if (res.code == 200) {
420 this.ssqlxxshow = false; 467 this.ruleForm = res.result;
421 } else { 468 this.isShow = true;
422 this.ssqlxxshow = true; 469 let djlx = this.ruleForm.qlxx.djlx;
423 } 470 if (djlx == null || djlx == 100) {
424 }, 471 this.ssqlxxshow = false;
425 loadData () {
426 this.propsParam.isEdit = this.$parent.isEdit;
427 init(this.propsParam).then((res) => {
428 if (res.code == 200) {
429 this.ruleForm = res.result;
430 this.isShow = true;
431 let djlx = this.ruleForm.qlxx.djlx;
432 if (djlx == null || djlx == 100) {
433 this.ssqlxxshow = false;
434 }
435 }
436 });
437 //获取主体信息
438 getSsQlxx({
439 bdcdyid: this.propsParam.bdcdyid,
440 qllx: this.propsParam.qllx,
441 }).then((res) => {
442 if (res.code == 200) {
443 this.ssQlxxList = res.result;
444 }
445 });
446 //获取上手信息
447 getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
448 if (res.code == 200) {
449 this.ztQlxxList = res.result;
450 } 472 }
451 }); 473 }
452 }, 474 });
453 // 更新土地用途信息 475 //获取主体信息
454 upDateTdytxxList (val) { 476 getSsQlxx({
455 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 477 bdcdyid: this.propsParam.bdcdyid,
456 this.key++; 478 qllx: this.propsParam.qllx,
457 }, 479 }).then((res) => {
458 // 更新权利人信息 480 if (res.code == 200) {
459 upDateQlrxxList (val) { 481 this.ssQlxxList = res.result;
460 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 482 }
461 this.czrOptions = this.ruleForm.qlrData; 483 });
462 this.key++; 484 //获取上手信息
463 }, 485 getZtQlxx({ bdcdyid: this.propsParam.bdcdyid }).then((res) => {
464 // 更新义务人信息 486 if (res.code == 200) {
465 upDateYwrxxList (val) { 487 this.ztQlxxList = res.result;
466 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); 488 }
467 this.key++; 489 });
468 }, 490 },
469 onSubmit () { 491 // 更新土地用途信息
470 this.$refs.ruleForm.validate((valid) => { 492 upDateTdytxxList(val) {
471 console.log("valid", valid); 493 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
472 if (valid) { 494 this.key++;
473 if (this.ruleForm.qlrData.length == 0) { 495 },
496 // 更新权利人信息
497 upDateQlrxxList(val) {
498 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
499 this.czrOptions = this.ruleForm.qlrData;
500 this.key++;
501 },
502 // 更新义务人信息
503 upDateYwrxxList(val) {
504 this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val));
505 this.key++;
506 },
507 onSubmit() {
508 this.$refs.ruleForm.validate((valid) => {
509 console.log("valid", valid);
510 if (valid) {
511 // if (this.ruleForm.qlrData.length == 0) {
512 // this.$message({
513 // showClose: true,
514 // message: "请确认权利人信息",
515 // type: "error",
516 // });
517 // return false;
518 // }
519
520 // if (this.ruleForm.qlxx.gyfs == "0") {
521 // if (this.ruleForm.qlrData.length > 1) {
522 // this.$message({
523 // showClose: true,
524 // message: "共有方式:单独所有,权利人只能是一个人",
525 // type: "error",
526 // });
527 // return false;
528 // }
529 // this.ruleForm.qlrData[0].sfczr = "1";
530 // }
531 // if (this.ruleForm.qlxx.gyfs == "1") {
532 // //是否分别持证
533 // if (this.ruleForm.qlxx.sqfbcz == "1") {
534 // //是
535 // this.ruleForm.qlrData.forEach((item, index) => {
536 // item.sfczr = "1";
537 // });
538 // } else {
539 // this.ruleForm.qlrData.forEach((item, index) => {
540 // if (item.zjh == this.ruleForm.czr) {
541 // item.sfczr = "1";
542 // } else {
543 // item.sfczr = "0";
544 // }
545 // });
546 // }
547 // }
548 save(this.ruleForm).then((res) => {
549 if (res.code === 200) {
550 this.$message({
551 showClose: true,
552 message: "保存成功!",
553 type: "success",
554 });
555 this.$store.dispatch("user/refreshPage", true);
556 } else {
474 this.$message({ 557 this.$message({
475 showClose: true, 558 showClose: true,
476 message: "请确认权利人信息", 559 message: res.message,
477 type: "error", 560 type: "error",
478 }); 561 });
479 return false;
480 }
481
482 if (this.ruleForm.qlxx.gyfs == "0") {
483 if (this.ruleForm.qlrData.length > 1) {
484 this.$message({
485 showClose: true,
486 message: "共有方式:单独所有,权利人只能是一个人",
487 type: "error",
488 });
489 return false;
490 }
491 this.ruleForm.qlrData[0].sfczr = "1";
492 }
493 if (this.ruleForm.qlxx.gyfs == "1") {
494 //是否分别持证
495 if (this.ruleForm.qlxx.sqfbcz == "1") {
496 //是
497 this.ruleForm.qlrData.forEach((item, index) => {
498 item.sfczr = "1";
499 });
500 } else {
501 this.ruleForm.qlrData.forEach((item, index) => {
502 if (item.zjh == this.ruleForm.czr) {
503 item.sfczr = "1";
504 } else {
505 item.sfczr = "0";
506 }
507 });
508 }
509 } 562 }
510 save(this.ruleForm).then((res) => { 563 });
511 if (res.code === 200) { 564 } else {
512 this.$message({ 565 return false;
513 showClose: true, 566 }
514 message: "保存成功!", 567 });
515 type: "success",
516 });
517 this.$store.dispatch("user/refreshPage", true);
518 } else {
519 this.$message({
520 showClose: true,
521 message: res.message,
522 type: "error",
523 });
524 }
525 });
526 } else {
527 return false;
528 }
529 });
530 },
531 }, 568 },
532 }; 569 },
570 };
533 </script> 571 </script>
534 <style scoped lang="scss"> 572 <style scoped lang="scss">
535 @import "~@/styles/public.scss"; 573 @import "~@/styles/public.scss";
536 @import "~@/styles/slxx/slxx.scss"; 574 @import "~@/styles/slxx/slxx.scss";
537 </style> 575 </style>
......
...@@ -373,8 +373,8 @@ ...@@ -373,8 +373,8 @@
373 v-model="ruleForm.qlxx.djsj" 373 v-model="ruleForm.qlxx.djsj"
374 type="date" 374 type="date"
375 placeholder="选择日期" 375 placeholder="选择日期"
376 value-format="yyyy/MM/dd HH:mm:ss" 376 value-format="yyyy-MM-dd HH:mm:ss"
377 format="yyyy/MM/dd" 377 format="yyyy-MM-dd"
378 > 378 >
379 </el-date-picker> 379 </el-date-picker>
380 </el-form-item> 380 </el-form-item>
...@@ -471,7 +471,7 @@ ...@@ -471,7 +471,7 @@
471 /> 471 />
472 </div> 472 </div>
473 </div> 473 </div>
474 <el-row class="btn"> 474 <el-row class="btn" v-if="!$route.query.viewtype">
475 <el-form-item> 475 <el-form-item>
476 <el-button type="primary" @click="onSubmit">保存</el-button> 476 <el-button type="primary" @click="onSubmit">保存</el-button>
477 </el-form-item> 477 </el-form-item>
......
...@@ -110,7 +110,14 @@ ...@@ -110,7 +110,14 @@
110 </el-col> 110 </el-col>
111 <el-col :span="8"> 111 <el-col :span="8">
112 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> 112 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
113 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 113 <el-date-picker
114 v-model="ruleForm.qlxx.djsj"
115 type="date"
116 placeholder="选择日期"
117 value-format="yyyy-MM-dd HH:mm:ss"
118 format="yyyy-MM-dd"
119 >
120 </el-date-picker>
114 </el-form-item> 121 </el-form-item>
115 </el-col> 122 </el-col>
116 <el-col :span="8"> 123 <el-col :span="8">
...@@ -253,7 +260,7 @@ ...@@ -253,7 +260,7 @@
253 /> 260 />
254 </div> 261 </div>
255 </div> 262 </div>
256 <el-row class="btn"> 263 <el-row class="btn" v-if="!$route.query.viewtype">
257 <el-form-item> 264 <el-form-item>
258 <el-button type="primary" @click="onSubmit">保存</el-button> 265 <el-button type="primary" @click="onSubmit">保存</el-button>
259 </el-form-item> 266 </el-form-item>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 <el-form-item label="登记类型:"> 69 <el-form-item label="登记类型:">
70 <el-select v-model="ruleForm.qlxx.djlx"> 70 <el-select v-model="ruleForm.qlxx.djlx">
71 <el-option 71 <el-option
72 v-for="item in dictData['A21']" 72 v-for="item in djlxlist"
73 :key="item.dcode" 73 :key="item.dcode"
74 :label="item.dname" 74 :label="item.dname"
75 :value="item.dcode" 75 :value="item.dcode"
...@@ -219,28 +219,35 @@ ...@@ -219,28 +219,35 @@
219 </el-col> 219 </el-col>
220 220
221 <el-col :span="8"> 221 <el-col :span="8">
222 <el-form-item label="不动产权证号:"> 222 <el-form-item label="不动产权证号:" prop="qlxx.bdcqzh" :rules="rules.bdcqzhrules">
223 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 223 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
224 </el-form-item> 224 </el-form-item>
225 </el-col> 225 </el-col>
226 <el-col :span="8"> 226 <el-col :span="8">
227 <el-form-item label="区县代码:"> 227 <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules">
228 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 228 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
229 </el-form-item> 229 </el-form-item>
230 </el-col> 230 </el-col>
231 <el-col :span="8"> 231 <el-col :span="8">
232 <el-form-item label="登记机构:"> 232 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules">
233 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 233 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
234 </el-form-item> 234 </el-form-item>
235 </el-col> 235 </el-col>
236 <el-col :span="8"> 236 <el-col :span="8">
237 <el-form-item label="登簿人:"> 237 <el-form-item label="登簿人:" prop="qlxx.dbr" :rules="rules.dbrrules">
238 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 238 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
239 </el-form-item> 239 </el-form-item>
240 </el-col> 240 </el-col>
241 <el-col :span="8"> 241 <el-col :span="8">
242 <el-form-item label="登记时间:"> 242 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
243 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 243 <el-date-picker
244 v-model="ruleForm.qlxx.djsj"
245 type="date"
246 placeholder="选择日期"
247 value-format="yyyy-MM-dd HH:mm:ss"
248 format="yyyy-MM-dd"
249 >
250 </el-date-picker>
244 </el-form-item> 251 </el-form-item>
245 </el-col> 252 </el-col>
246 </el-row> 253 </el-row>
...@@ -328,7 +335,7 @@ ...@@ -328,7 +335,7 @@
328 /> 335 />
329 </div> 336 </div>
330 </div> 337 </div>
331 <el-row class="btn"> 338 <el-row class="btn" v-if="!$route.query.viewtype">
332 <el-form-item> 339 <el-form-item>
333 <el-button type="primary" @click="onSubmit">保存</el-button> 340 <el-button type="primary" @click="onSubmit">保存</el-button>
334 </el-form-item> 341 </el-form-item>
...@@ -366,6 +373,34 @@ export default { ...@@ -366,6 +373,34 @@ export default {
366 373
367 //表单是否可操作 374 //表单是否可操作
368 propsParam: this.$attrs, 375 propsParam: this.$attrs,
376 // 登记类型
377 djlxlist: [
378 {
379 dcode: "100",
380 dname: "首次登记",
381 },
382 {
383 dcode: "200",
384 dname: "转移登记",
385 },
386 {
387 dcode: "300",
388 dname: "变更登记",
389 },
390 {
391 dcode: "500",
392 dname: "更正登记",
393 },
394
395 {
396 dcode: "901",
397 dname: "补证",
398 },
399 {
400 dcode: "902",
401 dname: "换证",
402 },
403 ],
369 // 权属状态 404 // 权属状态
370 qsztlist: [ 405 qsztlist: [
371 { 406 {
...@@ -383,8 +418,16 @@ export default { ...@@ -383,8 +418,16 @@ export default {
383 disabled: true, 418 disabled: true,
384 czrOptions: [], 419 czrOptions: [],
385 ruleForm: {}, 420 ruleForm: {},
386 //传递参数\ 421 //传递参数\
387 rules: {}, 422 rules: {
423 bdcqzhrules:[
424 { required: true, message: "不动产权证号:", trigger: "change" },
425 ],
426 qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
427 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
428 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
429 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }],
430 },
388 }; 431 };
389 }, 432 },
390 created() { 433 created() {
...@@ -393,6 +436,7 @@ export default { ...@@ -393,6 +436,7 @@ export default {
393 mounted() {}, 436 mounted() {},
394 methods: { 437 methods: {
395 loadData() { 438 loadData() {
439
396 this.propsParam.isEdit=this.$parent.isEdit 440 this.propsParam.isEdit=this.$parent.isEdit
397 init(this.propsParam).then((res) => { 441 init(this.propsParam).then((res) => {
398 if (res.code == 200) { 442 if (res.code == 200) {
...@@ -423,6 +467,8 @@ export default { ...@@ -423,6 +467,8 @@ export default {
423 this.key++; 467 this.key++;
424 }, 468 },
425 onSubmit() { 469 onSubmit() {
470 this.$refs.ruleForm.validate((valid) => {
471 if (valid) {
426 if (this.ruleForm.qlrData.length == 0) { 472 if (this.ruleForm.qlrData.length == 0) {
427 this.$message({ 473 this.$message({
428 showClose: true, 474 showClose: true,
...@@ -490,13 +536,18 @@ export default { ...@@ -490,13 +536,18 @@ export default {
490 }); 536 });
491 this.$store.dispatch("user/refreshPage", true); 537 this.$store.dispatch("user/refreshPage", true);
492 } else { 538 } else {
539
493 this.$message({ 540 this.$message({
494 showClose: true, 541 showClose: true,
495 message: res.message, 542 message: res.message,
496 type: "error", 543 type: "error",
497 }); 544 });
498 } 545 }
546 }); } else {
547 return false;
548 }
499 }); 549 });
550
500 }, 551 },
501 }, 552 },
502 }; 553 };
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
69 <el-form-item label="登记类型:"> 69 <el-form-item label="登记类型:">
70 <el-select v-model="ruleForm.qlxx.djlx"> 70 <el-select v-model="ruleForm.qlxx.djlx">
71 <el-option 71 <el-option
72 v-for="item in dictData['A21']" 72 v-for="item in djlxlist"
73 :key="item.dcode" 73 :key="item.dcode"
74 :label="item.dname" 74 :label="item.dname"
75 :value="item.dcode" 75 :value="item.dcode"
...@@ -107,17 +107,17 @@ ...@@ -107,17 +107,17 @@
107 <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> 107 <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input>
108 </el-form-item> 108 </el-form-item>
109 </el-col> 109 </el-col>
110 <el-col :span="8"> 110 <el-col :span="8">
111 <el-form-item label="使用权起始时间"> 111 <el-form-item label="使用权起始时间">
112 <el-input v-model="ruleForm.jsydsyq.syqqssj"></el-input> 112 <el-input v-model="ruleForm.jsydsyq.syqqssj"></el-input>
113 </el-form-item> 113 </el-form-item>
114 </el-col> 114 </el-col>
115 <el-col :span="8"> 115 <el-col :span="8">
116 <el-form-item label="使用权结束时间"> 116 <el-form-item label="使用权结束时间">
117 <el-input v-model="ruleForm.jsydsyq.syqjssj"></el-input> 117 <el-input v-model="ruleForm.jsydsyq.syqjssj"></el-input>
118 </el-form-item> 118 </el-form-item>
119 </el-col> 119 </el-col>
120 <el-col :span="8"> 120 <el-col :span="8">
121 <el-form-item label="土地使用期限"> 121 <el-form-item label="土地使用期限">
122 <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input> 122 <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input>
123 </el-form-item> 123 </el-form-item>
...@@ -148,28 +148,55 @@ ...@@ -148,28 +148,55 @@
148 </el-col> 148 </el-col>
149 149
150 <el-col :span="8"> 150 <el-col :span="8">
151 <el-form-item label="不动产权证号:"> 151 <el-form-item
152 label="不动产权证号:"
153 prop="qlxx.bdcqzh"
154 :rules="rules.bdcqzhrules"
155 >
152 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 156 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
153 </el-form-item> 157 </el-form-item>
154 </el-col> 158 </el-col>
155 <el-col :span="8"> 159 <el-col :span="8">
156 <el-form-item label="区县代码:"> 160 <el-form-item
161 label="区县代码:"
162 prop="qlxx.qxdm"
163 :rules="rules.qxdmrules"
164 >
157 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 165 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
158 </el-form-item> 166 </el-form-item>
159 </el-col> 167 </el-col>
160 <el-col :span="8"> 168 <el-col :span="8">
161 <el-form-item label="登记机构:"> 169 <el-form-item
170 label="登记机构:"
171 prop="qlxx.djjg"
172 :rules="rules.djjgrules"
173 >
162 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 174 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
163 </el-form-item> 175 </el-form-item>
164 </el-col> 176 </el-col>
165 <el-col :span="8"> 177 <el-col :span="8">
166 <el-form-item label="登簿人:"> 178 <el-form-item
179 label="登簿人:"
180 prop="qlxx.dbr"
181 :rules="rules.dbrrules"
182 >
167 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 183 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
168 </el-form-item> 184 </el-form-item>
169 </el-col> 185 </el-col>
170 <el-col :span="8"> 186 <el-col :span="8">
171 <el-form-item label="登记时间:"> 187 <el-form-item
172 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 188 label="登记时间:"
189 prop="qlxx.djsj"
190 :rules="rules.djsjrules"
191 >
192 <el-date-picker
193 v-model="ruleForm.qlxx.djsj"
194 type="date"
195 placeholder="选择日期"
196 value-format="yyyy-MM-dd HH:mm:ss"
197 format="yyyy-MM-dd"
198 >
199 </el-date-picker>
173 </el-form-item> 200 </el-form-item>
174 </el-col> 201 </el-col>
175 </el-row> 202 </el-row>
...@@ -253,7 +280,7 @@ ...@@ -253,7 +280,7 @@
253 /> 280 />
254 </div> 281 </div>
255 </div> 282 </div>
256 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 283 <el-row class="btn" v-if="!$route.query.viewtype">
257 <el-form-item> 284 <el-form-item>
258 <el-button type="primary" @click="onSubmit">保存</el-button> 285 <el-button type="primary" @click="onSubmit">保存</el-button>
259 </el-form-item> 286 </el-form-item>
...@@ -289,6 +316,34 @@ export default { ...@@ -289,6 +316,34 @@ export default {
289 propsParam: this.$attrs, 316 propsParam: this.$attrs,
290 ableOperation: true, 317 ableOperation: true,
291 key: 0, 318 key: 0,
319 // 登记类型
320 djlxlist: [
321 {
322 dcode: "100",
323 dname: "首次登记",
324 },
325 {
326 dcode: "200",
327 dname: "转移登记",
328 },
329 {
330 dcode: "300",
331 dname: "变更登记",
332 },
333 {
334 dcode: "500",
335 dname: "更正登记",
336 },
337
338 {
339 dcode: "901",
340 dname: "补证",
341 },
342 {
343 dcode: "902",
344 dname: "换证",
345 },
346 ],
292 // 权属状态 347 // 权属状态
293 qsztlist: [ 348 qsztlist: [
294 { 349 {
...@@ -300,13 +355,21 @@ export default { ...@@ -300,13 +355,21 @@ export default {
300 dname: "历史", 355 dname: "历史",
301 }, 356 },
302 ], 357 ],
303 tdxz:null, 358 tdxz: null,
304 isShow: false, 359 isShow: false,
305 disabled: true, 360 disabled: true,
306 czrOptions: [], 361 czrOptions: [],
307 ruleForm: {}, 362 ruleForm: {},
308 //传递参数\ 363 //传递参数\
309 rules: {}, 364 rules: {
365 bdcqzhrules: [
366 { required: true, message: "不动产权证号:", trigger: "change" },
367 ],
368 qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }],
369 djjgrules: [{ required: true, message: "登记机构", trigger: "change" }],
370 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
371 djsjrules: [{ required: true, message: "登记时间", trigger: "change" }],
372 },
310 }; 373 };
311 }, 374 },
312 created() { 375 created() {
...@@ -319,14 +382,15 @@ export default { ...@@ -319,14 +382,15 @@ export default {
319 return store.getters.dictData[val]; 382 return store.getters.dictData[val];
320 }, 383 },
321 loadData() { 384 loadData() {
322 this.propsParam.isEdit=this.$parent.isEdit 385
386 this.propsParam.isEdit = this.$parent.isEdit;
323 init(this.propsParam).then((res) => { 387 init(this.propsParam).then((res) => {
324 if (res.code == 200) { 388 if (res.code == 200) {
325 this.ruleForm = res.result; 389 this.ruleForm = res.result;
326 if( this.ruleForm.tdytqxList.length>0){ 390 if (this.ruleForm.tdytqxList.length > 0) {
327 this.tdxz=this.ruleForm.tdytqxList[0].qlxzbm 391 this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
328 }else{ 392 } else {
329 this.tdxz=null 393 this.tdxz = null;
330 } 394 }
331 this.isShow = true; 395 this.isShow = true;
332 } 396 }
...@@ -349,57 +413,63 @@ export default { ...@@ -349,57 +413,63 @@ export default {
349 this.key++; 413 this.key++;
350 }, 414 },
351 onSubmit() { 415 onSubmit() {
352 if (this.ruleForm.qlrData.length == 0) { 416 this.$refs.ruleForm.validate((valid) => {
353 this.$message({ 417 if (valid) {
354 showClose: true, 418 if (this.ruleForm.qlrData.length == 0) {
355 message: "请确认权利人信息", 419 this.$message({
356 type: "error", 420 showClose: true,
357 }); 421 message: "请确认权利人信息",
358 return false; 422 type: "error",
359 } 423 });
424 return false;
425 }
360 426
361 if (this.ruleForm.qlxx.gyfs == "0") { 427 if (this.ruleForm.qlxx.gyfs == "0") {
362 if (this.ruleForm.qlrData.length > 1) { 428 if (this.ruleForm.qlrData.length > 1) {
363 this.$message({ 429 this.$message({
364 showClose: true, 430 showClose: true,
365 message: "共有方式:单独所有,权利人只能是一个人", 431 message: "共有方式:单独所有,权利人只能是一个人",
366 type: "error", 432 type: "error",
367 }); 433 });
368 return false; 434 return false;
369 } 435 }
370 this.ruleForm.qlrData[0].sfczr = "1"; 436 this.ruleForm.qlrData[0].sfczr = "1";
371 } 437 }
372 if (this.ruleForm.qlxx.gyfs == "1") { 438 if (this.ruleForm.qlxx.gyfs == "1") {
373 //是否分别持证 439 //是否分别持证
374 if (this.ruleForm.qlxx.sqfbcz == "1") { 440 if (this.ruleForm.qlxx.sqfbcz == "1") {
375 //是 441 //是
376 this.ruleForm.qlrData.forEach((item, index) => { 442 this.ruleForm.qlrData.forEach((item, index) => {
377 item.sfczr = "1"; 443 item.sfczr = "1";
378 }); 444 });
379 } else {
380 this.ruleForm.qlrData.forEach((item, index) => {
381 if (item.zjh == this.ruleForm.czr) {
382 item.sfczr = "1";
383 } else { 445 } else {
384 item.sfczr = "0"; 446 this.ruleForm.qlrData.forEach((item, index) => {
447 if (item.zjh == this.ruleForm.czr) {
448 item.sfczr = "1";
449 } else {
450 item.sfczr = "0";
451 }
452 });
453 }
454 }
455 save(this.ruleForm).then((res) => {
456 if (res.code === 200) {
457 this.$message({
458 showClose: true,
459 message: "保存成功!",
460 type: "success",
461 });
462 this.$store.dispatch("user/refreshPage", true);
463 } else {
464 this.$message({
465 showClose: true,
466 message: res.message,
467 type: "error",
468 });
385 } 469 }
386 }); 470 });
387 }
388 }
389 save(this.ruleForm).then((res) => {
390 if (res.code === 200) {
391 this.$message({
392 showClose: true,
393 message: "保存成功!",
394 type: "success",
395 });
396 this.$store.dispatch("user/refreshPage", true);
397 } else { 471 } else {
398 this.$message({ 472 return false;
399 showClose: true,
400 message: res.message,
401 type: "error",
402 });
403 } 473 }
404 }); 474 });
405 }, 475 },
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 </el-form-item> 100 </el-form-item>
101 </el-col> 101 </el-col>
102 <el-col :span="8"> 102 <el-col :span="8">
103 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules"> 103 <el-form-item label="登记机构:" prop="qlxx.djjg" :rules="rules.djjgrules">
104 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 104 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
105 </el-form-item> 105 </el-form-item>
106 </el-col> 106 </el-col>
...@@ -111,7 +111,14 @@ ...@@ -111,7 +111,14 @@
111 </el-col> 111 </el-col>
112 <el-col :span="8"> 112 <el-col :span="8">
113 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> 113 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
114 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 114 <el-date-picker
115 v-model="ruleForm.qlxx.djsj"
116 type="date"
117 placeholder="选择日期"
118 value-format="yyyy-MM-dd HH:mm:ss"
119 format="yyyy-MM-dd"
120 >
121 </el-date-picker>
115 </el-form-item> 122 </el-form-item>
116 </el-col> 123 </el-col>
117 <el-col :span="8"> 124 <el-col :span="8">
...@@ -292,7 +299,7 @@ ...@@ -292,7 +299,7 @@
292 /> 299 />
293 </div> 300 </div>
294 </div> 301 </div>
295 <el-row class="btn"> 302 <el-row class="btn" v-if="!$route.query.viewtype">
296 <el-form-item> 303 <el-form-item>
297 <el-button type="primary" @click="onSubmit">保存</el-button> 304 <el-button type="primary" @click="onSubmit">保存</el-button>
298 </el-form-item> 305 </el-form-item>
......
...@@ -110,7 +110,14 @@ ...@@ -110,7 +110,14 @@
110 </el-col> 110 </el-col>
111 <el-col :span="8"> 111 <el-col :span="8">
112 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules"> 112 <el-form-item label="登记时间:" prop="qlxx.djsj" :rules="rules.djsjrules">
113 <el-input v-model="ruleForm.qlxx.djsj"></el-input> 113 <el-date-picker
114 v-model="ruleForm.qlxx.djsj"
115 type="date"
116 placeholder="选择日期"
117 value-format="yyyy-MM-dd HH:mm:ss"
118 format="yyyy-MM-dd"
119 >
120 </el-date-picker>
114 </el-form-item> 121 </el-form-item>
115 </el-col> 122 </el-col>
116 <el-col :span="8"> 123 <el-col :span="8">
...@@ -154,7 +161,14 @@ ...@@ -154,7 +161,14 @@
154 </el-col> 161 </el-col>
155 <el-col :span="8"> 162 <el-col :span="8">
156 <el-form-item label="注销异议登记时间"> 163 <el-form-item label="注销异议登记时间">
157 <el-input v-model="ruleForm.yydj.zxyydjsj"></el-input> 164 <el-date-picker
165 v-model="ruleForm.yydj.zxyydjsj"
166 type="date"
167 placeholder="选择日期"
168 value-format="yyyy-MM-dd HH:mm:ss"
169 format="yyyy-MM-dd"
170 >
171 </el-date-picker>
158 </el-form-item> 172 </el-form-item>
159 </el-col> 173 </el-col>
160 <el-col :span="8"> 174 <el-col :span="8">
...@@ -203,8 +217,7 @@ ...@@ -203,8 +217,7 @@
203 /> 217 />
204 </div> 218 </div>
205 </div> 219 </div>
206 <!-- <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> --> 220 <el-row class="btn" v-if="!$route.query.viewtype">
207 <el-row class="btn">
208 <el-form-item> 221 <el-form-item>
209 <el-button type="primary" @click="onSubmit">保存</el-button> 222 <el-button type="primary" @click="onSubmit">保存</el-button>
210 </el-form-item> 223 </el-form-item>
......
...@@ -4,230 +4,334 @@ ...@@ -4,230 +4,334 @@
4 * @LastEditTime: 2023-05-17 10:41:24 4 * @LastEditTime: 2023-05-17 10:41:24
5 --> 5 -->
6 <template> 6 <template>
7 <div class='spyj loadingtext'> 7 <div class="spyj loadingtext">
8 <div class="box"> 8 <div class="box">
9 <b class="spyj_title">审批表</b> 9 <div class="spyj_title">
10 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> 10 <div class="leftadd">
11 <div class="spyj_form" v-for="(item, index) in tableData" :key="index"> 11 <i
12 <div class="item_left"> 12 class="el-icon-plus pointer"
13 {{ item.jdmc }}意见 13 @click="addClick()"
14 </div> 14 ></i>
15 <div class="item_right"> 15 </div>
16 <el-row> 16 <div class="righttitle">审批表</div>
17 <el-col :span="24"> 17 </div>
18 <el-form-item label-width="0" class="opinion_item" prop="shyj"> 18
19 <el-input type="textarea" :rows="4" class="opinion" placeholder="请输入审批意见" 19 <div v-for="(item, index) in tableData" :key="index">
20 v-if="item.stepShjy == '1' && ableOperation" v-model="ruleForm.shyj"></el-input> 20 <el-form
21 <el-input type="textarea" :rows="4" class="opinion" v-model="item.shyj" v-else :disabled="true"> 21 :model="tableData[index]"
22 </el-input> 22 label-width="120px"
23 <el-button class="opinion_btn" @click="commonOpinion" 23 :rules="rules"
24 v-if="item.stepShjy == '1' && ableOperation">常用意见</el-button> 24 :ref="'ruleFormRef' + index"
25 </el-form-item> 25 >
26 </el-col> 26 <div class="spyj_form">
27 </el-row> 27 <div class="item_left">
28 <el-row> 28 <div class="left">
29 <el-col :span="16"> 29 <i
30 <el-form-item label="审查人" prop="shryxm"> 30 class="el-icon-minus pointer"
31 {{ item.shryxm }} 31 @click="deleClick()"
32 </el-form-item> 32 ></i>
33 </el-col> 33 </div>
34 <el-col :span="8"> 34 <div class="right">{{ item.jdmc }}意见</div>
35 <el-form-item label="审核时间" prop="shjssj" :key="refresh"> 35 </div>
36 {{ item.shjssj }} 36 <div class="item_right">
37 </el-form-item> 37 <el-row>
38 </el-col> 38 <el-col :span="24">
39 </el-row> 39 <el-form-item
40 label-width="0"
41 class="opinion_item"
42 prop="shyj"
43 >
44 <el-input
45 type="textarea"
46 :rows="4"
47 class="opinion"
48 placeholder="请输入审批意见"
49 v-model="item.shyj"
50 ></el-input>
51 </el-form-item>
52 </el-col>
53 </el-row>
54 <el-row>
55 <el-col :span="16">
56 <el-form-item label="审查人" prop="shryxm">
57 <el-input v-model="item.shryxm"></el-input>
58 </el-form-item>
59 </el-col>
60 <el-col :span="8">
61 <el-form-item label="审核时间" prop="shjssj">
62 <el-date-picker
63 v-model="item.shjssj"
64 type="date"
65 placeholder="选择日期"
66 value-format="yyyy/MM/dd HH:mm:ss"
67 format="yyyy/MM/dd"
68 >
69 </el-date-picker>
70 </el-form-item>
71 </el-col>
72 </el-row>
73 </div>
40 </div> 74 </div>
41 </div> 75 </el-form>
42 <div class="submit_button" v-if="ableOperation"> 76 </div>
43 <el-button type="primary" @click="onSubmit">保存</el-button> 77 <div class="submit_button" v-if="!$route.query.viewtype">
44 </div> 78 <el-button type="primary" @click="onSubmit('ruleFormRef')"
45 </el-form> 79 >保存</el-button
80 >
81 </div>
46 </div> 82 </div>
47 <el-empty v-if="isNoData" description="暂无数据"></el-empty> 83 <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> -->
48 </div> 84 </div>
49 </template> 85 </template>
50 <script> 86 <script>
51 import { getSpyjList, saveSpyj, saveSpyjBySlsq } from "@/api/fqsq.js"; 87 import { addidea, getShList } from "@/api/djbbl.js";
52 import { mapGetters } from 'vuex' 88 import { mapGetters } from "vuex";
53 export default { 89 export default {
54 computed: { 90 computed: {
55 ...mapGetters(['userData', 'yjsqOptions']) 91 ...mapGetters(["userData", "yjsqOptions"]),
56 }, 92 },
57 data () { 93 data() {
58 return { 94 return {
59 isNoData: false, 95 isNoData: false,
60 bsmSlsq: '', 96 ableOperation: true,
61 //刷新值 97 tableData: [{ jdmc: "初审" }],
62 refresh: 10, 98 rules: {
63 ableOperation: true, 99 shyj: [{ required: true, message: "请填写意见", trigger: "blur" }],
64 bsmSlsq: this.$route.query.bsmSlsq, 100 shryxm: [{ required: true, message: "审查人", trigger: "blur" }],
65 bestepid: this.$route.query.bestepid, 101 shjssj: [{ required: true, message: "审核时间", trigger: "blur" }],
66 ruleForm: {},
67 rules: {
68 shyj: [
69 { required: true, message: '请输入审批意见', trigger: 'blur' }
70 ],
71 },
72 tableData: [],
73 propsParam: {}
74 }
75 },
76 watch: {
77 yjsqOptions: {
78 handler (val) {
79 this.ruleForm.shyj = val
80 },
81 deep: true,
82 immediate: true
83 }, 102 },
84 }, 103 };
85 mounted () { 104 },
86 this.propsParam = this.$attrs; 105
87 if (this.$route.query.viewtype) { 106 watch: {},
88 this.ableOperation = false 107 created() {},
108 mounted() {
109 this.getShList();
110 },
111 methods: {
112 deleClick(){
113 console.log("111 ");
114 if(this.tableData.length<=1){
115 console.log("w222");
116 this.$message.error("最少填写一条初审意见");
117 }else if(this.tableData.length>=2){
118 console.log("3333");
119 this.tableData=this.tableData.slice(0,-1)
89 } 120 }
90 this.list(); 121
91 }, 122 },
92 methods: { 123 addClick(){
93 //审批意见数据初始化 124 if(this.tableData.length==1){
94 list () { 125 this.tableData.push({ jdmc: "复审" })
95 let that = this 126 }else if(this.tableData.length==2){
96 this.$startLoading() 127 this.tableData.push({ jdmc: "核定" })
97 var formdata = new FormData(); 128 }else{
98 formdata.append("bsmBusiness", this.propsParam.bsmRepair); 129 this.$message.error("只允许添加三条意见");
99 formdata.append("bestepid", this.$route.query.bestepid); 130 }
100 formdata.append("ableOperation", this.ableOperation) 131
101 getSpyjList(formdata).then((res) => { 132
102 this.$endLoading() 133 },
103 if (res.code === 200 && res.result) { 134
104 console.log("this.tableData this.tableData this.tableData ",this.tableData ); 135
105 this.tableData = res.result ? res.result : [] 136
106 console.log("this.tableDatathis.tableDatathis.tableDatathis.tableData",this.tableData); 137 getShList() {
107 if (res.result.length == 0) { 138 this.$startLoading();
108 that.isNoData = true 139 var formdata = {
109 } 140 bsmRepair: this.$parent.bsmRepair,
110 this.ruleForm = res.result[res.result.length - 1] 141 };
142 getShList(formdata).then((res) => {
143 this.$endLoading();
144 if (res.code === 200 && res.result) {
145 if (res.result.length) {
146 this.tableData = res.result;
111 } 147 }
112 }) 148
113 }, 149 // this.ruleForm = res.result[res.result.length - 1]
114 onSubmit () { 150 }
115 this.ruleForm.bsmSlsq = this.bsmSlsq 151 });
116 this.ruleForm.bestepid = this.bestepid 152 },
117 saveSpyjBySlsq(this.ruleForm).then(res => { 153 onSubmit(formName) {
118 if (res.code === 200) { 154 const falg = [];
119 this.$message.success("保存成功") 155 for (let index = 0; index < this.tableData.length; index++) {
120 this.refresh += 1 156 this.$refs[formName + index][0].validate((valid) => {
121 } else { 157 if (valid) {
122 this.$message.error(res.message) 158 falg.push(1);
123 } 159 }
124 }) 160 });
125 },
126 //打开常用意见列表弹窗
127 commonOpinion () {
128 this.$popupDialog("常用意见", "djbworkflow/components/dialog/commonOpinion", {}, "70%", true)
129 },
130 //使用常用意见
131 useOpinion (opinion) {
132 this.ruleForm.shyj = opinion
133 } 161 }
134 } 162 if (falg.length == this.tableData.length) {
135 } 163 this.tableData.forEach((item, index) => {
164 item["bsmBusiness"] = this.$parent.bsmRepair;
165 }),
166 addidea(this.tableData).then((res) => {
167 if (res.code === 200) {
168 this.$message.success("保存成功");
169 this.refresh += 1;
170 } else {
171 this.$message.error(res.message);
172 }
173 });
174 } else {
175 return false;
176 }
177 },
178 // onSubmit() {
179 // this.$refs.tablelist[index].validate((valid) => {
180 // if (valid) {
181 // this.tableData.forEach((item, index) => {
182 // item["bsmBusiness"] = this.$parent.bsmRepair;
183 // }),
184 // addidea(this.tableData).then((res) => {
185 // if (res.code === 200) {
186 // this.$message.success("保存成功");
187 // this.refresh += 1;
188 // } else {
189 // this.$message.error(res.message);
190 // }
191 // });
192 // }
193 // });
194 // },
195 },
196 };
136 </script> 197 </script>
137 <style scoped lang='scss'> 198 <style scoped lang="scss">
138 @import "~@/styles/mixin.scss"; 199 @import "~@/styles/mixin.scss";
139 200
140 .spyj { 201 .spyj {
202 width: 100%;
203 height: 100%;
204 background-color: #f5f5f5;
205 padding: 5px;
206 .box {
207 overflow-x: auto;
141 width: 100%; 208 width: 100%;
142 height: 100%; 209 height: 95%;
143 background-color: #f5f5f5; 210 background: #fff;
144 padding: 5px; 211 text-align: center;
145 .box { 212 padding: 4px;
146 overflow-x: auto; 213 overflow-y: scroll;
147 width: 100%; 214 padding-top: 20px;
148 height: 95%; 215 padding: 20px 40px;
149 background: #fff; 216 .spyj_title {
150 text-align: center; 217 width: 100%;
151 padding: 4px; 218 height:80px;
152 overflow-y: scroll; 219 border: 1px solid $borderColor;
153 padding-top: 20px; 220 background-color: #eceef2;
154 padding: 20px 40px; 221 display: flex;
155 }
156 .spyj_title {
157 line-height: 68px;
158 border: 1px solid $borderColor;
159 text-align: center;
160 font-size: 22px;
161 font-weight: 400;
162 background-color: #eceef2;
163 display: block;
164 border-bottom: none;
165 }
166 222
167 /deep/.el-form-item { 223 }
168 margin-bottom: 0; 224 .leftadd{
169 } 225 width: 3%;
226 height: 100%;
227 display: flex;
228 font-size: 14px;
229 text-indent: 20px;
230 align-items: center;
231 border: 1px solid $borderColor;
170 232
171 .bottom10 {
172 margin-bottom: 15px;
173 } 233 }
234 .righttitle{
235 width: 80%;
236 height: 100%;
237 line-height: 80px;
238 border: 1px solid $borderColor;
239 text-align: center;
240 font-size: 22px;
241 font-weight: 400;
242
243 }
244 }
245
246
247 /deep/.el-form-item {
248 margin-bottom: 0;
249 }
250
251 .bottom10 {
252 margin-bottom: 15px;
253 }
254
255 .spyj_form {
256 display: flex;
257 border: 1px solid $borderColor;
174 258
175 .spyj_form { 259 .item_left {
260 width: 150px;
261 background-color: #f8f8fa;
262 color: #606266;
176 display: flex; 263 display: flex;
177 border: 1px solid $borderColor; 264 font-size: 14px;
265 text-indent: 80px;
266 align-items: center;
267 border-right: 1px solid $borderColor;
178 268
179 .item_left { 269 .left {
180 width: 150px; 270 width: 30%;
181 background-color: #f8f8fa; 271 height: 100%;
272 display: flex;
273 font-size: 14px;
274 text-indent: 20px;
275 align-items: center;
276 border-right: 1px solid $borderColor;
277 .el-icon-minus{
278 font-size: 14px;
279 color: black;
280 }
281 }
282 .right {
283 width: 70%;
284 height: 100%;
182 color: #606266; 285 color: #606266;
183 display: flex; 286 display: flex;
184 font-size: 14px; 287 font-size: 14px;
185 text-indent: 80px; 288 text-indent: 20px;
186 align-items: center; 289 align-items: center;
187 border-right: 1px solid $borderColor; 290 border-right: 1px solid $borderColor;
188 } 291 }
292 }
189 293
190 .item_right { 294 .item_right {
191 flex: 1; 295 flex: 1;
192 width: 100%; 296 width: 100%;
193 297
194 /deep/.el-form-item__label { 298 /deep/.el-form-item__label {
195 background-color: #f8f8fa; 299 background-color: #f8f8fa;
196 } 300 }
197 /deep/.el-form-item__content { 301 /deep/.el-form-item__content {
198 display: block; 302 display: block;
199 text-align: left; 303 text-align: left;
200 text-indent: 10px; 304 text-indent: 10px;
305 }
306 .opinion_item {
307 /deep/.el-form-item__error {
308 margin-top: -16px !important;
309 left: 3px;
201 } 310 }
202 .opinion_item {
203 /deep/.el-form-item__error {
204 margin-top: -16px !important;
205 left: 3px;
206 }
207 311
208 border-bottom: 1px solid $borderColor; 312 border-bottom: 1px solid $borderColor;
209 } 313 }
210 314
211 .opinion { 315 .opinion {
212 position: relative; 316 position: relative;
213 font-size: 14px; 317 font-size: 14px;
214 318
215 /deep/.el-textarea__inner { 319 /deep/.el-textarea__inner {
216 border: none; 320 border: none;
217 }
218 } 321 }
322 }
219 323
220 .opinion_btn { 324 .opinion_btn {
221 position: absolute; 325 position: absolute;
222 right: 15px; 326 right: 15px;
223 bottom: 10px; 327 bottom: 10px;
224 }
225 } 328 }
226 } 329 }
330 }
227 331
228 .submit_button { 332 .submit_button {
229 text-align: center; 333 text-align: center;
230 margin: 15px 0; 334 margin: 15px 0;
231 }
232 } 335 }
336 }
233 </style> 337 </style>
......
...@@ -67,21 +67,22 @@ export default { ...@@ -67,21 +67,22 @@ export default {
67 case "B0": 67 case "B0":
68 this.openDialog() 68 this.openDialog()
69 break; 69 break;
70 case "B1": 70 case "B1":
71 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { 71 getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => {
72 let { result } = res 72 let { result } = res
73 this.$popupDialog("流程图", "workflow/components/processViewer", { 73 this.$popupDialog("流程图", "workflow/components/processViewer", {
74 xml: result.xml, 74 xml: result.xml,
75 finishedInfo: { 75 finishedInfo: {
76 finishedTaskSet: result.finishedActivityIds, 76 finishedTaskSet: result.finishedActivityIds,
77 unfinishedTaskSet: result.runningActivityIds, 77 unfinishedTaskSet: result.runningActivityIds,
78 rejectedTaskSet: result.rejectedTaskSet, 78 rejectedTaskSet: {},
79 finishedSequenceFlowSet: result.finishedSequenceFlowIds 79 finishedSequenceFlowSet: result.finishedSequenceFlowIds
80 }, 80 },
81 allCommentList: result.historyTaskList 81 handlinglist:result.runningTasks,
82 }, '80%', true) 82 allCommentList: result.finishedTasks
83 }) 83 }, '80%', true)
84 break; 84 })
85 break;
85 case "B2": //材料分屏按钮 86 case "B2": //材料分屏按钮
86 87
87 this.closefp() 88 this.closefp()
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-24 15:31:00 4 * @LastEditTime: 2023-07-11 08:58:31
5 --> 5 -->
6 <template> 6 <template>
7 <div class="container"> 7 <div class="container">
...@@ -12,8 +12,7 @@ ...@@ -12,8 +12,7 @@
12 <li 12 <li
13 @click="operation(item)" 13 @click="operation(item)"
14 v-for="(item, index) in leftButtonList" 14 v-for="(item, index) in leftButtonList"
15 :key="index" 15 :key="index">
16 >
17 <svg-icon class="icon" :icon-class="item.icon" /> 16 <svg-icon class="icon" :icon-class="item.icon" />
18 <span class="iconName">{{ item.name }}</span> 17 <span class="iconName">{{ item.name }}</span>
19 </li> 18 </li>
...@@ -22,8 +21,7 @@ ...@@ -22,8 +21,7 @@
22 <li 21 <li
23 @click="operation(item)" 22 @click="operation(item)"
24 v-for="(item, index) in rightButtonList" 23 v-for="(item, index) in rightButtonList"
25 :key="index" 24 :key="index">
26 >
27 <svg-icon class="icon" :icon-class="item.icon" /> 25 <svg-icon class="icon" :icon-class="item.icon" />
28 <span class="iconName">{{ item.name }}</span> 26 <span class="iconName">{{ item.name }}</span>
29 </li> 27 </li>
...@@ -50,15 +48,13 @@ ...@@ -50,15 +48,13 @@
50 :label="item.name" 48 :label="item.name"
51 :name="item.value" 49 :name="item.value"
52 v-for="item in tabList" 50 v-for="item in tabList"
53 :key="item.value" 51 :key="item.value">
54 >
55 </el-tab-pane> 52 </el-tab-pane>
56 </el-tabs> 53 </el-tabs>
57 <component 54 <component
58 :key="fresh" 55 :key="fresh"
59 :is="componentTag" 56 :is="componentTag"
60 v-bind="currentSelectProps" 57 v-bind="currentSelectProps" />
61 />
62 </div> 58 </div>
63 </div> 59 </div>
64 </div> 60 </div>
...@@ -67,205 +63,217 @@ ...@@ -67,205 +63,217 @@
67 </div> 63 </div>
68 </template> 64 </template>
69 <style scoped lang="scss"> 65 <style scoped lang="scss">
70 @import "~@/styles/mixin.scss"; 66 @import "~@/styles/mixin.scss";
71 @import "./workFrame.scss"; 67 @import "./workFrame.scss";
72 </style> 68 </style>
73 <script> 69 <script>
74 import WorkFlow from "./mixin/index"; 70 import WorkFlow from "./mixin/index";
75 import { getForm } from "./flowform"; 71 import { getForm } from "./flowform";
76 import { getStepFormInfo } from "@/api/fqsq.js"; 72 import { getStepFormInfo } from "@/api/fqsq.js";
77 import NoticeBar from "@/components/NoticeBar/index"; 73 import NoticeBar from "@/components/NoticeBar/index";
78 import ProcessViewer from "./components/processViewer.vue"; 74 import ProcessViewer from "./components/processViewer.vue";
79 // 引入左侧菜单 75 // 引入左侧菜单
80 import { leftMenubl } from "@/api/djbbl.js"; 76 import { leftMenubl } from "@/api/djbbl.js";
81 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 77 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
82 import qllxDailog from "./djbBook/components/qllxDailog"; 78 import qllxDailog from "./djbBook/components/qllxDailog";
83 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 79 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
84 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; 80 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
85 // 登记簿数据信息 81 // 登记簿数据信息
86 import { addRepairRecord } from "@/api/djbbl.js"; 82 import { addRepairRecord } from "@/api/djbbl.js";
87 // 获取权利类型数组 83 // 获取权利类型数组
88 import { getQllxByBdcdyid } from "@/api/djbbl.js"; 84 import { getQllxByBdcdyid } from "@/api/djbbl.js";
89 85
90 import { getBdcqljqtsx } from "@/api/registerBook.js"; 86 import { getBdcqljqtsx } from "@/api/registerBook.js";
91 export default { 87 export default {
92 components: { 88 components: {
93 selectBdc, 89 selectBdc,
94 NoticeBar, 90 NoticeBar,
95 ProcessViewer, 91 ProcessViewer,
96 ordinaryMenu, 92 ordinaryMenu,
97 qllxDailog, 93 qllxDailog,
98 },
99 mixins: [WorkFlow],
100 data() {
101 return {
102 bsmSlsq: this.$route.query.bsmSlsq,
103 //当前流程所在环节
104 bestepid: this.$route.query.bestepid,
105 //受理申请标识码
106 bdcdyid: this.$route.query.bdcdyid,
107 //当前流程所在环节
108 bdcdyh: this.$route.query.bdcdyh,
109 qllx: this.$route.query.qllx,
110 //设置那个表单选中
111 tabName: "",
112 isEdit:true,
113 // 弹框显示
114 dialogVisible: true,
115 //表单集合
116 tabList: [],
117 //选择加载哪一个组件
118 componentTag: "",
119 //设置表单传递数据
120 currentSelectProps: {},
121 // 首次拿到的业务信息
122 oneSelectProps: {},
123 //材料信息选择卡索引
124 oneget: true,
125 //页面监听时间
126 _beforeUnload_time: "",
127 treedata: {},
128 tabdata: [],
129 defaultNode: {},
130 };
131 },
132 mounted() {
133 // this.getleftMenubl()
134 },
135
136 methods: {
137 stepForm(qllx) {
138 this.oneSelectProps.qllx = qllx;
139 if (this.$refs.Menu.supplementarylist.length) {
140 getStepFormInfo(this.oneSelectProps).then((res) => {
141 this.$nextTick(function () {
142 this.tabList = res.result;
143 this.tabName = this.tabList[0].value;
144 this.getFromRouter(this.tabName);
145 });
146 });
147 }
148 }, 94 },
149 // 获取右侧菜单 95 mixins: [WorkFlow],
150 // getleftMenubl() { 96 data () {
151 // leftMenubl(this.bsmSlsq).then((res) => { 97 return {
152 // this.supplementarylist = res.result; 98 bsmSlsq: this.$route.query.bsmSlsq,
153 // }) 99 //当前流程所在环节
154 // }, 100 bestepid: this.$route.query.bestepid,
155 getQllxByBdcdyid() { 101 //受理申请标识码
156 if (this.currentSelectProps.bdcdyid) { 102 bdcdyid: this.$route.query.bdcdyid,
157 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( 103 //当前流程所在环节
158 (res) => { 104 bdcdyh: this.$route.query.bdcdyh,
159 if (res.code === 200) { 105 qllx: this.$route.query.qllx,
160 this.$refs.qllxlist.qllxlistdata = res.result; 106 //设置那个表单选中
161 this.$refs.qllxlist.dialogVisible = true; 107 tabName: "",
162 } 108 isEdit: true,
163 } 109 // 弹框显示
164 ); 110 dialogVisible: true,
165 } 111 //表单集合
112 tabList: [],
113 //选择加载哪一个组件
114 componentTag: "",
115 //设置表单传递数据
116 currentSelectProps: {},
117 // 首次拿到的业务信息
118 oneSelectProps: {},
119 //材料信息选择卡索引
120 oneget: true,
121 //页面监听时间
122 _beforeUnload_time: "",
123 treedata: {},
124 tabdata: [],
125 bsmRepair:"",
126 defaultNode: {},
127 };
166 }, 128 },
167 // 获取右侧选项卡 129 mounted () {
168 getCurrentSelectProps(val) { 130 // this.getleftMenubl()
169 if (val.bdcdyid) {
170 this.oneSelectProps = val;
171 }
172 this.currentSelectProps = val;
173 if (this.currentSelectProps.bsmRepair) {
174 this.stepForm(this.currentSelectProps.qllx);
175 } else if (!this.oneget) {
176 this.getdjblist();
177 }
178 if (this.oneget) {
179 this.oneget = false;
180 this.stepForm(this.currentSelectProps.qllx);
181 }
182 }, 131 },
183 // 获取渲染登记簿列表 132
184 getdjblist() { 133 methods: {
185 getBdcqljqtsx({ 134 stepForm (qllx) {
186 bdcdyid: this.currentSelectProps.bdcdyid, 135 this.oneSelectProps.qllx = qllx;
187 bdcdyh: this.currentSelectProps.bdcdyh, 136 if (this.$refs.Menu.supplementarylist.length) {
188 }).then((res) => { 137 getStepFormInfo(this.oneSelectProps).then((res) => {
189 if (res.code === 200) { 138 this.$nextTick(function () {
190 this.treedata = loadTreeData(res.result, this.bdcdyh); 139 this.tabList = res.result;
191 this.$nextTick(function () { 140 this.tabName = this.tabList[0].value;
192 this.defaultNode = getNode(this.currentSelectProps.qllx, { 141 this.getFromRouter(this.tabName);
193 linShi: 0,
194 xianShi: 0,
195 liShi: 0,
196 }); 142 });
197 this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点
198 }); 143 });
199 let settree = JSON.parse(JSON.stringify(this.treedata));
200 this.tabdata = [
201 ...settree,
202 ...settree[1].children[0].children[0].children,
203 ];
204 this.tabdata.forEach((item, index, arr) => {
205 arr[index].name = item.label;
206 arr[index].value = item.id;
207 });
208 this.tabList = this.tabdata;
209 } 144 }
210 }); 145 },
211 }, 146 // 获取右侧菜单
212 //右侧表单选项卡事件 147 // getleftMenubl() {
213 beforeLeave(activeName) { 148 // leftMenubl(this.bsmSlsq).then((res) => {
214 if (activeName && activeName != 0) this.getFromRouter(activeName); 149 // this.supplementarylist = res.result;
215 }, 150 // })
216 //切换选项卡内容组件 151 // },
217 getFromRouter(tabname) { 152 getQllxByBdcdyid () {
218 console.log("切换选项卡内容组件", tabname,this.tabList); 153 if (this.currentSelectProps.bdcdyid) {
219 this.componentTag = getForm(tabname); 154 getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then(
220 }, 155 (res) => {
221 closefp() { 156 if (res.code === 200) {
222 console.log("点击分屏"); 157 this.$refs.qllxlist.qllxlistdata = res.result;
223 this.splitScreen = this.splitScreen ? false : true; 158 this.$refs.qllxlist.dialogVisible = true;
224 this.$store.dispatch("app/set1tScreen", this.splitScreen); 159 }
225 this.getFromRouter(this.tabList[0].value); 160 }
226 this.clxxForm = getForm(this.tabList[1].value); 161 );
227 },
228 // 增加补录记录
229 addRepairRecord(row, del) {
230 let from = {
231 bsmQlxx: "",
232 bsmSlsq: this.bsmSlsq,
233 bsmSldy: this.currentSelectProps.bsmSldy,
234 operate: "C",
235 qllx: "",
236 };
237 if (row) {
238 from.bsmQlxx = row.bsmQlxx;
239 if (del) {
240 from.operate = del;
241 } else {
242 from.operate = row.bsmQlxx ? "U" : "C";
243 } 162 }
244 from.qllx = row.qllx; 163 },
245 } 164 // 获取右侧选项卡
246 addRepairRecord(from) 165 getCurrentSelectProps (val) {
247 .then((res) => { 166 this.bsmRepair= val.bsmRepair
248 if (res.code == "200") { 167 if (val.bdcdyid) {
249 this.$refs.qllxlist.dialogVisible = false; 168 this.oneSelectProps = val;
250 this.$nextTick(() => { 169 }
251 this.$refs.Menu.getleftMenubl(res.result); 170 this.currentSelectProps = val;
252 this.$message({ 171 if (this.currentSelectProps.bsmRepair) {
253 type: "success", 172 this.stepForm(this.currentSelectProps.qllx);
254 message: "补录成功!", 173 } else if (!this.oneget) {
174 this.getdjblist();
175 }
176 if (this.oneget) {
177 this.oneget = false;
178 this.stepForm(this.currentSelectProps.qllx);
179 }
180 },
181 // 获取渲染登记簿列表
182 getdjblist () {
183 getBdcqljqtsx({
184 bdcdyid: this.currentSelectProps.bdcdyid,
185 bdcdyh: this.currentSelectProps.bdcdyh,
186 }).then((res) => {
187 if (res.code === 200) {
188 this.treedata = loadTreeData(res.result, this.bdcdyh);
189 this.$nextTick(function () {
190 this.defaultNode = getNode(this.currentSelectProps.qllx, {
191 linShi: 0,
192 xianShi: 0,
193 liShi: 0,
255 }); 194 });
195 this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点
256 }); 196 });
257 } else { 197 let settree = JSON.parse(JSON.stringify(this.treedata));
258 this.$alert(res.message, "提示", { 198 this.tabdata = [
259 confirmButtonText: "确定", 199 ...settree,
260 type: "warning", 200 ...settree[1].children[0].children[0].children,
201 ];
202 this.tabdata.forEach((item, index, arr) => {
203 arr[index].name = item.label;
204 arr[index].value = item.id;
261 }); 205 });
206 this.tabList = this.tabdata;
262 } 207 }
263 })
264 .catch((res) => {
265 console.log("错", res);
266 }); 208 });
267 }, 209 },
268 }, 210 //右侧表单选项卡事件
269 }; 211 beforeLeave (activeName) {
212 if (activeName && activeName != 0) this.getFromRouter(activeName);
213 },
214 //切换选项卡内容组件
215 getFromRouter (tabname) {
216 this.componentTag = getForm(tabname);
217 },
218 closefp () {
219 this.splitScreen = this.splitScreen ? false : true;
220 this.$store.dispatch("app/set1tScreen", this.splitScreen);
221 this.getFromRouter(this.tabList[0].value);
222 this.clxxForm = getForm(this.tabList[1].value);
223 },
224 // 增加补录记录
225 addRepairRecord (row, del) {
226 let from = {
227 bsmQlxx: "",
228 bsmSlsq: this.bsmSlsq,
229 bsmSldy: this.currentSelectProps.bsmSldy,
230 operate: "C",
231 qllx: "",
232 };
233 if (row) {
234 from.bsmQlxx = row.bsmQlxx;
235 if (del) {
236 from.operate = del;
237 } else {
238 from.operate = row.bsmQlxx ? "U" : "C";
239 }
240 from.qllx = row.qllx;
241 }
242 addRepairRecord(from)
243 .then((res) => {
244 if (res.code == "200") {
245 this.$refs.qllxlist.dialogVisible = false;
246 this.$nextTick(() => {
247 this.$refs.Menu.getleftMenubl(res.result);
248 this.$message({
249 type: "success",
250 message: "补录成功!",
251 });
252 });
253 } else {
254 this.$alert(res.message, "提示", {
255 confirmButtonText: "确定",
256 type: "warning",
257 });
258 }
259 })
260 .catch((res) => {
261 console.log("错", res);
262 })
263 },
264 openDialog () {
265 this.$store.dispatch('user/refreshPage', false)
266 let data = JSON.parse(localStorage.getItem('ywbl'))
267 let title
268 if (data?.sqywmc) {
269 title = "申请业务:" + data?.sqywmc
270 } else {
271 title = "申请业务:" + data?.djywmc
272 }
273
274 this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
275 }
276 }
277 };
270 </script> 278 </script>
271 <style scoped lang="scss"></style> 279 <style scoped lang="scss"></style>
......
...@@ -126,6 +126,7 @@ export default { ...@@ -126,6 +126,7 @@ export default {
126 //页面监听时间 126 //页面监听时间
127 _beforeUnload_time: "", 127 _beforeUnload_time: "",
128 treedata: {}, 128 treedata: {},
129 bsmRepair:"",
129 tabdata: [], 130 tabdata: [],
130 defaultNode: {}, 131 defaultNode: {},
131 }; 132 };
...@@ -168,6 +169,7 @@ export default { ...@@ -168,6 +169,7 @@ export default {
168 }, 169 },
169 // 获取右侧选项卡 170 // 获取右侧选项卡
170 getCurrentSelectProps(val) { 171 getCurrentSelectProps(val) {
172 this.bsmRepair= val.bsmRepair
171 if (val.bdcdyid) { 173 if (val.bdcdyid) {
172 this.oneSelectProps = val; 174 this.oneSelectProps = val;
173 } 175 }
......
...@@ -456,6 +456,7 @@ table { ...@@ -456,6 +456,7 @@ table {
456 background-color: #f4f9ff; 456 background-color: #f4f9ff;
457 .tab-content { 457 .tab-content {
458 border: 1px solid #dedede; 458 border: 1px solid #dedede;
459 border-left: 0;
459 background-color: #ffffff; 460 background-color: #ffffff;
460 display: flex; 461 display: flex;
461 &::-webkit-scrollbar { 462 &::-webkit-scrollbar {
......
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
159 overflow: hidden; 159 overflow: hidden;
160 .lpbContent { 160 .lpbContent {
161 width: 100%; 161 width: 100%;
162 height: calc(100% - 62px); 162 height: calc(100% - 36px);
163 position: relative; 163 position: relative;
164 overflow: scroll; 164 overflow: scroll;
165 -webkit-user-select: none; 165 -webkit-user-select: none;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 * @Author: yangwei 2 * @Author: yangwei
3 * @Date: 2023-02-28 17:25:45 3 * @Date: 2023-02-28 17:25:45
4 * @LastEditors: yangwei 4 * @LastEditors: yangwei
5 * @LastEditTime: 2023-03-02 17:34:24 5 * @LastEditTime: 2023-07-11 10:05:55
6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ljzs.vue 6 * @FilePath: \bdcdj-web\src\views\lpb\lpbContent\ljzs.vue
7 * @Description: 7 * @Description:
8 * 8 *
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 --> 10 -->
11 <template> 11 <template>
12 <div class="ljzs-wrap"> 12 <div class="ljzs-wrap">
13 <div v-for="ljzarr in ljzsCptd" :style="{'margin-bottom': ljzarr.length == 1 ? '34px':'80px'}" :key="ljzarr[0].bsm"> 13 <div v-for="ljzarr in ljzsCptd" :style="{'margin-bottom': ljzarr.length == 1 ? '44px':'80px'}" :key="ljzarr[0].bsm">
14 <!-- 多个同起始层逻辑幢 横向排列 --> 14 <!-- 多个同起始层逻辑幢 横向排列 -->
15 <div class="ch-zdy-wrap" v-if="ljzarr.length > 1"> 15 <div class="ch-zdy-wrap" v-if="ljzarr.length > 1">
16 <div v-for="ljz in ljzarr" :key="ljz.ljzmc" class="same-floor-ljz"> 16 <div v-for="ljz in ljzarr" :key="ljz.ljzmc" class="same-floor-ljz">
...@@ -110,7 +110,8 @@ export default { ...@@ -110,7 +110,8 @@ export default {
110 } 110 }
111 .ljz-xmmc { 111 .ljz-xmmc {
112 position: absolute; 112 position: absolute;
113 width: calc(100% - 4px); 113 // width: calc(100% - 4px);
114 width: 100%;
114 bottom: -34px; 115 bottom: -34px;
115 } 116 }
116 } 117 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:09 4 * @LastEditTime: 2023-07-11 10:26:50
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -30,6 +30,10 @@ ...@@ -30,6 +30,10 @@
30 gyfs: { 30 gyfs: {
31 type: String, 31 type: String,
32 default: '1' 32 default: '1'
33 },
34 disabled: {
35 type: Boolean,
36 default: false
33 } 37 }
34 }, 38 },
35 data () { 39 data () {
...@@ -63,7 +67,7 @@ ...@@ -63,7 +67,7 @@
63 label: '身份证读卡器', 67 label: '身份证读卡器',
64 align: 'center', 68 align: 'center',
65 render: (h, scope) => { 69 render: (h, scope) => {
66 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button> 70 return <el-button type="text" icon="el-icon-tickets" disabled={this.isDisabled} onClick={() => { this.readClick(scope) }}>读取</el-button>
67 } 71 }
68 }, 72 },
69 { 73 {
...@@ -87,10 +91,10 @@ ...@@ -87,10 +91,10 @@
87 this.$route.query.viewtype == 1 ? <el-button 91 this.$route.query.viewtype == 1 ? <el-button
88 icon="el-icon-view" 92 icon="el-icon-view"
89 type="text" 93 type="text"
90 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button 94 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled}>查看</el-button> : <el-button
91 icon="el-icon-edit-outline" 95 icon="el-icon-edit-outline"
92 type="text" 96 type="text"
93 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> 97 onClick={() => { this.editClick(scope.$index, scope.row) }} disabled={this.isDisabled}>编辑</el-button>
94 } 98 }
95 </div> 99 </div>
96 ) 100 )
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-05 09:55:42 4 * @LastEditTime: 2023-07-05 09:55:42
5 --> 5 -->
...@@ -67,9 +67,11 @@ ...@@ -67,9 +67,11 @@
67 ...mapGetters(["dictData"]) 67 ...mapGetters(["dictData"])
68 }, 68 },
69 created () { 69 created () {
70 this.ableOperation = this.$parent?.currentSelectTab?.ableOperation || false
71 this.clmlInitList(1) 70 this.clmlInitList(1)
72 }, 71 },
72 mounted() {
73 this.ableOperation = this.$parent.isEdit;
74 },
73 methods: { 75 methods: {
74 // 自动预览 76 // 自动预览
75 nextPriview () { 77 nextPriview () {
...@@ -125,7 +127,6 @@ ...@@ -125,7 +127,6 @@
125 this.previewImg.bsmSj = item.bsmSj; 127 this.previewImg.bsmSj = item.bsmSj;
126 }, 128 },
127 updateList (val) { 129 updateList (val) {
128 console.log(val, 'valvalvalval');
129 let that = this 130 let that = this
130 if (val.children.length != []) { //删除最后一张图片时 val=null 131 if (val.children.length != []) { //删除最后一张图片时 val=null
131 this.tableData.forEach(item => { 132 this.tableData.forEach(item => {
...@@ -339,4 +340,4 @@ ...@@ -339,4 +340,4 @@
339 } 340 }
340 } 341 }
341 } 342 }
342 </style>
...\ No newline at end of file ...\ No newline at end of file
343 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 10:38:23 4 * @LastEditTime: 2023-07-11 09:37:55
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
32 gyfs: { 32 gyfs: {
33 type: String, 33 type: String,
34 default: '1' 34 default: '1'
35 },
36 disabled: {
37 type: Boolean,
38 default: false
35 } 39 }
36 }, 40 },
37 data () { 41 data () {
...@@ -41,6 +45,7 @@ ...@@ -41,6 +45,7 @@
41 dialog: false, 45 dialog: false,
42 isaddupdate: false, 46 isaddupdate: false,
43 showButton: this.$route.query.viewtype ? false : true, 47 showButton: this.$route.query.viewtype ? false : true,
48 isDisabled: this.disabled,
44 details: {}, 49 details: {},
45 tableDataList: [], 50 tableDataList: [],
46 InformationTable: [ 51 InformationTable: [
...@@ -67,7 +72,7 @@ ...@@ -67,7 +72,7 @@
67 label: '身份证读卡器', 72 label: '身份证读卡器',
68 align: 'center', 73 align: 'center',
69 render: (h, scope) => { 74 render: (h, scope) => {
70 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope.row) }}>读取</el-button> 75 return <el-button type="text" icon="el-icon-tickets" disabled={this.isDisabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button>
71 } 76 }
72 }, 77 },
73 { 78 {
...@@ -102,10 +107,10 @@ ...@@ -102,10 +107,10 @@
102 this.$route.query.viewtype ? <el-button 107 this.$route.query.viewtype ? <el-button
103 icon="el-icon-view" 108 icon="el-icon-view"
104 type="text" 109 type="text"
105 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button 110 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button
106 icon="el-icon-edit-outline" 111 icon="el-icon-edit-outline"
107 type="text" 112 type="text"
108 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> 113 onClick={() => { this.editClick(scope.$index, scope.row) }} disabled={this.isDisabled}>编辑</el-button>
109 } 114 }
110 </div> 115 </div>
111 ) 116 )
...@@ -218,22 +223,12 @@ ...@@ -218,22 +223,12 @@
218 }, 223 },
219 // 修改 224 // 修改
220 editClick (index, row) { 225 editClick (index, row) {
221 // popupDialog("申请人信息", "workflow/components/addQlr", {
222 // showButton: this.$route.query.viewtype ? false : true,
223 // dataIndex :index,
224 // details :row,
225 // isaddupdate :false
226 // });
227 this.dataIndex = index 226 this.dataIndex = index
228 this.dialog = true 227 this.dialog = true
229 this.details = row 228 this.details = row
230 this.isaddupdate = false 229 this.isaddupdate = false
231 }, 230 },
232 queryViewClick (index, row) { 231 queryViewClick (index, row) {
233 // popupDialog("申请人信息", "workflow/components/addQlr", {
234 // showButton: this.$route.query.viewtype ? false : true,
235 // details: row,
236 // });
237 this.dialog = true 232 this.dialog = true
238 this.details = row 233 this.details = row
239 } 234 }
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
83 }, 83 },
84 }, 84 },
85 mounted () { 85 mounted () {
86 this.propsParam.isEdit=this.$parent.isEdit
86 this.propsParam = this.$attrs; 87 this.propsParam = this.$attrs;
87 if (this.$route.query.viewtype) { 88 if (this.$route.query.viewtype) {
88 this.ableOperation = false 89 this.ableOperation = false
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-16 10:38:23 4 * @LastEditTime: 2023-07-11 09:14:44
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -10,206 +10,207 @@ ...@@ -10,206 +10,207 @@
10 border 10 border
11 :pagination="false" 11 :pagination="false"
12 :key="key" 12 :key="key"
13 :header-cell-style="{'text-align':'center'}" 13 :header-cell-style="{'text-align':'center'}"
14 :heightNumSetting="true" 14 :heightNumSetting="true"
15 :minHeight="150" 15 :minHeight="150"
16 height="150" 16 height="150"
17 style="width: 100%" 17 style="width: 100%">
18 >
19 <el-table-column 18 <el-table-column
20 prop="index" 19 prop="index"
21 width="50" 20 width="50"
22 :render-header="renderHeader" 21 :render-header="renderHeader">
23 >
24 <template slot-scope="scope"> 22 <template slot-scope="scope">
25 <i 23 <i
26 class="el-icon-minus pointer" 24 class="el-icon-minus pointer"
27 @click="deleClick(scope.$index, scope.row)" 25 @click="deleClick(scope.$index, scope.row)"></i>
28 ></i>
29 </template> 26 </template>
30 </el-table-column> 27 </el-table-column>
31 <el-table-column prop="yt" label="土地用途" min-width="100"> 28 <el-table-column prop="yt" label="土地用途" min-width="100">
32 <template slot-scope="scope"> 29 <template slot-scope="scope">
33 <treeselect 30 <treeselect
34 v-model="tdyt" 31 v-model="tdyt"
35 noOptionsText="暂无数据" 32 :disabled="disabled"
36 placeholder="" 33 noOptionsText="暂无数据"
37 :show-count="true" 34 :show-count="true"
38 :options="dictData['tdyt']" 35 :options="dictData['tdyt']"
39 :normalizer="normalizer" 36 :normalizer="normalizer"
40 :appendToBody="true" z-index="9999" 37 :appendToBody="true" z-index="9999"
41 @input="addrow(scope.row)" 38 @input="addrow(scope.row)" />
42 />
43 </template> 39 </template>
44 </el-table-column> 40 </el-table-column>
45 <el-table-column prop="qssj" label="土地使用起始时间" min-width="100"> 41 <el-table-column prop="qssj" label="土地使用起始时间" min-width="100">
46 <template slot-scope="scope"> 42 <template slot-scope="scope">
47 <el-date-picker 43 <el-date-picker
48 v-model='scope.row.qssj' 44 v-model='scope.row.qssj'
49 type="date" 45 type="date"
50 placeholder="选择日期" 46 :disabled="disabled"
51 value-format="yyyy/MM/dd HH:mm:ss" 47 placeholder="选择日期"
52 format="yyyy/MM/dd" 48 value-format="yyyy/MM/dd HH:mm:ss"
53 @blur="addrow(scope.row)"> 49 format="yyyy/MM/dd"
54 </el-date-picker> 50 @blur="addrow(scope.row)">
51 </el-date-picker>
55 </template> 52 </template>
56 </el-table-column> 53 </el-table-column>
57 <el-table-column prop="jssj" label="土地使用结束时间" min-width="100"> 54 <el-table-column prop="jssj" label="土地使用结束时间" min-width="100">
58 <template slot-scope="scope"> 55 <template slot-scope="scope">
59 <el-date-picker 56 <el-date-picker
60 v-model='scope.row.jssj' 57 v-model='scope.row.jssj'
61 type="date" 58 type="date"
62 placeholder="选择日期" 59 :disabled="disabled"
63 value-format="yyyy/MM/dd HH:mm:ss" 60 placeholder="选择日期"
64 format="yyyy/MM/dd" 61 value-format="yyyy/MM/dd HH:mm:ss"
65 @blur="addrow(scope.row)"> 62 format="yyyy/MM/dd"
66 </el-date-picker> 63 @blur="addrow(scope.row)">
64 </el-date-picker>
67 </template> 65 </template>
68 </el-table-column> 66 </el-table-column>
69 <el-table-column prop="syqx" label="土地使用期限" min-width="100"> 67 <el-table-column prop="syqx" label="土地使用期限" min-width="100">
70 <template slot-scope="scope"> 68 <template slot-scope="scope">
71 <el-input 69 <el-input
72 class="item" 70 class="item"
71 :disabled="disabled"
73 v-model="scope.row.syqx" 72 v-model="scope.row.syqx"
74 placeholder="请输入内容" 73 placeholder="请输入内容"
75 @blur="addrow(scope.row)"> 74 @blur="addrow(scope.row)">
76 ></el-input> 75 ></el-input>
77 </template> 76 </template>
78 </el-table-column> 77 </el-table-column>
79 </el-table> 78 </el-table>
80 </div> 79 </div>
81 </template> 80 </template>
82 <script> 81 <script>
83 import { mapGetters } from "vuex"; 82 import { mapGetters } from "vuex";
84 export default { 83 export default {
85 computed: { 84 computed: {
86 ...mapGetters(["dictData"]), 85 ...mapGetters(["dictData"]),
87 },
88 props: {
89 tableData: {
90 type: Array,
91 default: function () {
92 return [];
93 },
94 }, 86 },
95 }, 87 props: {
96 data() { 88 tableData: {
97 return { 89 type: Array,
98 // 键名转换,方法默认是label和children进行树状渲染 90 default: function () {
99 tdyt:null, 91 return []
100 key: 0,
101 newdata: {
102 yt: "",
103 qssj: "",
104 jssj: "",
105 syqx: "",
106 },
107 tableDataList: [],
108 normalizer(node) {
109 if (node.children == null || node.children == "null") {
110 delete node.children;
111 } 92 }
112 return {
113 id: node.dcode,
114 label: node.dname,
115 };
116 }, 93 },
117 }; 94 disabled: {
118 }, 95 type: Boolean,
119 watch: { 96 default: false
120 tableData: { 97 }
121 handler: function (val, oldVal) { 98 },
122 let that = this; 99 data () {
123 this.$nextTick(() => { 100 return {
124 if (val.length == 0 || !val) { 101 isDisabled: this.disabled,
125 that.tableDataList = _.cloneDeep([ 102 // 键名转换,方法默认是label和children进行树状渲染
126 { 103 tdyt: null,
127 yt: "", 104 key: 0,
128 qssj: "", 105 newdata: {
129 jssj: "", 106 yt: "",
130 syqx: "", 107 qssj: "",
131 }, 108 jssj: "",
132 ]); 109 syqx: "",
133 if( that.tableDataList.length>0){ 110 },
134 console.log("that.tableDataList",that.tableDataList); 111 tableDataList: [],
135 this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null 112 normalizer (node) {
136 }else{ 113 if (node.children == null || node.children == "null") {
137 this.tdyt=null 114 delete node.children;
138 }
139 } else {
140 that.tableDataList = _.cloneDeep(val);
141 if( that.tableDataList.length>0){
142 console.log("that.tableDataList",that.tableDataList);
143 this.tdyt=that.tableDataList[0].yt?that.tableDataList[0].yt:null
144 }else{
145 this.tdyt=null
146 }
147 } 115 }
148 }); 116 return {
149 }, 117 id: node.dcode,
150 immediate: true, 118 label: node.dname,
151 deep: true, 119 };
120 },
121 };
152 }, 122 },
153 }, 123 watch: {
154 methods: { 124 tableData: {
155 renderHeader() { 125 handler: function (val, oldVal) {
156 return ( 126 let that = this;
157 <div> 127 this.$nextTick(() => {
158 {" "} 128 if (val.length == 0 || !val) {
159 {this.$route.query.viewtype == 1 ? ( 129 that.tableDataList = _.cloneDeep([
160 "序号" 130 {
161 ) : ( 131 yt: "",
162 <i 132 qssj: "",
163 class="el-icon-plus pointer" 133 jssj: "",
164 onClick={() => { 134 syqx: "",
165 this.addClick(); 135 },
166 }} 136 ]);
167 ></i> 137 if (that.tableDataList.length > 0) {
168 )} 138 this.tdyt = that.tableDataList[0].yt ? that.tableDataList[0].yt : null
169 </div> 139 } else {
170 ); 140 this.tdyt = null
141 }
142 } else {
143 that.tableDataList = _.cloneDeep(val);
144 if (that.tableDataList.length > 0) {
145 this.tdyt = that.tableDataList[0].yt ? that.tableDataList[0].yt : null
146 } else {
147 this.tdyt = null
148 }
149 }
150 });
151 },
152 immediate: true,
153 deep: true,
154 },
171 }, 155 },
172 // 修改事件 156 methods: {
173 addrow() { 157 renderHeader () {
158 return (
159 <div>
160 {" "}
161 {this.$route.query.viewtype == 1 ? (
162 "序号"
163 ) : (
164 <i
165 class="el-icon-plus pointer"
166 onClick={() => {
167 this.addClick();
168 }}
169 ></i>
170 )}
171 </div>
172 );
173 },
174 // 修改事件
175 addrow () {
174 this.tableDataList = this.tableDataList.map((item) => { 176 this.tableDataList = this.tableDataList.map((item) => {
175 return{ 177 return {
176 ...item, 178 ...item,
177 yt:this.tdyt 179 yt: this.tdyt
178 } 180 }
179 }) 181 })
180 this.$emit("upDateTdytxxList", this.tableDataList); 182 this.$emit("upDateTdytxxList", this.tableDataList);
181 }, 183 },
182 // 新增 184 // 新增
183 addClick() { 185 addClick () {
184 this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); 186 this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata);
185 187
186 this.$emit("upDateTdytxxList", this.tableDataList); 188 this.$emit("upDateTdytxxList", this.tableDataList);
187 }, 189 },
188 190
189 // 删除 191 // 删除
190 deleClick(index, row) { 192 deleClick (index, row) {
191 this.$confirm("确定要删除吗, 是否继续?", "提示", { 193 this.$confirm("确定要删除吗, 是否继续?", "提示", {
192 confirmButtonText: "确定", 194 confirmButtonText: "确定",
193 cancelButtonText: "取消", 195 cancelButtonText: "取消",
194 type: "warning", 196 type: "warning",
195 })
196 .then(() => {
197 this.tableData.splice(index, 1);
198 }) 197 })
199 .catch(() => {}); 198 .then(() => {
199 this.tableData.splice(index, 1);
200 })
201 .catch(() => { });
202 },
200 }, 203 },
201 }, 204 };
202 };
203 </script> 205 </script>
204 <style scoped lang="scss"> 206 <style scoped lang="scss">
205 .el-input { 207 .el-input {
206 border: none !important; 208 border: none !important;
207 } 209 }
208 /deep/.el-table__row{ 210 /deep/.el-table__row {
209 border: none !important; 211 border: none !important;
210 212 }
211 } 213 .el-date-editor.el-input {
212 .el-date-editor.el-input{
213 width: 100%; 214 width: 100%;
214 } 215 }
215 </style> 216 </style>
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-05 09:58:31 4 * @LastEditTime: 2023-07-11 13:59:14
5 */ 5 */
6 import { getForm } from "../flowform"; 6 import { getForm } from "../flowform";
7 import { getHomeNoticeList } from "@/api/home.js" 7 import { getHomeNoticeList } from "@/api/home.js"
...@@ -43,7 +43,6 @@ export default { ...@@ -43,7 +43,6 @@ export default {
43 } 43 }
44 } 44 }
45 this.componentTag = getForm(tabname, this.$route.query.sqywbm); 45 this.componentTag = getForm(tabname, this.$route.query.sqywbm);
46 console.log(tabname);
47 } 46 }
48 } 47 }
49 } 48 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:00 4 * @LastEditTime: 2023-07-11 09:56:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
151 </el-row> 151 </el-row>
152 </div> 152 </div>
153 </div> 153 </div>
154 <el-row class="btn" v-if="!$route.query.viewtype"> 154 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation">
155 <el-form-item :class="flag ? 'marginBot0' : ''"> 155 <el-form-item :class="flag ? 'marginBot0' : ''">
156 <el-button type="primary" @click="onSubmit">保存</el-button> 156 <el-button type="primary" @click="onSubmit">保存</el-button>
157 </el-form-item> 157 </el-form-item>
...@@ -166,6 +166,8 @@ ...@@ -166,6 +166,8 @@
166 export default { 166 export default {
167 data () { 167 data () {
168 return { 168 return {
169 //表单是否可操作
170 ableOperation: true,
169 disabled: true, 171 disabled: true,
170 flagTop: this.flag ? "top" : "", 172 flagTop: this.flag ? "top" : "",
171 rules: {}, 173 rules: {},
...@@ -181,6 +183,7 @@ ...@@ -181,6 +183,7 @@
181 }; 183 };
182 }, 184 },
183 created () { 185 created () {
186 this.ableOperation = this.$parent.currentSelectTab.ableOperation
184 this.propsParam = this.$attrs; 187 this.propsParam = this.$attrs;
185 var formdata = new FormData(); 188 var formdata = new FormData();
186 if (this.propsParam.djlx == '400') { 189 if (this.propsParam.djlx == '400') {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:43:10 4 * @LastEditTime: 2023-07-11 09:57: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="flagTop" 12 :label-position="flagTop"
13 :inline="flag" 13 :inline="flag"
14 label-width="120px" 14 label-width="120px">
15 >
16 <div class="slxx_con"> 15 <div class="slxx_con">
17 <div class="slxx_title title-block"> 16 <div class="slxx_title title-block">
18 受理信息 17 受理信息
...@@ -43,14 +42,12 @@ ...@@ -43,14 +42,12 @@
43 v-model="ruleForm.sldy.qllx" 42 v-model="ruleForm.sldy.qllx"
44 filterable 43 filterable
45 clearable 44 clearable
46 placeholder="请选择权利类型" 45 placeholder="请选择权利类型">
47 >
48 <el-option 46 <el-option
49 v-for="item in dictData['A8']" 47 v-for="item in dictData['A8']"
50 :key="item.dcode" 48 :key="item.dcode"
51 :label="item.dname" 49 :label="item.dname"
52 :value="item.dcode" 50 :value="item.dcode"></el-option>
53 ></el-option>
54 </el-select> 51 </el-select>
55 </el-form-item> 52 </el-form-item>
56 </el-col> 53 </el-col>
...@@ -61,14 +58,12 @@ ...@@ -61,14 +58,12 @@
61 v-model="ruleForm.sldy.djlx" 58 v-model="ruleForm.sldy.djlx"
62 filterable 59 filterable
63 clearable 60 clearable
64 placeholder="请选择登记类型" 61 placeholder="请选择登记类型">
65 >
66 <el-option 62 <el-option
67 v-for="item in dictData['A21']" 63 v-for="item in dictData['A21']"
68 :key="item.dcode" 64 :key="item.dcode"
69 :label="item.dname" 65 :label="item.dname"
70 :value="item.dcode" 66 :value="item.dcode"></el-option>
71 ></el-option>
72 </el-select> 67 </el-select>
73 </el-form-item> 68 </el-form-item>
74 </el-col> 69 </el-col>
...@@ -157,16 +152,14 @@ ...@@ -157,16 +152,14 @@
157 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 152 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
158 <el-input 153 <el-input
159 v-model="ruleForm.cfdj.cfjg" 154 v-model="ruleForm.cfdj.cfjg"
160 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 155 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
161 ></el-input>
162 </el-form-item> 156 </el-form-item>
163 </el-col> 157 </el-col>
164 <el-col :span="8"> 158 <el-col :span="8">
165 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 159 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
166 <el-input 160 <el-input
167 v-model="ruleForm.cfdj.cfwh" 161 v-model="ruleForm.cfdj.cfwh"
168 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 162 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
169 ></el-input>
170 </el-form-item> 163 </el-form-item>
171 </el-col> 164 </el-col>
172 <el-col :span="8"> 165 <el-col :span="8">
...@@ -180,8 +173,7 @@ ...@@ -180,8 +173,7 @@
180 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 173 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
181 <el-input 174 <el-input
182 v-model="ruleForm.cfdj.cfqx" 175 v-model="ruleForm.cfdj.cfqx"
183 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 176 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
184 ></el-input>
185 </el-form-item> 177 </el-form-item>
186 </el-col> 178 </el-col>
187 <el-col :span="8"> 179 <el-col :span="8">
...@@ -192,8 +184,7 @@ ...@@ -192,8 +184,7 @@
192 type="date" 184 type="date"
193 placeholder="选择日期" 185 placeholder="选择日期"
194 value-format="yyyy-MM-dd" 186 value-format="yyyy-MM-dd"
195 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 187 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-date-picker>
196 ></el-date-picker>
197 </el-form-item> 188 </el-form-item>
198 </el-col> 189 </el-col>
199 <el-col :span="8"> 190 <el-col :span="8">
...@@ -204,8 +195,7 @@ ...@@ -204,8 +195,7 @@
204 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 195 :disabled="$route.query.viewtype || ableEdit || isJfOperation"
205 type="date" 196 type="date"
206 placeholder="选择日期" 197 placeholder="选择日期"
207 value-format="yyyy-MM-dd" 198 value-format="yyyy-MM-dd"></el-date-picker>
208 ></el-date-picker>
209 </el-form-item> 199 </el-form-item>
210 </el-col> 200 </el-col>
211 </el-row> 201 </el-row>
...@@ -214,16 +204,14 @@ ...@@ -214,16 +204,14 @@
214 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 204 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
215 <el-input 205 <el-input
216 v-model="ruleForm.cfdj.cfwj" 206 v-model="ruleForm.cfdj.cfwj"
217 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 207 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
218 ></el-input>
219 </el-form-item> 208 </el-form-item>
220 </el-col> 209 </el-col>
221 <el-col :span="16"> 210 <el-col :span="16">
222 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 211 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
223 <el-input 212 <el-input
224 v-model="ruleForm.cfdj.cffw" 213 v-model="ruleForm.cfdj.cffw"
225 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 214 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
226 ></el-input>
227 </el-form-item> 215 </el-form-item>
228 </el-col> 216 </el-col>
229 </el-row> 217 </el-row>
...@@ -233,8 +221,7 @@ ...@@ -233,8 +221,7 @@
233 <el-input 221 <el-input
234 v-model="ruleForm.cfdj.fj" 222 v-model="ruleForm.cfdj.fj"
235 type="textarea" 223 type="textarea"
236 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 224 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
237 ></el-input>
238 </el-form-item> 225 </el-form-item>
239 </el-col> 226 </el-col>
240 </el-row> 227 </el-row>
...@@ -245,8 +232,7 @@ ...@@ -245,8 +232,7 @@
245 class="textArea" 232 class="textArea"
246 type="textarea" 233 type="textarea"
247 v-model="ruleForm.cfdj.djyy" 234 v-model="ruleForm.cfdj.djyy"
248 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 235 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input>
249 ></el-input>
250 </el-form-item> 236 </el-form-item>
251 </el-col> 237 </el-col>
252 </el-row> 238 </el-row>
...@@ -260,24 +246,21 @@ ...@@ -260,24 +246,21 @@
260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 246 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
261 <el-input 247 <el-input
262 v-model="ruleForm.cfdj.jfjg" 248 v-model="ruleForm.cfdj.jfjg"
263 :disabled="$route.query.viewtype || ableEdit" 249 :disabled="$route.query.viewtype || ableEdit"></el-input>
264 ></el-input>
265 </el-form-item> 250 </el-form-item>
266 </el-col> 251 </el-col>
267 <el-col :span="8"> 252 <el-col :span="8">
268 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 253 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
269 <el-input 254 <el-input
270 v-model="ruleForm.cfdj.jfwj" 255 v-model="ruleForm.cfdj.jfwj"
271 :disabled="$route.query.viewtype || ableEdit" 256 :disabled="$route.query.viewtype || ableEdit"></el-input>
272 ></el-input>
273 </el-form-item> 257 </el-form-item>
274 </el-col> 258 </el-col>
275 <el-col :span="8"> 259 <el-col :span="8">
276 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
277 <el-input 261 <el-input
278 v-model="ruleForm.cfdj.jfwh" 262 v-model="ruleForm.cfdj.jfwh"
279 :disabled="$route.query.viewtype || ableEdit" 263 :disabled="$route.query.viewtype || ableEdit"></el-input>
280 ></el-input>
281 </el-form-item> 264 </el-form-item>
282 </el-col> 265 </el-col>
283 </el-row> 266 </el-row>
...@@ -292,77 +275,79 @@ ...@@ -292,77 +275,79 @@
292 </div> 275 </div>
293 </template> 276 </template>
294 <script> 277 <script>
295 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 278 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
296 import { Init, saveData } from "@/api/workflow/cfdjFlow.js"; 279 import { Init, saveData } from "@/api/workflow/cfdjFlow.js";
297 import { mapGetters } from "vuex"; 280 import { mapGetters } from "vuex";
298 export default { 281 export default {
299 data() { 282 data () {
300 return { 283 return {
301 disabled: true, 284 //表单是否可操作
302 flagTop: this.flag ? "top" : "", 285 ableOperation: true,
303 rules: {}, 286 disabled: true,
304 //传递参数 287 flagTop: this.flag ? "top" : "",
305 propsParam: {}, 288 rules: {},
306 //页面数据 289 //传递参数
307 ruleForm: {}, 290 propsParam: {},
308 //是否可编辑 291 //页面数据
309 ableEdit: false, 292 ruleForm: {},
310 //是否为解封 293 //是否可编辑
311 isJfOperation: false, 294 ableEdit: false,
312 }; 295 //是否为解封
313 }, 296 isJfOperation: false,
314 async created() { 297 };
315 this.propsParam = this.$attrs;
316 this.ableEdit = this.$parent.showBatch;
317 this.ableOperation = this.$parent.currentSelectTab.ableOperation
318 if (this.propsParam.djlx == "400") {
319 this.isJfOperation = true;
320 }
321 var formdata = new FormData();
322 formdata.append("bsmSldy", this.propsParam.bsmSldy);
323 formdata.append("djlx", this.propsParam.djlx);
324 formdata.append("isEdit", this.ableOperation);
325 Init(formdata).then((res) => {
326 if (res.code === 200 && res.result) {
327 this.ruleForm = res.result;
328 }
329 });
330 },
331 watch: {},
332 components: { sqrViewTable },
333 props: {
334 flag: {
335 type: Boolean,
336 default: false,
337 },
338 fetch: {
339 type: Boolean,
340 default: false,
341 }, 298 },
342 }, 299 async created () {
343 computed: { 300 this.propsParam = this.$attrs;
344 ...mapGetters(["dictData"]), 301 this.ableEdit = this.$parent.showBatch;
345 }, 302 this.ableOperation = this.$parent.currentSelectTab.ableOperation
346 303 if (this.propsParam.djlx == "400") {
347 methods: { 304 this.isJfOperation = true;
348 onSubmit() { 305 }
349 saveData(this.ruleForm).then((res) => { 306 var formdata = new FormData();
350 if (res.code === 200) { 307 formdata.append("bsmSldy", this.propsParam.bsmSldy);
351 this.$message.success("保存成功"); 308 formdata.append("djlx", this.propsParam.djlx);
309 formdata.append("isEdit", this.ableOperation);
310 Init(formdata).then((res) => {
311 if (res.code === 200 && res.result) {
312 this.ruleForm = res.result;
352 } 313 }
353 }); 314 });
354 }, 315 },
355 changeCflx(e) { 316 watch: {},
356 let cflxItem = {}; 317 components: { sqrViewTable },
357 cflxItem = this.dictData["A32"].find((item) => { 318 props: {
358 return item.dcode == e; 319 flag: {
359 }); 320 type: Boolean,
360 this.ruleForm.cfdj.cflxmc = cflxItem.dname; 321 default: false,
322 },
323 fetch: {
324 type: Boolean,
325 default: false,
326 },
327 },
328 computed: {
329 ...mapGetters(["dictData"]),
330 },
331
332 methods: {
333 onSubmit () {
334 saveData(this.ruleForm).then((res) => {
335 if (res.code === 200) {
336 this.$message.success("保存成功");
337 }
338 });
339 },
340 changeCflx (e) {
341 let cflxItem = {};
342 cflxItem = this.dictData["A32"].find((item) => {
343 return item.dcode == e;
344 });
345 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
346 },
361 }, 347 },
362 }, 348 };
363 };
364 </script> 349 </script>
365 <style scoped lang='scss'> 350 <style scoped lang='scss'>
366 @import "~@/styles/public.scss"; 351 @import "~@/styles/public.scss";
367 @import "~@/styles/slxx/slxx.scss"; 352 @import "~@/styles/slxx/slxx.scss";
368 </style> 353 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:51:13 4 * @LastEditTime: 2023-07-11 10:00:43
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -57,13 +57,13 @@ ...@@ -57,13 +57,13 @@
57 <el-form-item label="权利人:"> 57 <el-form-item label="权利人:">
58 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input> 58 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
59 </el-form-item> 59 </el-form-item>
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 disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input> 63 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></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">
67 <el-form-item label="证件号:"> 67 <el-form-item label="证件号:">
68 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input> 68 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
69 </el-form-item> 69 </el-form-item>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 </div> 110 </div>
111 111
112 <el-row :gutter="10"> 112 <el-row :gutter="10">
113 <el-col :span="8" v-if="ruleForm.sldy.djlx != '100'"> 113 <el-col :span="8" v-if="ruleForm.sldy.djlx != '100'">
114 <el-form-item label="原不动产登记证明号:"> 114 <el-form-item label="原不动产登记证明号:">
115 <el-input v-if="ruleForm.sldy.djlx == '400'" disabled v-model="ruleForm.qlxx.bdcqzh"></el-input> 115 <el-input v-if="ruleForm.sldy.djlx == '400'" disabled v-model="ruleForm.qlxx.bdcqzh"></el-input>
116 <el-input v-else disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input> 116 <el-input v-else disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input>
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
126 </el-col> 126 </el-col>
127 <el-col :span="8"> 127 <el-col :span="8">
128 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> 128 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
129 <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz"> 129 <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation">
130 <el-radio label="1">启用</el-radio> 130 <el-radio label="1">启用</el-radio>
131 <el-radio label="0">禁用</el-radio> 131 <el-radio label="0">禁用</el-radio>
132 </el-radio-group> 132 </el-radio-group>
...@@ -137,31 +137,31 @@ ...@@ -137,31 +137,31 @@
137 <el-row :gutter="10"> 137 <el-row :gutter="10">
138 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> 138 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
139 <el-form-item label="被担保主债权数额:"> 139 <el-form-item label="被担保主债权数额:">
140 <div style="display:flex"> 140 <div style="display:flex">
141 <el-input v-model="ruleForm.diyaq.bdbzzqse" style="width:500%"></el-input> 141 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input>
142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'"> 142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
144 </el-option> 144 </el-option>
145 </el-select> 145 </el-select>
146 </div> 146 </div>
147 </el-form-item> 147 </el-form-item>
148 </el-col> 148 </el-col>
149 149
150 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> 150 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
151 <el-form-item label="最高债权额:"> 151 <el-form-item label="最高债权额:">
152 <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> 152 <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input>
153 </el-form-item> 153 </el-form-item>
154 </el-col> 154 </el-col>
155 155
156 <el-col :span="8"> 156 <el-col :span="8">
157 <el-form-item label="债务履行起始时间:"> 157 <el-form-item label="债务履行起始时间:">
158 <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" type="date"> 158 <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date">
159 </el-date-picker> 159 </el-date-picker>
160 </el-form-item> 160 </el-form-item>
161 </el-col> 161 </el-col>
162 <el-col :span="8"> 162 <el-col :span="8">
163 <el-form-item label="债务履行结束时间:"> 163 <el-form-item label="债务履行结束时间:">
164 <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" type="date"> 164 <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation" type="date">
165 </el-date-picker> 165 </el-date-picker>
166 </el-form-item> 166 </el-form-item>
167 </el-col> 167 </el-col>
...@@ -170,21 +170,21 @@ ...@@ -170,21 +170,21 @@
170 <el-col :span="24"> 170 <el-col :span="24">
171 <el-form-item label="担保范围:"> 171 <el-form-item label="担保范围:">
172 <el-input v-model="ruleForm.diyaq.dbfw" 172 <el-input v-model="ruleForm.diyaq.dbfw"
173 :disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input> 173 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input>
174 </el-form-item> 174 </el-form-item>
175 </el-col> 175 </el-col>
176 </el-row> 176 </el-row>
177 <el-row> 177 <el-row>
178 <el-col :span="24"> 178 <el-col :span="24">
179 <el-form-item label="最高债权确定事实和数额:"> 179 <el-form-item label="最高债权确定事实和数额:">
180 <el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input> 180 <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input>
181 </el-form-item> 181 </el-form-item>
182 </el-col> 182 </el-col>
183 </el-row> 183 </el-row>
184 <el-row> 184 <el-row>
185 <el-col> 185 <el-col>
186 <el-form-item label="附记:" prop="fj"> 186 <el-form-item label="附记:" prop="fj">
187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1"></el-input> 187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input>
188 </el-form-item> 188 </el-form-item>
189 </el-col> 189 </el-col>
190 </el-row> 190 </el-row>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
196 <el-row :gutter="10"> 196 <el-row :gutter="10">
197 <el-col :span="14"> 197 <el-col :span="14">
198 <el-form-item label="共有方式:"> 198 <el-form-item label="共有方式:">
199 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 199 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
200 <el-radio label="0">单独所有</el-radio> 200 <el-radio label="0">单独所有</el-radio>
201 <el-radio label="1">共同共有</el-radio> 201 <el-radio label="1">共同共有</el-radio>
202 <el-radio label="2">按份所有</el-radio> 202 <el-radio label="2">按份所有</el-radio>
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
206 </el-col> 206 </el-col>
207 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 207 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
208 <el-form-item label="是否分别持证:"> 208 <el-form-item label="是否分别持证:">
209 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 209 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
210 <el-radio label="1"></el-radio> 210 <el-radio label="1"></el-radio>
211 <el-radio label="0"></el-radio> 211 <el-radio label="0"></el-radio>
212 </el-radio-group> 212 </el-radio-group>
...@@ -214,20 +214,20 @@ ...@@ -214,20 +214,20 @@
214 </el-col> 214 </el-col>
215 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 215 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
216 <el-form-item label="持证人:"> 216 <el-form-item label="持证人:">
217 <el-select v-model="ruleForm.czr" placeholder="持证人"> 217 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
218 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 218 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
219 </el-option> 219 </el-option>
220 </el-select> 220 </el-select>
221 </el-form-item> 221 </el-form-item>
222 </el-col> 222 </el-col>
223 </el-row> 223 </el-row>
224 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 224 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList"
225 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 225 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
226 <div class="slxx_title title-block"> 226 <div class="slxx_title title-block">
227 抵押人信息 227 抵押人信息
228 <div class="triangle"></div> 228 <div class="triangle"></div>
229 </div> 229 </div>
230 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" 230 <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList"
231 :viewtype="$route.query.viewtype" /> 231 :viewtype="$route.query.viewtype" />
232 232
233 <div class="slxx_title title-block"> 233 <div class="slxx_title title-block">
...@@ -237,12 +237,12 @@ ...@@ -237,12 +237,12 @@
237 <el-row :gutter="10"> 237 <el-row :gutter="10">
238 <el-col> 238 <el-col>
239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> 239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
240 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 240 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
241 v-model="ruleForm.diyaq.zxdyyy"> 241 v-model="ruleForm.diyaq.zxdyyy">
242 </el-input> 242 </el-input>
243 </el-form-item> 243 </el-form-item>
244 <el-form-item v-else label="登记原因:" prop="djyy"> 244 <el-form-item v-else label="登记原因:" prop="djyy">
245 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 245 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
246 v-model="ruleForm.diyaq.djyy"> 246 v-model="ruleForm.diyaq.djyy">
247 </el-input> 247 </el-input>
248 </el-form-item> 248 </el-form-item>
...@@ -274,10 +274,10 @@ ...@@ -274,10 +274,10 @@
274 formdata.append("isEdit", this.ableOperation); 274 formdata.append("isEdit", this.ableOperation);
275 Init(formdata).then((res) => { 275 Init(formdata).then((res) => {
276 if (res.code === 200 && res.result) { 276 if (res.code === 200 && res.result) {
277 this.ruleForm = res.result; 277 this.ruleForm = res.result;
278 this.ruleForm.diyaq.sfczjzhxz = "0"; 278 this.ruleForm.diyaq.sfczjzhxz = "0";
279 } 279 }
280 this.$endLoading(); 280 this.$endLoading();
281 }) 281 })
282 }, 282 },
283 components: { qlrCommonTable }, 283 components: { qlrCommonTable },
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-20 10:27:45 4 * @LastEditTime: 2023-07-11 10:01:58
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -130,14 +130,14 @@ ...@@ -130,14 +130,14 @@
130 </el-form-item> 130 </el-form-item>
131 </el-col> 131 </el-col>
132 </el-row> 132 </el-row>
133 <div class="slxx_title title-block"> 133 <div class="slxx_title title-block">
134 土地用途 134 土地用途
135 <div class="triangle"></div> 135 <div class="triangle"></div>
136 </div> 136 </div>
137 <tdytTable 137 <tdytTable
138 :disabled="!ableOperation"
138 :tableData="ruleForm.tdytqxList" 139 :tableData="ruleForm.tdytqxList"
139 @upDateTdytxxList="upDateTdytxxList" 140 @upDateTdytxxList="upDateTdytxxList" />
140 />
141 <div class="slxx_title title-block"> 141 <div class="slxx_title title-block">
142 权利人信息 142 权利人信息
143 <div class="triangle"></div> 143 <div class="triangle"></div>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 <el-row :gutter="10"> 145 <el-row :gutter="10">
146 <el-col :span="14" v-if="ruleForm.qlxx"> 146 <el-col :span="14" v-if="ruleForm.qlxx">
147 <el-form-item label="共有方式:"> 147 <el-form-item label="共有方式:">
148 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" 148 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" @change="showCZInfo"
149 v-model="ruleForm.sldy.gyfs"> 149 v-model="ruleForm.sldy.gyfs">
150 <el-radio label="0">单独所有</el-radio> 150 <el-radio label="0">单独所有</el-radio>
151 <el-radio label="1">共同共有</el-radio> 151 <el-radio label="1">共同共有</el-radio>
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
156 </el-col> 156 </el-col>
157 <el-col :span="5"> 157 <el-col :span="5">
158 <el-form-item label="发证方式:"> 158 <el-form-item label="发证方式:">
159 <el-radio-group v-model="ruleForm.slsq.fzfs"> 159 <el-radio-group v-model="ruleForm.slsq.fzfs" :disabled="!ableOperation">
160 <el-radio label="1">小证</el-radio> 160 <el-radio label="1">小证</el-radio>
161 <el-radio label="2">大证</el-radio> 161 <el-radio label="2">大证</el-radio>
162 </el-radio-group> 162 </el-radio-group>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 165
166 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 166 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
167 <el-form-item label="是否分别持证:"> 167 <el-form-item label="是否分别持证:">
168 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 168 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
169 <el-radio label="1"></el-radio> 169 <el-radio label="1"></el-radio>
170 <el-radio label="0"></el-radio> 170 <el-radio label="0"></el-radio>
171 </el-radio-group> 171 </el-radio-group>
...@@ -173,14 +173,14 @@ ...@@ -173,14 +173,14 @@
173 </el-col> 173 </el-col>
174 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 174 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
175 <el-form-item label="持证人:"> 175 <el-form-item label="持证人:">
176 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人"> 176 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人" :disabled="!ableOperation">
177 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 177 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
178 </el-option> 178 </el-option>
179 </el-select> 179 </el-select>
180 </el-form-item> 180 </el-form-item>
181 </el-col> 181 </el-col>
182 </el-row> 182 </el-row>
183 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 183 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
184 :gyfs="ruleForm.slsq.gyfs" /> 184 :gyfs="ruleForm.slsq.gyfs" />
185 185
186 <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'"> 186 <div v-if="ruleForm.ywrList && ruleForm.slsq.djlx == '200'">
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
198 <el-row :gutter="10"> 198 <el-row :gutter="10">
199 <el-col> 199 <el-col>
200 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> 200 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
201 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 201 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
202 v-model="ruleForm.fdcq2.djyy"> 202 v-model="ruleForm.fdcq2.djyy">
203 </el-input> 203 </el-input>
204 </el-form-item> 204 </el-form-item>
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
215 </template> 215 </template>
216 <script> 216 <script>
217 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 217 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
218 import tdytTable from "@/views/workflow/components/tdytTable"; 218 import tdytTable from "@/views/workflow/components/tdytTable";
219 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; 219 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
220 import { mapGetters } from "vuex"; 220 import { mapGetters } from "vuex";
221 export default { 221 export default {
...@@ -237,7 +237,7 @@ ...@@ -237,7 +237,7 @@
237 } 237 }
238 }); 238 });
239 }, 239 },
240 components: { qlrCommonTable,tdytTable }, 240 components: { qlrCommonTable, tdytTable },
241 computed: { 241 computed: {
242 ...mapGetters(["dictData", "flag"]), 242 ...mapGetters(["dictData", "flag"]),
243 }, 243 },
...@@ -255,12 +255,12 @@ ...@@ -255,12 +255,12 @@
255 } 255 }
256 }, 256 },
257 methods: { 257 methods: {
258 // 更新土地用途信息 258 // 更新土地用途信息
259 upDateTdytxxList(val) { 259 upDateTdytxxList (val) {
260 console.log("VAL", val); 260 console.log("VAL", val);
261 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 261 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
262 this.key++; 262 this.key++;
263 }, 263 },
264 // 更新权利人信息 264 // 更新权利人信息
265 upDateQlrxxList (val) { 265 upDateQlrxxList (val) {
266 this.ruleForm.qlrList = _.cloneDeep(val); 266 this.ruleForm.qlrList = _.cloneDeep(val);
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-20 10:27:49 4 * @LastEditTime: 2023-07-11 10:05:03
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -133,14 +133,14 @@ ...@@ -133,14 +133,14 @@
133 </el-form-item> 133 </el-form-item>
134 </el-col> 134 </el-col>
135 </el-row> 135 </el-row>
136 <div class="slxx_title title-block"> 136 <div class="slxx_title title-block">
137 土地用途 137 土地用途
138 <div class="triangle"></div> 138 <div class="triangle"></div>
139 </div> 139 </div>
140 <tdytTable 140 <tdytTable
141 :disabled="!ableOperation"
141 :tableData="ruleForm.tdytqxList" 142 :tableData="ruleForm.tdytqxList"
142 @upDateTdytxxList="upDateTdytxxList" 143 @upDateTdytxxList="upDateTdytxxList" />
143 />
144 <div class="slxx_title title-block"> 144 <div class="slxx_title title-block">
145 权利人信息 145 权利人信息
146 <div class="triangle"></div> 146 <div class="triangle"></div>
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 <el-row :gutter="10"> 148 <el-row :gutter="10">
149 <el-col :span="14"> 149 <el-col :span="14">
150 <el-form-item label="共有方式:"> 150 <el-form-item label="共有方式:">
151 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 151 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
152 <el-radio label="0">单独所有</el-radio> 152 <el-radio label="0">单独所有</el-radio>
153 <el-radio label="1">共同共有</el-radio> 153 <el-radio label="1">共同共有</el-radio>
154 <el-radio label="2">按份所有</el-radio> 154 <el-radio label="2">按份所有</el-radio>
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
158 </el-col> 158 </el-col>
159 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 159 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
160 <el-form-item label="是否分别持证:"> 160 <el-form-item label="是否分别持证:">
161 <el-radio-group v-model="ruleForm.sffbcz"> 161 <el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation">
162 <el-radio label="1"></el-radio> 162 <el-radio label="1"></el-radio>
163 <el-radio label="0"></el-radio> 163 <el-radio label="0"></el-radio>
164 </el-radio-group> 164 </el-radio-group>
...@@ -166,14 +166,14 @@ ...@@ -166,14 +166,14 @@
166 </el-col> 166 </el-col>
167 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 167 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
168 <el-form-item label="持证人:"> 168 <el-form-item label="持证人:">
169 <el-select v-model="ruleForm.czr" placeholder="持证人"> 169 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
170 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 170 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
171 </el-option> 171 </el-option>
172 </el-select> 172 </el-select>
173 </el-form-item> 173 </el-form-item>
174 </el-col> 174 </el-col>
175 </el-row> 175 </el-row>
176 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 176 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :tableData="ruleForm.qlrList"
177 :gyfs="ruleForm.slsq.gyfs" /> 177 :gyfs="ruleForm.slsq.gyfs" />
178 <div class="slxx_title title-block"> 178 <div class="slxx_title title-block">
179 登记原因 179 登记原因
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
182 <el-row :gutter="10"> 182 <el-row :gutter="10">
183 <el-col> 183 <el-col>
184 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> 184 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy">
185 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 185 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
186 v-model="ruleForm.fdcq2.djyy"> 186 v-model="ruleForm.fdcq2.djyy">
187 </el-input> 187 </el-input>
188 </el-form-item> 188 </el-form-item>
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
223 } 223 }
224 }); 224 });
225 }, 225 },
226 components: { qlrCommonTable,tdytTable }, 226 components: { qlrCommonTable, tdytTable },
227 computed: { 227 computed: {
228 ...mapGetters(["dictData", "flag"]), 228 ...mapGetters(["dictData", "flag"]),
229 }, 229 },
...@@ -281,12 +281,12 @@ components: { qlrCommonTable,tdytTable }, ...@@ -281,12 +281,12 @@ components: { qlrCommonTable,tdytTable },
281 } 281 }
282 }); 282 });
283 }, 283 },
284 // 更新土地用途信息 284 // 更新土地用途信息
285 upDateTdytxxList(val) { 285 upDateTdytxxList (val) {
286 console.log("VAL", val); 286 console.log("VAL", val);
287 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 287 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
288 this.key++; 288 this.key++;
289 }, 289 },
290 // 更新权利人信息 290 // 更新权利人信息
291 upDateQlrxxList (val) { 291 upDateQlrxxList (val) {
292 this.ruleForm.qlrList = _.cloneDeep(val); 292 this.ruleForm.qlrList = _.cloneDeep(val);
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:58:04 4 * @LastEditTime: 2023-07-11 10:08:11
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -124,14 +124,14 @@ ...@@ -124,14 +124,14 @@
124 </el-form-item> 124 </el-form-item>
125 </el-col> 125 </el-col>
126 </el-row> 126 </el-row>
127 <div class="slxx_title title-block"> 127 <div class="slxx_title title-block">
128 土地用途 128 土地用途
129 <div class="triangle"></div> 129 <div class="triangle"></div>
130 </div> 130 </div>
131 <tdytTable 131 <tdytTable
132 :disabled="!ableOperation"
132 :tableData="ruleForm.tdytqxList" 133 :tableData="ruleForm.tdytqxList"
133 @upDateTdytxxList="upDateTdytxxList" 134 @upDateTdytxxList="upDateTdytxxList" />
134 />
135 <div class="slxx_title title-block"> 135 <div class="slxx_title title-block">
136 权利人信息 136 权利人信息
137 <div class="triangle"></div> 137 <div class="triangle"></div>
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
139 <el-row :gutter="10"> 139 <el-row :gutter="10">
140 <el-col :span="14"> 140 <el-col :span="14">
141 <el-form-item label="共有方式:"> 141 <el-form-item label="共有方式:">
142 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.gyfs"> 142 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.gyfs">
143 <el-radio label="1">单独所有</el-radio> 143 <el-radio label="1">单独所有</el-radio>
144 <el-radio label="2">共同共有</el-radio> 144 <el-radio label="2">共同共有</el-radio>
145 <el-radio label="3">按份所有</el-radio> 145 <el-radio label="3">按份所有</el-radio>
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
148 </el-col> 148 </el-col>
149 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 149 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
150 <el-form-item label="是否分别持证:"> 150 <el-form-item label="是否分别持证:">
151 <el-radio-group v-model="ruleForm.sffbcz"> 151 <el-radio-group v-model="ruleForm.sffbcz" :disabled="!ableOperation">
152 <el-radio label="1"></el-radio> 152 <el-radio label="1"></el-radio>
153 <el-radio label="0"></el-radio> 153 <el-radio label="0"></el-radio>
154 </el-radio-group> 154 </el-radio-group>
...@@ -156,14 +156,14 @@ ...@@ -156,14 +156,14 @@
156 </el-col> 156 </el-col>
157 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 157 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
158 <el-form-item label="持证人:"> 158 <el-form-item label="持证人:">
159 <el-select v-model="ruleForm.czr" placeholder="持证人"> 159 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
160 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 160 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
161 </el-option> 161 </el-option>
162 </el-select> 162 </el-select>
163 </el-form-item> 163 </el-form-item>
164 </el-col> 164 </el-col>
165 </el-row> 165 </el-row>
166 <qlrCommonTable :tableData="ruleForm.qlrxx" :gyfs="ruleForm.gyfs" /> 166 <qlrCommonTable :tableData="ruleForm.qlrxx" :gyfs="ruleForm.gyfs" :disabled="!ableOperation" />
167 <div class="slxx_title title-block"> 167 <div class="slxx_title title-block">
168 登记原因 168 登记原因
169 <div class="triangle"></div> 169 <div class="triangle"></div>
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
171 <el-row :gutter="10"> 171 <el-row :gutter="10">
172 <el-col> 172 <el-col>
173 <el-form-item label="登记原因:" prop="djyy"> 173 <el-form-item label="登记原因:" prop="djyy">
174 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" v-model="ruleForm.djyy"> 174 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.djyy">
175 </el-input> 175 </el-input>
176 </el-form-item> 176 </el-form-item>
177 </el-col> 177 </el-col>
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
187 </template> 187 </template>
188 <script> 188 <script>
189 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 189 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
190 import tdytTable from "@/views/workflow/components/tdytTable"; 190 import tdytTable from "@/views/workflow/components/tdytTable";
191 import { Init } from "@/api/workflow/fwsyqFlow.js"; 191 import { Init } from "@/api/workflow/fwsyqFlow.js";
192 import { mapGetters } from "vuex"; 192 import { mapGetters } from "vuex";
193 export default { 193 export default {
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
207 } 207 }
208 }); 208 });
209 }, 209 },
210 components: { qlrCommonTable,tdytTable }, 210 components: { qlrCommonTable, tdytTable },
211 computed: { 211 computed: {
212 ...mapGetters(["dictData", "flag"]), 212 ...mapGetters(["dictData", "flag"]),
213 }, 213 },
...@@ -256,12 +256,12 @@ ...@@ -256,12 +256,12 @@
256 }; 256 };
257 }, 257 },
258 methods: { 258 methods: {
259 // 更新土地用途信息 259 // 更新土地用途信息
260 upDateTdytxxList(val) { 260 upDateTdytxxList (val) {
261 console.log("VAL", val); 261 console.log("VAL", val);
262 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 262 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
263 this.key++; 263 this.key++;
264 }, 264 },
265 list (bsmSldy) { 265 list (bsmSldy) {
266 var formdata = new FormData(); 266 var formdata = new FormData();
267 formdata.append("bsmSldy", bsmSldy); 267 formdata.append("bsmSldy", bsmSldy);
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:59:02 4 * @LastEditTime: 2023-07-11 10:09:49
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -89,9 +89,9 @@ ...@@ -89,9 +89,9 @@
89 <el-col :span="8"> 89 <el-col :span="8">
90 <el-form-item label="取得价格:"> 90 <el-form-item label="取得价格:">
91 <div style="display:flex"> 91 <div style="display:flex">
92 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1'" 92 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1' && !ableOperation"
93 oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 93 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
94 <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1'"> 94 <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
95 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 95 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
96 </el-option> 96 </el-option>
97 </el-select> 97 </el-select>
...@@ -121,18 +121,18 @@ ...@@ -121,18 +121,18 @@
121 <el-row :gutter="10"> 121 <el-row :gutter="10">
122 <el-col> 122 <el-col>
123 <el-form-item label="附记:" prop="fj"> 123 <el-form-item label="附记:" prop="fj">
124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1'"></el-input> 124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1' && !ableOperation"></el-input>
125 </el-form-item> 125 </el-form-item>
126 </el-col> 126 </el-col>
127 </el-row> 127 </el-row>
128 <div class="slxx_title title-block"> 128 <div class="slxx_title title-block">
129 土地用途 129 土地用途
130 <div class="triangle"></div> 130 <div class="triangle"></div>
131 </div> 131 </div>
132 <tdytTable 132 <tdytTable
133 :disabled="!ableOperation"
133 :tableData="ruleForm.tdytqxList" 134 :tableData="ruleForm.tdytqxList"
134 @upDateTdytxxList="upDateTdytxxList" 135 @upDateTdytxxList="upDateTdytxxList" />
135 />
136 <div class="slxx_title title-block"> 136 <div class="slxx_title title-block">
137 权利人信息 137 权利人信息
138 <div class="triangle"></div> 138 <div class="triangle"></div>
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
140 <el-row :gutter="10"> 140 <el-row :gutter="10">
141 <el-col :span="12"> 141 <el-col :span="12">
142 <el-form-item label="共有方式:"> 142 <el-form-item label="共有方式:">
143 <el-radio-group :disabled="$route.query.viewtype == 0" v-model="ruleForm.sldy.gyfs"> 143 <el-radio-group :disabled="$route.query.viewtype == 0 && !ableOperation" v-model="ruleForm.sldy.gyfs">
144 <el-radio label="0">单独所有</el-radio> 144 <el-radio label="0">单独所有</el-radio>
145 <el-radio label="1">共同共有</el-radio> 145 <el-radio label="1">共同共有</el-radio>
146 <el-radio label="2">按份所有</el-radio> 146 <el-radio label="2">按份所有</el-radio>
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
150 </el-col> 150 </el-col>
151 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'"> 151 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'">
152 <el-form-item label="是否分别持证:"> 152 <el-form-item label="是否分别持证:">
153 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 153 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
154 <el-radio :label=1></el-radio> 154 <el-radio :label=1></el-radio>
155 <el-radio :label=0></el-radio> 155 <el-radio :label=0></el-radio>
156 </el-radio-group> 156 </el-radio-group>
...@@ -158,14 +158,16 @@ ...@@ -158,14 +158,16 @@
158 </el-col> 158 </el-col>
159 <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0'&&ruleForm.sldy.gyfs == '1'"> 159 <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0'&&ruleForm.sldy.gyfs == '1'">
160 <el-form-item label="持证人:"> 160 <el-form-item label="持证人:">
161 <el-select v-model="ruleForm.czr" placeholder="持证人"> 161 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
162 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 162 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
163 </el-option> 163 </el-option>
164 </el-select> 164 </el-select>
165 </el-form-item> 165 </el-form-item>
166 </el-col> 166 </el-col>
167 </el-row> 167 </el-row>
168 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :key="key" 168 <qlrCommonTable :tableData="ruleForm.qlrList"
169 :disabled="!ableOperation"
170 @upDateQlrxxList="upDateQlrxxList" :key="key"
169 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 171 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
170 172
171 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 173 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
...@@ -173,7 +175,7 @@ ...@@ -173,7 +175,7 @@
173 义务人信息 175 义务人信息
174 <div class="triangle"></div> 176 <div class="triangle"></div>
175 </div> 177 </div>
176 <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" 178 <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList"
177 :viewtype="$route.query.viewtype" /> 179 :viewtype="$route.query.viewtype" />
178 </div> 180 </div>
179 181
...@@ -184,7 +186,7 @@ ...@@ -184,7 +186,7 @@
184 <el-row :gutter="10"> 186 <el-row :gutter="10">
185 <el-col> 187 <el-col>
186 <el-form-item label="登记原因:" prop="djyy"> 188 <el-form-item label="登记原因:" prop="djyy">
187 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" 189 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype && !ableOperation"
188 v-model="ruleForm.jsydsyq.djyy"> 190 v-model="ruleForm.jsydsyq.djyy">
189 </el-input> 191 </el-input>
190 </el-form-item> 192 </el-form-item>
...@@ -223,7 +225,7 @@ ...@@ -223,7 +225,7 @@
223 }) 225 })
224 }) 226 })
225 }, 227 },
226 components: { qlrCommonTable,tdytTable }, 228 components: { qlrCommonTable, tdytTable },
227 computed: { 229 computed: {
228 ...mapGetters(["dictData", "flag"]) 230 ...mapGetters(["dictData", "flag"])
229 }, 231 },
...@@ -242,12 +244,12 @@ ...@@ -242,12 +244,12 @@
242 } 244 }
243 }, 245 },
244 methods: { 246 methods: {
245 // 更新土地用途信息 247 // 更新土地用途信息
246 upDateTdytxxList(val) { 248 upDateTdytxxList (val) {
247 console.log("VAL", val); 249 console.log("VAL", val);
248 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 250 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
249 this.key++; 251 this.key++;
250 }, 252 },
251 // 更新权利人信息 253 // 更新权利人信息
252 upDateQlrxxList (val) { 254 upDateQlrxxList (val) {
253 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) 255 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
...@@ -296,7 +298,7 @@ ...@@ -296,7 +298,7 @@
296 }) 298 })
297 } 299 }
298 } 300 }
299 console.log("this.ruleFormmmmmmmmm",this.ruleForm); 301 console.log("this.ruleFormmmmmmmmm", this.ruleForm);
300 saveData(this.ruleForm).then((res) => { 302 saveData(this.ruleForm).then((res) => {
301 if (res.code === 200) { 303 if (res.code === 200) {
302 this.$message({ 304 this.$message({
......
1 <!-- 1 0<!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:59:49 4 * @LastEditTime: 2023-05-25 08:59:49
...@@ -123,18 +123,18 @@ ...@@ -123,18 +123,18 @@
123 <el-row :gutter="10"> 123 <el-row :gutter="10">
124 <el-col> 124 <el-col>
125 <el-form-item label="附记:" prop="fj"> 125 <el-form-item label="附记:" prop="fj">
126 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype=='1'"></el-input> 126 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype=='1' && !ableOperation"></el-input>
127 </el-form-item> 127 </el-form-item>
128 </el-col> 128 </el-col>
129 </el-row> 129 </el-row>
130 <div class="slxx_title title-block"> 130 <div class="slxx_title title-block">
131 土地用途 131 土地用途
132 <div class="triangle"></div> 132 <div class="triangle"></div>
133 </div> 133 </div>
134 <tdytTable 134 <tdytTable
135 :tableData="ruleForm.tdytqxList" 135 :tableData="ruleForm.tdytqxList"
136 @upDateTdytxxList="upDateTdytxxList" 136 :disabled="!ableOperation"
137 /> 137 @upDateTdytxxList="upDateTdytxxList" />
138 <div class="slxx_title title-block"> 138 <div class="slxx_title title-block">
139 权利人信息 139 权利人信息
140 <div class="triangle"></div> 140 <div class="triangle"></div>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
145 <el-row :gutter="10"> 145 <el-row :gutter="10">
146 <el-col :span="14"> 146 <el-col :span="14">
147 <el-form-item label="共有方式:"> 147 <el-form-item label="共有方式:">
148 <el-radio-group :disabled="$route.query.viewtype=='1'" v-model="ruleForm.sldy.gyfs"> 148 <el-radio-group :disabled="$route.query.viewtype=='1' && !ableOperation" v-model="ruleForm.sldy.gyfs">
149 <el-radio label="0">单独所有</el-radio> 149 <el-radio label="0">单独所有</el-radio>
150 <el-radio label="1">共同共有</el-radio> 150 <el-radio label="1">共同共有</el-radio>
151 <el-radio label="2">按份所有</el-radio> 151 <el-radio label="2">按份所有</el-radio>
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
155 </el-col> 155 </el-col>
156 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 156 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
157 <el-form-item label="是否分别持证:"> 157 <el-form-item label="是否分别持证:">
158 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 158 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
159 <el-radio label="1"></el-radio> 159 <el-radio label="1"></el-radio>
160 <el-radio label="0"></el-radio> 160 <el-radio label="0"></el-radio>
161 </el-radio-group> 161 </el-radio-group>
...@@ -163,14 +163,14 @@ ...@@ -163,14 +163,14 @@
163 </el-col> 163 </el-col>
164 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 164 <el-col :span="5" v-show="ruleForm.gyfs == '2'">
165 <el-form-item label="持证人:"> 165 <el-form-item label="持证人:">
166 <el-select v-model="ruleForm.czr" placeholder="持证人"> 166 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
167 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 167 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
168 </el-option> 168 </el-option>
169 </el-select> 169 </el-select>
170 </el-form-item> 170 </el-form-item>
171 </el-col> 171 </el-col>
172 </el-row> 172 </el-row>
173 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList='upDateQlrxxList' 173 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList='upDateQlrxxList'
174 :viewtype="$route.query.viewtype=='1'" :gyfs="ruleForm.sldy.gyfs" /> 174 :viewtype="$route.query.viewtype=='1'" :gyfs="ruleForm.sldy.gyfs" />
175 <div class="slxx_title title-block"> 175 <div class="slxx_title title-block">
176 登记原因 176 登记原因
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 <el-row :gutter="10"> 179 <el-row :gutter="10">
180 <el-col> 180 <el-col>
181 <el-form-item label="登记原因:" prop="djyy"> 181 <el-form-item label="登记原因:" prop="djyy">
182 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype=='1'" 182 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype=='1' && !ableOperation"
183 v-model="ruleForm.jsydsyq.djyy"> 183 v-model="ruleForm.jsydsyq.djyy">
184 </el-input> 184 </el-input>
185 </el-form-item> 185 </el-form-item>
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
197 <script> 197 <script>
198 import { mapGetters } from "vuex"; 198 import { mapGetters } from "vuex";
199 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 199 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
200 import tdytTable from "@/views/workflow/components/tdytTable"; 200 import tdytTable from "@/views/workflow/components/tdytTable";
201 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 201 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
202 export default { 202 export default {
203 mounted () { 203 mounted () {
...@@ -215,7 +215,7 @@ ...@@ -215,7 +215,7 @@
215 this.$endLoading(); 215 this.$endLoading();
216 }); 216 });
217 }, 217 },
218 components: { qlrCommonTable,tdytTable }, 218 components: { qlrCommonTable, tdytTable },
219 computed: { 219 computed: {
220 ...mapGetters(["dictData", "flag"]) 220 ...mapGetters(["dictData", "flag"])
221 }, 221 },
...@@ -237,12 +237,12 @@ ...@@ -237,12 +237,12 @@
237 }; 237 };
238 }, 238 },
239 methods: { 239 methods: {
240 // 更新土地用途信息 240 // 更新土地用途信息
241 upDateTdytxxList(val) { 241 upDateTdytxxList (val) {
242 console.log("VAL", val); 242 console.log("VAL", val);
243 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 243 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
244 this.key++; 244 this.key++;
245 }, 245 },
246 // 更新权利人信息 246 // 更新权利人信息
247 upDateQlrxxList (val) { 247 upDateQlrxxList (val) {
248 this.ruleForm.qlrList = _.cloneDeep(val); 248 this.ruleForm.qlrList = _.cloneDeep(val);
......
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
100 </el-col> 100 </el-col>
101 <el-col :span="8"> 101 <el-col :span="8">
102 <el-form-item label="土地所有权性质:"> 102 <el-form-item label="土地所有权性质:">
103 <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" filterable clearable> 103 <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" :disabled="!ableOperation" class="width100" filterable clearable>
104 <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> 104 <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname">
105 </el-option> 105 </el-option>
106 </el-select> 106 </el-select>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
122 <el-row :gutter="10"> 122 <el-row :gutter="10">
123 <el-col :span="8"> 123 <el-col :span="8">
124 <el-form-item label="水域滩涂类型:"> 124 <el-form-item label="水域滩涂类型:">
125 <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> 125 <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!ableOperation" class="width100" filterable clearable @change="changeSyttlx">
126 <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 126 <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode">
127 </el-option> 127 </el-option>
128 </el-select> 128 </el-select>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
130 </el-col> 130 </el-col>
131 <el-col :span="8"> 131 <el-col :span="8">
132 <el-form-item label="养殖业方式:"> 132 <el-form-item label="养殖业方式:">
133 <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> 133 <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYzyfs">
134 <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 134 <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode">
135 </el-option> 135 </el-option>
136 </el-select> 136 </el-select>
...@@ -138,19 +138,19 @@ ...@@ -138,19 +138,19 @@
138 </el-col> 138 </el-col>
139 <el-col :span="8"> 139 <el-col :span="8">
140 <el-form-item label="草原质量:"> 140 <el-form-item label="草原质量:">
141 <el-input v-model="ruleForm.nydsyq.cyzl"></el-input> 141 <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!ableOperation"></el-input>
142 </el-form-item> 142 </el-form-item>
143 </el-col> 143 </el-col>
144 </el-row> 144 </el-row>
145 <el-row :gutter="10"> 145 <el-row :gutter="10">
146 <el-col :span="8"> 146 <el-col :span="8">
147 <el-form-item label="适宜载畜量:"> 147 <el-form-item label="适宜载畜量:">
148 <el-input v-model="ruleForm.nydsyq.syzcl" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 148 <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!ableOperation" oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
149 </el-form-item> 149 </el-form-item>
150 </el-col> 150 </el-col>
151 <el-col :span="8"> 151 <el-col :span="8">
152 <el-form-item label="用地用海分类:"> 152 <el-form-item label="用地用海分类:">
153 <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> 153 <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" :disabled="!ableOperation" filterable clearable @change="changeYdyhfl">
154 <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 154 <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode">
155 </el-option> 155 </el-option>
156 </el-select> 156 </el-select>
...@@ -158,14 +158,14 @@ ...@@ -158,14 +158,14 @@
158 </el-col> 158 </el-col>
159 <el-col :span="8"> 159 <el-col :span="8">
160 <el-form-item label="土地承包合同:"> 160 <el-form-item label="土地承包合同:">
161 <el-input v-model="ruleForm.nydsyq.tdcbht"></el-input> 161 <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!ableOperation"></el-input>
162 </el-form-item> 162 </el-form-item>
163 </el-col> 163 </el-col>
164 </el-row> 164 </el-row>
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype && !ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="$route.query.viewtype"> 179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="$route.query.viewtype&& !ableOperation">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
186 </el-col> 186 </el-col>
187 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 187 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
188 <el-form-item label="是否分别持证:"> 188 <el-form-item label="是否分别持证:">
189 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 189 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
190 <el-radio label="1"></el-radio> 190 <el-radio label="1"></el-radio>
191 <el-radio label="0"></el-radio> 191 <el-radio label="0"></el-radio>
192 </el-radio-group> 192 </el-radio-group>
...@@ -194,14 +194,14 @@ ...@@ -194,14 +194,14 @@
194 </el-col> 194 </el-col>
195 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 195 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
196 <el-form-item label="持证人:"> 196 <el-form-item label="持证人:">
197 <el-select v-model="ruleForm.czr" placeholder="持证人"> 197 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
198 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 198 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
199 </el-option> 199 </el-option>
200 </el-select> 200 </el-select>
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation"
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> 205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
206 <div class="slxx_title title-block"> 206 <div class="slxx_title title-block">
207 家庭成员 207 家庭成员
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
216 <el-row :gutter="10"> 216 <el-row :gutter="10">
217 <el-col> 217 <el-col>
218 <el-form-item label="登记原因:" prop="djyy"> 218 <el-form-item label="登记原因:" prop="djyy">
219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" 219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype && ableOperation"
220 v-model="ruleForm.nydsyq.djyy"> 220 v-model="ruleForm.nydsyq.djyy">
221 </el-input> 221 </el-input>
222 </el-form-item> 222 </el-form-item>
......
...@@ -90,17 +90,17 @@ ...@@ -90,17 +90,17 @@
90 <el-row :gutter="10"> 90 <el-row :gutter="10">
91 <el-col :span="8"> 91 <el-col :span="8">
92 <el-form-item label="发包方名称:"> 92 <el-form-item label="发包方名称:">
93 <el-input v-model="ruleForm.nydsyq.fbfmc"></el-input> 93 <el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!ableOperation"></el-input>
94 </el-form-item> 94 </el-form-item>
95 </el-col> 95 </el-col>
96 <el-col :span="8"> 96 <el-col :span="8">
97 <el-form-item label="发包方代码:"> 97 <el-form-item label="发包方代码:">
98 <el-input v-model="ruleForm.nydsyq.fbfdm"></el-input> 98 <el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!ableOperation"></el-input>
99 </el-form-item> 99 </el-form-item>
100 </el-col> 100 </el-col>
101 <el-col :span="8"> 101 <el-col :span="8">
102 <el-form-item label="土地所有权性质:"> 102 <el-form-item label="土地所有权性质:">
103 <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" filterable clearable> 103 <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!ableOperation" filterable clearable>
104 <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> 104 <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname">
105 </el-option> 105 </el-option>
106 </el-select> 106 </el-select>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
122 <el-row :gutter="10"> 122 <el-row :gutter="10">
123 <el-col :span="8"> 123 <el-col :span="8">
124 <el-form-item label="水域滩涂类型:"> 124 <el-form-item label="水域滩涂类型:">
125 <el-select v-model="ruleForm.nydsyq.syttlx" class="width100" filterable clearable @change="changeSyttlx"> 125 <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!ableOperation" class="width100" filterable clearable @change="changeSyttlx">
126 <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 126 <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode">
127 </el-option> 127 </el-option>
128 </el-select> 128 </el-select>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
130 </el-col> 130 </el-col>
131 <el-col :span="8"> 131 <el-col :span="8">
132 <el-form-item label="养殖业方式:"> 132 <el-form-item label="养殖业方式:">
133 <el-select v-model="ruleForm.nydsyq.yzyfs" class="width100" filterable clearable @change="changeYzyfs"> 133 <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYzyfs">
134 <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 134 <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode">
135 </el-option> 135 </el-option>
136 </el-select> 136 </el-select>
...@@ -138,19 +138,19 @@ ...@@ -138,19 +138,19 @@
138 </el-col> 138 </el-col>
139 <el-col :span="8"> 139 <el-col :span="8">
140 <el-form-item label="草原质量:"> 140 <el-form-item label="草原质量:">
141 <el-input v-model="ruleForm.nydsyq.cyzl"></el-input> 141 <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!ableOperation"></el-input>
142 </el-form-item> 142 </el-form-item>
143 </el-col> 143 </el-col>
144 </el-row> 144 </el-row>
145 <el-row :gutter="10"> 145 <el-row :gutter="10">
146 <el-col :span="8"> 146 <el-col :span="8">
147 <el-form-item label="适宜载畜量:"> 147 <el-form-item label="适宜载畜量:">
148 <el-input v-model="ruleForm.nydsyq.syzcl" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 148 <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!ableOperation" oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
149 </el-form-item> 149 </el-form-item>
150 </el-col> 150 </el-col>
151 <el-col :span="8"> 151 <el-col :span="8">
152 <el-form-item label="用地用海分类:"> 152 <el-form-item label="用地用海分类:">
153 <el-select v-model="ruleForm.nydsyq.ydyhfl" class="width100" filterable clearable @change="changeYdyhfl"> 153 <el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYdyhfl">
154 <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 154 <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode">
155 </el-option> 155 </el-option>
156 </el-select> 156 </el-select>
...@@ -158,14 +158,14 @@ ...@@ -158,14 +158,14 @@
158 </el-col> 158 </el-col>
159 <el-col :span="8"> 159 <el-col :span="8">
160 <el-form-item label="土地承包合同:"> 160 <el-form-item label="土地承包合同:">
161 <el-input v-model="ruleForm.nydsyq.tdcbht"></el-input> 161 <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!ableOperation"></el-input>
162 </el-form-item> 162 </el-form-item>
163 </el-col> 163 </el-col>
164 </el-row> 164 </el-row>
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 179 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
186 </el-col> 186 </el-col>
187 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 187 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
188 <el-form-item label="是否分别持证:"> 188 <el-form-item label="是否分别持证:">
189 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 189 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
190 <el-radio label="1"></el-radio> 190 <el-radio label="1"></el-radio>
191 <el-radio label="0"></el-radio> 191 <el-radio label="0"></el-radio>
192 </el-radio-group> 192 </el-radio-group>
...@@ -194,26 +194,26 @@ ...@@ -194,26 +194,26 @@
194 </el-col> 194 </el-col>
195 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 195 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
196 <el-form-item label="持证人:"> 196 <el-form-item label="持证人:">
197 <el-select v-model="ruleForm.czr" placeholder="持证人"> 197 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
198 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 198 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
199 </el-option> 199 </el-option>
200 </el-select> 200 </el-select>
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation"
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
206 <div class="slxx_title title-block"> 206 <div class="slxx_title title-block">
207 义务人信息 207 义务人信息
208 <div class="triangle"></div> 208 <div class="triangle"></div>
209 </div> 209 </div>
210 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" 210 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation"
211 :viewtype="$route.query.viewtype" /> 211 :viewtype="$route.query.viewtype" />
212 <div class="slxx_title title-block"> 212 <div class="slxx_title title-block">
213 家庭成员 213 家庭成员
214 <div class="triangle"></div> 214 <div class="triangle"></div>
215 </div> 215 </div>
216 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" 216 <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype"
217 :gyfs="ruleForm.slywxx.gyfs" /> 217 :gyfs="ruleForm.slywxx.gyfs" />
218 <div class="slxx_title title-block"> 218 <div class="slxx_title title-block">
219 登记原因 219 登记原因
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
222 <el-row :gutter="10"> 222 <el-row :gutter="10">
223 <el-col> 223 <el-col>
224 <el-form-item label="登记原因:" prop="djyy"> 224 <el-form-item label="登记原因:" prop="djyy">
225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
226 v-model="ruleForm.nydsyq.djyy"> 226 v-model="ruleForm.nydsyq.djyy">
227 </el-input> 227 </el-input>
228 </el-form-item> 228 </el-form-item>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:23:54 4 * @LastEditTime: 2023-07-11 09:48:21
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -88,67 +88,64 @@ ...@@ -88,67 +88,64 @@
88 <el-row :gutter="10"> 88 <el-row :gutter="10">
89 <el-col :span="8"> 89 <el-col :span="8">
90 <el-form-item label="农用地面积:"> 90 <el-form-item label="农用地面积:">
91 <el-input v-model="ruleForm.tdsyq.nydmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 91 <el-input v-model="ruleForm.tdsyq.nydmj" :disabled="!ableOperation"
92 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
92 </el-form-item> 93 </el-form-item>
93 </el-col> 94 </el-col>
94 <el-col :span="8"> 95 <el-col :span="8">
95 <el-form-item label="耕地面积:"> 96 <el-form-item label="耕地面积:">
96 <el-input v-model="ruleForm.tdsyq.gdmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 97 <el-input v-model="ruleForm.tdsyq.gdmj" :disabled="!ableOperation"
98 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
97 </el-form-item> 99 </el-form-item>
98 </el-col> 100 </el-col>
99 <el-col :span="8"> 101 <el-col :span="8">
100 <el-form-item label="林地面积:"> 102 <el-form-item label="林地面积:">
101 <el-input v-model="ruleForm.tdsyq.ldmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 103 <el-input v-model="ruleForm.tdsyq.ldmj" :disabled="!ableOperation"
104 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
102 </el-form-item> 105 </el-form-item>
103 </el-col> 106 </el-col>
104 </el-row> 107 </el-row>
105 <el-row :gutter="10"> 108 <el-row :gutter="10">
106 <el-col :span="8"> 109 <el-col :span="8">
107 <el-form-item label="草地面积:"> 110 <el-form-item label="草地面积:">
108 <el-input v-model="ruleForm.tdsyq.cdmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 111 <el-input v-model="ruleForm.tdsyq.cdmj" :disabled="!ableOperation"
112 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
109 </el-form-item> 113 </el-form-item>
110 </el-col> 114 </el-col>
111 <el-col :span="8"> 115 <el-col :span="8">
112 <el-form-item label="其他农用地面积:"> 116 <el-form-item label="其他农用地面积:">
113 <el-input v-model="ruleForm.tdsyq.qtnydmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 117 <el-input v-model="ruleForm.tdsyq.qtnydmj" :disabled="!ableOperation"
118 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
114 </el-form-item> 119 </el-form-item>
115 </el-col> 120 </el-col>
116 <el-col :span="8"> 121 <el-col :span="8">
117 <el-form-item label="建筑使用面积:"> 122 <el-form-item label="建筑使用面积:">
118 <el-input v-model="ruleForm.tdsyq.jsydmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 123 <el-input v-model="ruleForm.tdsyq.jsydmj" :disabled="!ableOperation"
124 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
119 </el-form-item> 125 </el-form-item>
120 </el-col> 126 </el-col>
121 </el-row> 127 </el-row>
122 <el-row :gutter="10"> 128 <el-row :gutter="10">
123 <el-col :span="8"> 129 <el-col :span="8">
124 <el-form-item label="未利用地面积:"> 130 <el-form-item label="未利用地面积:">
125 <el-input v-model="ruleForm.tdsyq.wlydmj" oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 131 <el-input v-model="ruleForm.tdsyq.wlydmj" :disabled="!ableOperation"
132 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input>
126 </el-form-item> 133 </el-form-item>
127 </el-col> 134 </el-col>
128 <el-col :span="8"> 135 <el-col :span="8">
129 <el-form-item label="面积单位:"> 136 <el-form-item label="面积单位:">
130 <el-input v-model="ruleForm.tdsyq.mjdw"></el-input> 137 <el-input v-model="ruleForm.tdsyq.mjdw" :disabled="!ableOperation"></el-input>
131 </el-form-item> 138 </el-form-item>
132 </el-col> 139 </el-col>
133
134 <!-- <el-col :span="8">
135 <el-form-item label="下拉表格测试:">
136 <select-table v-model="value2" :table-width="600" :props="props" @change="change">
137 <el-table-column prop="id" label="ID" width="180"></el-table-column>
138 <el-table-column prop="user" label="姓名"></el-table-column>
139 </select-table>
140 </el-form-item>
141 </el-col> -->
142
143 </el-row> 140 </el-row>
144 <div class="slxx_title title-block"> 141 <div class="slxx_title title-block">
145 土地用途 142 土地用途
146 <div class="triangle"></div> 143 <div class="triangle"></div>
147 </div> 144 </div>
148 <tdytTable 145 <tdytTable
149 :tableData="ruleForm.tdytqxList" 146 :tableData="ruleForm.tdytqxList"
150 @upDateTdytxxList="upDateTdytxxList" 147 :disabled="!ableOperation"
151 /> 148 @upDateTdytxxList="upDateTdytxxList" />
152 <div class="slxx_title title-block"> 149 <div class="slxx_title title-block">
153 权利人信息 150 权利人信息
154 <div class="triangle"></div> 151 <div class="triangle"></div>
...@@ -166,7 +163,7 @@ ...@@ -166,7 +163,7 @@
166 </el-col> 163 </el-col>
167 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'"> 164 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'">
168 <el-form-item label="是否分别持证:"> 165 <el-form-item label="是否分别持证:">
169 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 166 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
170 <el-radio :label=1></el-radio> 167 <el-radio :label=1></el-radio>
171 <el-radio :label=0></el-radio> 168 <el-radio :label=0></el-radio>
172 </el-radio-group> 169 </el-radio-group>
...@@ -174,14 +171,14 @@ ...@@ -174,14 +171,14 @@
174 </el-col> 171 </el-col>
175 <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0'&&ruleForm.sldy.gyfs == '1'"> 172 <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0'&&ruleForm.sldy.gyfs == '1'">
176 <el-form-item label="持证人:"> 173 <el-form-item label="持证人:">
177 <el-select v-model="ruleForm.czr" placeholder="持证人"> 174 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
178 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 175 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh">
179 </el-option> 176 </el-option>
180 </el-select> 177 </el-select>
181 </el-form-item> 178 </el-form-item>
182 </el-col> 179 </el-col>
183 </el-row> 180 </el-row>
184 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :key="key" 181 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" :key="key"
185 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 182 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
186 183
187 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 184 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
...@@ -189,7 +186,7 @@ ...@@ -189,7 +186,7 @@
189 义务人信息 186 义务人信息
190 <div class="triangle"></div> 187 <div class="triangle"></div>
191 </div> 188 </div>
192 <qlrCommonTable v-if="ruleForm.ywrList" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" 189 <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList"
193 :viewtype="$route.query.viewtype" /> 190 :viewtype="$route.query.viewtype" />
194 </div> 191 </div>
195 192
...@@ -200,7 +197,7 @@ ...@@ -200,7 +197,7 @@
200 <el-row :gutter="10"> 197 <el-row :gutter="10">
201 <el-col> 198 <el-col>
202 <el-form-item label="登记原因:" prop="djyy"> 199 <el-form-item label="登记原因:" prop="djyy">
203 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" 200 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
204 v-model="ruleForm.tdsyq.djyy"> 201 v-model="ruleForm.tdsyq.djyy">
205 </el-input> 202 </el-input>
206 </el-form-item> 203 </el-form-item>
...@@ -218,11 +215,10 @@ ...@@ -218,11 +215,10 @@
218 <script> 215 <script>
219 import { mapGetters } from "vuex" 216 import { mapGetters } from "vuex"
220 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js" 217 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js"
221 import tdytTable from "@/views/workflow/components/tdytTable"; 218 import tdytTable from "@/views/workflow/components/tdytTable";
222 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 219 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
223 import selectTable from '@/components/selectTable/index.vue'
224 export default { 220 export default {
225 components: { qlrCommonTable, selectTable,tdytTable }, 221 components: { qlrCommonTable, tdytTable },
226 mounted () { 222 mounted () {
227 this.ableOperation = this.$parent.currentSelectTab.ableOperation 223 this.ableOperation = this.$parent.currentSelectTab.ableOperation
228 this.propsParam = this.$attrs; 224 this.propsParam = this.$attrs;
...@@ -270,12 +266,12 @@ ...@@ -270,12 +266,12 @@
270 } 266 }
271 }, 267 },
272 methods: { 268 methods: {
273 // 更新土地用途信息 269 // 更新土地用途信息
274 upDateTdytxxList(val) { 270 upDateTdytxxList (val) {
275 console.log("VAL", val); 271 console.log("VAL", val);
276 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 272 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
277 this.key++; 273 this.key++;
278 }, 274 },
279 // 更新权利人信息 275 // 更新权利人信息
280 upDateQlrxxList (val) { 276 upDateQlrxxList (val) {
281 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) 277 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
81 <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input> 81 <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input>
82 </el-form-item> 82 </el-form-item>
83 </el-col> 83 </el-col>
84 <el-col :span="8"> 84 <el-col :span="8">
85 <el-form-item label="建筑面积:"> 85 <el-form-item label="建筑面积:">
86 <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input> 86 <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input>
87 </el-form-item> 87 </el-form-item>
...@@ -183,11 +183,11 @@ ...@@ -183,11 +183,11 @@
183 tdytOption: [], 183 tdytOption: [],
184 czrOptions: [], 184 czrOptions: [],
185 ruleForm: { 185 ruleForm: {
186 qlxx:{} 186 qlxx: {}
187 ,sldy:{} 187 , sldy: {}
188 ,slsq:{} 188 , slsq: {}
189 ,ygdj:{} 189 , ygdj: {}
190 ,zdjbxx:{} 190 , zdjbxx: {}
191 }, 191 },
192 //传递参数 192 //传递参数
193 propsParam: this.$attrs, 193 propsParam: this.$attrs,
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 49
50 <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>--> 50 <!-- <el-button type="primary" style="float: right;margin-right: 20px; " @click="onClick">数据查看</el-button>-->
51 51
52 <el-row :gutter="10" v-if="ruleForm.qlxx"> 52 <el-row :gutter="10" v-if="ruleForm.qlxx">
53 <el-col :span="8"> 53 <el-col :span="8">
54 <el-form-item label="不动产单元号:"> 54 <el-form-item label="不动产单元号:">
55 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 55 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
84 <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input> 84 <el-input disabled v-model="ruleForm.ygdj.fwjgmc"></el-input>
85 </el-form-item> 85 </el-form-item>
86 </el-col> 86 </el-col>
87 <el-col :span="8"> 87 <el-col :span="8">
88 <el-form-item label="建筑面积:"> 88 <el-form-item label="建筑面积:">
89 <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input> 89 <el-input disabled v-model="ruleForm.ygdj.jzmj"></el-input>
90 </el-form-item> 90 </el-form-item>
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
114 <el-row :gutter="10"> 114 <el-row :gutter="10">
115 <el-col :span="14" v-if="ruleForm.qlxx"> 115 <el-col :span="14" v-if="ruleForm.qlxx">
116 <el-form-item label="共有方式:"> 116 <el-form-item label="共有方式:">
117 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 117 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
118 <el-radio label="0">单独所有</el-radio> 118 <el-radio label="0">单独所有</el-radio>
119 <el-radio label="1">共同共有</el-radio> 119 <el-radio label="1">共同共有</el-radio>
120 <el-radio label="2">按份所有</el-radio> 120 <el-radio label="2">按份所有</el-radio>
...@@ -123,13 +123,13 @@ ...@@ -123,13 +123,13 @@
123 </el-form-item> 123 </el-form-item>
124 </el-col> 124 </el-col>
125 </el-row> 125 </el-row>
126 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 126 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
127 :gyfs="ruleForm.sldy.gyfs" /> 127 :gyfs="ruleForm.sldy.gyfs" />
128 <div class="slxx_title title-block"> 128 <div class="slxx_title title-block">
129 义务人信息 129 义务人信息
130 <div class="triangle"></div> 130 <div class="triangle"></div>
131 </div> 131 </div>
132 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" 132 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation"
133 :gyfs="ruleForm.sldy.gyfs" /> 133 :gyfs="ruleForm.sldy.gyfs" />
134 <div class="slxx_title title-block"> 134 <div class="slxx_title title-block">
135 登记原因 135 登记原因
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
138 <el-row :gutter="10"> 138 <el-row :gutter="10">
139 <el-col> 139 <el-col>
140 <el-form-item label="登记原因:" prop="djyy"> 140 <el-form-item label="登记原因:" prop="djyy">
141 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 141 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
142 v-model="ruleForm.ygdj.djyy"> 142 v-model="ruleForm.ygdj.djyy">
143 </el-input> 143 </el-input>
144 </el-form-item> 144 </el-form-item>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 不动产情况 46 不动产情况
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
49 <el-row :gutter="10"> 49 <el-row :gutter="10">
50 <el-col :span="8"> 50 <el-col :span="8">
51 <el-form-item label="权利类型:"> 51 <el-form-item label="权利类型:">
52 <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input> 52 <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
57 <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input> 57 <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input>
58 </el-form-item> 58 </el-form-item>
59 </el-col> 59 </el-col>
60 <el-col :span="8"> 60 <el-col :span="8">
61 <el-form-item label="不动产单元号:"> 61 <el-form-item label="不动产单元号:">
62 <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input> 62 <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input>
63 </el-form-item> 63 </el-form-item>
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input> 74 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input>
75 </el-form-item> 75 </el-form-item>
76 </el-col> 76 </el-col>
77 <el-col :span="8"> 77 <el-col :span="8">
78 <el-form-item label="证件号:"> 78 <el-form-item label="证件号:">
79 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input> 79 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input>
80 </el-form-item> 80 </el-form-item>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
97 </el-form-item> 97 </el-form-item>
98 </el-col> 98 </el-col>
99 </el-row> 99 </el-row>
100 <el-row :gutter="10"> 100 <el-row :gutter="10">
101 <el-col :span="8"> 101 <el-col :span="8">
102 <el-form-item label="房屋取得价格:"> 102 <el-form-item label="房屋取得价格:">
103 <el-input disabled v-model="ruleForm.ssQlxx.qdjg"></el-input> 103 <el-input disabled v-model="ruleForm.ssQlxx.qdjg"></el-input>
...@@ -116,44 +116,44 @@ ...@@ -116,44 +116,44 @@
116 <el-row :gutter="10"> 116 <el-row :gutter="10">
117 <el-col :span="8"> 117 <el-col :span="8">
118 <el-form-item label="被担保主债权数额:"> 118 <el-form-item label="被担保主债权数额:">
119 <el-input v-model="ruleForm.ygdj.qdjg"></el-input> 119 <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input>
120 </el-form-item> 120 </el-form-item>
121 </el-col> 121 </el-col>
122 <el-col :span="8"> 122 <el-col :span="8">
123 <el-form-item label="债务履行起始时间:"> 123 <el-form-item label="债务履行起始时间:">
124 <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" type="date"> 124 <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!ableOperation" type="date">
125 </el-date-picker> 125 </el-date-picker>
126 </el-form-item> 126 </el-form-item>
127 </el-col> 127 </el-col>
128 <el-col :span="8"> 128 <el-col :span="8">
129 <el-form-item label="债务履行结束时间:"> 129 <el-form-item label="债务履行结束时间:">
130 <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" type="date"> 130 <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!ableOperation" type="date">
131 </el-date-picker> 131 </el-date-picker>
132 </el-form-item> 132 </el-form-item>
133 </el-col> 133 </el-col>
134 </el-row> 134 </el-row>
135 <el-row :gutter="10"> 135 <el-row :gutter="10">
136 <el-col :span="16"> 136 <el-col :span="16">
137 <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> 137 <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:">
138 <el-input v-model="ruleForm.ygdj.sfczjzhxz" 138 <el-input v-model="ruleForm.ygdj.sfczjzhxz"
139 :disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input> 139 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input>
140 </el-form-item> 140 </el-form-item>
141 </el-col> 141 </el-col>
142 <el-col :span="8"> 142 <el-col :span="8">
143 <el-form-item label="担保范围:"> 143 <el-form-item label="担保范围:">
144 <el-input v-model="ruleForm.ygdj.dbfw" 144 <el-input v-model="ruleForm.ygdj.dbfw"
145 :disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input> 145 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input>
146 </el-form-item> 146 </el-form-item>
147 </el-col> 147 </el-col>
148 148
149 </el-row> 149 </el-row>
150 <el-row> 150 <el-row>
151 <el-col :span="24"> 151 <el-col :span="24">
152 <el-form-item label="附记:" prop="fj"> 152 <el-form-item label="附记:" prop="fj">
153 <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="$route.query.viewtype == 1"></el-input> 153 <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input>
154 </el-form-item> 154 </el-form-item>
155 </el-col> 155 </el-col>
156 </el-row> 156 </el-row>
157 <div class="slxx_title title-block"> 157 <div class="slxx_title title-block">
158 权利人信息 158 权利人信息
159 <div class="triangle"></div> 159 <div class="triangle"></div>
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
161 <el-row :gutter="10"> 161 <el-row :gutter="10">
162 <el-col :span="14"> 162 <el-col :span="14">
163 <el-form-item label="共有方式:"> 163 <el-form-item label="共有方式:">
164 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 164 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
165 <el-radio label="0">单独所有</el-radio> 165 <el-radio label="0">单独所有</el-radio>
166 <el-radio label="1">共同共有</el-radio> 166 <el-radio label="1">共同共有</el-radio>
167 <el-radio label="2">按份所有</el-radio> 167 <el-radio label="2">按份所有</el-radio>
...@@ -170,13 +170,13 @@ ...@@ -170,13 +170,13 @@
170 </el-form-item> 170 </el-form-item>
171 </el-col> 171 </el-col>
172 </el-row> 172 </el-row>
173 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 173 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation"
174 :gyfs="ruleForm.sldy.gyfs" /> 174 :gyfs="ruleForm.sldy.gyfs" />
175 <div class="slxx_title title-block"> 175 <div class="slxx_title title-block">
176 义务人信息 176 义务人信息
177 <div class="triangle"></div> 177 <div class="triangle"></div>
178 </div> 178 </div>
179 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" 179 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation"
180 :gyfs="ruleForm.sldy.gyfs" /> 180 :gyfs="ruleForm.sldy.gyfs" />
181 <div class="slxx_title title-block"> 181 <div class="slxx_title title-block">
182 登记原因 182 登记原因
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
185 <el-row :gutter="10"> 185 <el-row :gutter="10">
186 <el-col> 186 <el-col>
187 <el-form-item label="登记原因:" prop="djyy"> 187 <el-form-item label="登记原因:" prop="djyy">
188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
189 v-model="ruleForm.ygdj.djyy"> 189 v-model="ruleForm.ygdj.djyy">
190 </el-input> 190 </el-input>
191 </el-form-item> 191 </el-form-item>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
45 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block">
46 抵押户信息列表信息({{ruleForm.hlist.length}} 户) 46 抵押户信息列表信息({{ruleForm.hlist.length}} 户)
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
49 <qjhTable :tableData="ruleForm.hlist" /> 49 <qjhTable :tableData="ruleForm.hlist" />
50 <div class="slxx_title title-block"> 50 <div class="slxx_title title-block">
51 抵押信息 51 抵押信息
...@@ -60,18 +60,18 @@ ...@@ -60,18 +60,18 @@
60 <el-radio label="2">最高额抵押</el-radio> 60 <el-radio label="2">最高额抵押</el-radio>
61 </el-radio-group> 61 </el-radio-group>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 <el-col :span="8"> 64 <el-col :span="8">
65 <el-form-item label="抵押金额类型:"> 65 <el-form-item label="抵押金额类型:">
66 <el-radio-group v-model="ruleForm.diyaqList[0].dyjelx"> 66 <el-radio-group v-model="ruleForm.diyaqList[0].dyjelx" :disabled="!ableOperation">
67 <el-radio label="0">独立抵押</el-radio> 67 <el-radio label="0">独立抵押</el-radio>
68 <el-radio label="1">整体抵押</el-radio> 68 <el-radio label="1">整体抵押</el-radio>
69 </el-radio-group> 69 </el-radio-group>
70 </el-form-item> 70 </el-form-item>
71 </el-col> 71 </el-col>
72 <el-col :span="8"> 72 <el-col :span="8">
73 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> 73 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
74 <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz"> 74 <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz" :disabled="!ableOperation">
75 <el-radio label="1">启用</el-radio> 75 <el-radio label="1">启用</el-radio>
76 <el-radio label="0">禁用</el-radio> 76 <el-radio label="0">禁用</el-radio>
77 </el-radio-group> 77 </el-radio-group>
...@@ -82,33 +82,33 @@ ...@@ -82,33 +82,33 @@
82 <el-row :gutter="10"> 82 <el-row :gutter="10">
83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
84 <el-form-item label="被担保主债权数额:"> 84 <el-form-item label="被担保主债权数额:">
85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse"></el-input> 85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
86 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1'"> 86 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
87 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 87 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
88 </el-option> 88 </el-option>
89 </el-select> 89 </el-select>
90 </el-form-item> 90 </el-form-item>
91 </el-col> 91 </el-col>
92 92
93 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> 93 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2">
94 <el-form-item label="最高债权额:"> 94 <el-form-item label="最高债权额:">
95 <el-input v-model="ruleForm.diyaqList[0].zgzqse"></el-input> 95 <el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!ableOperation"></el-input>
96 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1'"> 96 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
97 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 97 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
98 </el-option> 98 </el-option>
99 </el-select> 99 </el-select>
100 </el-form-item> 100 </el-form-item>
101 </el-col> 101 </el-col>
102 102
103 <el-col :span="8"> 103 <el-col :span="8">
104 <el-form-item label="债务履行起始时间:"> 104 <el-form-item label="债务履行起始时间:">
105 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" type="date"> 105 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" :disabled="!ableOperation" type="date">
106 </el-date-picker> 106 </el-date-picker>
107 </el-form-item> 107 </el-form-item>
108 </el-col> 108 </el-col>
109 <el-col :span="8"> 109 <el-col :span="8">
110 <el-form-item label="债务履行结束时间:"> 110 <el-form-item label="债务履行结束时间:">
111 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" type="date"> 111 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" :disabled="!ableOperation" type="date">
112 </el-date-picker> 112 </el-date-picker>
113 </el-form-item> 113 </el-form-item>
114 </el-col> 114 </el-col>
...@@ -118,21 +118,21 @@ ...@@ -118,21 +118,21 @@
118 <el-col :span="24"> 118 <el-col :span="24">
119 <el-form-item label="担保范围:"> 119 <el-form-item label="担保范围:">
120 <el-input v-model="ruleForm.diyaqList[0].dbfw" 120 <el-input v-model="ruleForm.diyaqList[0].dbfw"
121 :disabled="$route.query.viewtype == 1 || ruleForm.sldyList[0].djlx == '300'"></el-input> 121 :disabled="($route.query.viewtype == 1 || ruleForm.sldyList[0].djlx == '300') && !ableOperation"></el-input>
122 </el-form-item> 122 </el-form-item>
123 </el-col> 123 </el-col>
124 </el-row> 124 </el-row>
125 <el-row> 125 <el-row>
126 <el-col :span="24"> 126 <el-col :span="24">
127 <el-form-item label="最高债权确定事实和数额:"> 127 <el-form-item label="最高债权确定事实和数额:">
128 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss"></el-input> 128 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss" :disabled="!ableOperation"></el-input>
129 </el-form-item> 129 </el-form-item>
130 </el-col> 130 </el-col>
131 </el-row> 131 </el-row>
132 <el-row> 132 <el-row>
133 <el-col> 133 <el-col>
134 <el-form-item label="附记:" prop="fj"> 134 <el-form-item label="附记:" prop="fj">
135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="$route.query.viewtype == 1"></el-input> 135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input>
136 </el-form-item> 136 </el-form-item>
137 </el-col> 137 </el-col>
138 </el-row> 138 </el-row>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
144 <el-row :gutter="10"> 144 <el-row :gutter="10">
145 <el-col :span="14"> 145 <el-col :span="14">
146 <el-form-item label="共有方式:"> 146 <el-form-item label="共有方式:">
147 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldyList[0].gyfs"> 147 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldyList[0].gyfs">
148 <el-radio label="0">单独所有</el-radio> 148 <el-radio label="0">单独所有</el-radio>
149 <el-radio label="1">共同共有</el-radio> 149 <el-radio label="1">共同共有</el-radio>
150 <el-radio label="2">按份所有</el-radio> 150 <el-radio label="2">按份所有</el-radio>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
154 </el-col> 154 </el-col>
155 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'"> 155 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
156 <el-form-item label="是否分别持证:"> 156 <el-form-item label="是否分别持证:">
157 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz"> 157 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz" :disabled="!ableOperation">
158 <el-radio label="1"></el-radio> 158 <el-radio label="1"></el-radio>
159 <el-radio label="0"></el-radio> 159 <el-radio label="0"></el-radio>
160 </el-radio-group> 160 </el-radio-group>
...@@ -162,20 +162,20 @@ ...@@ -162,20 +162,20 @@
162 </el-col> 162 </el-col>
163 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'"> 163 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
164 <el-form-item label="持证人:"> 164 <el-form-item label="持证人:">
165 <el-select v-model="ruleForm.czr" placeholder="持证人"> 165 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
166 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 166 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
167 </el-option> 167 </el-option>
168 </el-select> 168 </el-select>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
172 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 172 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation"
173 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldyList[0].gyfs" /> 173 :viewtype="$route.query.viewtype" :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>
177 </div> 177 </div>
178 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" 178 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation"
179 :viewtype="$route.query.viewtype" /> 179 :viewtype="$route.query.viewtype" />
180 180
181 <div class="slxx_title title-block"> 181 <div class="slxx_title title-block">
...@@ -185,12 +185,12 @@ ...@@ -185,12 +185,12 @@
185 <el-row :gutter="10"> 185 <el-row :gutter="10">
186 <el-col> 186 <el-col>
187 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 187 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
189 v-model="ruleForm.diyaqList[0].zxdyyy"> 189 v-model="ruleForm.diyaqList[0].zxdyyy">
190 </el-input> 190 </el-input>
191 </el-form-item> 191 </el-form-item>
192 <el-form-item v-else label="登记原因:" prop="djyy"> 192 <el-form-item v-else label="登记原因:" prop="djyy">
193 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 193 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
194 v-model="ruleForm.diyaqList[0].djyy"> 194 v-model="ruleForm.diyaqList[0].djyy">
195 </el-input> 195 </el-input>
196 </el-form-item> 196 </el-form-item>
...@@ -216,19 +216,19 @@ ...@@ -216,19 +216,19 @@
216 this.ableOperation = this.$parent.currentSelectTab.ableOperation 216 this.ableOperation = this.$parent.currentSelectTab.ableOperation
217 this.propsParam = this.$attrs; 217 this.propsParam = this.$attrs;
218 var formdata = new FormData(); 218 var formdata = new FormData();
219 219
220 this.$startLoading(); 220 this.$startLoading();
221 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 221 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
222 formdata.append("djlx", this.propsParam.djlx); 222 formdata.append("djlx", this.propsParam.djlx);
223 formdata.append("isEdit", this.ableOperation); 223 formdata.append("isEdit", this.ableOperation);
224 bacthInit(formdata).then((res) => { 224 bacthInit(formdata).then((res) => {
225 if (res.code === 200 && res.result) { 225 if (res.code === 200 && res.result) {
226 this.ruleForm = res.result; 226 this.ruleForm = res.result;
227 this.$endLoading(); 227 this.$endLoading();
228 } 228 }
229 }) 229 })
230 }, 230 },
231 components: { qlrCommonTable,qjhTable }, 231 components: { qlrCommonTable, qjhTable },
232 computed: { 232 computed: {
233 ...mapGetters(["dictData", "flag"]), 233 ...mapGetters(["dictData", "flag"]),
234 }, 234 },
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
115 </el-col> 115 </el-col>
116 <el-col :span="16"> 116 <el-col :span="16">
117 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> 117 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
118 <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz"> 118 <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation">
119 <el-radio label="1">启用</el-radio> 119 <el-radio label="1">启用</el-radio>
120 <el-radio label="0">禁用</el-radio> 120 <el-radio label="0">禁用</el-radio>
121 </el-radio-group> 121 </el-radio-group>
...@@ -126,33 +126,33 @@ ...@@ -126,33 +126,33 @@
126 <el-row :gutter="10"> 126 <el-row :gutter="10">
127 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> 127 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
128 <el-form-item label="被担保主债权数额:"> 128 <el-form-item label="被担保主债权数额:">
129 <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input> 129 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation"></el-input>
130 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'"> 130 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
131 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 131 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
132 </el-option> 132 </el-option>
133 </el-select> 133 </el-select>
134 </el-form-item> 134 </el-form-item>
135 </el-col> 135 </el-col>
136 136
137 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> 137 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
138 <el-form-item label="最高债权额:"> 138 <el-form-item label="最高债权额:">
139 <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> 139 <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input>
140 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'"> 140 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation">
141 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 141 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
142 </el-option> 142 </el-option>
143 </el-select> 143 </el-select>
144 </el-form-item> 144 </el-form-item>
145 </el-col> 145 </el-col>
146 146
147 <el-col :span="8"> 147 <el-col :span="8">
148 <el-form-item label="债务履行起始时间:"> 148 <el-form-item label="债务履行起始时间:">
149 <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" type="date"> 149 <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date">
150 </el-date-picker> 150 </el-date-picker>
151 </el-form-item> 151 </el-form-item>
152 </el-col> 152 </el-col>
153 <el-col :span="8"> 153 <el-col :span="8">
154 <el-form-item label="债务履行结束时间:"> 154 <el-form-item label="债务履行结束时间:">
155 <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" type="date"> 155 <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation" type="date">
156 </el-date-picker> 156 </el-date-picker>
157 </el-form-item> 157 </el-form-item>
158 </el-col> 158 </el-col>
...@@ -162,21 +162,21 @@ ...@@ -162,21 +162,21 @@
162 <el-col :span="24"> 162 <el-col :span="24">
163 <el-form-item label="担保范围:"> 163 <el-form-item label="担保范围:">
164 <el-input v-model="ruleForm.diyaq.dbfw" 164 <el-input v-model="ruleForm.diyaq.dbfw"
165 :disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input> 165 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input>
166 </el-form-item> 166 </el-form-item>
167 </el-col> 167 </el-col>
168 </el-row> 168 </el-row>
169 <el-row> 169 <el-row>
170 <el-col :span="24"> 170 <el-col :span="24">
171 <el-form-item label="最高债权确定事实和数额:"> 171 <el-form-item label="最高债权确定事实和数额:">
172 <el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input> 172 <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input>
173 </el-form-item> 173 </el-form-item>
174 </el-col> 174 </el-col>
175 </el-row> 175 </el-row>
176 <el-row> 176 <el-row>
177 <el-col> 177 <el-col>
178 <el-form-item label="附记:" prop="fj"> 178 <el-form-item label="附记:" prop="fj">
179 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1"></el-input> 179 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input>
180 </el-form-item> 180 </el-form-item>
181 </el-col> 181 </el-col>
182 </el-row> 182 </el-row>
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
188 <el-row :gutter="10"> 188 <el-row :gutter="10">
189 <el-col :span="14"> 189 <el-col :span="14">
190 <el-form-item label="共有方式:"> 190 <el-form-item label="共有方式:">
191 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 191 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs">
192 <el-radio label="0">单独所有</el-radio> 192 <el-radio label="0">单独所有</el-radio>
193 <el-radio label="1">共同共有</el-radio> 193 <el-radio label="1">共同共有</el-radio>
194 <el-radio label="2">按份所有</el-radio> 194 <el-radio label="2">按份所有</el-radio>
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
198 </el-col> 198 </el-col>
199 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 199 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
200 <el-form-item label="是否分别持证:"> 200 <el-form-item label="是否分别持证:">
201 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 201 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation">
202 <el-radio label="1"></el-radio> 202 <el-radio label="1"></el-radio>
203 <el-radio label="0"></el-radio> 203 <el-radio label="0"></el-radio>
204 </el-radio-group> 204 </el-radio-group>
...@@ -206,20 +206,20 @@ ...@@ -206,20 +206,20 @@
206 </el-col> 206 </el-col>
207 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 207 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'">
208 <el-form-item label="持证人:"> 208 <el-form-item label="持证人:">
209 <el-select v-model="ruleForm.czr" placeholder="持证人"> 209 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation">
210 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 210 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
211 </el-option> 211 </el-option>
212 </el-select> 212 </el-select>
213 </el-form-item> 213 </el-form-item>
214 </el-col> 214 </el-col>
215 </el-row> 215 </el-row>
216 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 216 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation"
217 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 217 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
218 <div class="slxx_title title-block"> 218 <div class="slxx_title title-block">
219 抵押人信息 219 抵押人信息
220 <div class="triangle"></div> 220 <div class="triangle"></div>
221 </div> 221 </div>
222 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" 222 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation"
223 :viewtype="$route.query.viewtype" /> 223 :viewtype="$route.query.viewtype" />
224 224
225 <div class="slxx_title title-block"> 225 <div class="slxx_title title-block">
...@@ -229,12 +229,12 @@ ...@@ -229,12 +229,12 @@
229 <el-row :gutter="10"> 229 <el-row :gutter="10">
230 <el-col> 230 <el-col>
231 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> 231 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
232 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 232 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation"
233 v-model="ruleForm.diyaq.zxdyyy"> 233 v-model="ruleForm.diyaq.zxdyyy">
234 </el-input> 234 </el-input>
235 </el-form-item> 235 </el-form-item>
236 <el-form-item v-else label="登记原因:" prop="djyy"> 236 <el-form-item v-else label="登记原因:" prop="djyy">
237 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 237 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation "
238 v-model="ruleForm.diyaq.djyy"> 238 v-model="ruleForm.diyaq.djyy">
239 </el-input> 239 </el-input>
240 </el-form-item> 240 </el-form-item>
......
...@@ -198,9 +198,9 @@ ...@@ -198,9 +198,9 @@
198 "/djbworkFrameview?bsmSlsq=" + 198 "/djbworkFrameview?bsmSlsq=" +
199 item.bsmSlsq + 199 item.bsmSlsq +
200 "&bestepid=" + 200 "&bestepid=" +
201 item.bestepid + 201 item.bestepid+
202 "&isEdit=" + 202 "&bsmBusiness=" +
203 true 203 "&viewtype=1"
204 ); 204 );
205 window.open(href, `urlname${item.bsmSlsq}`); 205 window.open(href, `urlname${item.bsmSlsq}`);
206 } else { 206 } else {
......
...@@ -3,14 +3,14 @@ ...@@ -3,14 +3,14 @@
3 <!-- 表单部分 国有建设用地使用权 --> 3 <!-- 表单部分 国有建设用地使用权 -->
4 <div class="from-clues-header"> 4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm"> 5 <el-form :model="queryForm" ref="queryForm">
6 <el-row> 6 <el-row :gutter="20">
7 <el-col :span="7"> 7 <el-col :span="6">
8 <el-form-item label="宗地代码"> 8 <el-form-item label="宗地代码">
9 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100"> 9 <el-input placeholder="请输入宗地代码" maxlength="19" v-model="queryForm.zddm" clearable class="width100">
10 </el-input> 10 </el-input>
11 </el-form-item> 11 </el-form-item>
12 </el-col> 12 </el-col>
13 <el-col :span="7"> 13 <el-col :span="6">
14 <el-form-item label="不动产单元号"> 14 <el-form-item label="不动产单元号">
15 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> 15 <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100">
16 </el-input> 16 </el-input>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 </el-input> 22 </el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="4" class="btnColRight"> 25 <el-col :span="6" class="btnColRight">
26 <el-form-item> 26 <el-form-item>
27 <el-button type="primary" @click="resetForm(true)">重置</el-button> 27 <el-button type="primary" @click="resetForm(true)">重置</el-button>
28 <el-button type="primary" @click="handleSearch">查询</el-button> 28 <el-button type="primary" @click="handleSearch">查询</el-button>
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
80 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => { 80 getLpZrz({ ...this.queryForm, ...this.pageData }).then((res) => {
81 this.$endLoading(); 81 this.$endLoading();
82 if (res.code === 200) { 82 if (res.code === 200) {
83 this.tableData.total = total ? total : 0; 83 this.tableData.total = res.result.total ? res.result.total : 0;
84 this.tableData.data = res.result.records; 84 this.tableData.data = res.result.records;
85 } 85 }
86 }); 86 });
......