b5b92f32 by 蔡俊立
2 parents 8d1be713 cf036db5
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,10 +32,18 @@ export function Init (data) { ...@@ -32,10 +32,18 @@ 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({
38 url: '/ywbl/fdcq2lr/saveLogoutData',
39 method: 'post',
40 data
41 })
42 }
43 // 首次登记提交
44 export function saveBatchData(data) {
37 return request({ 45 return request({
38 url: SERVER.SERVERAPI + '/rest/ywbl/fdcq2lr/saveData', 46 url: '/ywbl/fdcq2lr/saveBatchData',
39 method: 'post', 47 method: 'post',
40 data 48 data
41 }) 49 })
......
...@@ -13,6 +13,16 @@ export function selectScBdcdy(data) { ...@@ -13,6 +13,16 @@ export function selectScBdcdy(data) {
13 }) 13 })
14 } 14 }
15 15
16 export function selectZdjbxx(data) {
17 return request({
18 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxx',
19 method: 'post',
20 data,
21 showLoading: true
22 })
23 }
24
25
16 /* 26 /*
17 选择建设用地用地查询方法 27 选择建设用地用地查询方法
18 */ 28 */
......
...@@ -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;
......
...@@ -8,43 +8,37 @@ ...@@ -8,43 +8,37 @@
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} 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 }
......
1 <template>
2 <!-- 受理信息 -->
3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag"
5 label-width="120px">
6 <div class="slxx_con">
7 <div class="slxx_title title-block">
8 受理信息
9 <div class="triangle"></div>
10 </div>
11 <el-row :gutter="10" v-if="ruleForm.slywxx">
12 <el-col :span="8">
13 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:">
14 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
15 </el-form-item>
16 </el-col>
17 <el-col :span="8">
18 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:">
19 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
20 </el-form-item>
21 </el-col>
22 <el-col :span="8">
23 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:">
24 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
25 </el-form-item>
26 </el-col>
27 </el-row>
28 <el-row :gutter="10" v-if="ruleForm.slywxx">
29 <el-col :span="8">
30 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
31 <el-input disabled v-model="ruleForm.slywxx.qllxmc"></el-input>
32 </el-form-item>
33 </el-col>
34 <el-col :span="8">
35 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:">
36 <el-input disabled v-model="ruleForm.slywxx.djlxmc"></el-input>
37 </el-form-item>
38 </el-col>
39 <el-col :span="8">
40 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:">
41 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
42 </el-form-item>
43 </el-col>
44 </el-row>
45 <div class="slxx_title title-block">
46 不动产单元情况
47 <div class="triangle"></div>
48 </div>
49
50 <el-row :gutter="10" v-if="ruleForm.qlxx">
51 <el-col :span="8">
52 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:">
53 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
54 </el-form-item>
55 </el-col>
56 <el-col :span="8">
57 <el-form-item :class="flag ? 'marginBot0' : ''" label="原不动产证号:">
58 <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input>
59 </el-form-item>
60 </el-col>
61 <el-col :span="8">
62 <el-form-item :class="flag ? 'marginBot0' : ''" label="竣工时间:">
63 <el-input disabled v-model="ruleForm.fdcq2.jgsj"></el-input>
64 </el-form-item>
65 </el-col>
66 </el-row>
67 <el-row :gutter="10" v-if="ruleForm.fdcq2">
68 <el-col :span="8">
69 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:">
70 <el-input disabled v-model="ruleForm.fdcq2.yt"></el-input>
71 </el-form-item>
72 </el-col>
73 <el-col :span="8">
74 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地使用起止时间:">
75 <el-input disabled v-model="ruleForm.fdcq2.tdsyqzsj"></el-input>
76 </el-form-item>
77 </el-col>
78 <el-col :span="8">
79 <el-form-item :class="flag ? 'marginBot0' : ''" label="土地使用期限:">
80 <el-input disabled v-model="ruleForm.fdcq2.tdsyqx"></el-input>
81 </el-form-item>
82 </el-col>
83 </el-row>
84 <el-row :gutter="10" v-if="ruleForm.qlxx">
85 <el-col :span="8">
86 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋用途:">
87 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
88 </el-form-item>
89 </el-col>
90 <el-col :span="8">
91 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋性质:">
92 <el-input disabled v-model="ruleForm.fdcq2.fwxzmc"></el-input>
93 </el-form-item>
94 </el-col>
95 <el-col :span="8">
96 <el-form-item :class="flag ? 'marginBot0' : ''" label="房屋结构:">
97 <el-input disabled v-model="ruleForm.fdcq2.fwjgmc"></el-input>
98 </el-form-item>
99 </el-col>
100 </el-row>
101 <el-row :gutter="10" v-if="ruleForm.fdcq2">
102 <el-col :span="8">
103 <el-form-item :class="flag ? 'marginBot0' : ''" label="所在层:">
104 <el-input disabled v-model="ruleForm.fdcq2.szc"></el-input>
105 </el-form-item>
106 </el-col>
107 <el-col :span="8">
108 <el-form-item :class="flag ? 'marginBot0' : ''" label="总层数:">
109 <el-input disabled v-model="ruleForm.fdcq2.zcs"></el-input>
110 </el-form-item>
111 </el-col>
112 <el-col :span="8">
113 <el-form-item :class="flag ? 'marginBot0' : ''" label="建筑面积:">
114 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
115 </el-form-item>
116 </el-col>
117 </el-row>
118 <el-row :gutter="10" v-if="ruleForm.qlxx">
119
120 <el-col :span="8">
121 <el-form-item :class="flag ? 'marginBot0' : ''" label="专有建筑面积:">
122 <el-input disabled v-model="ruleForm.fdcq2.zyjzmj"></el-input>
123 </el-form-item>
124 </el-col>
125 <el-col :span="8">
126 <el-form-item :class="flag ? 'marginBot0' : ''" label="分摊建筑面积:">
127 <el-input disabled v-model="ruleForm.fdcq2.ftjzmj"></el-input>
128 </el-form-item>
129 </el-col>
130 <el-col :span="16">
131 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:">
132 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
133 </el-form-item>
134 </el-col>
135 </el-row>
136 <div class="slxx_title title-block">
137 权利人信息
138 <div class="triangle"></div>
139 </div>
140 <el-row :gutter="10">
141 <el-col :span="14" v-if="ruleForm.qlxx">
142 <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:">
143 <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs">
144 <el-radio label="1">单独所有</el-radio>
145 <el-radio label="2">共同共有</el-radio>
146 <el-radio label="3">按份所有</el-radio>
147 </el-radio-group>
148 </el-form-item>
149 </el-col>
150 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
151 <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:">
152 <el-radio-group v-model="ruleForm.sffbcz">
153 <el-radio label="1"></el-radio>
154 <el-radio label="0"></el-radio>
155 </el-radio-group>
156 </el-form-item>
157 </el-col>
158 <el-col :span="5" v-show="ruleForm.qlxx&&ruleForm.qlxx.gyfs == '2'">
159 <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:">
160 <el-select v-model="ruleForm.czr" placeholder="持证人">
161 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
162 </el-option>
163 </el-select>
164 </el-form-item>
165 </el-col>
166 </el-row>
167 <InformationTable v-if="ruleForm.qlxx" @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList"
168 :gyfs="ruleForm.qlxx.gyfs" />
169 <div class="slxx_title title-block">
170 登记原因
171 <div class="triangle"></div>
172 </div>
173 <el-row :gutter="10">
174 <el-col>
175 <el-form-item v-if="ruleForm.fdcq2" :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy">
176 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1"
177 v-model="ruleForm.fdcq2.djyy">
178 </el-input>
179 </el-form-item>
180 </el-col>
181 </el-row>
182 </div>
183 <el-row class="btn" v-if="!$route.query.viewtype">
184 <el-form-item :class="flag ? 'marginBot0' : ''">
185 <el-button type="primary" @click="onSubmit">保存</el-button>
186 </el-form-item>
187 </el-row>
188 </el-form>
189 </div>
190 </template>
191 <script>
192 import InformationTable from "@/views/workflow/components/InformationTable";
193 import {Init, saveData} from "@/api/fwsyqFlow.js";
194 import { mapGetters } from "vuex";
195 import {logoutReg} from "@/api/jsydsyqFlow";
196 export default {
197 async created () {
198 this.propsParam = this.$attrs;
199 var formdata = new FormData();
200 formdata.append("bsmSldy", this.propsParam.bsmSldy);
201 formdata.append("djlx", this.propsParam.djlx);
202 Init(formdata).then((res) => {
203 if (res.code === 200 && res.result) {
204 this.ruleForm = {
205 ...res.result,
206 ...res.result.zdjbxxdatas,
207 ...res.result.qlxxdatas,
208 ...res.result.jsydsyqdatas,
209 };
210 }
211 });
212 },
213 components: { InformationTable },
214 computed: {
215 ...mapGetters(["dictData", "flag"]),
216 },
217 data () {
218 return {
219 disabled: true,
220 tdytOption: [],
221 czrOptions: [],
222 ruleForm: {
223 ywh: "",
224 slry: "",
225 slsj: "",
226 qllx: "",
227 djlx: "",
228 djqx: "",
229 // 宗地代码
230 zddm: "",
231 bdcdyh: "",
232 qlxzmc: "",
233 qlrxx: [],
234 // 自然幢号
235 zrzh: "",
236 // 户不动产单元号
237 hbdcdyh: '',
238 djzt: '',
239 // 图幅丘幢号
240 tfqzh: '',
241 zl: '',
242 // 房屋用途
243 fwyt: '',
244 fwxz: '',
245 fwjg: '',
246 // 权利人信息
247 gyfs: "1",
248 // 是否分别持证
249 sffbcz: "",
250 // 持证人
251 czr: "",
252 djyy: ''
253 },
254 //传递参数
255 propsParam: {},
256 rules: {},
257 };
258 },
259 methods: {
260 onClick(){
261 this.$popup({
262 titleStyle: "left",
263 title: "登记簿详情", // 弹窗标题
264 editItem: "ywbl/fdcq2/slxx900", // 弹窗内容
265 formData: {
266 bsmSlsq: this.propsParam.bsmSldy,
267 qllx: this.propsParam.qllx
268 },
269 width: "1220px",
270 height: "790px",
271 // cancelText: '取消摆烂', // 右边按钮文本
272 // confirmText: '确定点击', //左边按钮文本
273 cancel: () => {
274 console.log("取消回调");
275 },
276 confirm: () => {
277 console.log("确认回调");
278 },
279 });
280 },
281 // 更新权利人信息
282 upDateQlrxxList (val) {
283 this.ruleForm.qlrList = _.cloneDeep(val);
284 },
285 // 更新权利人信息
286 upDateYwrxxList (val) {
287 this.ruleForm.ywrList = _.cloneDeep(val);
288 },
289 list (bsmSldy) {
290 var formdata = new FormData();
291 formdata.append("bsmSldy", bsmSldy);
292 Init(formdata).then((res) => {
293 if (res.code === 200 && res.result) {
294 this.ruleForm = {
295 ...res.result,
296 ...res.result.zdjbxxdatas,
297 ...res.result.qlxxdatas,
298 ...res.result.jsydsyqdatas,
299 };
300 }
301 });
302 },
303 onSubmit () {
304 saveData(this.ruleForm).then((res) => {
305 if (res.code === 200 && res.result) {
306 console.log(res);
307 //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas }
308 }
309 });
310 },
311 },
312 };
313 </script>
314 <style scoped lang='scss'>
315 @import "~@/styles/public.scss";
316
317 /deep/.el-form {
318 display: flex;
319 flex-direction: column;
320 height: calc(100vh - 130px);
321 background-color: aqua;
322 }
323
324 /deep/.el-form-item__label {
325 padding: 0;
326 }
327
328 /deep/.el-radio {
329 margin-right: 10px;
330 }
331
332 /deep/.el-select {
333 width: 100%;
334 }
335
336 /deep/.el-form-item {
337 margin-bottom: 8px;
338 }
339
340 .marginBot0 {
341 margin-bottom: 0 !important;
342 }
343
344 .slxx {
345 box-sizing: border-box;
346 }
347
348 .slxx_con {
349 flex: 1;
350 height: 100%;
351 background-color: #ffffff;
352 overflow-y: auto;
353 padding-right: 3px;
354 overflow-x: hidden;
355 }
356
357 .submit_btn {
358 height: 50px;
359 }
360
361 .slxx_title {
362 border-bottom: 1px solid $borderColor;
363 padding-left: 10px;
364 padding-bottom: 5px;
365 margin-bottom: 10px;
366 margin-top: 5px;
367 font-size: 16px;
368 font-weight: 500;
369 color: #4a4a4a;
370 }
371
372 .btn {
373 text-align: center;
374 padding-top: 10px;
375 height: 36px;
376 background-color: #ffffff;
377 padding: 5px 0;
378 }
379
380 .textArea {
381 /deep/.el-textarea__inner {
382 min-height: 90px !important;
383 }
384 }
385
386 /deep/.el-form-item__label {
387 padding-bottom: 0px;
388 }
389 </style>
...@@ -44,7 +44,8 @@ import { datas, sendThis } from "../javascript/jsydsyq100.js"; ...@@ -44,7 +44,8 @@ import { datas, sendThis } from "../javascript/jsydsyq100.js";
44 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 44 import { defaultParameters } from "../javascript/publicDefaultPar.js";
45 import table from "@/utils/mixin/table"; 45 import table from "@/utils/mixin/table";
46 import jump from "../components/mixin/jump"; 46 import jump from "../components/mixin/jump";
47 import { selectScBdcdy, startBusinessFlow } from "@/api/ywbl.js"; 47 import { startBusinessFlow } from "@/api/ywbl.js";
48 import { selectZdjbxx } from "@/api/selectQlxx.js";
48 export default { 49 export default {
49 mixins: [table, jump], 50 mixins: [table, jump],
50 props: { 51 props: {
...@@ -76,7 +77,7 @@ export default { ...@@ -76,7 +77,7 @@ export default {
76 fetchData () { 77 fetchData () {
77 this.queryForm.sqywbm = this.djywbm; 78 this.queryForm.sqywbm = this.djywbm;
78 79
79 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 80 selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => {
80 if (res.code === 200) { 81 if (res.code === 200) {
81 let { total, records } = res.result; 82 let { total, records } = res.result;
82 this.tableData.total = total; 83 this.tableData.total = total;
......
...@@ -60,11 +60,11 @@ class data extends filter { ...@@ -60,11 +60,11 @@ class data extends filter {
60 label: "不动产单元号", 60 label: "不动产单元号",
61 }, 61 },
62 { 62 {
63 prop: "showQlxz", 63 prop: "qlxzmc",
64 label: "权利性质", 64 label: "权利性质",
65 }, 65 },
66 { 66 {
67 prop: "zdmj", 67 prop: "mj",
68 label: "宗地面积(㎡)", 68 label: "宗地面积(㎡)",
69 }, 69 },
70 { 70 {
...@@ -72,7 +72,7 @@ class data extends filter { ...@@ -72,7 +72,7 @@ class data extends filter {
72 label: "权利设定方式", 72 label: "权利设定方式",
73 }, 73 },
74 { 74 {
75 prop: "showTdyt", 75 prop: "ytmc",
76 label: "土地用途", 76 label: "土地用途",
77 }, 77 },
78 { 78 {
......