Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
6 changed files
with
213 additions
and
276 deletions
... | @@ -34,9 +34,9 @@ export function Init (data) { | ... | @@ -34,9 +34,9 @@ export function Init (data) { |
34 | }) | 34 | }) |
35 | } | 35 | } |
36 | // 受理信息保存 | 36 | // 受理信息保存 |
37 | export function saveData (data) { | 37 | export function saveData (data) { |
38 | return request({ | 38 | return request({ |
39 | url: SERVER.SERVERAPI + '/rest/ywbl/jsydsyqlr/saveData', | 39 | url: SERVER.SERVERAPI + '/rest/ywbl/dyaq/saveData', |
40 | method: 'post', | 40 | method: 'post', |
41 | data | 41 | data |
42 | }) | 42 | }) | ... | ... |
... | @@ -48,7 +48,7 @@ | ... | @@ -48,7 +48,7 @@ |
48 | <el-col :span="12"> | 48 | <el-col :span="12"> |
49 | <el-card shadow="hover" style="height:225px"> | 49 | <el-card shadow="hover" style="height:225px"> |
50 | <div slot="header" class="flexst"> | 50 | <div slot="header" class="flexst"> |
51 | <h5 class="title">法律法规</h5> | 51 | <h5 class="title">政策法规</h5> |
52 | <i class="el-icon-s-unfold pointer"></i> | 52 | <i class="el-icon-s-unfold pointer"></i> |
53 | </div> | 53 | </div> |
54 | <ul> | 54 | <ul> | ... | ... |
... | @@ -120,9 +120,9 @@ export default { | ... | @@ -120,9 +120,9 @@ export default { |
120 | gyfs: { | 120 | gyfs: { |
121 | handler (newVal, oldValue) { | 121 | handler (newVal, oldValue) { |
122 | let dataList = _.cloneDeep(this.InformationTable) | 122 | let dataList = _.cloneDeep(this.InformationTable) |
123 | if (newVal == '1') { | 123 | if (newVal == '0') { |
124 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 124 | this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
125 | } else if ((newVal == '2')) { | 125 | } else if ((newVal == '1'||newVal == '3')) { |
126 | this.column = dataList | 126 | this.column = dataList |
127 | } else { | 127 | } else { |
128 | this.column = _.cloneDeep(dataList) | 128 | this.column = _.cloneDeep(dataList) | ... | ... |
... | @@ -5,9 +5,6 @@ export function getForm(tabName, djywbm) { | ... | @@ -5,9 +5,6 @@ export function getForm(tabName, djywbm) { |
5 | case "jsydsyqslxx100": | 5 | case "jsydsyqslxx100": |
6 | form = require("@/views/ywbl/jsydsyq/slxx.vue"); | 6 | form = require("@/views/ywbl/jsydsyq/slxx.vue"); |
7 | break; | 7 | break; |
8 | case "jsydsyqslxx200": | ||
9 | form = require("@/views/ywbl/jsydsyq/slxx200.vue"); | ||
10 | break; | ||
11 | case "jsydsyqslxx300": | 8 | case "jsydsyqslxx300": |
12 | form = require("@/views/ywbl/jsydsyq/slxx300.vue"); | 9 | form = require("@/views/ywbl/jsydsyq/slxx300.vue"); |
13 | break; | 10 | break; |
... | @@ -51,10 +48,10 @@ export function getForm(tabName, djywbm) { | ... | @@ -51,10 +48,10 @@ export function getForm(tabName, djywbm) { |
51 | form = require("@/views/registerBook/zdjbxx.vue"); | 48 | form = require("@/views/registerBook/zdjbxx.vue"); |
52 | break; | 49 | break; |
53 | case "ygmm100": | 50 | case "ygmm100": |
54 | form=require("@/views/ywbl/ygdj/slxx.vue"); | 51 | form = require("@/views/ywbl/ygdj/slxx.vue"); |
55 | break; | 52 | break; |
56 | case "ygmm300": | 53 | case "ygmm300": |
57 | form=require("@/views/ywbl/fdcq2/slxx.vue"); | 54 | form = require("@/views/ywbl/fdcq2/slxx.vue"); |
58 | break; | 55 | break; |
59 | case "cfdjxx": | 56 | case "cfdjxx": |
60 | form = require("@/views/registerBook/cfdj.vue"); | 57 | form = require("@/views/registerBook/cfdj.vue"); |
... | @@ -71,6 +68,9 @@ export function getForm(tabName, djywbm) { | ... | @@ -71,6 +68,9 @@ export function getForm(tabName, djywbm) { |
71 | case "diyaqQlxx": | 68 | case "diyaqQlxx": |
72 | form = require("@/views/registerBook/diyaq.vue"); | 69 | form = require("@/views/registerBook/diyaq.vue"); |
73 | break; | 70 | break; |
71 | case "ygdjQlxx": | ||
72 | form = require("@/views/registerBook/ygdj.vue"); | ||
73 | break; | ||
74 | case "szxx": | 74 | case "szxx": |
75 | form = require("@/views/workflow/components/szxx.vue"); | 75 | form = require("@/views/workflow/components/szxx.vue"); |
76 | break; | 76 | break; | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | ref="ruleForm" | 7 | ref="ruleForm" |
8 | :label-position="flag ? 'top' : ''" | 8 | :label-position="flag ? 'top' : ''" |
9 | :inline="flag" | 9 | :inline="flag" |
10 | label-width="120px" | 10 | label-width="140px" |
11 | > | 11 | > |
12 | <div class="slxx_con"> | 12 | <div class="slxx_con"> |
13 | <div class="slxx_title title-block"> | 13 | <div class="slxx_title title-block"> |
... | @@ -67,11 +67,7 @@ | ... | @@ -67,11 +67,7 @@ |
67 | 67 | ||
68 | <el-row :gutter="10"> | 68 | <el-row :gutter="10"> |
69 | <el-col :span="8"> | 69 | <el-col :span="8"> |
70 | <el-form-item | 70 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:"> |
71 | :class="flag ? 'marginBot0' : ''" | ||
72 | label="权利人:" | ||
73 | prop="qlxx.qlrmc" | ||
74 | > | ||
75 | <el-input disabled v-model="ruleForm.qlxxold.qlrmc"></el-input> | 71 | <el-input disabled v-model="ruleForm.qlxxold.qlrmc"></el-input> |
76 | </el-form-item> | 72 | </el-form-item> |
77 | </el-col> | 73 | </el-col> |
... | @@ -91,7 +87,6 @@ | ... | @@ -91,7 +87,6 @@ |
91 | <el-form-item | 87 | <el-form-item |
92 | :class="flag ? 'marginBot0' : ''" | 88 | :class="flag ? 'marginBot0' : ''" |
93 | label="不动产权证号:" | 89 | label="不动产权证号:" |
94 | prop="qlxx.bdcqzh" | ||
95 | > | 90 | > |
96 | <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input> | 91 | <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input> |
97 | </el-form-item> | 92 | </el-form-item> |
... | @@ -112,7 +107,6 @@ | ... | @@ -112,7 +107,6 @@ |
112 | <el-form-item | 107 | <el-form-item |
113 | :class="flag ? 'marginBot0' : ''" | 108 | :class="flag ? 'marginBot0' : ''" |
114 | label="不动产单元号:" | 109 | label="不动产单元号:" |
115 | prop="qlxx.bdcdyh" | ||
116 | > | 110 | > |
117 | <el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input> | 111 | <el-input disabled v-model="ruleForm.qlxxold.bdcdyh"></el-input> |
118 | </el-form-item> | 112 | </el-form-item> |
... | @@ -123,10 +117,169 @@ | ... | @@ -123,10 +117,169 @@ |
123 | </el-form-item> | 117 | </el-form-item> |
124 | </el-col> | 118 | </el-col> |
125 | </el-row> | 119 | </el-row> |
120 | |||
121 | <div class="slxx_title title-block"> | ||
122 | 抵押信息 | ||
123 | <div class="triangle"></div> | ||
124 | </div> | ||
125 | |||
126 | <el-row :gutter="10"> | ||
127 | <el-col :span="8"> | ||
128 | <el-form-item :class="flag ? 'marginBot0' : ''" label="抵押方式:"> | ||
129 | <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> | ||
130 | </el-form-item> | ||
131 | </el-col> | ||
132 | |||
133 | <el-col :span="8"> | ||
134 | <el-form-item | ||
135 | :class="flag ? 'marginBot0' : ''" | ||
136 | label="被担保主债权数额:" | ||
137 | > | ||
138 | <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input> | ||
139 | </el-form-item> | ||
140 | </el-col> | ||
141 | |||
142 | <el-col :span="8"> | ||
143 | <el-form-item | ||
144 | :class="flag ? 'marginBot0' : ''" | ||
145 | label="最高债权额:" | ||
146 | > | ||
147 | <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> | ||
148 | </el-form-item> | ||
149 | </el-col> | ||
150 | </el-row> | ||
151 | |||
152 | <el-row> | ||
153 | <el-col :span="8"> | ||
154 | <el-form-item | ||
155 | :class="flag ? 'marginBot0' : ''" | ||
156 | label="债务履行起始时间:" | ||
157 | > | ||
158 | <el-input v-model="ruleForm.diyaq.zwlxqssj"></el-input> | ||
159 | </el-form-item> | ||
160 | </el-col> | ||
161 | <el-col :span="8"> | ||
162 | <el-form-item | ||
163 | :class="flag ? 'marginBot0' : ''" | ||
164 | label="债务履行结束时间:" | ||
165 | > | ||
166 | <el-input v-model="ruleForm.diyaq.zwlxjssj"></el-input> | ||
167 | </el-form-item> | ||
168 | </el-col> | ||
169 | </el-row> | ||
170 | |||
171 | <el-row> | ||
172 | <el-col :span="24"> | ||
173 | <el-form-item | ||
174 | :class="flag ? 'marginBot0' : ''" | ||
175 | label="是否存在禁止或者限制转让抵押不动产的约定:" | ||
176 | label-width="350px" | ||
177 | > | ||
178 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz"> | ||
179 | <el-radio label="1">启用</el-radio> | ||
180 | <el-radio label="0">禁用</el-radio> | ||
181 | </el-radio-group> | ||
182 | </el-form-item> | ||
183 | </el-col> | ||
184 | </el-row> | ||
185 | |||
186 | <el-row> | ||
187 | <el-col :span="24"> | ||
188 | <el-form-item :class="flag ? 'marginBot0' : ''" label="担保范围:"> | ||
189 | <el-input v-model="ruleForm.diyaq.dbfw"></el-input> | ||
190 | </el-form-item> | ||
191 | </el-col> | ||
192 | </el-row> | ||
193 | <el-row> | ||
194 | <el-col :span="24"> | ||
195 | <el-form-item :class="flag ? 'marginBot0' : ''" label="最高债权确定事实和数额:"> | ||
196 | <el-input v-model="ruleForm.diyaq.zgzqqdss"></el-input> | ||
197 | </el-form-item> | ||
198 | </el-col> | ||
199 | </el-row> | ||
200 | <el-row > | ||
201 | <el-col> | ||
202 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> | ||
203 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype==1"></el-input> | ||
204 | </el-form-item> | ||
205 | </el-col> | ||
206 | </el-row> | ||
207 | |||
208 | <div class="slxx_title title-block"> | ||
209 | 抵押权人信息 | ||
210 | <div class="triangle"></div> | ||
211 | </div> | ||
212 | <el-row :gutter="10"> | ||
213 | <el-col :span="14"> | ||
214 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | ||
215 | <el-radio-group | ||
216 | :disabled="$route.query.viewtype == 1" | ||
217 | v-model="ruleForm.slywxx.gyfs" | ||
218 | > | ||
219 | <el-radio label="1">单独所有</el-radio> | ||
220 | <el-radio label="2">共同共有</el-radio> | ||
221 | <el-radio label="3">按份所有</el-radio> | ||
222 | </el-radio-group> | ||
223 | </el-form-item> | ||
224 | </el-col> | ||
225 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
226 | <el-form-item | ||
227 | :class="flag ? 'marginBot0' : ''" | ||
228 | label="是否分别持证:" | ||
229 | > | ||
230 | <el-radio-group v-model="ruleForm.slywxx.sffbcz"> | ||
231 | <el-radio label="1">是</el-radio> | ||
232 | <el-radio label="0">否</el-radio> | ||
233 | </el-radio-group> | ||
234 | </el-form-item> | ||
235 | </el-col> | ||
236 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
237 | <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> | ||
238 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
239 | <el-option | ||
240 | v-for="item in czrOptions" | ||
241 | :key="item.value" | ||
242 | :label="item.label" | ||
243 | :value="item.value" | ||
244 | > | ||
245 | </el-option> | ||
246 | </el-select> | ||
247 | </el-form-item> | ||
248 | </el-col> | ||
249 | </el-row> | ||
250 | <InformationTable | ||
251 | :tableData="ruleForm.qlrList" | ||
252 | @upDateQlrxxList="upDateQlrxxList" | ||
253 | :viewtype="$route.query.viewtype" | ||
254 | :gyfs="ruleForm.slywxx.gyfs" | ||
255 | /> | ||
256 | <div class="slxx_title title-block"> | ||
257 | 抵押人信息 | ||
258 | <div class="triangle"></div> | ||
259 | </div> | ||
260 | <InformationTable | ||
261 | :tableData="ruleForm.ywrList" | ||
262 | @upDateQlrxxList="upDateYwrxxList" | ||
263 | :viewtype="$route.query.viewtype" | ||
264 | /> | ||
265 | |||
266 | <div class="slxx_title title-block"> | ||
267 | 登记原因 | ||
268 | <div class="triangle"></div> | ||
269 | </div> | ||
270 | <el-row :gutter="10"> | ||
271 | <el-col> | ||
272 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | ||
273 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.diyaq.djyy"> | ||
274 | </el-input> | ||
275 | </el-form-item> | ||
276 | </el-col> | ||
277 | </el-row> | ||
278 | |||
126 | </div> | 279 | </div> |
127 | <el-row class="btn" v-if="!$route.query.viewtype"> | 280 | <el-row class="btn" v-if="!$route.query.viewtype"> |
128 | <el-form-item :class="flag ? 'marginBot0' : ''"> | 281 | <el-form-item :class="flag ? 'marginBot0' : ''"> |
129 | <el-button type="primary" @click="onSubmit">保存</el-button> | 282 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
130 | </el-form-item> | 283 | </el-form-item> |
131 | </el-row> | 284 | </el-row> |
132 | </el-form> | 285 | </el-form> |
... | @@ -134,7 +287,7 @@ | ... | @@ -134,7 +287,7 @@ |
134 | </template> | 287 | </template> |
135 | <script> | 288 | <script> |
136 | import InformationTable from "@/views/workflow/components/InformationTable"; | 289 | import InformationTable from "@/views/workflow/components/InformationTable"; |
137 | import { Init } from "@/api/diyaqFlow.js"; | 290 | import { Init, saveData } from "@/api/diyaqFlow.js"; |
138 | import { mapGetters } from "vuex"; | 291 | import { mapGetters } from "vuex"; |
139 | export default { | 292 | export default { |
140 | async created() { | 293 | async created() { |
... | @@ -156,9 +309,12 @@ export default { | ... | @@ -156,9 +309,12 @@ export default { |
156 | data() { | 309 | data() { |
157 | return { | 310 | return { |
158 | disabled: true, | 311 | disabled: true, |
312 | czrOptions: [], | ||
159 | ruleForm: { | 313 | ruleForm: { |
160 | slywxx: {}, | 314 | slywxx: {}, |
161 | qlxxold:{}, | 315 | qlxxold: {}, |
316 | diyaq: {}, | ||
317 | gyfs: "", | ||
162 | }, | 318 | }, |
163 | //传递参数 | 319 | //传递参数 |
164 | propsParam: {}, | 320 | propsParam: {}, |
... | @@ -166,27 +322,45 @@ export default { | ... | @@ -166,27 +322,45 @@ export default { |
166 | }; | 322 | }; |
167 | }, | 323 | }, |
168 | methods: { | 324 | methods: { |
169 | list(bsmSldy) { | 325 | // list(bsmSldy) { |
170 | Init({ | 326 | // Init({ |
171 | bsmSldy: bsmSldy.split(","), | 327 | // bsmSldy: bsmSldy.split(","), |
172 | }).then((res) => { | 328 | // }).then((res) => { |
173 | if (res.code === 200 && res.result) { | 329 | // if (res.code === 200 && res.result) { |
174 | this.ruleForm = { | 330 | // this.ruleForm = { |
175 | ...res.result, | 331 | // ...res.result, |
176 | ...res.result.zdjbxxdatas, | 332 | // ...res.result.zdjbxxdatas, |
177 | ...res.result.qlxxdatas, | 333 | // ...res.result.qlxxdatas, |
178 | ...res.result.jsydsyqdatas, | 334 | // ...res.result.jsydsyqdatas, |
179 | }; | 335 | // }; |
336 | // } | ||
337 | // }); | ||
338 | // }, | ||
339 | onSubmitClick() { | ||
340 | saveData(this.ruleForm).then((res) => { | ||
341 | if (res.code === 200) { | ||
342 | this.$message({ | ||
343 | showClose: true, | ||
344 | message: "保存成功!", | ||
345 | type: "success", | ||
346 | }); | ||
347 | } else { | ||
348 | this.$message({ | ||
349 | showClose: true, | ||
350 | message: res.message, | ||
351 | type: "error", | ||
352 | }); | ||
180 | } | 353 | } |
181 | }); | 354 | }); |
182 | }, | 355 | }, |
183 | onSubmit() { | 356 | |
184 | fristReg(this.ruleForm).then((res) => { | 357 | // 更新权利人信息 |
185 | if (res.code === 200 && res.result) { | 358 | upDateQlrxxList(val) { |
186 | console.log(res); | 359 | this.ruleForm.qlrList = _.cloneDeep(val); |
187 | //this.ruleForm = { ...res.result, ...res.result.zdjbxxdatas, ...res.result.qlxxdatas, ...res.result.jsydsyqdatas } | 360 | }, |
188 | } | 361 | // 更新义务人信息 |
189 | }); | 362 | upDateYwrxxList(val) { |
363 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
190 | }, | 364 | }, |
191 | }, | 365 | }, |
192 | }; | 366 | }; | ... | ... |
src/views/ywbl/jsydsyq/slxx200.vue
deleted
100644 → 0
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"> | ||
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"> | ||
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 | <el-row :gutter="10"> | ||
50 | <el-col :span="8"> | ||
51 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> | ||
52 | <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input> | ||
53 | </el-form-item> | ||
54 | </el-col> | ||
55 | <el-col :span="8"> | ||
56 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产单元号:"> | ||
57 | <el-input disabled v-model="ruleForm.zdjbxx.bdcdyh"></el-input> | ||
58 | </el-form-item> | ||
59 | </el-col> | ||
60 | <el-col :span="8"> | ||
61 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> | ||
62 | <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input> | ||
63 | </el-form-item> | ||
64 | </el-col> | ||
65 | </el-row> | ||
66 | <el-row :gutter="10"> | ||
67 | <el-col :span="8"> | ||
68 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> | ||
69 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> | ||
70 | </el-form-item> | ||
71 | </el-col> | ||
72 | <el-col :span="8"> | ||
73 | <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> | ||
74 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | ||
75 | </el-form-item> | ||
76 | </el-col> | ||
77 | <el-col :span="8"> | ||
78 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> | ||
79 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></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="取得价格:"> | ||
86 | <el-input disabled v-model="ruleForm.jsydsyq.qdjg"></el-input> | ||
87 | </el-form-item> | ||
88 | </el-col> | ||
89 | |||
90 | <el-col :span="16"> | ||
91 | <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> | ||
92 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | ||
93 | </el-form-item> | ||
94 | </el-col> | ||
95 | </el-row> | ||
96 | <el-row :gutter="10"> | ||
97 | <el-col :span="8"> | ||
98 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用期限:"> | ||
99 | <el-input disabled v-model="ruleForm.jsydsyq.tdsyqx"></el-input> | ||
100 | </el-form-item> | ||
101 | </el-col> | ||
102 | |||
103 | <el-col :span="16"> | ||
104 | <el-form-item :class="flag ? 'marginBot0' : ''" label="使用权起止时间:"> | ||
105 | <el-input disabled v-model="ruleForm.jsydsyq.syqqzsj"></el-input> | ||
106 | </el-form-item> | ||
107 | </el-col> | ||
108 | </el-row> | ||
109 | <el-row :gutter="10"> | ||
110 | <el-col> | ||
111 | <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="fj"> | ||
112 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype==1"></el-input> | ||
113 | </el-form-item> | ||
114 | </el-col> | ||
115 | </el-row> | ||
116 | <div class="slxx_title title-block"> | ||
117 | 权利人信息 | ||
118 | <div class="triangle"></div> | ||
119 | </div> | ||
120 | <el-row :gutter="10"> | ||
121 | <el-col :span="14"> | ||
122 | <el-form-item :class="flag ? 'marginBot0' : ''" label="共有方式:"> | ||
123 | <el-radio-group :disabled="$route.query.viewtype==1" v-model="ruleForm.slywxx.gyfs"> | ||
124 | <el-radio label="1">单独所有</el-radio> | ||
125 | <el-radio label="2">共同共有</el-radio> | ||
126 | <el-radio label="3">按份所有</el-radio> | ||
127 | </el-radio-group> | ||
128 | </el-form-item> | ||
129 | </el-col> | ||
130 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
131 | <el-form-item :class="flag ? 'marginBot0' : ''" label="是否分别持证:"> | ||
132 | <el-radio-group v-model="ruleForm.slywxx.sffbcz"> | ||
133 | <el-radio label="1">是</el-radio> | ||
134 | <el-radio label="0">否</el-radio> | ||
135 | </el-radio-group> | ||
136 | </el-form-item> | ||
137 | </el-col> | ||
138 | <el-col :span="5" v-show="ruleForm.gyfs == '2'"> | ||
139 | <el-form-item :class="flag ? 'marginBot0' : ''" label="持证人:"> | ||
140 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | ||
141 | <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> | ||
142 | </el-option> | ||
143 | </el-select> | ||
144 | </el-form-item> | ||
145 | </el-col> | ||
146 | </el-row> | ||
147 | <InformationTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" | ||
148 | :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" /> | ||
149 | <div class="slxx_title title-block"> | ||
150 | 义务人信息 | ||
151 | <div class="triangle"></div> </div> | ||
152 | <InformationTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" | ||
153 | :viewtype="$route.query.viewtype" /> | ||
154 | <div class="slxx_title title-block"> | ||
155 | 登记原因 | ||
156 | <div class="triangle"></div> | ||
157 | </div> | ||
158 | <el-row :gutter="10"> | ||
159 | <el-col> | ||
160 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="djyy"> | ||
161 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype==1" v-model="ruleForm.jsydsyq.djyy"> | ||
162 | </el-input> | ||
163 | </el-form-item> | ||
164 | </el-col> | ||
165 | </el-row> | ||
166 | </div> | ||
167 | <el-row class="btn" v-if="!$route.query.viewtype"> | ||
168 | <el-form-item :class="flag ? 'marginBot0' : ''"> | ||
169 | <el-button type="primary" @click="onSubmit">保存</el-button> | ||
170 | </el-form-item> | ||
171 | </el-row> | ||
172 | </el-form> | ||
173 | </div> | ||
174 | </template> | ||
175 | <script> | ||
176 | import InformationTable from "@/views/workflow/components/InformationTable"; | ||
177 | import { Init, saveData } from "@/api/jsydsyqFlow.js"; | ||
178 | import { mapGetters } from "vuex"; | ||
179 | export default { | ||
180 | async created() { | ||
181 | this.propsParam = this.$attrs; | ||
182 | var formdata = new FormData(); | ||
183 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | ||
184 | formdata.append("djlx", this.propsParam.djlx); | ||
185 | Init(formdata).then((res) => { | ||
186 | if (res.code === 200 && res.result) { | ||
187 | this.ruleForm = res.result; | ||
188 | } | ||
189 | }); | ||
190 | }, | ||
191 | components: { InformationTable }, | ||
192 | computed: { | ||
193 | ...mapGetters(["dictData", "flag"]), | ||
194 | }, | ||
195 | data() { | ||
196 | return { | ||
197 | disabled: true, | ||
198 | czrOptions: [], | ||
199 | ruleForm: {}, | ||
200 | //传递参数 | ||
201 | propsParam: {}, | ||
202 | rules: {}, | ||
203 | }; | ||
204 | }, | ||
205 | methods: { | ||
206 | // 更新权利人信息 | ||
207 | upDateQlrxxList (val) { | ||
208 | this.ruleForm.qlrList = _.cloneDeep(val); | ||
209 | }, | ||
210 | // 更新义务人信息 | ||
211 | upDateYwrxxList (val) { | ||
212 | this.ruleForm.ywrList = _.cloneDeep(val); | ||
213 | }, | ||
214 | onSubmit() { | ||
215 | saveData(this.ruleForm).then((res) => { | ||
216 | if (res.code === 200) { | ||
217 | this.$message({ | ||
218 | showClose: true, | ||
219 | message: "保存成功!", | ||
220 | type: "success", | ||
221 | }); | ||
222 | } else { | ||
223 | this.$message({ | ||
224 | showClose: true, | ||
225 | message: res.message, | ||
226 | type: "error", | ||
227 | }); | ||
228 | } | ||
229 | }); | ||
230 | }, | ||
231 | }, | ||
232 | }; | ||
233 | </script> | ||
234 | <style scoped lang='scss'> | ||
235 | @import "~@/styles/public.scss"; | ||
236 | @import "~@/styles/slxx/slxx.scss"; | ||
237 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment