24774560 by 田浩浩
2 parents 5128797a 00bcc35b
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 import SERVER from './config' 2 import SERVER from './config'
3 // 初始化内容 3 // 初始化内容
4 export function Init (data) { 4 export function Init(data) {
5 let apiUrl = ""; 5 let apiUrl = "";
6 switch (data.get("djlx")) { 6 switch (data.get("djlx")) {
7 case "100": 7 case "100":
8 apiUrl = "/ywbl/fdcq2lr/fristInit"; 8 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/fristInit";
9 break; 9 break;
10 case "200": 10 case "200":
11 apiUrl = "/ywbl/fdcq2lr/transferInit"; 11 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/transferInit";
12 break; 12 break;
13 case "300": 13 case "300":
14 apiUrl = "/ywbl/fdcq2lr/changeInit"; 14 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/changeInit";
15 break; 15 break;
16 case "400": 16 case "400":
17 apiUrl = "/ywbl/fdcq2lr/logoutInit"; 17 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/logoutInit";
18 break; 18 break;
19 case "500": 19 case "500":
20 apiUrl = "/ywbl/fdcq2lr/riviseInit"; 20 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/riviseInit";
21 break; 21 break;
22 case "901": 22 case "901":
23 apiUrl = "/ywbl/fdcq2lr/renewalInit"; 23 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/renewalInit";
24 break; 24 break;
25 case "902": 25 case "902":
26 apiUrl = "/ywbl/fdcq2lr/replaceInit"; 26 apiUrl = SERVER.SERVERAPI+"/rest/ywbl/fdcq2lr/replaceInit";
27 break; 27 break;
28 } 28 }
29 return request({ 29 return request({
...@@ -32,11 +32,19 @@ export function Init (data) { ...@@ -32,11 +32,19 @@ export function Init (data) {
32 data 32 data
33 }) 33 })
34 } 34 }
35 // 初始化内容 35 // 注销登记提交数据
36 export function saveData (data) { 36 export function saveLogoutData(data) {
37 return request({ 37 return request({
38 url: SERVER.SERVERAPI + '/rest/ywbl/fdcq2lr/saveData', 38 url: '/ywbl/fdcq2lr/saveLogoutData',
39 method: 'post', 39 method: 'post',
40 data 40 data
41 }) 41 })
42 }
...\ No newline at end of file ...\ No newline at end of file
42 }
43 // 首次登记提交
44 export function saveBatchData(data) {
45 return request({
46 url: '/ywbl/fdcq2lr/saveBatchData',
47 method: 'post',
48 data
49 })
50 }
......
...@@ -161,4 +161,14 @@ export function deleteBdcdy (data) { ...@@ -161,4 +161,14 @@ export function deleteBdcdy (data) {
161 data, 161 data,
162 showLoading: true 162 showLoading: true
163 }) 163 })
164 }
165
166 // 获取自然幢下其他户
167 export function selectOtherH (data) {
168 return request({
169 url: 'ywbl/ywsq/selectOtherH',
170 method: 'post',
171 data,
172 showLoading: true
173 })
164 } 174 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) { ...@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) {
20 case "fwsyqslxx300": 20 case "fwsyqslxx300":
21 form = require("@/views/ywbl/fdcq2/slxx300.vue"); 21 form = require("@/views/ywbl/fdcq2/slxx300.vue");
22 break; 22 break;
23 // case "fwsyqslxx400": 23 case "fwsyqslxx400":
24 // form = require("@/views/ywbl/fdcq2/slxx400.vue"); 24 form = require("@/views/ywbl/fdcq2/slxx400.vue");
25 // break; 25 break;
26 case "tdslxxCfdj": 26 case "tdslxxCfdj":
27 form = require("@/views/ywbl/cfdj/tdslxx.vue"); 27 form = require("@/views/ywbl/cfdj/tdslxx.vue");
28 break; 28 break;
...@@ -34,10 +34,10 @@ export function getForm(tabName, djywbm) { ...@@ -34,10 +34,10 @@ export function getForm(tabName, djywbm) {
34 break; 34 break;
35 case "plslxxjfdj": 35 case "plslxxjfdj":
36 form = require("@/views/ywbl/cfdj/pljfslxx.vue"); 36 form = require("@/views/ywbl/cfdj/pljfslxx.vue");
37 break; 37 break;
38 case "jfslxxCfdj": 38 case "jfslxxCfdj":
39 form = require("@/views/ywbl/cfdj/jfslxx.vue"); 39 form = require("@/views/ywbl/cfdj/jfslxx.vue");
40 break; 40 break;
41 case "clxx": 41 case "clxx":
42 form = require("@/views/workflow/components/clxx.vue"); 42 form = require("@/views/workflow/components/clxx.vue");
43 break; 43 break;
......
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
226 operation (index, item) { 226 operation (index, item) {
227 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿 227 //按钮 B0:选择不动产单元 B1:流程图 B2:材料分屏 B3:材料导入 B4:登记簿 B5:证书预览 B6:打印申请书 B7:证书领取 B8:楼盘表 B9:登簿
228 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout 228 //操作按钮 登簿:record 转件:transfer 退回:back 退出:signout
229 let that = this; 229 let that = this;
230 switch (item.value) { 230 switch (item.value) {
231 case "B0": 231 case "B0":
232 // let type = queueDjywmc(this.$route.query.sqywbm) 232 // let type = queueDjywmc(this.$route.query.sqywbm)
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
51 查封不动产列表 51 查封不动产列表
52 <div class="triangle"></div> 52 <div class="triangle"></div>
53 </div> 53 </div>
54 <cfBdcdyTable :tableData="ruleForm.qlxx" /> 54 <cfBdcdyTable :tableData="ruleForm.yqlxxList" />
55 <div class="slxx_title title-block"> 55 <div class="slxx_title title-block">
56 批量查封信息 56 批量查封信息
57 <div class="triangle"></div> 57 <div class="triangle"></div>
......
...@@ -58,6 +58,23 @@ ...@@ -58,6 +58,23 @@
58 </el-form-item> 58 </el-form-item>
59 </el-col> 59 </el-col>
60 <el-col :span="8"> 60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
62 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
63 </el-form-item>
64 </el-col>
65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
67 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
68 </el-form-item>
69 </el-col>
70 </el-row>
71 <el-row :gutter="10">
72 <el-col :span="8">
73 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
74 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
75 </el-form-item>
76 </el-col>
77 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh"> 78 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
62 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 79 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
63 </el-form-item> 80 </el-form-item>
...@@ -80,23 +97,6 @@ ...@@ -80,23 +97,6 @@
80 </el-form-item> 97 </el-form-item>
81 </el-col> 98 </el-col>
82 </el-row> 99 </el-row>
83 <el-row :gutter="10">
84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
86 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input>
87 </el-form-item>
88 </el-col>
89 <el-col :span="8">
90 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:">
91 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input>
92 </el-form-item>
93 </el-col>
94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:">
96 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input>
97 </el-form-item>
98 </el-col>
99 </el-row>
100 <div class="slxx_title title-block"> 100 <div class="slxx_title title-block">
101 查封信息 101 查封信息
102 <div class="triangle"></div> 102 <div class="triangle"></div>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 </template> 173 </template>
174 <script> 174 <script>
175 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 175 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
176 import { Init, saveData } from "@/api/cfdjFlow.js"; 176 import { BatchInit, saveData } from "@/api/cfdjFlow.js";
177 import { mapGetters } from "vuex"; 177 import { mapGetters } from "vuex";
178 export default { 178 export default {
179 data () { 179 data () {
...@@ -194,8 +194,9 @@ export default { ...@@ -194,8 +194,9 @@ export default {
194 this.ableEdit = this.$parent.showBatch; 194 this.ableEdit = this.$parent.showBatch;
195 var formdata = new FormData(); 195 var formdata = new FormData();
196 formdata.append("bsmSldy", this.propsParam.bsmSldy); 196 formdata.append("bsmSldy", this.propsParam.bsmSldy);
197 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
197 formdata.append("djlx", this.propsParam.djlx); 198 formdata.append("djlx", this.propsParam.djlx);
198 Init(formdata).then((res) => { 199 BatchInit(formdata).then((res) => {
199 if (res.code === 200 && res.result) { 200 if (res.code === 200 && res.result) {
200 this.ruleForm = res.result 201 this.ruleForm = res.result
201 } 202 }
......
...@@ -2,49 +2,43 @@ ...@@ -2,49 +2,43 @@
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" 4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
5 label-width="120px"> 5 label-width="120px">
6 <div class="slxx_con"> 6 <div class="slxx_con">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
8 受理信息 8 受理信息
9 <div class="triangle"></div> 9 <div class="triangle"></div>
10 </div> 10 </div>
11 <el-row :gutter="10"> 11 <el-row :gutter="10" v-if="ruleForm.slywxx">
12 <el-col :span="8"> 12 <el-col :span="8">
13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="ywh"> 13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
14 <el-input disabled v-model="ruleForm.ywh"></el-input> 14 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <el-col :span="8"> 17 <el-col :span="8">
18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slry"> 18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
19 <el-input disabled v-model="ruleForm.slry"></el-input> 19 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="8"> 22 <el-col :span="8">
23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slsj"> 23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
24 <el-input disabled v-model="ruleForm.slsj"></el-input> 24 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
25 </el-form-item> 25 </el-form-item>
26 </el-col> 26 </el-col>
27 </el-row> 27 </el-row>
28 <el-row :gutter="10"> 28 <el-row :gutter="10" v-if="ruleForm.slywxx">
29 <el-col :span="8"> 29 <el-col :span="8">
30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="qllx"> 30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
31 <el-select disabled v-model="ruleForm.qllx" filterable clearable placeholder="请选择权利类型"> 31 <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
32 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
33 </el-option>
34 </el-select>
35 </el-form-item> 32 </el-form-item>
36 </el-col> 33 </el-col>
37 <el-col :span="8"> 34 <el-col :span="8">
38 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="djlx"> 35 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
39 <el-select disabled v-model="ruleForm.djlx" filterable clearable placeholder="请选择登记类型"> 36 <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
40 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
41 </el-option>
42 </el-select>
43 </el-form-item> 37 </el-form-item>
44 </el-col> 38 </el-col>
45 <el-col :span="8"> 39 <el-col :span="8">
46 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="djqx"> 40 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:">
47 <el-input disabled v-model="ruleForm.djqxmc"></el-input> 41 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
48 </el-form-item> 42 </el-form-item>
49 </el-col> 43 </el-col>
50 </el-row> 44 </el-row>
...@@ -52,70 +46,83 @@ ...@@ -52,70 +46,83 @@
52 不动产单元情况 46 不动产单元情况
53 <div class="triangle"></div> 47 <div class="triangle"></div>
54 </div> 48 </div>
55 <el-row :gutter="10"> 49 <el-row :gutter="10" v-if="ruleForm.qlxx">
56 <el-col :span="8"> 50 <el-col :span="8">
57 <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:" prop="zddm"> 51 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
58 <el-input disabled v-model="ruleForm.bdcdyh"></el-input> 52 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
53 </el-form-item>
54 </el-col>
55 <el-col :span="16">
56 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
57 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
58 </el-form-item>
59 </el-col>
60 </el-row>
61 <el-row :gutter="10" v-if="ruleForm.fdcq2">
62 <el-col :span="8">
63 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
64 <el-input disabled v-model="ruleForm.fdcq2.yt"></el-input>
59 </el-form-item> 65 </el-form-item>
60 </el-col> 66 </el-col>
61 <el-col :span="8"> 67 <el-col :span="8">
62 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="bdcdyh"> 68 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地使用起止时间:">
63 <el-input disabled v-model="ruleForm.bdcdyh"></el-input> 69 <el-input disabled v-model="ruleForm.fdcq2.tdsyqzsj"></el-input>
64 </el-form-item> 70 </el-form-item>
65 </el-col> 71 </el-col>
66 <el-col :span="8"> 72 <el-col :span="8">
67 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxzmc"> 73 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地使用期限:">
68 <el-input disabled v-model="ruleForm.qlxzmc"></el-input> 74 <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input>
69 </el-form-item> 75 </el-form-item>
70 </el-col> 76 </el-col>
71 </el-row> 77 </el-row>
72 <el-row :gutter="10"> 78 <el-row :gutter="10" v-if="ruleForm.qlxx">
73 <el-col :span="8"> 79 <el-col :span="8">
74 <el-form-item :class="flag ? 'marginBot0' : ''" label="自然幢号:" prop="zrzh"> 80 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋用途:">
75 <el-input disabled v-model="ruleForm.zrzDetail.zrzh"></el-input> 81 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
76 </el-form-item> 82 </el-form-item>
77 </el-col> 83 </el-col>
78 <el-col :span="8"> 84 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="户不动产单元号:" prop="hbdcdyh"> 85 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋性质:">
80 <el-input disabled v-model="ruleForm.ghytmc"></el-input> 86 <el-input disabled v-model="ruleForm.fdcq2.fwxzmc"></el-input>
81 </el-form-item> 87 </el-form-item>
82 </el-col> 88 </el-col>
83 <el-col :span="8"> 89 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记状态:" prop="djzt"> 90 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋结构:">
85 <el-select disabled v-model="ruleForm.djzt" filterable clearable> 91 <el-input disabled v-model="ruleForm.fdcq2.fwjgmc"></el-input>
86 <el-option v-for="item in djztList" :key="item.value" :label="item.label" :value="item.value">
87 </el-option>
88 </el-select>
89 </el-form-item> 92 </el-form-item>
90 </el-col> 93 </el-col>
91 </el-row> 94 </el-row>
92 <el-row :gutter="10"> 95 <el-row :gutter="10" v-if="ruleForm.fdcq2">
93 <el-col :span="8"> 96 <el-col :span="8">
94 <el-form-item :class="flag ? 'marginBot0' : ''" label="图幅丘幢号:" prop="tfqzh"> 97 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:">
95 <el-input disabled v-model="ruleForm.tfqzh"></el-input> 98 <el-input disabled v-model="ruleForm.fdcq2.szc"></el-input>
96 </el-form-item> 99 </el-form-item>
97 </el-col> 100 </el-col>
98 101 <el-col :span="8">
99 <el-col :span="16"> 102 <el-form-item :class="flag ? 'marginBot0' : ''" label="总层数:">
100 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:" prop="zl"> 103 <el-input disabled v-model="ruleForm.fdcq2.zcs"></el-input>
101 <el-input disabled v-model="ruleForm.zl"></el-input> 104 </el-form-item>
105 </el-col>
106 <el-col :span="8">
107 <el-form-item :class="flag ? 'marginBot0' : ''" label="竣工时间:">
108 <el-input disabled v-model="ruleForm.fdcq2.jgsj"></el-input>
102 </el-form-item> 109 </el-form-item>
103 </el-col> 110 </el-col>
104 </el-row> 111 </el-row>
105 <el-row :gutter="10"> 112 <el-row :gutter="10" v-if="ruleForm.qlxx">
106 <el-col :span="8"> 113 <el-col :span="8">
107 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋用途:"> 114 <el-form-item :class="flag ? 'marginBot0' : ''" label="建筑面积:">
108 <el-input disabled v-model="ruleForm.fwyt"></el-input> 115 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
109 </el-form-item> 116 </el-form-item>
110 </el-col> 117 </el-col>
111 <el-col :span="8"> 118 <el-col :span="8">
112 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋性质:"> 119 <el-form-item :class="flag ? 'marginBot0' : ''" label="专有建筑面积:">
113 <el-input disabled v-model="ruleForm.fwxz"></el-input> 120 <el-input disabled v-model="ruleForm.fdcq2.zyjzmj"></el-input>
114 </el-form-item> 121 </el-form-item>
115 </el-col> 122 </el-col>
116 <el-col :span="8"> 123 <el-col :span="8">
117 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋结构:"> 124 <el-form-item :class="flag ? 'marginBot0' : ''" label="分摊建筑面积:">
118 <el-input disabled v-model="ruleForm.fwjg"></el-input> 125 <el-input disabled v-model="ruleForm.fdcq2.ftjzmj"></el-input>
119 </el-form-item> 126 </el-form-item>
120 </el-col> 127 </el-col>
121 </el-row> 128 </el-row>
...@@ -124,16 +131,16 @@ ...@@ -124,16 +131,16 @@
124 <div class="triangle"></div> 131 <div class="triangle"></div>
125 </div> 132 </div>
126 <el-row :gutter="10"> 133 <el-row :gutter="10">
127 <el-col :span="14"> 134 <el-col :span="14" v-if="ruleForm.qlxx">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> 135 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
129 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.gyfs"> 136 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
130 <el-radio label="1">单独所有</el-radio> 137 <el-radio label="1">单独所有</el-radio>
131 <el-radio label="2">共同共有</el-radio> 138 <el-radio label="2">共同共有</el-radio>
132 <el-radio label="3">按份所有</el-radio> 139 <el-radio label="3">按份所有</el-radio>
133 </el-radio-group> 140 </el-radio-group>
134 </el-form-item> 141 </el-form-item>
135 </el-col> 142 </el-col>
136 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 143 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
137 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> 144 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
138 <el-radio-group v-model="ruleForm.sffbcz"> 145 <el-radio-group v-model="ruleForm.sffbcz">
139 <el-radio label="1"></el-radio> 146 <el-radio label="1"></el-radio>
...@@ -141,7 +148,7 @@ ...@@ -141,7 +148,7 @@
141 </el-radio-group> 148 </el-radio-group>
142 </el-form-item> 149 </el-form-item>
143 </el-col> 150 </el-col>
144 <el-col :span="5" v-show="ruleForm.gyfs == '2'"> 151 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
145 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> 152 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
146 <el-select v-model="ruleForm.czr" placeholder="持证人"> 153 <el-select v-model="ruleForm.czr" placeholder="持证人">
147 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 154 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -150,15 +157,17 @@ ...@@ -150,15 +157,17 @@
150 </el-form-item> 157 </el-form-item>
151 </el-col> 158 </el-col>
152 </el-row> 159 </el-row>
153 <InformationTable :tableData="ruleForm.qlrxx" :gyfs="ruleForm.gyfs" /> 160 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
161 :gyfs="ruleForm.qlxx.gyfs" />
154 <div class="slxx_title title-block"> 162 <div class="slxx_title title-block">
155 登记原因 163 登记原因
156 <div class="triangle"></div> 164 <div class="triangle"></div>
157 </div> 165 </div>
158 <el-row :gutter="10"> 166 <el-row :gutter="10">
159 <el-col> 167 <el-col>
160 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> 168 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
161 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.djyy"> 169 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1"
170 v-model="ruleForm.fdcq2.djyy">
162 </el-input> 171 </el-input>
163 </el-form-item> 172 </el-form-item>
164 </el-col> 173 </el-col>
...@@ -174,13 +183,14 @@ ...@@ -174,13 +183,14 @@
174 </template> 183 </template>
175 <script> 184 <script>
176 import InformationTable from "@/views/workflow/components/InformationTable"; 185 import InformationTable from "@/views/workflow/components/InformationTable";
177 import { Init } from "@/api/fwsyqFlow.js"; 186 import {Init, saveBatchData, saveData} from "@/api/fwsyqFlow.js";
178 import { mapGetters } from "vuex"; 187 import { mapGetters } from "vuex";
179 export default { 188 export default {
180 created () { 189 created () {
181 this.propsParam = this.$attrs; 190 this.propsParam = this.$attrs;
182 var formdata = new FormData(); 191 var formdata = new FormData();
183 formdata.append("bsmSldy", this.propsParam.bsmSldy); 192 formdata.append("bsmSldy", this.propsParam.bsmSldy);
193 formdata.append("djlx", this.propsParam.djlx);
184 Init(formdata).then((res) => { 194 Init(formdata).then((res) => {
185 if (res.code === 200 && res.result) { 195 if (res.code === 200 && res.result) {
186 this.ruleForm = { 196 this.ruleForm = {
...@@ -201,44 +211,21 @@ export default { ...@@ -201,44 +211,21 @@ export default {
201 disabled: true, 211 disabled: true,
202 tdytOption: [], 212 tdytOption: [],
203 czrOptions: [], 213 czrOptions: [],
204 ruleForm: { 214 ruleForm: {},
205 ywh: "",
206 slry: "",
207 slsj: "",
208 qllx: "",
209 djlx: "",
210 djqx: "",
211 // 宗地代码
212 zddm: "",
213 bdcdyh: "",
214 qlxzmc: "",
215 qlrxx: [],
216 // 自然幢号
217 zrzh: "",
218 // 户不动产单元号
219 hbdcdyh: '',
220 djzt: '',
221 // 图幅丘幢号
222 tfqzh: '',
223 zl: '',
224 // 房屋用途
225 fwyt: '',
226 fwxz: '',
227 fwjg: '',
228 // 权利人信息
229 gyfs: "1",
230 // 是否分别持证
231 sffbcz: "",
232 // 持证人
233 czr: "",
234 djyy: ''
235 },
236 //传递参数 215 //传递参数
237 propsParam: {}, 216 propsParam: this.$attrs,
238 rules: {}, 217 rules: {},
239 }; 218 };
240 }, 219 },
241 methods: { 220 methods: {
221 // 更新权利人信息
222 upDateQlrxxList (val) {
223 this.ruleForm.qlrList = _.cloneDeep(val);
224 },
225 // 更新权利人信息
226 upDateYwrxxList (val) {
227 this.ruleForm.ywrList = _.cloneDeep(val);
228 },
242 list (bsmSldy) { 229 list (bsmSldy) {
243 var formdata = new FormData(); 230 var formdata = new FormData();
244 formdata.append("bsmSldy", bsmSldy); 231 formdata.append("bsmSldy", bsmSldy);
...@@ -254,7 +241,7 @@ export default { ...@@ -254,7 +241,7 @@ export default {
254 }); 241 });
255 }, 242 },
256 onSubmit () { 243 onSubmit () {
257 fristReg(this.ruleForm).then((res) => { 244 saveBatchData(this.ruleForm).then((res) => {
258 if (res.code === 200 && res.result) { 245 if (res.code === 200 && res.result) {
259 console.log(res); 246 console.log(res);
260 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } 247 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
...@@ -339,4 +326,4 @@ export default { ...@@ -339,4 +326,4 @@ export default {
339 /deep/.el-form-item__label { 326 /deep/.el-form-item__label {
340 padding-bottom: 0px; 327 padding-bottom: 0px;
341 } 328 }
342 </style>
...\ No newline at end of file ...\ No newline at end of file
329 </style>
......
1 <template> 1 <template>
2 <div class="from-clues"> 2 <div class="from-clues">
3 <div class="from-clues-header"> 3 <div class="from-clues-header">
4 <el-tabs v-model="activeName" @tab-click="handleTabClick"> 4 <el-tabs v-model="activeName" @tab-click="handleTabClick" v-if="!isJump">
5 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane> 5 <el-tab-pane label="自然幢" name="zrz"></el-tab-pane>
6 <el-tab-pane label="户" name="h"></el-tab-pane> 6 <el-tab-pane label="户" name="h"></el-tab-pane>
7 </el-tabs> 7 </el-tabs>
...@@ -45,7 +45,7 @@ import Cookies from 'js-cookie' ...@@ -45,7 +45,7 @@ import Cookies from 'js-cookie'
45 import { datas, sendThis } from "../javascript/fwsyq.js"; 45 import { datas, sendThis } from "../javascript/fwsyq.js";
46 import table from "@/utils/mixin/table"; 46 import table from "@/utils/mixin/table";
47 import jump from "@/views/ywbl/ywsq/components/mixin/jump"; 47 import jump from "@/views/ywbl/ywsq/components/mixin/jump";
48 import { selectScBdcdy, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; 48 import { selectScBdcdy, startBusinessFlow, choiceBdcdy,selectOtherH } from "@/api/ywbl.js";
49 export default { 49 export default {
50 mixins: [table, jump], 50 mixins: [table, jump],
51 props: { 51 props: {
...@@ -78,15 +78,29 @@ export default { ...@@ -78,15 +78,29 @@ export default {
78 this.$emit("closeDialog"); 78 this.$emit("closeDialog");
79 }, 79 },
80 fetchData () { 80 fetchData () {
81 this.queryForm.sqywbm = this.djywbm; 81 if(!this.isJump){
82 this.queryForm.fwfl = this.activeName; 82 //从业务办理进入
83 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 83 this.queryForm.sqywbm = this.djywbm;
84 if (res.code === 200) { 84 this.queryForm.fwfl = this.activeName;
85 let { total, records } = res.result; 85 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
86 this.tableData.total = total; 86 if (res.code === 200) {
87 this.tableData.data = records; 87 let { total, records } = res.result;
88 } 88 this.tableData.total = total;
89 }) 89 this.tableData.data = records;
90 }
91 })
92 }else{
93 //从办理框架选择不动产单元进入
94 //房屋首次办理选择不动产需找出对应自然幢下未选择的户
95 this.queryForm.bsmSlsq = this.$route.query.bsmSlsq;
96 selectOtherH({ ...this.queryForm, ...this.pageData }).then((res) => {
97 if (res.code === 200) {
98 let { total, records } = res.result;
99 this.tableData.total = total;
100 this.tableData.data = records;
101 }
102 })
103 }
90 }, 104 },
91 handleTabClick () { 105 handleTabClick () {
92 this.pageData.currentPage = 1; 106 this.pageData.currentPage = 1;
......