Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
13 changed files
with
117 additions
and
92 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-04 11:14:25 | 4 | * @LastEditTime: 2023-07-28 15:49:38 |
5 | */ | 5 | */ |
6 | const getters = { | 6 | const getters = { |
7 | sidebar: state => state.app.sidebar, | 7 | sidebar: state => state.app.sidebar, |
... | @@ -20,6 +20,7 @@ const getters = { | ... | @@ -20,6 +20,7 @@ const getters = { |
20 | djbxx: state => state.djbxx.djbxx, | 20 | djbxx: state => state.djbxx.djbxx, |
21 | // workflow | 21 | // workflow |
22 | isRefresh: state => state.user.isRefresh, | 22 | isRefresh: state => state.user.isRefresh, |
23 | workFresh: state => state.user.workFresh, | ||
23 | yjsqOptions: state => state.workflow.yjsqOptions | 24 | yjsqOptions: state => state.workflow.yjsqOptions |
24 | } | 25 | } |
25 | export default getters | 26 | export default getters | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-12 10:47:33 | 4 | * @LastEditTime: 2023-07-28 15:45:21 |
5 | */ | 5 | */ |
6 | import { getUserInfo } from '@/api/user' | 6 | import { getUserInfo } from '@/api/user' |
7 | const state = { | 7 | const state = { |
8 | name: '', | 8 | name: '', |
9 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', | 9 | avatar: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png', |
10 | isRefresh: false, | 10 | isRefresh: false, |
11 | // 业务流程刷新 | ||
12 | workFresh: false | ||
11 | } | 13 | } |
12 | const mutations = { | 14 | const mutations = { |
13 | SET_NAME: (state, data) => { | 15 | SET_NAME: (state, data) => { |
... | @@ -15,6 +17,9 @@ const mutations = { | ... | @@ -15,6 +17,9 @@ const mutations = { |
15 | }, | 17 | }, |
16 | REFRESH: (state, data) => { | 18 | REFRESH: (state, data) => { |
17 | state.isRefresh = data | 19 | state.isRefresh = data |
20 | }, | ||
21 | SETWORKFRESH: (state, data) => { | ||
22 | state.workFresh = data | ||
18 | } | 23 | } |
19 | } | 24 | } |
20 | 25 | ||
... | @@ -29,6 +34,9 @@ const actions = { | ... | @@ -29,6 +34,9 @@ const actions = { |
29 | refreshPage ({ commit }, data) { | 34 | refreshPage ({ commit }, data) { |
30 | commit('REFRESH', data) | 35 | commit('REFRESH', data) |
31 | }, | 36 | }, |
37 | reWorkFresh ({ commit }, data) { | ||
38 | commit('SETWORKFRESH', data) | ||
39 | } | ||
32 | } | 40 | } |
33 | export default { | 41 | export default { |
34 | namespaced: true, | 42 | namespaced: true, | ... | ... |
... | @@ -182,7 +182,9 @@ | ... | @@ -182,7 +182,9 @@ |
182 | </el-form-item> | 182 | </el-form-item> |
183 | </el-col> | 183 | </el-col> |
184 | <el-col :span="8"> | 184 | <el-col :span="8"> |
185 | <el-form-item label="是否被续封:"> | 185 | <el-form-item label="是否被续封:" |
186 | prop="cfdj.sfbxf" | ||
187 | :rules="rules.sfbxfrules"> | ||
186 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> | 188 | <el-select v-model="ruleForm.cfdj.sfbxf" @change="djlxchange"> |
187 | <el-option | 189 | <el-option |
188 | v-for="item in sfbxflist" | 190 | v-for="item in sfbxflist" |
... | @@ -473,10 +475,10 @@ export default { | ... | @@ -473,10 +475,10 @@ export default { |
473 | bdcqzhrules: [ | 475 | bdcqzhrules: [ |
474 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 476 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
475 | ], | 477 | ], |
476 | qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
477 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], | 478 | djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], |
478 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 479 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
479 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 480 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], |
481 | sfbxfrules: [{ required: true, message: "是否被续封", trigger: "change" }], | ||
480 | }, | 482 | }, |
481 | }; | 483 | }; |
482 | }, | 484 | }, | ... | ... |
... | @@ -14,8 +14,6 @@ | ... | @@ -14,8 +14,6 @@ |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
17 | :show-message="false" | ||
18 | inline-message | ||
19 | label-width="145px" | 17 | label-width="145px" |
20 | > | 18 | > |
21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 19 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
... | @@ -298,11 +296,12 @@ | ... | @@ -298,11 +296,12 @@ |
298 | <script> | 296 | <script> |
299 | import store from "@/store/index.js"; | 297 | import store from "@/store/index.js"; |
300 | import { mapGetters } from "vuex"; | 298 | import { mapGetters } from "vuex"; |
301 | import { init, save } from "@/api/djbRepair.js"; | 299 | import { init,getSsQlxx, save } from "@/api/djbRepair.js"; |
302 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 300 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
303 | import tdytTable from "@/views/workflow/components/tdytTable"; | 301 | import tdytTable from "@/views/workflow/components/tdytTable"; |
302 | import selectTable from "@/components/selectTable/index.vue"; | ||
304 | export default { | 303 | export default { |
305 | components: { qlrCommonTable, tdytTable }, | 304 | components: { qlrCommonTable, tdytTable,selectTable }, |
306 | computed: { | 305 | computed: { |
307 | ...mapGetters(["dictData", "flag"]), | 306 | ...mapGetters(["dictData", "flag"]), |
308 | // 根据流程判断表单是否为只读 | 307 | // 根据流程判断表单是否为只读 |
... | @@ -443,6 +442,10 @@ export default { | ... | @@ -443,6 +442,10 @@ export default { |
443 | init(this.propsParam).then((res) => { | 442 | init(this.propsParam).then((res) => { |
444 | if (res.code == 200) { | 443 | if (res.code == 200) { |
445 | this.ruleForm = res.result; | 444 | this.ruleForm = res.result; |
445 | let djlx = this.ruleForm.qlxx.djlx; | ||
446 | if (djlx == null || djlx == 100) { | ||
447 | this.ssqlxxshow = false; | ||
448 | } | ||
446 | this.$endLoading(); | 449 | this.$endLoading(); |
447 | if (this.ruleForm.tdytqxList.length > 0) { | 450 | if (this.ruleForm.tdytqxList.length > 0) { |
448 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 451 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
... | @@ -483,16 +486,7 @@ export default { | ... | @@ -483,16 +486,7 @@ export default { |
483 | this.czrOptions = this.ruleForm.qlrData; | 486 | this.czrOptions = this.ruleForm.qlrData; |
484 | this.key++; | 487 | this.key++; |
485 | }, | 488 | }, |
486 | // 更新义务人信息 | 489 | // 保存 |
487 | /** | ||
488 | * @description: 更新义务人信息 | ||
489 | * @param {*} val | ||
490 | * @author: renchao | ||
491 | */ | ||
492 | upDateYwrxxList(val) { | ||
493 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
494 | this.key++; | ||
495 | }, | ||
496 | /** | 490 | /** |
497 | * @description: onSubmit | 491 | * @description: onSubmit |
498 | * @author: renchao | 492 | * @author: renchao | ... | ... |
... | @@ -71,27 +71,10 @@ | ... | @@ -71,27 +71,10 @@ |
71 | </el-form-item> | 71 | </el-form-item> |
72 | </el-col> | 72 | </el-col> |
73 | <el-col :span="8"> | 73 | <el-col :span="8"> |
74 | <el-form-item label="不动产单元号:"> | ||
75 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
76 | </el-form-item> | ||
77 | </el-col> | ||
78 | <el-col :span="8"> | ||
79 | <el-form-item label="业务号:"> | ||
80 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
81 | </el-form-item> | ||
82 | </el-col> | ||
83 | <el-col :span="8"> | ||
84 | <el-form-item label="上手业务号:"> | 74 | <el-form-item label="上手业务号:"> |
85 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 75 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
86 | </el-form-item> | 76 | </el-form-item> |
87 | </el-col> | 77 | </el-col> |
88 | </el-row> | ||
89 | <el-row :gutter="10"> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | ||
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
93 | </el-form-item> | ||
94 | </el-col> | ||
95 | <el-col :span="8"> | 78 | <el-col :span="8"> |
96 | <el-form-item | 79 | <el-form-item |
97 | label="登记类型:" | 80 | label="登记类型:" |
... | @@ -109,6 +92,24 @@ | ... | @@ -109,6 +92,24 @@ |
109 | </el-select> | 92 | </el-select> |
110 | </el-form-item> | 93 | </el-form-item> |
111 | </el-col> | 94 | </el-col> |
95 | </el-row> | ||
96 | <el-row :gutter="10"> | ||
97 | <el-col :span="8"> | ||
98 | <el-form-item label="不动产单元号:"> | ||
99 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | ||
100 | </el-form-item> | ||
101 | </el-col> | ||
102 | <el-col :span="8"> | ||
103 | <el-form-item label="业务号:"> | ||
104 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
105 | </el-form-item> | ||
106 | </el-col> | ||
107 | <el-col :span="8"> | ||
108 | <el-form-item label="权利类型:"> | ||
109 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
110 | </el-form-item> | ||
111 | </el-col> | ||
112 | |||
112 | <el-col :span="8"> | 113 | <el-col :span="8"> |
113 | <el-form-item | 114 | <el-form-item |
114 | label="登簿人:" | 115 | label="登簿人:" |
... | @@ -175,7 +176,7 @@ | ... | @@ -175,7 +176,7 @@ |
175 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 176 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
176 | ></el-input> | 177 | ></el-input> |
177 | <el-select | 178 | <el-select |
178 | v-model="ruleForm.tdsyq.mjdw1" | 179 | v-model="ruleForm.tdsyq.mjdw" |
179 | :disabled="!ableOperation" | 180 | :disabled="!ableOperation" |
180 | style="width: 20%" | 181 | style="width: 20%" |
181 | > | 182 | > |
... | @@ -199,7 +200,7 @@ | ... | @@ -199,7 +200,7 @@ |
199 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 200 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
200 | ></el-input> | 201 | ></el-input> |
201 | <el-select | 202 | <el-select |
202 | v-model="ruleForm.tdsyq.mjdw2" | 203 | v-model="ruleForm.tdsyq.mjdw" |
203 | :disabled="!ableOperation" | 204 | :disabled="!ableOperation" |
204 | style="width: 20%" | 205 | style="width: 20%" |
205 | > | 206 | > |
... | @@ -223,7 +224,7 @@ | ... | @@ -223,7 +224,7 @@ |
223 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 224 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
224 | ></el-input> | 225 | ></el-input> |
225 | <el-select | 226 | <el-select |
226 | v-model="ruleForm.tdsyq.mjdw3" | 227 | v-model="ruleForm.tdsyq.mjdw" |
227 | :disabled="!ableOperation" | 228 | :disabled="!ableOperation" |
228 | style="width: 20%" | 229 | style="width: 20%" |
229 | > | 230 | > |
... | @@ -249,7 +250,7 @@ | ... | @@ -249,7 +250,7 @@ |
249 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" | 250 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" |
250 | ></el-input> | 251 | ></el-input> |
251 | <el-select | 252 | <el-select |
252 | v-model="ruleForm.tdsyq.mjdw4" | 253 | v-model="ruleForm.tdsyq.mjdw" |
253 | :disabled="!ableOperation" | 254 | :disabled="!ableOperation" |
254 | style="width: 20%" | 255 | style="width: 20%" |
255 | > | 256 | > |
... | @@ -273,7 +274,7 @@ | ... | @@ -273,7 +274,7 @@ |
273 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 274 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
274 | ></el-input> | 275 | ></el-input> |
275 | <el-select | 276 | <el-select |
276 | v-model="ruleForm.tdsyq.mjdw5" | 277 | v-model="ruleForm.tdsyq.mjdw" |
277 | :disabled="!ableOperation" | 278 | :disabled="!ableOperation" |
278 | style="width: 20%" | 279 | style="width: 20%" |
279 | > | 280 | > |
... | @@ -297,7 +298,7 @@ | ... | @@ -297,7 +298,7 @@ |
297 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 298 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
298 | ></el-input> | 299 | ></el-input> |
299 | <el-select | 300 | <el-select |
300 | v-model="ruleForm.tdsyq.mjdw6" | 301 | v-model="ruleForm.tdsyq.mjdw" |
301 | :disabled="!ableOperation" | 302 | :disabled="!ableOperation" |
302 | style="width: 20%" | 303 | style="width: 20%" |
303 | > | 304 | > |
... | @@ -323,7 +324,7 @@ | ... | @@ -323,7 +324,7 @@ |
323 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" | 324 | oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" |
324 | ></el-input> | 325 | ></el-input> |
325 | <el-select | 326 | <el-select |
326 | v-model="ruleForm.tdsyq.mjdw7" | 327 | v-model="ruleForm.tdsyq.mjdw" |
327 | :disabled="!ableOperation" | 328 | :disabled="!ableOperation" |
328 | style="width: 20%" | 329 | style="width: 20%" |
329 | > | 330 | > |
... | @@ -598,11 +599,6 @@ export default { | ... | @@ -598,11 +599,6 @@ export default { |
598 | this.czrOptions = this.ruleForm.qlrData; | 599 | this.czrOptions = this.ruleForm.qlrData; |
599 | this.key++; | 600 | this.key++; |
600 | }, | 601 | }, |
601 | // // 更新义务人信息 | ||
602 | // upDateYwrxxList(val) { | ||
603 | // this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | ||
604 | // this.key++; | ||
605 | // }, | ||
606 | /** | 602 | /** |
607 | * @description: onSubmit | 603 | * @description: onSubmit |
608 | * @author: renchao | 604 | * @author: renchao |
... | @@ -673,6 +669,7 @@ export default { | ... | @@ -673,6 +669,7 @@ export default { |
673 | </script> | 669 | </script> |
674 | <style scoped lang="scss"> | 670 | <style scoped lang="scss"> |
675 | @import "~@/styles/public.scss"; | 671 | @import "~@/styles/public.scss"; |
672 | @import "~@/styles/slxx/slxx.scss"; | ||
676 | /deep/.el-form { | 673 | /deep/.el-form { |
677 | display: flex; | 674 | display: flex; |
678 | flex-direction: column; | 675 | flex-direction: column; | ... | ... |
... | @@ -73,6 +73,30 @@ | ... | @@ -73,6 +73,30 @@ |
73 | </el-form-item> | 73 | </el-form-item> |
74 | </el-col> | 74 | </el-col> |
75 | <el-col :span="8"> | 75 | <el-col :span="8"> |
76 | <el-form-item label="上手业务号:"> | ||
77 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
78 | </el-form-item> | ||
79 | </el-col> | ||
80 | <el-col :span="8"> | ||
81 | <el-form-item | ||
82 | label="登记类型:" | ||
83 | prop="qlxx.djlx" | ||
84 | :rules="rules.djlxrules" | ||
85 | > | ||
86 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
87 | <el-option | ||
88 | v-for="item in djlxlist" | ||
89 | :key="item.dcode" | ||
90 | :label="item.dname" | ||
91 | :value="item.dcode" | ||
92 | > | ||
93 | </el-option> | ||
94 | </el-select> | ||
95 | </el-form-item> | ||
96 | </el-col> | ||
97 | </el-row> | ||
98 | <el-row> | ||
99 | <el-col :span="8"> | ||
76 | <el-form-item label="不动产单元号:"> | 100 | <el-form-item label="不动产单元号:"> |
77 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 101 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
78 | </el-form-item> | 102 | </el-form-item> |
... | @@ -83,11 +107,6 @@ | ... | @@ -83,11 +107,6 @@ |
83 | </el-form-item> | 107 | </el-form-item> |
84 | </el-col> | 108 | </el-col> |
85 | <el-col :span="8"> | 109 | <el-col :span="8"> |
86 | <el-form-item label="上手业务号:"> | ||
87 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | ||
88 | </el-form-item> | ||
89 | </el-col> | ||
90 | <el-col :span="8"> | ||
91 | <el-form-item label="权利类型:"> | 110 | <el-form-item label="权利类型:"> |
92 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 111 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> |
93 | </el-form-item> | 112 | </el-form-item> |
... | @@ -98,19 +117,6 @@ | ... | @@ -98,19 +117,6 @@ |
98 | </el-form-item> | 117 | </el-form-item> |
99 | </el-col> | 118 | </el-col> |
100 | <el-col :span="8"> | 119 | <el-col :span="8"> |
101 | <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> | ||
102 | <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> | ||
103 | <el-option | ||
104 | v-for="item in djlxlist" | ||
105 | :key="item.dcode" | ||
106 | :label="item.dname" | ||
107 | :value="item.dcode" | ||
108 | > | ||
109 | </el-option> | ||
110 | </el-select> | ||
111 | </el-form-item> | ||
112 | </el-col> | ||
113 | <el-col :span="8"> | ||
114 | <el-form-item label="不动产坐落:"> | 120 | <el-form-item label="不动产坐落:"> |
115 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 121 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
116 | </el-form-item> | 122 | </el-form-item> | ... | ... |
... | @@ -60,7 +60,7 @@ export default { | ... | @@ -60,7 +60,7 @@ export default { |
60 | stepExpandInfo(formdata).then((res) => { | 60 | stepExpandInfo(formdata).then((res) => { |
61 | if (res.code === 200) { | 61 | if (res.code === 200) { |
62 | this.leftButtonList = res.result.button; | 62 | this.leftButtonList = res.result.button; |
63 | if (res.result.properties.length) { | 63 | if (res.result.properties&&res.result.properties.length) { |
64 | this.showidea = res.result.properties[0].value | 64 | this.showidea = res.result.properties[0].value |
65 | } | 65 | } |
66 | 66 | ||
... | @@ -68,12 +68,9 @@ export default { | ... | @@ -68,12 +68,9 @@ export default { |
68 | let arr = this.rightButtonList.filter((item) => { | 68 | let arr = this.rightButtonList.filter((item) => { |
69 | return item.name == "删除" | 69 | return item.name == "删除" |
70 | }) | 70 | }) |
71 | |||
72 | if (arr.length) { | ||
73 | this.$refs.Menu.getleftMenubl(); | 71 | this.$refs.Menu.getleftMenubl(); |
74 | } else { | 72 | if (!arr.length) { |
75 | this.ableOperation = false | 73 | this.isEdit = false |
76 | this.$refs.Menu.getleftMenubl(1); | ||
77 | } | 74 | } |
78 | } | 75 | } |
79 | }) | 76 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 11:13:07 | 4 | * @LastEditTime: 2023-07-28 15:47:25 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -179,7 +179,7 @@ | ... | @@ -179,7 +179,7 @@ |
179 | this.$popupCacel() | 179 | this.$popupCacel() |
180 | this.$message.success("提交成功") | 180 | this.$message.success("提交成功") |
181 | //刷新列表 | 181 | //刷新列表 |
182 | store.dispatch('user/refreshPage', true) | 182 | store.dispatch('user/reWorkFresh', true) |
183 | } else { | 183 | } else { |
184 | this.$message.error(res.message) | 184 | this.$message.error(res.message) |
185 | } | 185 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 10:22:41 | 4 | * @LastEditTime: 2023-07-28 15:45:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> | 7 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px"> |
... | @@ -123,9 +123,6 @@ | ... | @@ -123,9 +123,6 @@ |
123 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { | 123 | getUnclaimedBdcqz({ bsmSlsq: Vue.prototype.$currentRoute.query.bsmSlsq }).then(res => { |
124 | if (res.code === 200) { | 124 | if (res.code === 200) { |
125 | this.tableData.data = res.result.list; | 125 | this.tableData.data = res.result.list; |
126 | if(this.tableData.data.length>0) { | ||
127 | this.ruleForm.lzrxm = this.tableData.data[0].qlr | ||
128 | } | ||
129 | this.ruleForm.fzrmc = res.result.fzrmc | 126 | this.ruleForm.fzrmc = res.result.fzrmc |
130 | this.ruleForm.fzsj = res.result.fzsj | 127 | this.ruleForm.fzsj = res.result.fzsj |
131 | this.ruleForm.fzsl = res.result.fzsl | 128 | this.ruleForm.fzsl = res.result.fzsl |
... | @@ -160,7 +157,7 @@ | ... | @@ -160,7 +157,7 @@ |
160 | if (res.code == 200) { | 157 | if (res.code == 200) { |
161 | this.$message.success('保存成功'); | 158 | this.$message.success('保存成功'); |
162 | //刷新列表 | 159 | //刷新列表 |
163 | store.dispatch('user/refreshPage', true) | 160 | store.dispatch('user/reWorkFresh', true) |
164 | this.$popupCacel() | 161 | this.$popupCacel() |
165 | } else { | 162 | } else { |
166 | this.$message.error(res.message) | 163 | this.$message.error(res.message) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-25 09:26:10 | 4 | * @LastEditTime: 2023-07-28 16:28:43 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -40,9 +40,11 @@ | ... | @@ -40,9 +40,11 @@ |
40 | </div> | 40 | </div> |
41 | </template> | 41 | </template> |
42 | <script> | 42 | <script> |
43 | import { mapGetters } from 'vuex' | ||
44 | import store from '@/store/index.js' | ||
43 | import table from "@/utils/mixin/table"; | 45 | import table from "@/utils/mixin/table"; |
44 | import { getCertificateList } from "@/api/bdcqz.js"; | ||
45 | import { datas } from "../javascript/fzxxdata"; | 46 | import { datas } from "../javascript/fzxxdata"; |
47 | import { getCertificateList } from "@/api/bdcqz.js"; | ||
46 | export default { | 48 | export default { |
47 | mixins: [table], | 49 | mixins: [table], |
48 | data () { | 50 | data () { |
... | @@ -66,6 +68,16 @@ | ... | @@ -66,6 +68,16 @@ |
66 | created () { | 68 | created () { |
67 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 69 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
68 | }, | 70 | }, |
71 | computed: { | ||
72 | ...mapGetters(['workFresh']) | ||
73 | }, | ||
74 | watch: { | ||
75 | workFresh: { | ||
76 | handler (newVal, oldVal) { | ||
77 | if (newVal) this.queryClick() | ||
78 | } | ||
79 | } | ||
80 | }, | ||
69 | methods: { | 81 | methods: { |
70 | /** | 82 | /** |
71 | * @description: queryClick | 83 | * @description: queryClick |
... | @@ -84,6 +96,7 @@ | ... | @@ -84,6 +96,7 @@ |
84 | * @author: renchao | 96 | * @author: renchao |
85 | */ | 97 | */ |
86 | zslqClick () { | 98 | zslqClick () { |
99 | store.dispatch('user/reWorkFresh', false) | ||
87 | this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true) | 100 | this.$popupDialog("不动产权证领取", "workflow/components/dialog/zslq", {}, '80%', true) |
88 | } | 101 | } |
89 | } | 102 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-25 11:15:01 | 4 | * @LastEditTime: 2023-07-28 15:46:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="szxx"> | 7 | <div class="szxx"> |
... | @@ -74,6 +74,7 @@ | ... | @@ -74,6 +74,7 @@ |
74 | </template> | 74 | </template> |
75 | <script> | 75 | <script> |
76 | import { mapGetters } from 'vuex' | 76 | import { mapGetters } from 'vuex' |
77 | import store from '@/store/index.js' | ||
77 | import { getSlsqBdcqzList, invalidCertificate } from "@/api/bdcqz.js"; | 78 | import { getSlsqBdcqzList, invalidCertificate } from "@/api/bdcqz.js"; |
78 | export default { | 79 | export default { |
79 | props: {}, | 80 | props: {}, |
... | @@ -92,10 +93,10 @@ | ... | @@ -92,10 +93,10 @@ |
92 | }; | 93 | }; |
93 | }, | 94 | }, |
94 | computed: { | 95 | computed: { |
95 | ...mapGetters(['isRefresh']) | 96 | ...mapGetters(['workFresh']) |
96 | }, | 97 | }, |
97 | watch: { | 98 | watch: { |
98 | isRefresh: { | 99 | workFresh: { |
99 | handler (newVal, oldVal) { | 100 | handler (newVal, oldVal) { |
100 | if (newVal) this.list() | 101 | if (newVal) this.list() |
101 | } | 102 | } |
... | @@ -130,6 +131,7 @@ | ... | @@ -130,6 +131,7 @@ |
130 | * @author: renchao | 131 | * @author: renchao |
131 | */ | 132 | */ |
132 | openZsylDialog (item, type) { | 133 | openZsylDialog (item, type) { |
134 | store.dispatch('user/reWorkFresh', false) | ||
133 | if (type == 1) { | 135 | if (type == 1) { |
134 | //证书预览 | 136 | //证书预览 |
135 | this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "70%", true); | 137 | this.$popupDialog("证书预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "70%", true); | ... | ... |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | </el-col> | 126 | </el-col> |
127 | <el-col :span="8"> | 127 | <el-col :span="8"> |
128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation"> | 129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation"> |
130 | <el-radio label="1">启用</el-radio> | 130 | <el-radio label="1">启用</el-radio> |
131 | <el-radio label="0">禁用</el-radio> | 131 | <el-radio label="0">禁用</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
139 | <el-form-item label="被担保主债权数额:"> | 139 | <el-form-item label="被担保主债权数额:"> |
140 | <div style="display:flex"> | 140 | <div style="display:flex"> |
141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input> | 141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input> |
142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation"> | 142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation"> |
143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
144 | </el-option> | 144 | </el-option> |
145 | </el-select> | 145 | </el-select> |
... | @@ -149,19 +149,19 @@ | ... | @@ -149,19 +149,19 @@ |
149 | 149 | ||
150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
151 | <el-form-item label="最高债权额:"> | 151 | <el-form-item label="最高债权额:"> |
152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input> | 152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | 155 | ||
156 | <el-col :span="8"> | 156 | <el-col :span="8"> |
157 | <el-form-item label="债务履行起始时间:"> | 157 | <el-form-item label="债务履行起始时间:"> |
158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation" type="date"> | 158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
159 | </el-date-picker> | 159 | </el-date-picker> |
160 | </el-form-item> | 160 | </el-form-item> |
161 | </el-col> | 161 | </el-col> |
162 | <el-col :span="8"> | 162 | <el-col :span="8"> |
163 | <el-form-item label="债务履行结束时间:"> | 163 | <el-form-item label="债务履行结束时间:"> |
164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation" type="date"> | 164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation|| isJfOperation" type="date"> |
165 | </el-date-picker> | 165 | </el-date-picker> |
166 | </el-form-item> | 166 | </el-form-item> |
167 | </el-col> | 167 | </el-col> |
... | @@ -170,21 +170,21 @@ | ... | @@ -170,21 +170,21 @@ |
170 | <el-col :span="24"> | 170 | <el-col :span="24"> |
171 | <el-form-item label="担保范围:"> | 171 | <el-form-item label="担保范围:"> |
172 | <el-input v-model="ruleForm.diyaq.dbfw" | 172 | <el-input v-model="ruleForm.diyaq.dbfw" |
173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation"></el-input> | 173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input> |
174 | </el-form-item> | 174 | </el-form-item> |
175 | </el-col> | 175 | </el-col> |
176 | </el-row> | 176 | </el-row> |
177 | <el-row> | 177 | <el-row> |
178 | <el-col :span="24"> | 178 | <el-col :span="24"> |
179 | <el-form-item label="最高债权确定事实和数额:"> | 179 | <el-form-item label="最高债权确定事实和数额:"> |
180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation"></el-input> | 180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation|| isJfOperation"></el-input> |
181 | </el-form-item> | 181 | </el-form-item> |
182 | </el-col> | 182 | </el-col> |
183 | </el-row> | 183 | </el-row> |
184 | <el-row> | 184 | <el-row> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item label="附记:" prop="fj"> | 186 | <el-form-item label="附记:" prop="fj"> |
187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input> | 187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation|| isJfOperation"></el-input> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
... | @@ -267,6 +267,9 @@ | ... | @@ -267,6 +267,9 @@ |
267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 267 | this.ableOperation = this.$parent.currentSelectTab.ableOperation |
268 | this.propsParam = this.$attrs; | 268 | this.propsParam = this.$attrs; |
269 | var formdata = new FormData(); | 269 | var formdata = new FormData(); |
270 | if (this.propsParam.djlx == '400') { | ||
271 | this.isJfOperation = true; | ||
272 | } | ||
270 | this.$startLoading(); | 273 | this.$startLoading(); |
271 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 274 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
272 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 275 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
... | @@ -296,6 +299,7 @@ | ... | @@ -296,6 +299,7 @@ |
296 | diyaq: {}, | 299 | diyaq: {}, |
297 | gyfs: "", | 300 | gyfs: "", |
298 | }, | 301 | }, |
302 | isJfOperation: false, | ||
299 | //传递参数 | 303 | //传递参数 |
300 | propsParam: {}, | 304 | propsParam: {}, |
301 | rules: {}, | 305 | rules: {}, | ... | ... |
-
Please register or sign in to post a comment