f34fd24f by 任超
2 parents eba1724d b5b92f32
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 // 初始化内容
5 export function Init (data) {
6 let apiUrl = "";
7 switch (data.get("djlx")) {
8 case "300":
9 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/xfInit";
10 break;
11 case "400":
12 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/jfInit";
13 break;
14 case "800":
15 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/cfInit";
16 break;
17 }
18 return request({
19 url: apiUrl,
20 method: 'post',
21 data
22 })
23 }
24 //批量初始化 4 //批量初始化
25 export function BatchInit (data) { 5 export function BatchInit (data) {
26 let apiUrl = ""; 6 let apiUrl = "";
27 switch (data.get("djlx")) { 7 switch (data.get("djlx")) {
28 case "300": 8 case "300":
29 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/xfBatchInit"; 9 apiUrl = SERVER.SERVERAPI + "/rest/ywbl/cfdj/xfBatchInit";
30 break; 10 break;
31 case "400": 11 case "400":
32 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/jfBatchInit"; 12 apiUrl = SERVER.SERVERAPI + "/rest/ywbl/cfdj/jfBatchInit";
33 break; 13 break;
34 case "800": 14 case "800":
35 apiUrl = SERVER.SERVERAPI + "/ywbl/cfdj/cfBatchInit"; 15 apiUrl = SERVER.SERVERAPI + "/rest/ywbl/cfdj/cfBatchInit";
36 break; 16 break;
37 } 17 }
38 return request({ 18 return request({
......
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 */
......
...@@ -65,7 +65,7 @@ export function searchTaskToDo (data) { ...@@ -65,7 +65,7 @@ export function searchTaskToDo (data) {
65 // 待办箱删除接口 65 // 待办箱删除接口
66 export function deleteFlow (data) { 66 export function deleteFlow (data) {
67 return request({ 67 return request({
68 url: 'business/workFlow/deleteFlow', 68 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteFlow',
69 method: 'post', 69 method: 'post',
70 data 70 data
71 }) 71 })
...@@ -146,7 +146,7 @@ export function deleteCollectBiz (bsmSqyw) { ...@@ -146,7 +146,7 @@ export function deleteCollectBiz (bsmSqyw) {
146 // 国有建设用地使用权/房屋使用权 -选择不动产单元 146 // 国有建设用地使用权/房屋使用权 -选择不动产单元
147 export function choiceBdcdy (data) { 147 export function choiceBdcdy (data) {
148 return request({ 148 return request({
149 url: 'business/workFlow/choiceBdcdy', 149 url: SERVER.SERVERAPI + '/rest/business/workFlow/choiceBdcdy',
150 method: 'post', 150 method: 'post',
151 data, 151 data,
152 showLoading: true 152 showLoading: true
...@@ -156,7 +156,17 @@ export function choiceBdcdy (data) { ...@@ -156,7 +156,17 @@ export function choiceBdcdy (data) {
156 // 申请列表删除 156 // 申请列表删除
157 export function deleteBdcdy (data) { 157 export function deleteBdcdy (data) {
158 return request({ 158 return request({
159 url: 'business/workFlow/deleteBdcdy', 159 url: SERVER.SERVERAPI + '/rest/business/workFlow/deleteBdcdy',
160 method: 'post',
161 data,
162 showLoading: true
163 })
164 }
165
166 // 获取自然幢下其他户
167 export function selectOtherH (data) {
168 return request({
169 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectOtherH',
160 method: 'post', 170 method: 'post',
161 data, 171 data,
162 showLoading: true 172 showLoading: true
......
...@@ -20,15 +20,12 @@ export function getForm(tabName, djywbm) { ...@@ -20,15 +20,12 @@ 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;
29 case "fwslxxCfdj":
30 form = require("@/views/ywbl/cfdj/fwslxx.vue");
31 break;
32 case "plslxxCfdj": 29 case "plslxxCfdj":
33 form = require("@/views/ywbl/cfdj/plcfslxx.vue"); 30 form = require("@/views/ywbl/cfdj/plcfslxx.vue");
34 break; 31 break;
......
1 <template>
2 <div class="slxx">
3 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flagTop" :inline="flag"
4 label-width="120px">
5 <div class="slxx_con">
6 <div class="slxx_title title-block">
7 受理信息
8 <div class="triangle"></div>
9 </div>
10 <el-row :gutter="10">
11 <el-col :span="8">
12 <el-form-item :class="flag ? 'marginBot0' : ''" label="业务号:" prop="slywxx.ywh">
13 <el-input disabled v-model="ruleForm.slywxx.ywh"></el-input>
14 </el-form-item>
15 </el-col>
16 <el-col :span="8">
17 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理人员:" prop="slywxx.slry">
18 <el-input disabled v-model="ruleForm.slywxx.slry"></el-input>
19 </el-form-item>
20 </el-col>
21 <el-col :span="8">
22 <el-form-item :class="flag ? 'marginBot0' : ''" label="受理时间:" prop="slywxx.slsj">
23 <el-input disabled v-model="ruleForm.slywxx.slsj"></el-input>
24 </el-form-item>
25 </el-col>
26 </el-row>
27 <el-row :gutter="10">
28 <el-col :span="8">
29 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slywxx.qllx">
30 <el-select disabled v-model="ruleForm.slywxx.qllx" filterable clearable placeholder="请选择权利类型">
31 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
32 </el-option>
33 </el-select>
34 </el-form-item>
35 </el-col>
36 <el-col :span="8">
37 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slywxx.djlx">
38 <el-select disabled v-model="ruleForm.slywxx.djlx" filterable clearable placeholder="请选择登记类型">
39 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
40 </el-option>
41 </el-select>
42 </el-form-item>
43 </el-col>
44 <el-col :span="8">
45 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记情形:" prop="slywxx.djqx">
46 <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input>
47 </el-form-item>
48 </el-col>
49 </el-row>
50 <div class="slxx_title title-block">
51 查封不动产情况
52 <div class="triangle"></div>
53 </div>
54 <el-row :gutter="10">
55 <el-col :span="8">
56 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh">
57 <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input>
58 </el-form-item>
59 </el-col>
60 <el-col :span="8">
61 <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:" prop="qlxx.bdcdyh">
62 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
63 </el-form-item>
64 </el-col>
65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc">
67 <el-input disabled v-model="ruleForm.qlxx.ywrmc"></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="面积:" prop="qlxx.mj">
74 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input>
75 </el-form-item>
76 </el-col>
77 <el-col :span="16">
78 <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:" prop="qlxx.ytmc">
79 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
80 </el-form-item>
81 </el-col>
82 </el-row>
83 <el-row :gutter="10">
84 <el-col :span="8">
85 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:" prop="qlxx.mj">
86 <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input>
87 </el-form-item>
88 </el-col>
89 <el-col :span="8">
90 <el-form-item :class="flag ? 'marginBot0' : ''" label="用途:" prop="qlxx.ytmc">
91 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input>
92 </el-form-item>
93 </el-col>
94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:" prop="cfdj.ytmc">
96 <el-input disabled v-model="ruleForm.cfdj.qdjg"></el-input>
97 </el-form-item>
98 </el-col>
99 </el-row>
100 <el-row :gutter="10">
101 <el-col :span="8">
102 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
103 <el-input v-model="ruleForm.cfdj.cfjg" :disabled="$route.query.viewtype"></el-input>
104 </el-form-item>
105 </el-col>
106 <el-col :span="8">
107 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封类型:" prop="cfdj.cflx">
108 <el-select v-model="ruleForm.cfdj.cflx" class="width100" filterable clearable placeholder="请选择查封类型:"
109 :disabled="$route.query.viewtype" @change="changeCflx">
110 <el-option v-for="item in dictData['A32']" :key="item.dcode" :label="item.dname" :value="item.dcode">
111 </el-option>
112 </el-select>
113 </el-form-item>
114 </el-col>
115 <el-col :span="8">
116 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
117 <el-input v-model="ruleForm.cfdj.cfwj" :disabled="$route.query.viewtype"></el-input>
118 </el-form-item>
119 </el-col>
120 </el-row>
121 <el-row :gutter="10">
122 <el-col :span="8">
123 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
124 <el-input v-model="ruleForm.cfdj.cfwh" :disabled="$route.query.viewtype"></el-input>
125 </el-form-item>
126 </el-col>
127 <el-col :span="8">
128 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
129 <el-date-picker v-model="ruleForm.cfdj.cfqssj" class="width100" :disabled="$route.query.viewtype"
130 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
131 </el-form-item>
132 </el-col>
133 <el-col :span="8">
134 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
135 <el-date-picker v-model="ruleForm.cfdj.cfjssj" class="width100" :disabled="$route.query.viewtype"
136 type="date" placeholder="选择日期" value-format="yyyy-MM-dd"></el-date-picker>
137 </el-form-item>
138 </el-col>
139 </el-row>
140 <el-row :gutter="10">
141 <el-col :span="24">
142 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
143 <el-input v-model="ruleForm.cfdj.cffw" :disabled="$route.query.viewtype"></el-input>
144 </el-form-item>
145 </el-col>
146 </el-row>
147 <el-row :gutter="10">
148 <el-col :span="24">
149 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
150 <el-input v-model="ruleForm.cfdj.fj" type="textarea" :disabled="$route.query.viewtype"></el-input>
151 </el-form-item>
152 </el-col>
153 </el-row>
154 <div class="slxx_title title-block">
155 不动产权利人信息
156 <div class="triangle"></div>
157 </div>
158 <sqrViewTable :tableData="ruleForm.ywrList" />
159 <div class="slxx_title title-block">
160 登记原因
161 <div class="triangle"></div>
162 </div>
163 <el-row :gutter="10">
164 <el-col>
165 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
166 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdj.djyy" :disabled="$route.query.viewtype"></el-input>
167 </el-form-item>
168 </el-col>
169 </el-row>
170 </div>
171 <el-row class="btn" v-if="!$route.query.viewtype">
172 <el-form-item :class="flag ? 'marginBot0' : ''">
173 <el-button type="primary" @click="onSubmit">保存</el-button>
174 </el-form-item>
175 </el-row>
176 </el-form>
177 </div>
178 </template>
179 <script>
180 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
181 import { Init, saveData } from "@/api/cfdjFlow.js";
182 import { mapGetters } from "vuex";
183 export default {
184 data () {
185 return {
186 disabled: true,
187 flagTop: this.flag ? "top" : "",
188 rules: {},
189 //传递参数
190 propsParam: {},
191 //页面数据
192 ruleForm: {},
193
194 };
195 },
196 created () {
197 this.propsParam = this.$attrs;
198 this.list(this.propsParam.bsmSldy);
199 },
200 watch: {
201
202 },
203 components: { sqrViewTable },
204 props: {
205 flag: {
206 type: Boolean,
207 default: false,
208 },
209 fetch: {
210 type: Boolean,
211 default: false,
212 },
213 },
214 computed: {
215 ...mapGetters(["dictData"]),
216 },
217
218 methods: {
219 list (bsmSldy) {
220 var formdata = new FormData();
221 formdata.append("bsmSldy", bsmSldy);
222 formdata.append("sqywbm", this.$route.query.sqywbm);
223 Init(formdata).then((res) => {
224 if (res.code === 200 && res.result) {
225 this.ruleForm = res.result
226 }
227 });
228 },
229 onSubmit () {
230 saveData(this.ruleForm).then((res) => {
231 if (res.code === 200 && res.result) {
232 this.$message.success('保存成功');
233 }
234 });
235 },
236 changeCflx(e){
237 let cflxItem = {}
238 cflxItem = this.dictData['A32'].find((item) => {
239 return item.dcode == e
240 })
241 this.ruleForm.cfdj.cflxmc = cflxItem.dname;
242 }
243 },
244 };
245 </script>
246 <style scoped lang='scss'>
247 @import "~@/styles/public.scss";
248 @import "~@/styles/slxx/slxx.scss";
249 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
194 </template> 194 </template>
195 <script> 195 <script>
196 import sqrViewTable from "@/views/workflow/components/sqrViewTable"; 196 import sqrViewTable from "@/views/workflow/components/sqrViewTable";
197 import { Init, saveData } from "@/api/cfdjFlow.js"; 197 import { BatchInit, saveData } from "@/api/cfdjFlow.js";
198 import { mapGetters } from "vuex"; 198 import { mapGetters } from "vuex";
199 export default { 199 export default {
200 data () { 200 data () {
...@@ -215,8 +215,9 @@ export default { ...@@ -215,8 +215,9 @@ export default {
215 this.ableEdit = this.$parent.showBatch; 215 this.ableEdit = this.$parent.showBatch;
216 var formdata = new FormData(); 216 var formdata = new FormData();
217 formdata.append("bsmSldy", this.propsParam.bsmSldy); 217 formdata.append("bsmSldy", this.propsParam.bsmSldy);
218 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
218 formdata.append("djlx", this.propsParam.djlx); 219 formdata.append("djlx", this.propsParam.djlx);
219 Init(formdata).then((res) => { 220 BatchInit(formdata).then((res) => {
220 if (res.code === 200 && res.result) { 221 if (res.code === 200 && res.result) {
221 this.ruleForm = res.result 222 this.ruleForm = res.result
222 } 223 }
......
...@@ -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>
......
...@@ -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 }
......
...@@ -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>
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,6 +78,8 @@ export default { ...@@ -78,6 +78,8 @@ export default {
78 this.$emit("closeDialog"); 78 this.$emit("closeDialog");
79 }, 79 },
80 fetchData () { 80 fetchData () {
81 if(!this.isJump){
82 //从业务办理进入
81 this.queryForm.sqywbm = this.djywbm; 83 this.queryForm.sqywbm = this.djywbm;
82 this.queryForm.fwfl = this.activeName; 84 this.queryForm.fwfl = this.activeName;
83 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => { 85 selectScBdcdy({ ...this.queryForm, ...this.pageData }).then((res) => {
...@@ -87,6 +89,18 @@ export default { ...@@ -87,6 +89,18 @@ export default {
87 this.tableData.data = records; 89 this.tableData.data = records;
88 } 90 }
89 }) 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;
......
...@@ -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 {
......