77d3192a by xiaomiao

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

2 parents 4bc0407a 8acb0551
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-09 14:32:38 4 * @LastEditTime: 2023-09-01 15:10:55
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -166,16 +166,16 @@ export function judgeUserTaskPermission (params) { ...@@ -166,16 +166,16 @@ export function judgeUserTaskPermission (params) {
166 }) 166 })
167 } 167 }
168 168
169
169 /** 170 /**
170 * @description: 获取申请书数据 171 * @description: 打印申请书
171 * @param {*} data 172 * @param {*} data
172 * @author: renchao 173 * @author: renchao
173 */ 174 */
174 export function getPrintApplicationInfo (data) { 175 export function getPrintApplicationForm (bsmSldy) {
175 return request({ 176 return request({
176 url: SERVER.SERVERAPI + '/rest/business/workFlow/getPrintApplicationInfo', 177 url: SERVER.SERVERAPI + '/rest/ywbl/print/getPrintApplicationForm?bsmSldy=' + bsmSldy,
177 method: 'post', 178 method: 'get'
178 data
179 }) 179 })
180 } 180 }
181 181
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 17:33:26 4 * @LastEditTime: 2023-09-01 13:30:54
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -245,8 +245,6 @@ ...@@ -245,8 +245,6 @@
245 this.isaddupdate = true; 245 this.isaddupdate = true;
246 } 246 }
247 }, 247 },
248
249 // 删除
250 /** 248 /**
251 * @description: 删除 249 * @description: 删除
252 * @param {*} index 250 * @param {*} index
...@@ -254,7 +252,8 @@ ...@@ -254,7 +252,8 @@
254 * @author: renchao 252 * @author: renchao
255 */ 253 */
256 deleClick (index, row) { 254 deleClick (index, row) {
257 this.tableData.splice(index, 1); 255 this.tableDataList.splice(index, 1);
256 this.$emit("upDateQlrxxList", this.tableDataList);
258 }, 257 },
259 258
260 // 身份证读取 259 // 身份证读取
...@@ -280,7 +279,7 @@ ...@@ -280,7 +279,7 @@
280 * @author: renchao 279 * @author: renchao
281 */ 280 */
282 editClick (index, row) { 281 editClick (index, row) {
283 this.details.gyfs=this.gyfs 282 this.details.gyfs = this.gyfs
284 this.dataIndex = index; 283 this.dataIndex = index;
285 this.details = row; 284 this.details = row;
286 this.dialog = true; 285 this.dialog = true;
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-01 18:19:57 4 * @LastEditTime: 2023-09-01 13:43:42
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -237,15 +237,15 @@ ...@@ -237,15 +237,15 @@
237 * @author: renchao 237 * @author: renchao
238 */ 238 */
239 addClick () { 239 addClick () {
240 if (this.gyfs == "0" && this.tableDataList.length > 0) { 240 // if (this.gyfs == "0" && this.tableDataList.length > 0) {
241 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人"); 241 // this.$message.warning("当前共有方式为单独所有,无法添加多个权利人");
242 } else { 242 // } else {
243 this.dialog = true; 243 // this.dialog = true;
244 this.isaddupdate = true; 244 // this.isaddupdate = true;
245 } 245 // }
246 this.dialog = true;
247 this.isaddupdate = true;
246 }, 248 },
247
248 // 删除
249 /** 249 /**
250 * @description: 删除 250 * @description: 删除
251 * @param {*} index 251 * @param {*} index
...@@ -253,7 +253,8 @@ ...@@ -253,7 +253,8 @@
253 * @author: renchao 253 * @author: renchao
254 */ 254 */
255 deleClick (index, row) { 255 deleClick (index, row) {
256 this.tableData.splice(index, 1); 256 this.tableDataList.splice(index, 1);
257 this.$emit("upDateQlrxxList", this.tableDataList);
257 }, 258 },
258 259
259 // 身份证读取 260 // 身份证读取
...@@ -271,7 +272,7 @@ ...@@ -271,7 +272,7 @@
271 * @author: renchao 272 * @author: renchao
272 */ 273 */
273 editClick (index, row) { 274 editClick (index, row) {
274 this.details.gyfs=this.gyfs 275 this.details.gyfs = this.gyfs
275 this.details = row; 276 this.details = row;
276 this.dataIndex = index; 277 this.dataIndex = index;
277 this.dialog = true; 278 this.dialog = true;
......
1 /* 1 /*
2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 2 * @Description:workFramezu.vue组件的方法 头部按钮弹框方法
3 * @Autor: miaofang 3 * @Autor: miaofang
4 * @LastEditTime: 2023-08-30 15:52:01 4 * @LastEditTime: 2023-09-01 15:10:21
5 */ 5 */
6 import { getPrintTemplateByCode } from "@/api/print"; 6 import { getPrintTemplateByCode } from "@/api/print";
7 import { getQllxByBdcdyid } from "@/api/djbDetail.js"; 7 import { getQllxByBdcdyid } from "@/api/djbDetail.js";
...@@ -14,7 +14,7 @@ import { ...@@ -14,7 +14,7 @@ import {
14 completeTask, 14 completeTask,
15 getNextLinkInfo, 15 getNextLinkInfo,
16 getWorkFlowImage, 16 getWorkFlowImage,
17 getPrintApplicationInfo, 17 getPrintApplicationForm,
18 unClaimTask 18 unClaimTask
19 } from "@/api/workFlow.js"; 19 } from "@/api/workFlow.js";
20 import { mapGetters } from 'vuex' 20 import { mapGetters } from 'vuex'
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
147 //根据编号获取对应信息 147 //根据编号获取对应信息
148 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { 148 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => {
149 if (res.code == 200) { 149 if (res.code == 200) {
150 getPrintApplicationInfo(this.currentSelectProps).then(infoRes => { 150 getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => {
151 if (infoRes.code == 200) { 151 if (infoRes.code == 200) {
152 //打开模板设计 152 //打开模板设计
153 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); 153 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
......
...@@ -761,7 +761,7 @@ class data extends filter { ...@@ -761,7 +761,7 @@ class data extends filter {
761 }, 761 },
762 { 762 {
763 prop: "bdbzzqse", 763 prop: "bdbzzqse",
764 label: "被担保主债权数额(万元)", 764 label: "被担保主债权数额",
765 }, 765 },
766 { 766 {
767 prop: "dbfw", 767 prop: "dbfw",
...@@ -776,7 +776,7 @@ class data extends filter { ...@@ -776,7 +776,7 @@ class data extends filter {
776 label: "债务履行结束时间", 776 label: "债务履行结束时间",
777 }, 777 },
778 { 778 {
779 prop: "zwlxqx", 779 prop: "dyqx",
780 label: "债务履行期限(债务确定期间)", 780 label: "债务履行期限(债务确定期间)",
781 }, 781 },
782 { 782 {
...@@ -784,7 +784,7 @@ class data extends filter { ...@@ -784,7 +784,7 @@ class data extends filter {
784 label: "最高债权确定事实和数额", 784 label: "最高债权确定事实和数额",
785 }, 785 },
786 { 786 {
787 prop: "sfczyd", 787 prop: "sfczjzhxz",
788 label: "是否存在禁止或限制转让抵押不动产的约定", 788 label: "是否存在禁止或限制转让抵押不动产的约定",
789 }, 789 },
790 { 790 {
...@@ -1017,7 +1017,7 @@ class data extends filter { ...@@ -1017,7 +1017,7 @@ class data extends filter {
1017 label: "附记", 1017 label: "附记",
1018 }, 1018 },
1019 { 1019 {
1020 prop: "qdjgmc", 1020 prop: "qdjg",
1021 label: "取得价格/被担保主债权数额", 1021 label: "取得价格/被担保主债权数额",
1022 }, 1022 },
1023 { 1023 {
...@@ -1025,7 +1025,7 @@ class data extends filter { ...@@ -1025,7 +1025,7 @@ class data extends filter {
1025 label: "担保范围", 1025 label: "担保范围",
1026 }, 1026 },
1027 { 1027 {
1028 prop: "sfczyd", 1028 prop: "sfczjzhxz",
1029 label: "是否存在禁止或限制转让抵押不动产的约定", 1029 label: "是否存在禁止或限制转让抵押不动产的约定",
1030 }, 1030 },
1031 { 1031 {
......
...@@ -171,6 +171,8 @@ ...@@ -171,6 +171,8 @@
171 if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) { 171 if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) {
172 LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); // 设置纸张大小为 B4 172 LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); // 设置纸张大小为 B4
173 LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 173 LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向
174 } else {
175 LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); // 设置纸张大小为 B4
174 } 176 }
175 LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板 177 LODOP.ADD_PRINT_DATA("ProgramData", this.ruleForm.tmpcontent); //装载模板
176 //窗口关闭后,回调函数中保存的设计代码 178 //窗口关闭后,回调函数中保存的设计代码
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 10:56:29 4 * @LastEditTime: 2023-09-01 14:09:02
5 --> 5 -->
6 <template> 6 <template>
7 <dialogBox 7 <dialogBox
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
12 :isFullscreen="false" 12 :isFullscreen="false"
13 @submitForm="submitForm" 13 @submitForm="submitForm"
14 @closeDialog="closeDialog" 14 @closeDialog="closeDialog"
15 :isButton="showButton"> 15 :isButton="isShow">
16 16
17 <el-tabs v-model="activeName" @tab-click="handleClick" class="from-clues-header"> 17 <el-tabs v-model="activeName" @tab-click="handleClick" class="from-clues-header">
18 <el-tab-pane label="基本信息" name="1"></el-tab-pane> 18 <el-tab-pane label="基本信息" name="1"></el-tab-pane>
19 <el-tab-pane label="个人信息备案" name="2"></el-tab-pane> 19 <el-tab-pane label="银行信息" name="2"></el-tab-pane>
20 <el-tab-pane label="企业信息备案" name="3"></el-tab-pane> 20 <el-tab-pane label="企业信息" name="3"></el-tab-pane>
21 </el-tabs> 21 </el-tabs>
22 22
23 <el-form 23 <el-form
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
28 label-width="120px"> 28 label-width="120px">
29 <el-form-item label="身份证读卡器"> 29 <el-form-item label="身份证读卡器">
30 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> 30 <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button>
31 <el-button type="primary">信息备案</el-button>
31 </el-form-item> 32 </el-form-item>
32 <el-row> 33 <el-row>
33 <el-col :span="8"> 34 <el-col :span="8">
...@@ -252,7 +253,7 @@ ...@@ -252,7 +253,7 @@
252 </el-col> 253 </el-col>
253 </el-row> 254 </el-row>
254 </el-form> 255 </el-form>
255 <div v-if="activeName==2"> 256 <div v-if="activeName==2" class="padding10">
256 <el-form :model="queryForm" label-width="80px"> 257 <el-form :model="queryForm" label-width="80px">
257 <el-row> 258 <el-row>
258 <el-col :span="8"> 259 <el-col :span="8">
...@@ -274,8 +275,8 @@ ...@@ -274,8 +275,8 @@
274 </el-col> 275 </el-col>
275 </el-row> 276 </el-row>
276 </el-form> 277 </el-form>
277 <el-table :data="tableDataGr.data" border v-Loading="loading" :height="368"> 278 <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8">
278 <el-table-column v-for="item in tableDataGr.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> 279 <el-table-column v-for="item in tableDataYh.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center">
279 </el-table-column> 280 </el-table-column>
280 <el-table-column label="证件种类"> 281 <el-table-column label="证件种类">
281 <template slot-scope="scope"> 282 <template slot-scope="scope">
...@@ -289,18 +290,18 @@ ...@@ -289,18 +290,18 @@
289 </el-select> 290 </el-select>
290 </template> 291 </template>
291 </el-table-column> 292 </el-table-column>
292 <el-table-column label="操作"> 293 <el-table-column label="操作" width="50">
293 <template slot-scope="scope"> 294 <template slot-scope="scope">
294 <el-button type="text" @click="handlesGrSelect(scope.row)">使用</el-button> 295 <el-button type="text" @click="handlesYhSelect(scope.row)">使用</el-button>
295 </template> 296 </template>
296 </el-table-column> 297 </el-table-column>
297 </el-table> 298 </el-table>
298 <el-pagination background layout="prev, pager, next,total" :total="tableDataGr.total" 299 <el-pagination background layout="prev, pager, next,total" :total="tableDataYh.total"
299 @current-change="handleCurrentChange"></el-pagination> 300 @current-change="handleCurrentChange"></el-pagination>
300 301
301 </div> 302 </div>
302 303
303 <div v-if="activeName==3"> 304 <div v-if="activeName==3" class="padding10">
304 <el-form :model="queryForm" label-width="80px"> 305 <el-form :model="queryForm" label-width="80px">
305 <el-row> 306 <el-row>
306 <el-col :span="8"> 307 <el-col :span="8">
...@@ -322,7 +323,7 @@ ...@@ -322,7 +323,7 @@
322 </el-col> 323 </el-col>
323 </el-row> 324 </el-row>
324 </el-form> 325 </el-form>
325 <el-table :data="tableDataQy.data" border v-Loading="loading" :height="368"> 326 <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8">
326 <el-table-column v-for="item in tableDataQy.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> 327 <el-table-column v-for="item in tableDataQy.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center">
327 </el-table-column> 328 </el-table-column>
328 <el-table-column label="证件种类"> 329 <el-table-column label="证件种类">
...@@ -337,9 +338,9 @@ ...@@ -337,9 +338,9 @@
337 </el-select> 338 </el-select>
338 </template> 339 </template>
339 </el-table-column> 340 </el-table-column>
340 <el-table-column label="操作"> 341 <el-table-column label="操作" width="50">
341 <template slot-scope="scope"> 342 <template slot-scope="scope">
342 <el-button type="text" @click="handlesGrSelect(scope.row)">使用</el-button> 343 <el-button type="text" @click="handlesYhSelect(scope.row)">使用</el-button>
343 </template> 344 </template>
344 </el-table-column> 345 </el-table-column>
345 </el-table> 346 </el-table>
...@@ -351,11 +352,9 @@ ...@@ -351,11 +352,9 @@
351 </template> 352 </template>
352 <script> 353 <script>
353 import { mapGetters } from "vuex"; 354 import { mapGetters } from "vuex";
354 import table from "@/utils/mixin/table";
355 import { getIdCardInfo } from '@/utils/operation.js' 355 import { getIdCardInfo } from '@/utils/operation.js'
356 import { dataGr, dataQy, sendThis } from "../../javascript/addQlrData"; 356 import { dataYh, dataQy, sendThis } from "../../javascript/addQlrData";
357 export default { 357 export default {
358 mixins: [table],
359 props: { 358 props: {
360 value: { type: Boolean, default: false }, 359 value: { type: Boolean, default: false },
361 details: { type: Object, default: {} }, 360 details: { type: Object, default: {} },
...@@ -366,6 +365,7 @@ ...@@ -366,6 +365,7 @@
366 }, 365 },
367 data () { 366 data () {
368 return { 367 return {
368 isShow: false,
369 activeName: '1', 369 activeName: '1',
370 loading: false, 370 loading: false,
371 myValue: this.value, 371 myValue: this.value,
...@@ -398,10 +398,18 @@ ...@@ -398,10 +398,18 @@
398 zjzl: [{ required: true, message: "证件种类", trigger: "change" }], 398 zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
399 zjh: [{ required: true, message: "证件号", trigger: "blur" }], 399 zjh: [{ required: true, message: "证件号", trigger: "blur" }],
400 }, 400 },
401 tableDataGr: { 401 tableDataYh: {
402 total: 0, 402 total: 0,
403 columns: dataGr.columns(), 403 columns: dataYh.columns(),
404 data: [], 404 data: [
405 {
406 sqrmc: '李怡然',
407 zjh: '99999999999',
408 frmc: '李怡然同学',
409 txdz: '山东日照',
410 dh: '18802933269'
411 }
412 ],
405 }, 413 },
406 queryForm: { 414 queryForm: {
407 zjh: "", 415 zjh: "",
...@@ -420,6 +428,7 @@ ...@@ -420,6 +428,7 @@
420 watch: { 428 watch: {
421 value (val) { 429 value (val) {
422 this.myValue = _.cloneDeep(val) 430 this.myValue = _.cloneDeep(val)
431 this.isShow = this.showButton
423 }, 432 },
424 details: { 433 details: {
425 handler: function (val, oldVal) { 434 handler: function (val, oldVal) {
...@@ -429,9 +438,21 @@ ...@@ -429,9 +438,21 @@
429 } 438 }
430 }, 439 },
431 methods: { 440 methods: {
432 handleClick (event, tab) { }, 441 handleClick (event, tab) {
433 handlesGrSelect () { }, 442 if (this.activeName != 1) {
443 this.isShow = false
444 } else {
445 this.isShow = true
446 }
447 },
448 handlesYhSelect (row) {
449 this.$emit("updateDetail", _.cloneDeep(row));
450 this.$emit("input", false);
451 },
434 handleSearch () { }, 452 handleSearch () { },
453 handleCurrentChange (val) {
454 console.log(val);
455 },
435 /** 456 /**
436 * @description: 身份证打卡器 457 * @description: 身份证打卡器
437 * @param {*} row 458 * @param {*} row
...@@ -493,4 +514,7 @@ ...@@ -493,4 +514,7 @@
493 padding-top: 10px; 514 padding-top: 10px;
494 background-color: #fff; 515 background-color: #fff;
495 } 516 }
517 .padding10 {
518 padding-bottom: 10px;
519 }
496 </style> 520 </style>
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢明细 2 * @Description: 房屋多幢明细
3 * @Autor: 3 * @Autor:
4 * @LastEditTime: 2023年07月31日 13:32:21 4 * @LastEditTime: 2023-09-01 13:29:29
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
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 prop="index" width="50" :render-header="renderHeader"> 18 <el-table-column prop="index" width="50" :render-header="renderHeader">
20 <template slot-scope="scope"> 19 <template slot-scope="scope">
21 <div style="text-align: center">{{ scope.$index + 1 }}</div> 20 <div style="text-align: center">{{ scope.$index + 1 }}</div>
...@@ -33,8 +32,7 @@ ...@@ -33,8 +32,7 @@
33 :disabled="!ableOperation" 32 :disabled="!ableOperation"
34 v-model="scope.row.xmmc" 33 v-model="scope.row.xmmc"
35 placeholder="请输入内容" 34 placeholder="请输入内容"
36 @input="updaterow(scope.row)" 35 @input="updaterow(scope.row)">
37 >
38 </el-input> 36 </el-input>
39 </template> 37 </template>
40 </el-table-column> 38 </el-table-column>
...@@ -50,8 +48,7 @@ ...@@ -50,8 +48,7 @@
50 :normalizer="normalizer" 48 :normalizer="normalizer"
51 :appendToBody="true" 49 :appendToBody="true"
52 z-index="9999" 50 z-index="9999"
53 @input="updaterow(scope.row)" 51 @input="updaterow(scope.row)" />
54 />
55 </template> 52 </template>
56 </el-table-column> 53 </el-table-column>
57 <el-table-column prop="ghyt" label="房屋用途" min-width="100"> 54 <el-table-column prop="ghyt" label="房屋用途" min-width="100">
...@@ -66,8 +63,7 @@ ...@@ -66,8 +63,7 @@
66 :normalizer="normalizer" 63 :normalizer="normalizer"
67 :appendToBody="true" 64 :appendToBody="true"
68 z-index="9999" 65 z-index="9999"
69 @input="updaterow(scope.row)" 66 @input="updaterow(scope.row)" />
70 />
71 </template> 67 </template>
72 </el-table-column> 68 </el-table-column>
73 <el-table-column prop="fwjg" label="房屋结构" min-width="100"> 69 <el-table-column prop="fwjg" label="房屋结构" min-width="100">
...@@ -82,8 +78,7 @@ ...@@ -82,8 +78,7 @@
82 :normalizer="normalizer" 78 :normalizer="normalizer"
83 :appendToBody="true" 79 :appendToBody="true"
84 z-index="9999" 80 z-index="9999"
85 @input="updaterow(scope.row)" 81 @input="updaterow(scope.row)" />
86 />
87 </template> 82 </template>
88 </el-table-column> 83 </el-table-column>
89 <el-table-column prop="jzmj" label="建筑面积" min-width="100"> 84 <el-table-column prop="jzmj" label="建筑面积" min-width="100">
...@@ -95,8 +90,7 @@ ...@@ -95,8 +90,7 @@
95 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 90 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
96 v-model="scope.row.jzmj" 91 v-model="scope.row.jzmj"
97 placeholder="请输入内容" 92 placeholder="请输入内容"
98 @input="updaterow(scope.row)" 93 @input="updaterow(scope.row)">
99 >
100 </el-input> 94 </el-input>
101 </template> 95 </template>
102 </el-table-column> 96 </el-table-column>
...@@ -109,8 +103,7 @@ ...@@ -109,8 +103,7 @@
109 placeholder="选择日期" 103 placeholder="选择日期"
110 value-format="yyyy-MM-dd HH:mm:ss" 104 value-format="yyyy-MM-dd HH:mm:ss"
111 format="yyyy-MM-dd" 105 format="yyyy-MM-dd"
112 @input="updaterow(scope.row)" 106 @input="updaterow(scope.row)">
113 >
114 </el-date-picker> 107 </el-date-picker>
115 </template> 108 </template>
116 </el-table-column> 109 </el-table-column>
...@@ -122,8 +115,7 @@ ...@@ -122,8 +115,7 @@
122 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 115 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
123 v-model="scope.row.zcs" 116 v-model="scope.row.zcs"
124 placeholder="请输入内容" 117 placeholder="请输入内容"
125 @input="updaterow(scope.row)" 118 @input="updaterow(scope.row)">
126 >
127 </el-input> 119 </el-input>
128 </template> 120 </template>
129 </el-table-column> 121 </el-table-column>
...@@ -135,8 +127,7 @@ ...@@ -135,8 +127,7 @@
135 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 127 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
136 v-model="scope.row.zts" 128 v-model="scope.row.zts"
137 placeholder="请输入内容" 129 placeholder="请输入内容"
138 @input="updaterow(scope.row)" 130 @input="updaterow(scope.row)">
139 >
140 </el-input> 131 </el-input>
141 </template> 132 </template>
142 </el-table-column> 133 </el-table-column>
...@@ -144,101 +135,100 @@ ...@@ -144,101 +135,100 @@
144 </div> 135 </div>
145 </template> 136 </template>
146 <script> 137 <script>
147 import {mapGetters} from "vuex"; 138 import { mapGetters } from "vuex";
148 139
149 export default { 140 export default {
150 computed: { 141 computed: {
151 ...mapGetters(["dictData"]), 142 ...mapGetters(["dictData"]),
152 },
153 props: {
154 tableData: {
155 type: Array,
156 default: function () {
157 return [];
158 },
159 },
160 ableOperation: {
161 type: Boolean,
162 default: false,
163 }, 143 },
164 144 props: {
165 }, 145 tableData: {
166 data() { 146 type: Array,
167 return { 147 default: function () {
168 // 键名转换,方法默认是label和children进行树状渲染 148 return [];
169 key: 0, 149 },
170 tableDataList: [],
171 normalizer(node) {
172 if (node.children == null || node.children == "null") {
173 delete node.children;
174 }
175 return {
176 id: node.dcode,
177 label: node.dname,
178 children: node.children,
179 };
180 }, 150 },
181 }; 151 ableOperation: {
182 }, 152 type: Boolean,
183 mounted() { 153 default: false,
184 },
185 watch: {
186 tableData: {
187 handler: function (val, oldVal) {
188 let that = this;
189 this.$nextTick(() => {
190 if (val.length == 0 || !val) {
191 that.tableDataList = _.cloneDeep([
192 {
193 yt: null,
194 qssj: "",
195 jssj: "",
196 tdsyqx: "",
197 },
198 ]);
199 } else {
200 that.tableDataList = _.cloneDeep(val);
201 }
202 });
203 }, 154 },
204 immediate: true, 155
205 deep: true,
206 }, 156 },
207 }, 157 data () {
208 methods: { 158 return {
209 /** 159 // 键名转换,方法默认是label和children进行树状渲染
210 * @description: renderHeader 160 key: 0,
211 * @author: renchao 161 tableDataList: [],
212 */ 162 normalizer (node) {
213 renderHeader() { 163 if (node.children == null || node.children == "null") {
214 return ( 164 delete node.children;
215 <div> 165 }
216 {"序号"} 166 return {
217 </div> 167 id: node.dcode,
218 ); 168 label: node.dname,
169 children: node.children,
170 };
171 },
172 };
173 },
174 mounted () {
219 }, 175 },
220 updaterow(a) { 176 watch: {
221 console.log("updaterow:"+JSON.stringify(a)); 177 tableData: {
222 this.$emit("updateFdcwxmList", this.tableDataList); 178 handler: function (val, oldVal) {
179 let that = this;
180 this.$nextTick(() => {
181 if (val.length == 0 || !val) {
182 that.tableDataList = _.cloneDeep([
183 {
184 yt: null,
185 qssj: "",
186 jssj: "",
187 tdsyqx: "",
188 },
189 ]);
190 } else {
191 that.tableDataList = _.cloneDeep(val);
192 }
193 });
194 },
195 immediate: true,
196 deep: true,
197 },
198 },
199 methods: {
200 /**
201 * @description: renderHeader
202 * @author: renchao
203 */
204 renderHeader () {
205 return (
206 <div>
207 {"序号"}
208 </div>
209 );
210 },
211 updaterow (a) {
212 this.$emit("updateFdcwxmList", this.tableDataList);
213 }
223 } 214 }
224 }, 215 }
225 };
226 </script> 216 </script>
227 <style scoped lang="scss"> 217 <style scoped lang="scss">
228 .el-input { 218 .el-input {
229 border: none !important; 219 border: none !important;
230 } 220 }
231 221
232 /deep/ .el-table__row { 222 /deep/ .el-table__row {
233 border: none !important; 223 border: none !important;
234 } 224 }
235 225
236 .el-date-editor.el-input { 226 .el-date-editor.el-input {
237 width: 100%; 227 width: 100%;
238 } 228 }
239 229
240 /deep/ .el-table th { 230 /deep/ .el-table th {
241 height: 30px !important; 231 height: 30px !important;
242 } 232 }
243 </style> 233 </style>
244 234
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 08:21:18 4 * @LastEditTime: 2023-09-01 13:35:05
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -205,7 +205,8 @@ ...@@ -205,7 +205,8 @@
205 * @author: renchao 205 * @author: renchao
206 */ 206 */
207 deleClick (index, row) { 207 deleClick (index, row) {
208 this.tableData.splice(index, 1) 208 this.tableDataList.splice(index, 1)
209 this.$emit('upDateQlrxxList', this.tableDataList)
209 }, 210 },
210 /** 211 /**
211 * @description: 身份证读取 212 * @description: 身份证读取
...@@ -234,7 +235,6 @@ ...@@ -234,7 +235,6 @@
234 } 235 }
235 }) 236 })
236 }, 237 },
237 // 修改
238 /** 238 /**
239 * @description: 修改 239 * @description: 修改
240 * @param {*} index 240 * @param {*} index
...@@ -257,10 +257,8 @@ ...@@ -257,10 +257,8 @@
257 * @author: renchao 257 * @author: renchao
258 */ 258 */
259 queryViewClick (index, row) { 259 queryViewClick (index, row) {
260 // this.details.gyfs=this.gyfs
261 this.details = row 260 this.details = row
262 this.dialog = true 261 this.dialog = true
263
264 } 262 }
265 } 263 }
266 } 264 }
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-09-01 13:33:27
5 -->
6 <template>
7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true"
9 :data="tableDataList">
10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="disabled" @updateDetail="handleupdateDetail" />
12 </div>
13 </template>
14 <script>
15 import { mapGetters } from 'vuex'
16 import { getIdCardInfo } from '@/utils/operation.js'
17 import addQlr from './dialog/addQlr.vue'
18 export default {
19 components: {
20 addQlr
21 },
22 computed: {
23 ...mapGetters(["dictData"]),
24 },
25 props: {
26 tableData: {
27 type: Array,
28 default: function () {
29 return []
30 }
31 },
32 gyfs: {
33 type: String,
34 default: '1'
35 },
36 disabled: {
37 type: Boolean,
38 default: true
39 }
40 },
41 data () {
42 return {
43 key: 0,
44 dataIndex: 0,
45 dialog: false,
46 isaddupdate: false,
47 details: {},
48 tableDataList: [],
49 InformationTable: [
50 {
51 width: '50',
52 renderHeader: (h, scope) => {
53 return <div> {
54 !this.disabled ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
55 }
56 </div>
57 },
58 render: (h, scope) => {
59 return (
60 <div>
61 {
62 !this.disabled ? <span>{scope.$index + 1}</span> :
63 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
64 }
65 </div>
66 )
67 }
68 },
69 {
70 label: '身份证读卡器',
71 align: 'center',
72 render: (h, scope) => {
73 return <el-button type="text" icon="el-icon-tickets" disabled={!this.disabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button>
74 }
75 },
76 {
77 prop: "sqrmc",
78 label: "姓名/名称"
79 },
80 {
81 prop: "zjzl",
82 label: "证件种类",
83 render: (h, scope) => {
84 return this.dictData['A30'] && this.dictData['A30'].map(option => {
85 if (option.dcode == scope.row.zjzl) {
86 return <span>{option.dname}</span>
87 }
88 })
89 }
90 },
91 {
92 prop: "zjh",
93 label: "证件号"
94 },
95 {
96 prop: "dh",
97 label: "联系电话"
98 },
99 {
100 label: '操作',
101 render: (h, scope) => {
102 return (
103 <div>
104 {
105 this.disabled ? <el-button
106 icon="el-icon-edit-outline"
107 type="text"
108 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button> : <el-button
109 icon="el-icon-view"
110 type="text"
111 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} > 查看</el-button>
112 }
113 </div>
114 )
115 }
116 }
117 ],
118 column: []
119 }
120 },
121 watch: {
122 tableData: {
123 handler: function (val, oldVal) {
124 let that = this
125 this.$nextTick(() => {
126 if (val.length == 0 || !val) {
127 // that.tableDataList = _.cloneDeep([{
128 // sqrmc: '',
129 // dlrzjlx: '',
130 // dlrzjh: '',
131 // fr: ''
132 // }])
133 } else {
134 that.tableDataList = _.cloneDeep(val)
135 }
136 })
137 },
138 immediate: true,
139 deep: true
140 },
141 gyfs: {
142 handler (newVal, oldValue) {
143 let dataList = _.cloneDeep(this.InformationTable)
144 if (newVal == 0) {
145 this.column = _.cloneDeep(dataList)
146 this.tableDataList = _.cloneDeep(this.tableData)
147 } else if ((newVal == '1' || newVal == '3')) {
148 this.column = dataList
149 } else {
150 this.column = _.cloneDeep(dataList)
151 this.column.splice(
152 2, 0, {
153 prop: "qlbl",
154 label: "份数"
155 })
156 }
157 },
158 immediate: true
159 }
160 },
161 methods: {
162 /**
163 * @description: handleupdateDetail
164 * @param {*} value
165 * @author: renchao
166 */
167 handleupdateDetail (value) {
168 let arr = this.tableData.map(item => item.zjh)
169 if (this.isaddupdate) {
170 if (!arr.includes(value.zjh)) {
171 this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
172 this.$emit('upDateQlrxxList', this.tableDataList)
173 } else {
174 this.$message.error('证件号不能重复');
175 }
176 } else {
177 if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) {
178 this.tableDataList[this.dataIndex] = _.cloneDeep(value);
179 this.$emit('upDateQlrxxList', this.tableDataList)
180 } else {
181 this.$message.error('证件号不能重复');
182 }
183 }
184 this.key++
185 },
186 /**
187 * @description: 新增
188 * @author: renchao
189 */
190 addClick () {
191 // if (this.gyfs == '0' && this.tableDataList.length > 0) {
192 // this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
193 // } else {
194 // this.key++
195 // this.details = {}
196 // this.dialog = true
197 // this.isaddupdate = true
198 // }
199 this.key++
200 this.details = {}
201 this.dialog = true
202 this.isaddupdate = true
203 },
204
205 /**
206 * @description: 删除
207 * @param {*} index
208 * @param {*} row
209 * @author: renchao
210 */
211 deleClick (index, row) {
212 this.tableDataList.splice(index, 1)
213 this.$emit('upDateQlrxxList', this.tableDataList)
214 },
215 /**
216 * @description: 身份证读取
217 * @param {*} row
218 * @author: renchao
219 */
220 readClick (row) {
221 getIdCardInfo().then(res => {
222 if (res.data.code == 0) {
223 let data = res.data.IDCardInfo
224 row.sqrmc = data.name
225 row.zjzl = '1'
226 row.zjh = data.cardID
227 row.xb = data.sexCode
228 row.txdz = data.address
229 row.fzjg = data.issueOrgan
230 this.$message({
231 message: '读取成功!',
232 type: 'success'
233 })
234 } else {
235 this.$message({
236 message: res.data.message,
237 type: 'warning'
238 })
239 }
240 })
241 },
242 /**
243 * @description: 修改
244 * @param {*} index
245 * @param {*} row
246 * @author: renchao
247 */
248 editClick (index, row) {
249 this.details = row
250 this.details.gyfs = this.gyfs
251 this.dataIndex = index
252 this.dialog = true
253 this.isaddupdate = false
254 },
255 /**
256 * @description: queryViewClick
257 * @param {*} index
258 * @param {*} row
259 * @author: renchao
260 */
261 queryViewClick (index, row) {
262 // this.details.gyfs=this.gyfs
263 this.details = row
264 this.dialog = true
265
266 }
267 }
268 }
269 </script>
270 <style scoped lang="scss">
271 /deep/.el-table th {
272 height: 30px !important;
273 }
274 /deep/.el-table .cell {
275 padding-right: 12px;
276 }
277 </style>
...@@ -71,10 +71,10 @@ class data2 extends filter { ...@@ -71,10 +71,10 @@ class data2 extends filter {
71 } 71 }
72 72
73 } 73 }
74 let dataGr = new data1() 74 let dataYh = new data1()
75 let dataQy = new data2() 75 let dataQy = new data2()
76 export { 76 export {
77 dataGr, 77 dataYh,
78 dataQy, 78 dataQy,
79 sendThis 79 sendThis
80 } 80 }
......
...@@ -12,7 +12,7 @@ import { ...@@ -12,7 +12,7 @@ import {
12 completeTask, 12 completeTask,
13 getNextLinkInfo, 13 getNextLinkInfo,
14 getWorkFlowImage, 14 getWorkFlowImage,
15 getPrintApplicationInfo, 15 getPrintApplicationForm,
16 deleteFlow, 16 deleteFlow,
17 unClaimTask, 17 unClaimTask,
18 getZdInfo 18 getZdInfo
...@@ -131,7 +131,7 @@ export default { ...@@ -131,7 +131,7 @@ export default {
131 //根据编号获取对应信息 131 //根据编号获取对应信息
132 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { 132 getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => {
133 if (res.code == 200) { 133 if (res.code == 200) {
134 getPrintApplicationInfo(this.currentSelectProps).then(infoRes => { 134 getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => {
135 if (infoRes.code == 200) { 135 if (infoRes.code == 200) {
136 //打开模板设计 136 //打开模板设计
137 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); 137 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
......
...@@ -100,12 +100,12 @@ ...@@ -100,12 +100,12 @@
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="面积:"> 103 <el-form-item label="权利性质:">
104 <el-input disabled v-model="ruleForm.ztQlxx.qlmjmc"></el-input> 104 <el-input disabled v-model="ruleForm.ztQlxx.qlxzmc"></el-input>
105 </el-form-item> 105 </el-form-item>
106 </el-col> 106 </el-col>
107 <el-col :span="8"> 107 <el-col :span="8">
108 <el-form-item label="用途:"> 108 <el-form-item label="权利用途:">
109 <el-input disabled v-model="ruleForm.ztQlxx.qlytmc"></el-input> 109 <el-input disabled v-model="ruleForm.ztQlxx.qlytmc"></el-input>
110 </el-form-item> 110 </el-form-item>
111 </el-col> 111 </el-col>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
122 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> 122 <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input>
123 </el-form-item> 123 </el-form-item>
124 </el-col> 124 </el-col>
125 <el-col :span="7"> 125 <el-col :span="8">
126 <el-form-item label="抵押方式:"> 126 <el-form-item label="抵押方式:">
127 <el-radio-group disabled v-model="ruleForm.diyaq.dyfs"> 127 <el-radio-group disabled v-model="ruleForm.diyaq.dyfs">
128 <el-radio label="1">一般抵押权</el-radio> 128 <el-radio label="1">一般抵押权</el-radio>
...@@ -130,20 +130,58 @@ ...@@ -130,20 +130,58 @@
130 </el-radio-group> 130 </el-radio-group>
131 </el-form-item> 131 </el-form-item>
132 </el-col> 132 </el-col>
133 <el-col :span="9"> 133 <el-col :span="8">
134 <el-form-item label="抵押面积:">
135 <div class="flex">
136 <el-input
137 maxlength="12"
138 v-model="ruleForm.diyaq.dymj"
139 disabled></el-input>
140 <el-select disabled v-model="ruleForm.diyaq.mjdw" style="width: 68px">
141 <el-option
142 v-for="item in dictData['A7']"
143 :key="item.dcode"
144 :label="item.dname"
145 :value="item.dcode">
146 </el-option>
147 </el-select>
148 </div>
149 </el-form-item>
150 </el-col>
151 </el-row>
152 <el-row :gutter="10">
153 <el-col :span="8">
134 <el-form-item 154 <el-form-item
135 label="是否存在禁止或者限制转让抵押不动产的约定:" 155 label="是否禁止或者限制转让的约定:"
136 label-width="350px" 156 label-width="200px"
137 > 157 >
138 <el-radio-group 158 <el-radio-group
139 v-model="ruleForm.diyaq.sfczjzhxz" 159 v-model="ruleForm.diyaq.sfczjzhxz"
140 :disabled="!viewEdit || isJfOperation" 160 :disabled="!viewEdit || isJfOperation"
141 > 161 >
142 <el-radio label="1">启用</el-radio> 162 <el-radio label="1"></el-radio>
143 <el-radio label="0">禁用</el-radio> 163 <el-radio label="0"></el-radio>
144 </el-radio-group> 164 </el-radio-group>
145 </el-form-item> 165 </el-form-item>
146 </el-col> 166 </el-col>
167 <el-col :span="8">
168 <el-form-item
169 label="是否预告登记:"
170 >
171 <el-radio-group v-model="ruleForm.diyaq.sfygdj" disabled>
172 <el-radio label="1"></el-radio>
173 <el-radio label="0"></el-radio>
174 </el-radio-group>
175 </el-form-item>
176 </el-col>
177 <el-col :span="8">
178 <el-form-item label="债务履行期限:">
179 <el-input
180 v-model="ruleForm.diyaq.dyqx"
181 :disabled="!viewEdit || isJfOperation"
182 ></el-input>
183 </el-form-item>
184 </el-col>
147 </el-row> 185 </el-row>
148 186
149 <el-row :gutter="10"> 187 <el-row :gutter="10">
...@@ -366,7 +404,6 @@ export default { ...@@ -366,7 +404,6 @@ export default {
366 if (res.code === 200 && res.result) { 404 if (res.code === 200 && res.result) {
367 this.ruleForm = res.result; 405 this.ruleForm = res.result;
368 this.czrOptions = this.ruleForm.qlrList; 406 this.czrOptions = this.ruleForm.qlrList;
369 this.ruleForm.diyaq.sfczjzhxz = "0";
370 } 407 }
371 this.ruleForm.qlrList.forEach((item) => { 408 this.ruleForm.qlrList.forEach((item) => {
372 if (item.sfczr == 1) { 409 if (item.sfczr == 1) {
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-08-30 15:47:48 4 * @LastEditTime: 2023-09-01 13:23:30
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 <el-form-item label="独用土地面积:"> 107 <el-form-item label="独用土地面积:">
108 <el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.dytdmj"></el-input> 108 <el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.dytdmj"></el-input>
109 </el-form-item> 109 </el-form-item>
110 </el-col>1 110 </el-col>
111 <el-col :span="8"> 111 <el-col :span="8">
112 <el-form-item label="分摊土地面积:"> 112 <el-form-item label="分摊土地面积:">
113 <el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.fttdmj"></el-input> 113 <el-input :disabled="!viewEdit" maxlength="12" v-model="ruleForm.fdcq1.fttdmj"></el-input>
...@@ -217,12 +217,13 @@ ...@@ -217,12 +217,13 @@
217 义务人信息 217 义务人信息
218 <div class="triangle"></div> 218 <div class="triangle"></div>
219 </div> 219 </div>
220 <qlrCommonTable 220 <ywrCommonTable
221 v-if="ruleForm.qlxx" 221 v-if="ruleForm.qlxx"
222 :disabled="viewEdit" 222 :disabled="viewEdit"
223 @upDateQlrxxList="upDateYwrxxList" 223 @upDateQlrxxList="upDateYwrxxList"
224 :tableData="ruleForm.ywrList" 224 :tableData="ruleForm.ywrList"
225 :gyfs="ruleForm.qlxx.gyfs" /> 225 :gyfs="ruleForm.qlxx.gyfs" />
226
226 </div> 227 </div>
227 <div class="slxx_title title-block"> 228 <div class="slxx_title title-block">
228 登记原因 229 登记原因
...@@ -254,6 +255,7 @@ ...@@ -254,6 +255,7 @@
254 <script> 255 <script>
255 import ywmix from "@/views/ywbl/mixin/index"; 256 import ywmix from "@/views/ywbl/mixin/index";
256 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 257 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
258 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
257 import fdcqxmTable from "@/views/workflow/components/fdcqxmTable"; 259 import fdcqxmTable from "@/views/workflow/components/fdcqxmTable";
258 import tdytTable from "@/views/workflow/components/tdytTable"; 260 import tdytTable from "@/views/workflow/components/tdytTable";
259 import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js"; 261 import { Init, saveData } from "@/api/workflow/fwsyq1Flow.js";
...@@ -290,7 +292,7 @@ ...@@ -290,7 +292,7 @@
290 } 292 }
291 }); 293 });
292 }, 294 },
293 components: { qlrCommonTable, tdytTable, fdcqxmTable }, 295 components: { qlrCommonTable, tdytTable, fdcqxmTable, ywrCommonTable },
294 computed: { 296 computed: {
295 ...mapGetters(["dictData", "flag"]), 297 ...mapGetters(["dictData", "flag"]),
296 }, 298 },
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-25 09:49:00 4 * @LastEditTime: 2023-09-01 13:40:52
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
115 <el-form-item label="独用土地面积:"> 115 <el-form-item label="独用土地面积:">
116 <div class="flex"> 116 <div class="flex">
117 <el-input 117 <el-input
118 maxlength="12" 118 maxlength="12"
119 v-model="ruleForm.fdcq2.dytdmj" 119 v-model="ruleForm.fdcq2.dytdmj"
120 :disabled="!viewEdit" 120 :disabled="!viewEdit"
121 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 121 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
134 <el-form-item label="分摊土地面积:"> 134 <el-form-item label="分摊土地面积:">
135 <div class="flex"> 135 <div class="flex">
136 <el-input 136 <el-input
137 maxlength="12" 137 maxlength="12"
138 v-model="ruleForm.fdcq2.fttdmj" 138 v-model="ruleForm.fdcq2.fttdmj"
139 :disabled="!viewEdit" 139 :disabled="!viewEdit"
140 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 140 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
203 <el-col :span="8"> 203 <el-col :span="8">
204 <el-form-item label="所在层:"> 204 <el-form-item label="所在层:">
205 <el-input 205 <el-input
206 maxlength="20" 206 maxlength="20"
207 v-model="ruleForm.fdcq2.szc" 207 v-model="ruleForm.fdcq2.szc"
208 :disabled="!viewEdit"></el-input> 208 :disabled="!viewEdit"></el-input>
209 </el-form-item> 209 </el-form-item>
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
211 <el-col :span="8"> 211 <el-col :span="8">
212 <el-form-item label="总层数:"> 212 <el-form-item label="总层数:">
213 <el-input 213 <el-input
214 maxlength="4" 214 maxlength="4"
215 :disabled="!viewEdit" 215 :disabled="!viewEdit"
216 v-model.number="ruleForm.fdcq2.zcs" 216 v-model.number="ruleForm.fdcq2.zcs"
217 oninput="value=value.replace(/[^0-9]/g,'')"></el-input> 217 oninput="value=value.replace(/[^0-9]/g,'')"></el-input>
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
221 <el-form-item label="房地产交易价格:"> 221 <el-form-item label="房地产交易价格:">
222 <div class="flex"> 222 <div class="flex">
223 <el-input 223 <el-input
224 maxlength="11" 224 maxlength="11"
225 v-model="ruleForm.fdcq2.fdcjyjg" 225 v-model="ruleForm.fdcq2.fdcjyjg"
226 style="width: 500%" 226 style="width: 500%"
227 :disabled="!viewEdit" 227 :disabled="!viewEdit"
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
262 <el-form-item label="专有建筑面积:"> 262 <el-form-item label="专有建筑面积:">
263 <div class="flex"> 263 <div class="flex">
264 <el-input 264 <el-input
265 maxlength="12" 265 maxlength="12"
266 v-model="ruleForm.fdcq2.zyjzmj" 266 v-model="ruleForm.fdcq2.zyjzmj"
267 :disabled="!viewEdit" 267 :disabled="!viewEdit"
268 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 268 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
281 <el-form-item label="分摊建筑面积:"> 281 <el-form-item label="分摊建筑面积:">
282 <div class="flex"> 282 <div class="flex">
283 <el-input 283 <el-input
284 maxlength="12" 284 maxlength="12"
285 v-model="ruleForm.fdcq2.ftjzmj" 285 v-model="ruleForm.fdcq2.ftjzmj"
286 :disabled="!viewEdit" 286 :disabled="!viewEdit"
287 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 287 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
...@@ -374,7 +374,7 @@ ...@@ -374,7 +374,7 @@
374 义务人信息 374 义务人信息
375 <div class="triangle"></div> 375 <div class="triangle"></div>
376 </div> 376 </div>
377 <qlrCommonTable 377 <ywrCommonTable
378 v-if="ruleForm.qlxx" 378 v-if="ruleForm.qlxx"
379 @upDateQlrxxList="upDateYwrxxList" 379 @upDateQlrxxList="upDateYwrxxList"
380 :tableData="ruleForm.ywrList" 380 :tableData="ruleForm.ywrList"
...@@ -411,6 +411,7 @@ ...@@ -411,6 +411,7 @@
411 <script> 411 <script>
412 import ywmix from "@/views/ywbl/mixin/index"; 412 import ywmix from "@/views/ywbl/mixin/index";
413 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 413 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
414 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
414 import tdytTable from "@/views/workflow/components/tdytTable"; 415 import tdytTable from "@/views/workflow/components/tdytTable";
415 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js"; 416 import { Init, saveData } from "@/api/workflow/fwsyqFlow.js";
416 import { mapGetters } from "vuex"; 417 import { mapGetters } from "vuex";
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-25 09:39:00 4 * @LastEditTime: 2023-09-01 13:41:37
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
203 义务人信息 203 义务人信息
204 <div class="triangle"></div> 204 <div class="triangle"></div>
205 </div> 205 </div>
206 <qlrCommonTable 206 <ywrCommonTable
207 v-if="ruleForm.ywrList" 207 v-if="ruleForm.ywrList"
208 :disabled="viewEdit" 208 :disabled="viewEdit"
209 :tableData="ruleForm.ywrList" 209 :tableData="ruleForm.ywrList"
...@@ -244,6 +244,7 @@ ...@@ -244,6 +244,7 @@
244 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; 244 import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js";
245 import tdytTable from "@/views/workflow/components/tdytTable"; 245 import tdytTable from "@/views/workflow/components/tdytTable";
246 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 246 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
247 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
247 export default { 248 export default {
248 mixins: [ywmix], 249 mixins: [ywmix],
249 mounted () { 250 mounted () {
...@@ -270,7 +271,7 @@ ...@@ -270,7 +271,7 @@
270 }); 271 });
271 }); 272 });
272 }, 273 },
273 components: { qlrCommonTable, tdytTable }, 274 components: { qlrCommonTable, tdytTable, ywrCommonTable },
274 computed: { 275 computed: {
275 ...mapGetters(["dictData", "flag"]), 276 ...mapGetters(["dictData", "flag"]),
276 // 根据流程判断表单是否为只读 277 // 根据流程判断表单是否为只读
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-09-01 09:22:02 4 * @LastEditTime: 2023-09-01 13:42:05
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -267,7 +267,7 @@ ...@@ -267,7 +267,7 @@
267 义务人信息 267 义务人信息
268 <div class="triangle"></div> 268 <div class="triangle"></div>
269 </div> 269 </div>
270 <qlrCommonTable 270 <ywrCommonTable
271 v-if="ruleForm.qlxx" 271 v-if="ruleForm.qlxx"
272 :disabled="viewEdit" 272 :disabled="viewEdit"
273 @upDateQlrxxList="upDateYwrxxList" 273 @upDateQlrxxList="upDateYwrxxList"
...@@ -304,6 +304,7 @@ ...@@ -304,6 +304,7 @@
304 <script> 304 <script>
305 import ywmix from "@/views/ywbl/mixin/index"; 305 import ywmix from "@/views/ywbl/mixin/index";
306 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 306 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
307 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
307 import tdytTable from "@/views/workflow/components/tdytTable"; 308 import tdytTable from "@/views/workflow/components/tdytTable";
308 import { Init, saveData } from "@/api/workflow/lqFlow.js"; 309 import { Init, saveData } from "@/api/workflow/lqFlow.js";
309 import { mapGetters } from "vuex"; 310 import { mapGetters } from "vuex";
...@@ -339,7 +340,7 @@ ...@@ -339,7 +340,7 @@
339 } 340 }
340 }) 341 })
341 }, 342 },
342 components: { qlrCommonTable, tdytTable }, 343 components: { qlrCommonTable, tdytTable, ywrCommonTable },
343 computed: { 344 computed: {
344 ...mapGetters(["dictData", "flag"]) 345 ...mapGetters(["dictData", "flag"])
345 }, 346 },
......
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
8 ref="ruleForm" 8 ref="ruleForm"
9 :label-position="flag ? 'top' : ''" 9 :label-position="flag ? 'top' : ''"
10 :inline="flag" 10 :inline="flag"
11 label-width="120px" 11 label-width="120px">
12 >
13 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 12 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
14 <div class="slxx_title title-block"> 13 <div class="slxx_title title-block">
15 申请业务信息 14 申请业务信息
...@@ -99,16 +98,14 @@ ...@@ -99,16 +98,14 @@
99 <el-form-item label="发包方名称:"> 98 <el-form-item label="发包方名称:">
100 <el-input 99 <el-input
101 v-model="ruleForm.nydsyq.fbfmc" 100 v-model="ruleForm.nydsyq.fbfmc"
102 :disabled="!viewEdit" 101 :disabled="!viewEdit"></el-input>
103 ></el-input>
104 </el-form-item> 102 </el-form-item>
105 </el-col> 103 </el-col>
106 <el-col :span="8"> 104 <el-col :span="8">
107 <el-form-item label="发包方代码:"> 105 <el-form-item label="发包方代码:">
108 <el-input 106 <el-input
109 v-model="ruleForm.nydsyq.fbfdm" 107 v-model="ruleForm.nydsyq.fbfdm"
110 :disabled="!viewEdit" 108 :disabled="!viewEdit"></el-input>
111 ></el-input>
112 </el-form-item> 109 </el-form-item>
113 </el-col> 110 </el-col>
114 <el-col :span="8"> 111 <el-col :span="8">
...@@ -118,14 +115,12 @@ ...@@ -118,14 +115,12 @@
118 class="width100" 115 class="width100"
119 :disabled="!viewEdit" 116 :disabled="!viewEdit"
120 filterable 117 filterable
121 clearable 118 clearable>
122 >
123 <el-option 119 <el-option
124 v-for="item in dictData['A45']" 120 v-for="item in dictData['A45']"
125 :key="item.dname" 121 :key="item.dname"
126 :label="item.dname" 122 :label="item.dname"
127 :value="item.dname" 123 :value="item.dname">
128 >
129 </el-option> 124 </el-option>
130 </el-select> 125 </el-select>
131 </el-form-item> 126 </el-form-item>
...@@ -152,14 +147,12 @@ ...@@ -152,14 +147,12 @@
152 class="width100" 147 class="width100"
153 filterable 148 filterable
154 clearable 149 clearable
155 @change="changeSyttlx" 150 @change="changeSyttlx">
156 >
157 <el-option 151 <el-option
158 v-for="item in dictData['A23']" 152 v-for="item in dictData['A23']"
159 :key="item.dcode" 153 :key="item.dcode"
160 :label="item.dname" 154 :label="item.dname"
161 :value="item.dcode" 155 :value="item.dcode">
162 >
163 </el-option> 156 </el-option>
164 </el-select> 157 </el-select>
165 </el-form-item> 158 </el-form-item>
...@@ -172,14 +165,12 @@ ...@@ -172,14 +165,12 @@
172 class="width100" 165 class="width100"
173 filterable 166 filterable
174 clearable 167 clearable
175 @change="changeYzyfs" 168 @change="changeYzyfs">
176 >
177 <el-option 169 <el-option
178 v-for="item in dictData['A24']" 170 v-for="item in dictData['A24']"
179 :key="item.dcode" 171 :key="item.dcode"
180 :label="item.dname" 172 :label="item.dname"
181 :value="item.dcode" 173 :value="item.dcode">
182 >
183 </el-option> 174 </el-option>
184 </el-select> 175 </el-select>
185 </el-form-item> 176 </el-form-item>
...@@ -188,8 +179,7 @@ ...@@ -188,8 +179,7 @@
188 <el-form-item label="草原质量:"> 179 <el-form-item label="草原质量:">
189 <el-input 180 <el-input
190 v-model="ruleForm.nydsyq.cyzl" 181 v-model="ruleForm.nydsyq.cyzl"
191 :disabled="!viewEdit" 182 :disabled="!viewEdit"></el-input>
192 ></el-input>
193 </el-form-item> 183 </el-form-item>
194 </el-col> 184 </el-col>
195 </el-row> 185 </el-row>
...@@ -199,8 +189,7 @@ ...@@ -199,8 +189,7 @@
199 <el-input 189 <el-input
200 v-model="ruleForm.nydsyq.syzcl" 190 v-model="ruleForm.nydsyq.syzcl"
201 :disabled="!viewEdit" 191 :disabled="!viewEdit"
202 oninput="value=value.replace(/[^\d.]/g,'')" 192 oninput="value=value.replace(/[^\d.]/g,'')"></el-input>
203 ></el-input>
204 </el-form-item> 193 </el-form-item>
205 </el-col> 194 </el-col>
206 <el-col :span="8"> 195 <el-col :span="8">
...@@ -211,14 +200,12 @@ ...@@ -211,14 +200,12 @@
211 class="width100" 200 class="width100"
212 filterable 201 filterable
213 clearable 202 clearable
214 @change="changeYdyhfl" 203 @change="changeYdyhfl">
215 >
216 <el-option 204 <el-option
217 v-for="item in dictData['A51']" 205 v-for="item in dictData['A51']"
218 :key="item.dcode" 206 :key="item.dcode"
219 :label="item.dname" 207 :label="item.dname"
220 :value="item.dcode" 208 :value="item.dcode">
221 >
222 </el-option> 209 </el-option>
223 </el-select> 210 </el-select>
224 </el-form-item> 211 </el-form-item>
...@@ -227,8 +214,7 @@ ...@@ -227,8 +214,7 @@
227 <el-form-item label="土地承包合同:"> 214 <el-form-item label="土地承包合同:">
228 <el-input 215 <el-input
229 v-model="ruleForm.nydsyq.tdcbht" 216 v-model="ruleForm.nydsyq.tdcbht"
230 :disabled="!viewEdit" 217 :disabled="!viewEdit"></el-input>
231 ></el-input>
232 </el-form-item> 218 </el-form-item>
233 </el-col> 219 </el-col>
234 </el-row> 220 </el-row>
...@@ -240,8 +226,7 @@ ...@@ -240,8 +226,7 @@
240 maxlength="500" 226 maxlength="500"
241 show-word-limit 227 show-word-limit
242 v-model="ruleForm.nydsyq.fj" 228 v-model="ruleForm.nydsyq.fj"
243 :disabled="!viewEdit" 229 :disabled="!viewEdit"></el-input>
244 ></el-input>
245 </el-form-item> 230 </el-form-item>
246 </el-col> 231 </el-col>
247 </el-row> 232 </el-row>
...@@ -254,8 +239,7 @@ ...@@ -254,8 +239,7 @@
254 <el-form-item label="共有方式:"> 239 <el-form-item label="共有方式:">
255 <el-radio-group 240 <el-radio-group
256 :disabled="!viewEdit" 241 :disabled="!viewEdit"
257 v-model="ruleForm.sldy.gyfs" 242 v-model="ruleForm.sldy.gyfs">
258 >
259 <el-radio label="0">单独所有</el-radio> 243 <el-radio label="0">单独所有</el-radio>
260 <el-radio label="1">共同共有</el-radio> 244 <el-radio label="1">共同共有</el-radio>
261 <el-radio label="2">按份所有</el-radio> 245 <el-radio label="2">按份所有</el-radio>
...@@ -268,8 +252,7 @@ ...@@ -268,8 +252,7 @@
268 <el-radio-group 252 <el-radio-group
269 v-model="ruleForm.sldy.sqfbcz" 253 v-model="ruleForm.sldy.sqfbcz"
270 :disabled="!viewEdit" 254 :disabled="!viewEdit"
271 @input="updaterow()" 255 @input="updaterow()">
272 >
273 <el-radio :label="1"></el-radio> 256 <el-radio :label="1"></el-radio>
274 <el-radio :label="0"></el-radio> 257 <el-radio :label="0"></el-radio>
275 </el-radio-group> 258 </el-radio-group>
...@@ -277,20 +260,17 @@ ...@@ -277,20 +260,17 @@
277 </el-col> 260 </el-col>
278 <el-col 261 <el-col
279 :span="6" 262 :span="6"
280 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'" 263 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
281 >
282 <el-form-item label="持证人:"> 264 <el-form-item label="持证人:">
283 <el-select 265 <el-select
284 v-model="czr" 266 v-model="czr"
285 placeholder="持证人" 267 placeholder="持证人"
286 :disabled="!viewEdit" 268 :disabled="!viewEdit">
287 >
288 <el-option 269 <el-option
289 v-for="item in czrOptions" 270 v-for="item in czrOptions"
290 :key="item.zjh" 271 :key="item.zjh"
291 :label="item.sqrmc" 272 :label="item.sqrmc"
292 :value="item.zjh" 273 :value="item.zjh">
293 >
294 </el-option> 274 </el-option>
295 </el-select> 275 </el-select>
296 </el-form-item> 276 </el-form-item>
...@@ -300,17 +280,15 @@ ...@@ -300,17 +280,15 @@
300 :tableData="ruleForm.qlrList" 280 :tableData="ruleForm.qlrList"
301 @upDateQlrxxList="upDateQlrxxList" 281 @upDateQlrxxList="upDateQlrxxList"
302 :disabled="viewEdit" 282 :disabled="viewEdit"
303 :gyfs="ruleForm.sldy.gyfs" 283 :gyfs="ruleForm.sldy.gyfs" />
304 />
305 <div class="slxx_title title-block"> 284 <div class="slxx_title title-block">
306 义务人信息 285 义务人信息
307 <div class="triangle"></div> 286 <div class="triangle"></div>
308 </div> 287 </div>
309 <qlrCommonTable 288 <ywrCommonTable
310 :tableData="ruleForm.ywrList" 289 :tableData="ruleForm.ywrList"
311 @upDateQlrxxList="upDateYwrxxList" 290 @upDateQlrxxList="upDateYwrxxList"
312 :disabled="viewEdit" 291 :disabled="viewEdit" />
313 />
314 <div class="slxx_title title-block"> 292 <div class="slxx_title title-block">
315 家庭成员 293 家庭成员
316 <div class="triangle"></div> 294 <div class="triangle"></div>
...@@ -319,8 +297,7 @@ ...@@ -319,8 +297,7 @@
319 :tableData="ruleForm.jtcyList" 297 :tableData="ruleForm.jtcyList"
320 :disabled="!viewEdit" 298 :disabled="!viewEdit"
321 @upDateJtcyList="upDateJtcyList" 299 @upDateJtcyList="upDateJtcyList"
322 :gyfs="ruleForm.slywxx.gyfs" 300 :gyfs="ruleForm.slywxx.gyfs" />
323 />
324 <div class="slxx_title title-block"> 301 <div class="slxx_title title-block">
325 登记原因 302 登记原因
326 <div class="triangle"></div> 303 <div class="triangle"></div>
...@@ -334,8 +311,7 @@ ...@@ -334,8 +311,7 @@
334 maxlength="500" 311 maxlength="500"
335 show-word-limit 312 show-word-limit
336 :disabled="!viewEdit" 313 :disabled="!viewEdit"
337 v-model="ruleForm.nydsyq.djyy" 314 v-model="ruleForm.nydsyq.djyy">
338 >
339 </el-input> 315 </el-input>
340 </el-form-item> 316 </el-form-item>
341 </el-col> 317 </el-col>
...@@ -350,205 +326,206 @@ ...@@ -350,205 +326,206 @@
350 </div> 326 </div>
351 </template> 327 </template>
352 <script> 328 <script>
353 import { mapGetters } from "vuex"; 329 import { mapGetters } from "vuex";
354 import ywmix from "@/views/ywbl/mixin/index"; 330 import ywmix from "@/views/ywbl/mixin/index";
355 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js"; 331 import { Init, saveData } from "@/api/workflow/nydsyqFlow.js";
356 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 332 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
357 import JtcyTable from "@/views/workflow/components/JtcyTable"; 333 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
358 export default { 334 import JtcyTable from "@/views/workflow/components/JtcyTable";
359 mixins: [ywmix], 335 export default {
360 mounted() { 336 mixins: [ywmix],
361 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 337 mounted () {
362 this.propsParam = this.$attrs; 338 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
363 var formdata = new FormData(); 339 this.propsParam = this.$attrs;
364 this.$startLoading(); 340 var formdata = new FormData();
365 formdata.append("bsmSldy", this.propsParam.bsmSldy); 341 this.$startLoading();
366 formdata.append("djlx", this.propsParam.djlx); 342 formdata.append("bsmSldy", this.propsParam.bsmSldy);
367 formdata.append("isEdit", this.viewEdit); 343 formdata.append("djlx", this.propsParam.djlx);
368 Init(formdata).then((res) => { 344 formdata.append("isEdit", this.viewEdit);
369 this.ruleForm = res.result; 345 Init(formdata).then((res) => {
370 this.czrOptions = this.ruleForm.qlrList; 346 this.ruleForm = res.result;
371 this.ruleForm.qlrList.forEach((item) => { 347 this.czrOptions = this.ruleForm.qlrList;
372 if (item.sfczr == 1) { 348 this.ruleForm.qlrList.forEach((item) => {
373 this.czr = item.sqrmc; 349 if (item.sfczr == 1) {
374 } 350 this.czr = item.sqrmc;
375 }); 351 }
376 this.$endLoading();
377 });
378 },
379 components: { qlrCommonTable, JtcyTable },
380 computed: {
381 ...mapGetters(["dictData", "flag"]),
382 },
383 data() {
384 return {
385 //表单是否可操作
386 viewEdit: true,
387 disabled: true,
388 czrOptions: [],
389 czr: "",
390 ruleForm: {},
391 //传递参数
392 propsParam: {},
393 rules: {},
394 };
395 },
396 methods: {
397 /**
398 * @description: onSubmit
399 * @author: renchao
400 */
401 onSubmit() {
402 let that = this;
403 if (this.ruleForm.qlrList.length == 0) {
404 this.$message({
405 showClose: true,
406 message: "请确认权利人信息",
407 type: "error",
408 }); 352 });
409 return false; 353 this.$endLoading();
410 } 354 });
411 355 },
412 if (this.ruleForm.sldy.gyfs == "0") { 356 components: { qlrCommonTable, JtcyTable, ywrCommonTable },
413 if (this.ruleForm.qlrList.length > 1) { 357 computed: {
414 this.$message({ 358 ...mapGetters(["dictData", "flag"]),
415 showClose: true, 359 },
416 message: "共有方式:单独所有,权利人只能是一个人", 360 data () {
417 type: "error", 361 return {
418 }); 362 //表单是否可操作
419 return false; 363 viewEdit: true,
420 } 364 disabled: true,
421 this.ruleForm.qlrList[0].sfczr = "1"; 365 czrOptions: [],
422 } else { 366 czr: "",
423 if (this.ruleForm.qlrList.length <= 1) { 367 ruleForm: {},
368 //传递参数
369 propsParam: {},
370 rules: {},
371 };
372 },
373 methods: {
374 /**
375 * @description: onSubmit
376 * @author: renchao
377 */
378 onSubmit () {
379 let that = this;
380 if (this.ruleForm.qlrList.length == 0) {
424 this.$message({ 381 this.$message({
425 showClose: true, 382 showClose: true,
426 message: 383 message: "请确认权利人信息",
427 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
428 type: "error", 384 type: "error",
429 }); 385 });
430 return false; 386 return false;
431 } 387 }
432 //是否分别持证 388
433 if (this.ruleForm.sldy.sqfbcz == "1") { 389 if (this.ruleForm.sldy.gyfs == "0") {
434 //是 390 if (this.ruleForm.qlrList.length > 1) {
435 this.ruleForm.qlrList.forEach((item, index) => { 391 this.$message({
436 item.sfczr = "1"; 392 showClose: true,
437 }); 393 message: "共有方式:单独所有,权利人只能是一个人",
394 type: "error",
395 });
396 return false;
397 }
398 this.ruleForm.qlrList[0].sfczr = "1";
438 } else { 399 } else {
439 if (!that.czr) { 400 if (this.ruleForm.qlrList.length <= 1) {
440 that.$message({ 401 this.$message({
441 showClose: true, 402 showClose: true,
442 message: "请选择持证人", 403 message:
404 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
443 type: "error", 405 type: "error",
444 }); 406 });
445 return false; 407 return false;
446 } 408 }
447 this.ruleForm.qlrList.forEach((item, index) => { 409 //是否分别持证
448 if (item.zjh == this.czr) { 410 if (this.ruleForm.sldy.sqfbcz == "1") {
411 //是
412 this.ruleForm.qlrList.forEach((item, index) => {
449 item.sfczr = "1"; 413 item.sfczr = "1";
450 } else { 414 });
451 item.sfczr = "0"; 415 } else {
416 if (!that.czr) {
417 that.$message({
418 showClose: true,
419 message: "请选择持证人",
420 type: "error",
421 });
422 return false;
452 } 423 }
453 }); 424 this.ruleForm.qlrList.forEach((item, index) => {
425 if (item.zjh == this.czr) {
426 item.sfczr = "1";
427 } else {
428 item.sfczr = "0";
429 }
430 });
431 }
454 } 432 }
455 }
456 433
457 saveData(this.ruleForm).then((res) => { 434 saveData(this.ruleForm).then((res) => {
458 if (res.code === 200) { 435 if (res.code === 200) {
459 this.$message({ 436 this.$message({
460 showClose: true, 437 showClose: true,
461 message: "保存成功!", 438 message: "保存成功!",
462 type: "success", 439 type: "success",
463 }); 440 });
464 this.$store.dispatch("user/refreshPage", true); 441 this.$store.dispatch("user/refreshPage", true);
465 } else { 442 } else {
466 this.$message({ 443 this.$message({
467 showClose: true, 444 showClose: true,
468 message: res.message, 445 message: res.message,
469 type: "error", 446 type: "error",
470 }); 447 });
471 } 448 }
472 }); 449 });
473 }, 450 },
474 /** 451 /**
475 * @description: 权利人更新 452 * @description: 权利人更新
476 * @param {*} val 453 * @param {*} val
477 * @author: renchao 454 * @author: renchao
478 */ 455 */
479 upDateQlrxxList(val) { 456 upDateQlrxxList (val) {
480 this.ruleForm.qlrList = _.cloneDeep(val); 457 this.ruleForm.qlrList = _.cloneDeep(val);
481 this.czrOptions = this.ruleForm.qlrList; 458 this.czrOptions = this.ruleForm.qlrList;
482 }, 459 },
483 // 是否持证人变化 460 // 是否持证人变化
484 /** 461 /**
485 * @description: 是否持证人变化 462 * @description: 是否持证人变化
486 * @param {*} val 463 * @param {*} val
487 * @author: renchao 464 * @author: renchao
488 */ 465 */
489 updaterow() { 466 updaterow () {
490 this.czr = ""; 467 this.czr = "";
491 }, 468 },
492 /** 469 /**
493 * @description: 更新义务人信息 470 * @description: 更新义务人信息
494 * @param {*} val 471 * @param {*} val
495 * @author: renchao 472 * @author: renchao
496 */ 473 */
497 upDateYwrxxList(val) { 474 upDateYwrxxList (val) {
498 this.ruleForm.ywrList = _.cloneDeep(val); 475 this.ruleForm.ywrList = _.cloneDeep(val);
499 }, 476 },
500 //家庭成员更新 477 //家庭成员更新
501 /** 478 /**
502 * @description: 家庭成员更新 479 * @description: 家庭成员更新
503 * @param {*} val 480 * @param {*} val
504 * @author: renchao 481 * @author: renchao
505 */ 482 */
506 upDateJtcyList(val) { 483 upDateJtcyList (val) {
507 this.ruleForm.jtcyList = _.cloneDeep(val); 484 this.ruleForm.jtcyList = _.cloneDeep(val);
508 }, 485 },
509 //水域滩涂类型变化事件 486 //水域滩涂类型变化事件
510 /** 487 /**
511 * @description: 水域滩涂类型变化事件 488 * @description: 水域滩涂类型变化事件
512 * @param {*} e 489 * @param {*} e
513 * @author: renchao 490 * @author: renchao
514 */ 491 */
515 changeSyttlx(e) { 492 changeSyttlx (e) {
516 let itemLx = {}; 493 let itemLx = {};
517 itemLx = this.dictData["A23"].find((item) => { 494 itemLx = this.dictData["A23"].find((item) => {
518 return item.dcode == e; 495 return item.dcode == e;
519 }); 496 });
520 this.ruleForm.nydsyq.syttlxmc = itemLx.dname; 497 this.ruleForm.nydsyq.syttlxmc = itemLx.dname;
521 }, 498 },
522 //养殖业方式变化事件 499 //养殖业方式变化事件
523 /** 500 /**
524 * @description: 养殖业方式变化事件 501 * @description: 养殖业方式变化事件
525 * @param {*} e 502 * @param {*} e
526 * @author: renchao 503 * @author: renchao
527 */ 504 */
528 changeYzyfs(e) { 505 changeYzyfs (e) {
529 let itemLx = {}; 506 let itemLx = {};
530 itemLx = this.dictData["A24"].find((item) => { 507 itemLx = this.dictData["A24"].find((item) => {
531 return item.dcode == e; 508 return item.dcode == e;
532 }); 509 });
533 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname; 510 this.ruleForm.nydsyq.yzyfsmc = itemLx.dname;
534 }, 511 },
535 //用地用海变化事件 512 //用地用海变化事件
536 /** 513 /**
537 * @description: 用地用海变化事件 514 * @description: 用地用海变化事件
538 * @param {*} e 515 * @param {*} e
539 * @author: renchao 516 * @author: renchao
540 */ 517 */
541 changeYdyhfl(e) { 518 changeYdyhfl (e) {
542 let itemLx = {}; 519 let itemLx = {};
543 itemLx = this.dictData["A51"].find((item) => { 520 itemLx = this.dictData["A51"].find((item) => {
544 return item.dcode == e; 521 return item.dcode == e;
545 }); 522 });
546 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; 523 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
524 },
547 }, 525 },
548 }, 526 };
549 };
550 </script> 527 </script>
551 <style scoped lang="scss"> 528 <style scoped lang="scss">
552 @import "~@/styles/public.scss"; 529 @import "~@/styles/public.scss";
553 @import "~@/styles/slxx/slxx.scss"; 530 @import "~@/styles/slxx/slxx.scss";
554 </style> 531 </style>
......
1 <!-- 1 <!--
2 * @Description: 房屋多幢受理信息 2 * @Description: 房屋多幢受理信息
3 * @Autor: ssq 3 * @Autor: ssq
4 * @LastEditTime: 2023-09-01 09:52:40 4 * @LastEditTime: 2023-09-01 13:37:53
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
266 义务人信息 266 义务人信息
267 <div class="triangle"></div> 267 <div class="triangle"></div>
268 </div> 268 </div>
269 <qlrCommonTable 269 <ywrCommonTable
270 v-if="ruleForm.qlxx" 270 v-if="ruleForm.qlxx"
271 :disabled="viewEdit" 271 :disabled="viewEdit"
272 @upDateQlrxxList="upDateYwrxxList" 272 @upDateQlrxxList="upDateYwrxxList"
...@@ -303,6 +303,7 @@ ...@@ -303,6 +303,7 @@
303 <script> 303 <script>
304 import ywmix from "@/views/ywbl/mixin/index"; 304 import ywmix from "@/views/ywbl/mixin/index";
305 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 305 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
306 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
306 import tdytTable from "@/views/workflow/components/tdytTable"; 307 import tdytTable from "@/views/workflow/components/tdytTable";
307 import { Init, saveData } from "@/api/workflow/sllmFlow.js"; 308 import { Init, saveData } from "@/api/workflow/sllmFlow.js";
308 import { mapGetters } from "vuex"; 309 import { mapGetters } from "vuex";
...@@ -334,7 +335,7 @@ ...@@ -334,7 +335,7 @@
334 } 335 }
335 }); 336 });
336 }, 337 },
337 components: { qlrCommonTable, tdytTable }, 338 components: { qlrCommonTable, tdytTable, ywrCommonTable },
338 computed: { 339 computed: {
339 ...mapGetters(["dictData", "flag"]), 340 ...mapGetters(["dictData", "flag"]),
340 }, 341 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-16 16:09:58 4 * @LastEditTime: 2023-09-01 13:38:47
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -13,8 +13,7 @@ ...@@ -13,8 +13,7 @@
13 ref="ruleForm" 13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
15 :inline="flag" 15 :inline="flag"
16 label-width="120px" 16 label-width="120px">
17 >
18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 17 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
19 <div class="slxx_title title-block"> 18 <div class="slxx_title title-block">
20 申请业务信息 19 申请业务信息
...@@ -92,22 +91,19 @@ ...@@ -92,22 +91,19 @@
92 <el-form-item label="农用地面积:"> 91 <el-form-item label="农用地面积:">
93 <div class="flex"> 92 <div class="flex">
94 <el-input 93 <el-input
95 maxlength="12" 94 maxlength="12"
96 v-model="ruleForm.tdsyq.nydmj" 95 v-model="ruleForm.tdsyq.nydmj"
97 :disabled="!viewEdit" 96 :disabled="!viewEdit"
98 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 97 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
99 ></el-input>
100 <el-select 98 <el-select
101 v-model="mjdw" 99 v-model="mjdw"
102 :disabled="!viewEdit" 100 :disabled="!viewEdit"
103 style="width: 68px" 101 style="width: 68px">
104 >
105 <el-option 102 <el-option
106 v-for="item in dictData['A7']" 103 v-for="item in dictData['A7']"
107 :key="item.dcode" 104 :key="item.dcode"
108 :label="item.dname" 105 :label="item.dname"
109 :value="item.dcode" 106 :value="item.dcode">
110 >
111 </el-option> 107 </el-option>
112 </el-select> 108 </el-select>
113 </div> 109 </div>
...@@ -117,22 +113,19 @@ ...@@ -117,22 +113,19 @@
117 <el-form-item label="耕地面积:"> 113 <el-form-item label="耕地面积:">
118 <div class="flex"> 114 <div class="flex">
119 <el-input 115 <el-input
120 maxlength="12" 116 maxlength="12"
121 v-model="ruleForm.tdsyq.gdmj" 117 v-model="ruleForm.tdsyq.gdmj"
122 :disabled="!viewEdit" 118 :disabled="!viewEdit"
123 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 119 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
124 ></el-input>
125 <el-select 120 <el-select
126 v-model="mjdw" 121 v-model="mjdw"
127 :disabled="!viewEdit" 122 :disabled="!viewEdit"
128 style="width: 68px" 123 style="width: 68px">
129 >
130 <el-option 124 <el-option
131 v-for="item in dictData['A7']" 125 v-for="item in dictData['A7']"
132 :key="item.dcode" 126 :key="item.dcode"
133 :label="item.dname" 127 :label="item.dname"
134 :value="item.dcode" 128 :value="item.dcode">
135 >
136 </el-option> 129 </el-option>
137 </el-select> 130 </el-select>
138 </div> 131 </div>
...@@ -142,22 +135,19 @@ ...@@ -142,22 +135,19 @@
142 <el-form-item label="林地面积:"> 135 <el-form-item label="林地面积:">
143 <div class="flex"> 136 <div class="flex">
144 <el-input 137 <el-input
145 maxlength="12" 138 maxlength="12"
146 v-model="ruleForm.tdsyq.ldmj" 139 v-model="ruleForm.tdsyq.ldmj"
147 :disabled="!viewEdit" 140 :disabled="!viewEdit"
148 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 141 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
149 ></el-input>
150 <el-select 142 <el-select
151 v-model="mjdw" 143 v-model="mjdw"
152 :disabled="!viewEdit" 144 :disabled="!viewEdit"
153 style="width: 68px" 145 style="width: 68px">
154 >
155 <el-option 146 <el-option
156 v-for="item in dictData['A7']" 147 v-for="item in dictData['A7']"
157 :key="item.dcode" 148 :key="item.dcode"
158 :label="item.dname" 149 :label="item.dname"
159 :value="item.dcode" 150 :value="item.dcode">
160 >
161 </el-option> 151 </el-option>
162 </el-select> 152 </el-select>
163 </div> 153 </div>
...@@ -169,22 +159,19 @@ ...@@ -169,22 +159,19 @@
169 <el-form-item label="草地面积:"> 159 <el-form-item label="草地面积:">
170 <div class="flex"> 160 <div class="flex">
171 <el-input 161 <el-input
172 maxlength="12" 162 maxlength="12"
173 v-model="ruleForm.tdsyq.cdmj" 163 v-model="ruleForm.tdsyq.cdmj"
174 :disabled="!viewEdit" 164 :disabled="!viewEdit"
175 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 165 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
176 ></el-input>
177 <el-select 166 <el-select
178 v-model="mjdw" 167 v-model="mjdw"
179 :disabled="!viewEdit" 168 :disabled="!viewEdit"
180 style="width: 68px" 169 style="width: 68px">
181 >
182 <el-option 170 <el-option
183 v-for="item in dictData['A7']" 171 v-for="item in dictData['A7']"
184 :key="item.dcode" 172 :key="item.dcode"
185 :label="item.dname" 173 :label="item.dname"
186 :value="item.dcode" 174 :value="item.dcode">
187 >
188 </el-option> 175 </el-option>
189 </el-select> 176 </el-select>
190 </div> 177 </div>
...@@ -194,22 +181,19 @@ ...@@ -194,22 +181,19 @@
194 <el-form-item label="其他农用地面积:"> 181 <el-form-item label="其他农用地面积:">
195 <div class="flex"> 182 <div class="flex">
196 <el-input 183 <el-input
197 maxlength="12" 184 maxlength="12"
198 v-model="ruleForm.tdsyq.qtnydmj" 185 v-model="ruleForm.tdsyq.qtnydmj"
199 :disabled="!viewEdit" 186 :disabled="!viewEdit"
200 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 187 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
201 ></el-input>
202 <el-select 188 <el-select
203 v-model="mjdw" 189 v-model="mjdw"
204 :disabled="!viewEdit" 190 :disabled="!viewEdit"
205 style="width: 68px" 191 style="width: 68px">
206 >
207 <el-option 192 <el-option
208 v-for="item in dictData['A7']" 193 v-for="item in dictData['A7']"
209 :key="item.dcode" 194 :key="item.dcode"
210 :label="item.dname" 195 :label="item.dname"
211 :value="item.dcode" 196 :value="item.dcode">
212 >
213 </el-option> 197 </el-option>
214 </el-select> 198 </el-select>
215 </div> 199 </div>
...@@ -219,22 +203,19 @@ ...@@ -219,22 +203,19 @@
219 <el-form-item label="建筑使用面积:"> 203 <el-form-item label="建筑使用面积:">
220 <div class="flex"> 204 <div class="flex">
221 <el-input 205 <el-input
222 maxlength="12" 206 maxlength="12"
223 v-model="ruleForm.tdsyq.jsydmj" 207 v-model="ruleForm.tdsyq.jsydmj"
224 :disabled="!viewEdit" 208 :disabled="!viewEdit"
225 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 209 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
226 ></el-input>
227 <el-select 210 <el-select
228 v-model="mjdw" 211 v-model="mjdw"
229 :disabled="!viewEdit" 212 :disabled="!viewEdit"
230 style="width: 68px" 213 style="width: 68px">
231 >
232 <el-option 214 <el-option
233 v-for="item in dictData['A7']" 215 v-for="item in dictData['A7']"
234 :key="item.dcode" 216 :key="item.dcode"
235 :label="item.dname" 217 :label="item.dname"
236 :value="item.dcode" 218 :value="item.dcode">
237 >
238 </el-option> 219 </el-option>
239 </el-select> 220 </el-select>
240 </div> 221 </div>
...@@ -246,22 +227,19 @@ ...@@ -246,22 +227,19 @@
246 <el-form-item label="未利用地面积:"> 227 <el-form-item label="未利用地面积:">
247 <div class="flex"> 228 <div class="flex">
248 <el-input 229 <el-input
249 maxlength="12" 230 maxlength="12"
250 v-model="ruleForm.tdsyq.wlydmj" 231 v-model="ruleForm.tdsyq.wlydmj"
251 :disabled="!viewEdit" 232 :disabled="!viewEdit"
252 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 233 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
253 ></el-input>
254 <el-select 234 <el-select
255 v-model="mjdw" 235 v-model="mjdw"
256 :disabled="!viewEdit" 236 :disabled="!viewEdit"
257 style="width: 68px" 237 style="width: 68px">
258 >
259 <el-option 238 <el-option
260 v-for="item in dictData['A7']" 239 v-for="item in dictData['A7']"
261 :key="item.dcode" 240 :key="item.dcode"
262 :label="item.dname" 241 :label="item.dname"
263 :value="item.dcode" 242 :value="item.dcode">
264 >
265 </el-option> 243 </el-option>
266 </el-select> 244 </el-select>
267 </div> 245 </div>
...@@ -275,8 +253,7 @@ ...@@ -275,8 +253,7 @@
275 <tdytTable 253 <tdytTable
276 :tableData="ruleForm.tdytqxList" 254 :tableData="ruleForm.tdytqxList"
277 :ableOperation="viewEdit" 255 :ableOperation="viewEdit"
278 @upDateTdytxxList="upDateTdytxxList" 256 @upDateTdytxxList="upDateTdytxxList" />
279 />
280 <div class="slxx_title title-block"> 257 <div class="slxx_title title-block">
281 权利人信息 258 权利人信息
282 <div class="triangle"></div> 259 <div class="triangle"></div>
...@@ -286,8 +263,7 @@ ...@@ -286,8 +263,7 @@
286 <el-form-item label="共有方式:"> 263 <el-form-item label="共有方式:">
287 <el-radio-group 264 <el-radio-group
288 :disabled="!viewEdit" 265 :disabled="!viewEdit"
289 v-model="ruleForm.sldy.gyfs" 266 v-model="ruleForm.sldy.gyfs">
290 >
291 <el-radio label="0">单独所有</el-radio> 267 <el-radio label="0">单独所有</el-radio>
292 <el-radio label="1">共同共有</el-radio> 268 <el-radio label="1">共同共有</el-radio>
293 <el-radio label="2">按份所有</el-radio> 269 <el-radio label="2">按份所有</el-radio>
...@@ -300,8 +276,7 @@ ...@@ -300,8 +276,7 @@
300 <el-radio-group 276 <el-radio-group
301 v-model="ruleForm.sldy.sqfbcz" 277 v-model="ruleForm.sldy.sqfbcz"
302 :disabled="!viewEdit" 278 :disabled="!viewEdit"
303 @input="updaterow()" 279 @input="updaterow()">
304 >
305 <el-radio :label="1"></el-radio> 280 <el-radio :label="1"></el-radio>
306 <el-radio :label="0"></el-radio> 281 <el-radio :label="0"></el-radio>
307 </el-radio-group> 282 </el-radio-group>
...@@ -309,20 +284,17 @@ ...@@ -309,20 +284,17 @@
309 </el-col> 284 </el-col>
310 <el-col 285 <el-col
311 :span="6" 286 :span="6"
312 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'" 287 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs != '0'">
313 >
314 <el-form-item label="持证人:"> 288 <el-form-item label="持证人:">
315 <el-select 289 <el-select
316 v-model="czr" 290 v-model="czr"
317 placeholder="持证人" 291 placeholder="持证人"
318 :disabled="!viewEdit" 292 :disabled="!viewEdit">
319 >
320 <el-option 293 <el-option
321 v-for="item in czrOptions" 294 v-for="item in czrOptions"
322 :key="item.zjh" 295 :key="item.zjh"
323 :label="item.sqrmc" 296 :label="item.sqrmc"
324 :value="item.zjh" 297 :value="item.zjh">
325 >
326 </el-option> 298 </el-option>
327 </el-select> 299 </el-select>
328 </el-form-item> 300 </el-form-item>
...@@ -333,21 +305,19 @@ ...@@ -333,21 +305,19 @@
333 :disabled="viewEdit" 305 :disabled="viewEdit"
334 @upDateQlrxxList="upDateQlrxxList" 306 @upDateQlrxxList="upDateQlrxxList"
335 :key="key" 307 :key="key"
336 :gyfs="ruleForm.sldy.gyfs" 308 :gyfs="ruleForm.sldy.gyfs" />
337 />
338 309
339 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 310 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
340 <div class="slxx_title title-block"> 311 <div class="slxx_title title-block">
341 义务人信息 312 义务人信息
342 <div class="triangle"></div> 313 <div class="triangle"></div>
343 </div> 314 </div>
344 <qlrCommonTable 315 <ywrCommonTable
345 v-if="ruleForm.ywrList" 316 v-if="ruleForm.ywrList"
346 :disabled="viewEdit" 317 :disabled="viewEdit"
347 :tableData="ruleForm.ywrList" 318 :tableData="ruleForm.ywrList"
348 :key="key" 319 :key="key"
349 @upDateQlrxxList="upDateYwrxxList" 320 @upDateQlrxxList="upDateYwrxxList" />
350 />
351 </div> 321 </div>
352 322
353 <div class="slxx_title title-block"> 323 <div class="slxx_title title-block">
...@@ -363,8 +333,7 @@ ...@@ -363,8 +333,7 @@
363 show-word-limit 333 show-word-limit
364 type="textarea" 334 type="textarea"
365 :disabled="!viewEdit" 335 :disabled="!viewEdit"
366 v-model="ruleForm.tdsyq.djyy" 336 v-model="ruleForm.tdsyq.djyy">
367 >
368 </el-input> 337 </el-input>
369 </el-form-item> 338 </el-form-item>
370 </el-col> 339 </el-col>
...@@ -379,200 +348,201 @@ ...@@ -379,200 +348,201 @@
379 </div> 348 </div>
380 </template> 349 </template>
381 <script> 350 <script>
382 import { mapGetters } from "vuex"; 351 import { mapGetters } from "vuex";
383 import ywmix from "@/views/ywbl/mixin/index"; 352 import ywmix from "@/views/ywbl/mixin/index";
384 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js"; 353 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js";
385 import tdytTable from "@/views/workflow/components/tdytTable"; 354 import tdytTable from "@/views/workflow/components/tdytTable";
386 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 355 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
387 export default { 356 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
388 mixins: [ywmix], 357 export default {
389 components: { qlrCommonTable, tdytTable }, 358 mixins: [ywmix],
390 mounted() { 359 components: { qlrCommonTable, tdytTable, ywrCommonTable },
391 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 360 mounted () {
392 this.propsParam = this.$attrs; 361 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
393 var formdata = new FormData(); 362 this.propsParam = this.$attrs;
394 let that = this; 363 var formdata = new FormData();
395 this.$startLoading(); 364 let that = this;
396 formdata.append("bsmSldy", this.propsParam.bsmSldy); 365 this.$startLoading();
397 formdata.append("djlx", this.propsParam.djlx); 366 formdata.append("bsmSldy", this.propsParam.bsmSldy);
398 formdata.append("isEdit", this.viewEdit); 367 formdata.append("djlx", this.propsParam.djlx);
399 Init(formdata).then((res) => { 368 formdata.append("isEdit", this.viewEdit);
400 this.$nextTick(() => { 369 Init(formdata).then((res) => {
401 that.ruleForm = res.result; 370 this.$nextTick(() => {
402 this.czrOptions = this.ruleForm.qlrList; 371 that.ruleForm = res.result;
403 that.$endLoading(); 372 this.czrOptions = this.ruleForm.qlrList;
404 that.isShow = true; 373 that.$endLoading();
405 this.czrOptions = this.ruleForm.qlrList; 374 that.isShow = true;
406 this.ruleForm.qlrList.forEach((item) => { 375 this.czrOptions = this.ruleForm.qlrList;
407 if (item.sfczr == 1) { 376 this.ruleForm.qlrList.forEach((item) => {
408 this.czr = item.sqrmc; 377 if (item.sfczr == 1) {
409 } 378 this.czr = item.sqrmc;
379 }
380 });
410 }); 381 });
411 }); 382 });
412 });
413 },
414
415 computed: {
416 ...mapGetters(["dictData", "flag"]),
417 },
418 data() {
419 return {
420 mjdw: "1",
421 value2: {
422 id: "520000198407304275",
423 user: "史平",
424 },
425 props: {
426 label: "user",
427 value: "id",
428 keyword: "keyword",
429 },
430
431 //表单是否可操作
432 viewEdit: true,
433 key: 0,
434 isShow: false,
435 disabled: true,
436 czrOptions: [],
437 czr: "",
438 ruleForm: {},
439 //传递参数
440 propsParam: {},
441 rules: {},
442 };
443 },
444 methods: {
445 /**
446 * @description: 更新土地用途信息
447 * @param {*} val
448 * @author: renchao
449 */
450 upDateTdytxxList(val) {
451 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
452 this.key++;
453 },
454 /**
455 * @description: 更新权利人信息
456 * @param {*} val
457 * @author: renchao
458 */
459 upDateQlrxxList(val) {
460 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
461 this.czrOptions = this.ruleForm.qlrList;
462 this.key++;
463 }, 383 },
464 // 更新义务人信息 384
465 /** 385 computed: {
466 * @description: 更新义务人信息 386 ...mapGetters(["dictData", "flag"]),
467 * @param {*} val
468 * @author: renchao
469 */
470 upDateYwrxxList(val) {
471 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
472 this.key++;
473 },
474 // 是否持证人变化
475 /**
476 * @description: 是否持证人变化
477 * @param {*} val
478 * @author: renchao
479 */
480 updaterow() {
481 this.czr = "";
482 }, 387 },
483 /** 388 data () {
484 * @description: onSubmit 389 return {
485 * @author: renchao 390 mjdw: "1",
486 */ 391 value2: {
487 onSubmit() { 392 id: "520000198407304275",
488 let that = this; 393 user: "史平",
489 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); 394 },
490 if (arr.length > 0) { 395 props: {
491 this.$message({ 396 label: "user",
492 showClose: true, 397 value: "id",
493 message: "土地用途不能为空", 398 keyword: "keyword",
494 type: "error", 399 },
495 });
496 return false;
497 }
498 if (this.ruleForm.qlrList.length == 0) {
499 this.$message({
500 showClose: true,
501 message: "请确认权利人信息",
502 type: "error",
503 });
504 return false;
505 }
506 400
507 if (this.ruleForm.sldy.gyfs == "0") { 401 //表单是否可操作
508 if (this.ruleForm.qlrList.length > 1) { 402 viewEdit: true,
403 key: 0,
404 isShow: false,
405 disabled: true,
406 czrOptions: [],
407 czr: "",
408 ruleForm: {},
409 //传递参数
410 propsParam: {},
411 rules: {},
412 };
413 },
414 methods: {
415 /**
416 * @description: 更新土地用途信息
417 * @param {*} val
418 * @author: renchao
419 */
420 upDateTdytxxList (val) {
421 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
422 this.key++;
423 },
424 /**
425 * @description: 更新权利人信息
426 * @param {*} val
427 * @author: renchao
428 */
429 upDateQlrxxList (val) {
430 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
431 this.czrOptions = this.ruleForm.qlrList;
432 this.key++;
433 },
434 // 更新义务人信息
435 /**
436 * @description: 更新义务人信息
437 * @param {*} val
438 * @author: renchao
439 */
440 upDateYwrxxList (val) {
441 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
442 this.key++;
443 },
444 // 是否持证人变化
445 /**
446 * @description: 是否持证人变化
447 * @param {*} val
448 * @author: renchao
449 */
450 updaterow () {
451 this.czr = "";
452 },
453 /**
454 * @description: onSubmit
455 * @author: renchao
456 */
457 onSubmit () {
458 let that = this;
459 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt);
460 if (arr.length > 0) {
509 this.$message({ 461 this.$message({
510 showClose: true, 462 showClose: true,
511 message: "共有方式:单独所有,权利人只能是一个人", 463 message: "土地用途不能为空",
512 type: "error", 464 type: "error",
513 }); 465 });
514 return false; 466 return false;
515 } 467 }
516 this.ruleForm.qlrList[0].sfczr = "1"; 468 if (this.ruleForm.qlrList.length == 0) {
517 } else {
518 if (this.ruleForm.qlrList.length <= 1) {
519 this.$message({ 469 this.$message({
520 showClose: true, 470 showClose: true,
521 message: 471 message: "请确认权利人信息",
522 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
523 type: "error", 472 type: "error",
524 }); 473 });
525 return false; 474 return false;
526 } 475 }
527 //是否分别持证 476
528 if (this.ruleForm.sldy.sqfbcz == "1") { 477 if (this.ruleForm.sldy.gyfs == "0") {
529 //是 478 if (this.ruleForm.qlrList.length > 1) {
530 this.ruleForm.qlrList.forEach((item, index) => { 479 this.$message({
531 item.sfczr = "1"; 480 showClose: true,
532 }); 481 message: "共有方式:单独所有,权利人只能是一个人",
482 type: "error",
483 });
484 return false;
485 }
486 this.ruleForm.qlrList[0].sfczr = "1";
533 } else { 487 } else {
534 if (!that.czr) { 488 if (this.ruleForm.qlrList.length <= 1) {
535 that.$message({ 489 this.$message({
536 showClose: true, 490 showClose: true,
537 message: "请选择持证人", 491 message:
492 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
538 type: "error", 493 type: "error",
539 }); 494 });
540 return false; 495 return false;
541 } 496 }
542 this.ruleForm.qlrList.forEach((item, index) => { 497 //是否分别持证
543 if (item.zjh == this.czr) { 498 if (this.ruleForm.sldy.sqfbcz == "1") {
499 //是
500 this.ruleForm.qlrList.forEach((item, index) => {
544 item.sfczr = "1"; 501 item.sfczr = "1";
545 } else { 502 });
546 item.sfczr = "0"; 503 } else {
504 if (!that.czr) {
505 that.$message({
506 showClose: true,
507 message: "请选择持证人",
508 type: "error",
509 });
510 return false;
547 } 511 }
548 }); 512 this.ruleForm.qlrList.forEach((item, index) => {
549 } 513 if (item.zjh == this.czr) {
550 } 514 item.sfczr = "1";
551 /** 515 } else {
552 * @description: saveData 516 item.sfczr = "0";
553 * @author: renchao 517 }
554 */ 518 });
555 saveData(this.ruleForm).then((res) => { 519 }
556 if (res.code === 200) {
557 this.$message({
558 showClose: true,
559 message: "保存成功!",
560 type: "success",
561 });
562 this.$store.dispatch("user/refreshPage", true);
563 } else {
564 this.$message({
565 showClose: true,
566 message: res.message,
567 type: "error",
568 });
569 } 520 }
570 }); 521 /**
522 * @description: saveData
523 * @author: renchao
524 */
525 saveData(this.ruleForm).then((res) => {
526 if (res.code === 200) {
527 this.$message({
528 showClose: true,
529 message: "保存成功!",
530 type: "success",
531 });
532 this.$store.dispatch("user/refreshPage", true);
533 } else {
534 this.$message({
535 showClose: true,
536 message: res.message,
537 type: "error",
538 });
539 }
540 });
541 },
571 }, 542 },
572 }, 543 };
573 };
574 </script> 544 </script>
575 <style scoped lang="scss"> 545 <style scoped lang="scss">
576 @import "~@/styles/public.scss"; 546 @import "~@/styles/public.scss";
577 @import "~@/styles/slxx/slxx.scss"; 547 @import "~@/styles/slxx/slxx.scss";
578 </style> 548 </style>
......
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
242 义务人信息 242 义务人信息
243 <div class="triangle"></div> 243 <div class="triangle"></div>
244 </div> 244 </div>
245 <qlrCommonTable 245 <ywrCommonTable
246 @upDateQlrxxList="upDateYwrxxList" 246 @upDateQlrxxList="upDateYwrxxList"
247 :disabled="viewEdit" 247 :disabled="viewEdit"
248 :tableData="ruleForm.ywrList" 248 :tableData="ruleForm.ywrList"
...@@ -277,6 +277,7 @@ ...@@ -277,6 +277,7 @@
277 <script> 277 <script>
278 import ywmix from "@/views/ywbl/mixin/index"; 278 import ywmix from "@/views/ywbl/mixin/index";
279 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 279 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
280 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
280 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 281 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
281 import { mapGetters } from "vuex"; 282 import { mapGetters } from "vuex";
282 export default { 283 export default {
...@@ -304,7 +305,7 @@ ...@@ -304,7 +305,7 @@
304 } 305 }
305 }) 306 })
306 }, 307 },
307 components: { qlrCommonTable }, 308 components: { qlrCommonTable, ywrCommonTable },
308 computed: { 309 computed: {
309 ...mapGetters(["dictData", "flag"]), 310 ...mapGetters(["dictData", "flag"]),
310 }, 311 },
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
170 义务人信息 170 义务人信息
171 <div class="triangle"></div> 171 <div class="triangle"></div>
172 </div> 172 </div>
173 <qlrCommonTable 173 <ywrCommonTable
174 @upDateQlrxxList="upDateYwrxxList" 174 @upDateQlrxxList="upDateYwrxxList"
175 :tableData="ruleForm.ywrList" 175 :tableData="ruleForm.ywrList"
176 :disabled="viewEdit" 176 :disabled="viewEdit"
...@@ -205,6 +205,7 @@ ...@@ -205,6 +205,7 @@
205 <script> 205 <script>
206 import ywmix from "@/views/ywbl/mixin/index"; 206 import ywmix from "@/views/ywbl/mixin/index";
207 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 207 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
208 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
208 import { Init, saveData } from "@/api/workflow/ygdjFlow.js"; 209 import { Init, saveData } from "@/api/workflow/ygdjFlow.js";
209 import { mapGetters } from "vuex"; 210 import { mapGetters } from "vuex";
210 export default { 211 export default {
...@@ -230,7 +231,7 @@ ...@@ -230,7 +231,7 @@
230 } 231 }
231 }); 232 });
232 }, 233 },
233 components: { qlrCommonTable }, 234 components: { qlrCommonTable, ywrCommonTable },
234 computed: { 235 computed: {
235 ...mapGetters(["dictData", "flag"]), 236 ...mapGetters(["dictData", "flag"]),
236 }, 237 },
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 ref="ruleForm" 8 ref="ruleForm"
9 :label-position="flag ? 'top' : ''" 9 :label-position="flag ? 'top' : ''"
10 :inline="flag" 10 :inline="flag"
11 label-width="120px"> 11 label-width="140px">
12 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 12 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
13 <div class="slxx_title title-block"> 13 <div class="slxx_title title-block">
14 申请业务信息 14 申请业务信息
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
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.bdcqzh"></el-input> 63 <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
64 </el-form-item> 64 </el-form-item>
65 </el-col> 65 </el-col>
...@@ -130,13 +130,22 @@ ...@@ -130,13 +130,22 @@
130 <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input> 130 <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input>
131 </el-form-item> 131 </el-form-item>
132 </el-col> 132 </el-col>
133 <el-col :span="8"> 133 <el-col :span="8">
134 <el-form-item label="是否存在禁止或限制:"> 134 <el-form-item
135 <el-input 135 label="是否禁止或者限制转让的约定:"
136 label-width="200px"
137 >
138 <el-radio-group
136 v-model="ruleForm.ygdj.sfczjzhxz" 139 v-model="ruleForm.ygdj.sfczjzhxz"
137 :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> 140 :disabled="!viewEdit || isJfOperation"
141 >
142 <el-radio label="1"></el-radio>
143 <el-radio label="0"></el-radio>
144 </el-radio-group>
138 </el-form-item> 145 </el-form-item>
139 </el-col> 146 </el-col>
147 </el-row>
148 <el-row :gutter="10">
140 <el-col :span="8"> 149 <el-col :span="8">
141 <el-form-item label="被担保主债权数额:"> 150 <el-form-item label="被担保主债权数额:">
142 <div class="flex"> 151 <div class="flex">
...@@ -248,7 +257,7 @@ ...@@ -248,7 +257,7 @@
248 抵押人信息 257 抵押人信息
249 <div class="triangle"></div> 258 <div class="triangle"></div>
250 </div> 259 </div>
251 <qlrCommonTable 260 <ywrCommonTable
252 @upDateQlrxxList="upDateYwrxxList" 261 @upDateQlrxxList="upDateYwrxxList"
253 :tableData="ruleForm.ywrList" 262 :tableData="ruleForm.ywrList"
254 :disabled="viewEdit" 263 :disabled="viewEdit"
...@@ -282,6 +291,7 @@ ...@@ -282,6 +291,7 @@
282 <script> 291 <script>
283 import ywmix from "@/views/ywbl/mixin/index"; 292 import ywmix from "@/views/ywbl/mixin/index";
284 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 293 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
294 import ywrCommonTable from "@/views/workflow/components/ywrCommonTable";
285 import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; 295 import { Init, saveData } from "@/api/workflow/ygdyFlow.js";
286 import { mapGetters } from "vuex"; 296 import { mapGetters } from "vuex";
287 export default { 297 export default {
...@@ -311,7 +321,7 @@ ...@@ -311,7 +321,7 @@
311 } 321 }
312 }) 322 })
313 }, 323 },
314 components: { qlrCommonTable }, 324 components: { qlrCommonTable, ywrCommonTable },
315 computed: { 325 computed: {
316 ...mapGetters(["dictData", "flag"]) 326 ...mapGetters(["dictData", "flag"])
317 }, 327 },
......
...@@ -457,8 +457,6 @@ export default { ...@@ -457,8 +457,6 @@ export default {
457 updaterow() { 457 updaterow() {
458 this.czr = ""; 458 this.czr = "";
459 }, 459 },
460
461 // 更新权利人信息
462 /** 460 /**
463 * @description: 更新权利人信息 461 * @description: 更新权利人信息
464 * @param {*} val 462 * @param {*} val
...@@ -470,7 +468,6 @@ export default { ...@@ -470,7 +468,6 @@ export default {
470 this.czrOptions = this.ruleForm.qlrList; 468 this.czrOptions = this.ruleForm.qlrList;
471 } 469 }
472 }, 470 },
473 // 更新义务人信息
474 /** 471 /**
475 * @description: 更新义务人信息 472 * @description: 更新义务人信息
476 * @param {*} val 473 * @param {*} val
......
...@@ -497,7 +497,6 @@ export default { ...@@ -497,7 +497,6 @@ export default {
497 updaterow() { 497 updaterow() {
498 this.czr = ""; 498 this.czr = "";
499 }, 499 },
500 // 更新义务人信息
501 /** 500 /**
502 * @description: 更新义务人信息 501 * @description: 更新义务人信息
503 * @param {*} val 502 * @param {*} val
...@@ -507,9 +506,9 @@ export default { ...@@ -507,9 +506,9 @@ export default {
507 if (!_.isEqual(val, this.ruleForm.ywrList)) { 506 if (!_.isEqual(val, this.ruleForm.ywrList)) {
508 this.ruleForm.ywrList = _.cloneDeep(val); 507 this.ruleForm.ywrList = _.cloneDeep(val);
509 } 508 }
510 }, 509 }
511 }, 510 }
512 }; 511 }
513 </script> 512 </script>
514 <style scoped lang="scss"> 513 <style scoped lang="scss">
515 @import "~@/styles/public.scss"; 514 @import "~@/styles/public.scss";
......