查封登记
Showing
3 changed files
with
77 additions
and
41 deletions
... | @@ -21,6 +21,7 @@ | ... | @@ -21,6 +21,7 @@ |
21 | <div class="containerFrame"> | 21 | <div class="containerFrame"> |
22 | <!-- 左侧菜单栏 --> | 22 | <!-- 左侧菜单栏 --> |
23 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 23 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
24 | <div class="title" @click="unitClick(-1)" v-if="showBatch">{{batchButtonName}}</div> | ||
24 | <div v-if="this.isShowdrawer"> | 25 | <div v-if="this.isShowdrawer"> |
25 | <div class="title"> | 26 | <div class="title"> |
26 | 申请单元列表({{ unitData.length }}) | 27 | 申请单元列表({{ unitData.length }}) |
... | @@ -103,6 +104,10 @@ export default { | ... | @@ -103,6 +104,10 @@ export default { |
103 | bsmSlsq: this.$route.query.bsmSlsq, | 104 | bsmSlsq: this.$route.query.bsmSlsq, |
104 | //当前流程所在环节 | 105 | //当前流程所在环节 |
105 | bestepid: this.$route.query.bestepid, | 106 | bestepid: this.$route.query.bestepid, |
107 | //是否展示批量按钮 | ||
108 | showBatch: false, | ||
109 | //批量按钮名称 | ||
110 | batchButtonName: '', | ||
106 | //顶部左侧按钮集合 | 111 | //顶部左侧按钮集合 |
107 | leftButtonList: [], | 112 | leftButtonList: [], |
108 | //顶部右侧按钮集合 | 113 | //顶部右侧按钮集合 |
... | @@ -393,16 +398,30 @@ export default { | ... | @@ -393,16 +398,30 @@ export default { |
393 | formdata.append("bestepid", this.bestepid); | 398 | formdata.append("bestepid", this.bestepid); |
394 | leftMenu(formdata).then((res) => { | 399 | leftMenu(formdata).then((res) => { |
395 | if (res.code === 200) { | 400 | if (res.code === 200) { |
401 | if(res.result){ | ||
396 | this.unitData = res.result; | 402 | this.unitData = res.result; |
397 | this.currentSelectProps = res.result[0]; | 403 | this.currentSelectProps = res.result[0]; |
404 | this.judgeBatchShow(); | ||
405 | if(this.showBatch){ | ||
406 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 | ||
407 | this.unitClick(-1); | ||
408 | }else{ | ||
409 | //默认选择单元列表第一个 | ||
398 | this.unitClick(0); | 410 | this.unitClick(0); |
399 | } | 411 | } |
412 | } | ||
413 | } | ||
400 | }); | 414 | }); |
401 | }, | 415 | }, |
402 | //申请单元点击事件 | 416 | //申请单元点击事件 |
403 | unitClick (index) { | 417 | unitClick (index) { |
418 | if(index >= 0){ | ||
404 | this.currentSelectProps = this.unitData[index]; | 419 | this.currentSelectProps = this.unitData[index]; |
405 | getStepFormInfo(this.unitData[index]).then((res) => { | 420 | this.currentSelectProps.batchOperation = false; |
421 | }else{ | ||
422 | this.currentSelectProps.batchOperation = true; | ||
423 | } | ||
424 | getStepFormInfo(this.currentSelectProps).then((res) => { | ||
406 | if (res.code === 200) { | 425 | if (res.code === 200) { |
407 | //获取单元对应的所有表单信息 | 426 | //获取单元对应的所有表单信息 |
408 | this.tabList = res.result; | 427 | this.tabList = res.result; |
... | @@ -424,6 +443,23 @@ export default { | ... | @@ -424,6 +443,23 @@ export default { |
424 | // this.fresh += 1; | 443 | // this.fresh += 1; |
425 | // } | 444 | // } |
426 | }, | 445 | }, |
446 | //批量按钮判断 | ||
447 | judgeBatchShow() { | ||
448 | this.showBatch = false; | ||
449 | let qllx = this.$route.query.sqywbm.substring(0,3); | ||
450 | if(this.unitData.length > 1){ | ||
451 | switch(qllx){ | ||
452 | case 'B39': | ||
453 | this.showBatch = true; | ||
454 | this.batchButtonName = '批量查封'; | ||
455 | break; | ||
456 | case 'A37': | ||
457 | this.showBatch = true; | ||
458 | this.batchButtonName = '批量抵押'; | ||
459 | break; | ||
460 | } | ||
461 | } | ||
462 | }, | ||
427 | //表单选项卡事件 | 463 | //表单选项卡事件 |
428 | beforeLeave (activeName, oldActiveName) { | 464 | beforeLeave (activeName, oldActiveName) { |
429 | if (!_.isEqual(this.oldDetail, this.newDetail)) { | 465 | if (!_.isEqual(this.oldDetail, this.newDetail)) { | ... | ... |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | <el-row :gutter="10"> | 54 | <el-row :gutter="10"> |
55 | <el-col :span="8"> | 55 | <el-col :span="8"> |
56 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh"> | 56 | <el-form-item :class="flag ? 'marginBot0' : ''" label="不动产权证号:" prop="qlxx.bdcqzh"> |
57 | <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input> | 57 | <el-input disabled v-model="ruleForm.slywxx.ybdcqzsh"></el-input> |
58 | </el-form-item> | 58 | </el-form-item> |
59 | </el-col> | 59 | </el-col> |
60 | <el-col :span="8"> | 60 | <el-col :span="8"> |
... | @@ -63,52 +63,44 @@ | ... | @@ -63,52 +63,44 @@ |
63 | </el-form-item> | 63 | </el-form-item> |
64 | </el-col> | 64 | </el-col> |
65 | <el-col :span="8"> | 65 | <el-col :span="8"> |
66 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> | 66 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地面积:"> |
67 | <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input> | 67 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> |
68 | </el-form-item> | 68 | </el-form-item> |
69 | </el-col> | 69 | </el-col> |
70 | </el-row> | 70 | </el-row> |
71 | <el-row :gutter="10"> | 71 | <el-row :gutter="10"> |
72 | <el-col :span="8"> | 72 | <el-col :span="8"> |
73 | <el-form-item :class="flag ? 'marginBot0' : ''" label="宗地代码:"> | 73 | <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> |
74 | <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input> | 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.zdmj"></el-input> | ||
80 | </el-form-item> | 75 | </el-form-item> |
81 | </el-col> | 76 | </el-col> |
82 | <el-col :span="8"> | 77 | <el-col :span="16"> |
83 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利性质:"> | 78 | <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> |
84 | <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input> | 79 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> |
85 | </el-form-item> | 80 | </el-form-item> |
86 | </el-col> | 81 | </el-col> |
87 | </el-row> | 82 | </el-row> |
88 | <el-row :gutter="10"> | 83 | <el-row :gutter="10"> |
89 | <el-col :span="8"> | 84 | <el-col :span="8"> |
90 | <el-form-item :class="flag ? 'marginBot0' : ''" label="土地用途:"> | 85 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利人:" prop="qlxx.qlrmc"> |
91 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | 86 | <el-input disabled v-model="ruleForm.qlxx.ywrmc"></el-input> |
92 | </el-form-item> | 87 | </el-form-item> |
93 | </el-col> | 88 | </el-col> |
94 | <el-col :span="8"> | 89 | <el-col :span="8"> |
95 | <el-form-item :class="flag ? 'marginBot0' : ''" label="权利设定方式:"> | 90 | <el-form-item :class="flag ? 'marginBot0' : ''" label="证件号:"> |
96 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> | 91 | <el-input disabled v-model="ruleForm.qlxx.ywrzjhm"></el-input> |
97 | </el-form-item> | 92 | </el-form-item> |
98 | </el-col> | 93 | </el-col> |
99 | <el-col :span="8"> | 94 | <el-col :span="8"> |
100 | <el-form-item :class="flag ? 'marginBot0' : ''" label="取得价格:"> | 95 | <el-form-item :class="flag ? 'marginBot0' : ''" label="证件种类:"> |
101 | <el-input disabled v-model="ruleForm.zdjbxx.qdjg"></el-input> | 96 | <el-input disabled v-model="ruleForm.qlxx.ywrzjzl"></el-input> |
102 | </el-form-item> | ||
103 | </el-col> | ||
104 | </el-row> | ||
105 | <el-row :gutter="10"> | ||
106 | <el-col :span="16"> | ||
107 | <el-form-item :class="flag ? 'marginBot0' : ''" label="坐落:"> | ||
108 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | ||
109 | </el-form-item> | 97 | </el-form-item> |
110 | </el-col> | 98 | </el-col> |
111 | </el-row> | 99 | </el-row> |
100 | <div class="slxx_title title-block"> | ||
101 | 查封信息 | ||
102 | <div class="triangle"></div> | ||
103 | </div> | ||
112 | <el-row :gutter="10"> | 104 | <el-row :gutter="10"> |
113 | <el-col :span="8"> | 105 | <el-col :span="8"> |
114 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> | 106 | <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> |
... | @@ -163,15 +155,6 @@ | ... | @@ -163,15 +155,6 @@ |
163 | </el-form-item> | 155 | </el-form-item> |
164 | </el-col> | 156 | </el-col> |
165 | </el-row> | 157 | </el-row> |
166 | <div class="slxx_title title-block"> | ||
167 | 不动产权利人信息 | ||
168 | <div class="triangle"></div> | ||
169 | </div> | ||
170 | <sqrViewTable :tableData="ruleForm.ywrList" /> | ||
171 | <div class="slxx_title title-block"> | ||
172 | 登记原因 | ||
173 | <div class="triangle"></div> | ||
174 | </div> | ||
175 | <el-row :gutter="10"> | 158 | <el-row :gutter="10"> |
176 | <el-col> | 159 | <el-col> |
177 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> | 160 | <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> |
... | @@ -240,7 +223,7 @@ export default { | ... | @@ -240,7 +223,7 @@ export default { |
240 | }, | 223 | }, |
241 | onSubmit () { | 224 | onSubmit () { |
242 | saveData(this.ruleForm).then((res) => { | 225 | saveData(this.ruleForm).then((res) => { |
243 | if (res.code === 200 && res.result) { | 226 | if (res.code === 200) { |
244 | this.$message.success('保存成功'); | 227 | this.$message.success('保存成功'); |
245 | } | 228 | } |
246 | }); | 229 | }); | ... | ... |
... | @@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/bdcql.js"; | ... | @@ -58,7 +58,7 @@ import { datas, sendThis } from "../javascript/bdcql.js"; |
58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 58 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
59 | import table from "@/utils/mixin/table"; | 59 | import table from "@/utils/mixin/table"; |
60 | import jump from "../components/mixin/jump"; | 60 | import jump from "../components/mixin/jump"; |
61 | import { selectQlxx, startBusinessFlow } from "@/api/ywbl.js"; | 61 | import { selectQlxx, startBusinessFlow, choiceBdcdy } from "@/api/ywbl.js"; |
62 | export default { | 62 | export default { |
63 | mixins: [table, jump], | 63 | mixins: [table, jump], |
64 | props: { | 64 | props: { |
... | @@ -102,6 +102,7 @@ export default { | ... | @@ -102,6 +102,7 @@ export default { |
102 | return; | 102 | return; |
103 | } | 103 | } |
104 | this.saveloding = true; | 104 | this.saveloding = true; |
105 | if (!this.isJump) { | ||
105 | startBusinessFlow({ | 106 | startBusinessFlow({ |
106 | bsmSqyw: Cookies.get("bsmSqyw"), | 107 | bsmSqyw: Cookies.get("bsmSqyw"), |
107 | bdcdysz: this.bdcdysz, | 108 | bdcdysz: this.bdcdysz, |
... | @@ -115,18 +116,34 @@ export default { | ... | @@ -115,18 +116,34 @@ export default { |
115 | message: '发起申请成功', | 116 | message: '发起申请成功', |
116 | type: 'success' | 117 | type: 'success' |
117 | }) | 118 | }) |
118 | if (!this.isJump) { | ||
119 | this.jump(res.result, this.djywbm) | 119 | this.jump(res.result, this.djywbm) |
120 | } else { | 120 | } else { |
121 | this.$emit('updateDialog', true) | 121 | this.$message.error(res.message); |
122 | } | 122 | } |
123 | }) | ||
124 | } else { | ||
125 | choiceBdcdy({ | ||
126 | bsmSlsq: this.$route.query.bsmSlsq, | ||
127 | bdcdysz: this.bdcdysz | ||
128 | }).then(res => { | ||
129 | this.saveloding = false; | ||
130 | if (res.code == 200) { | ||
131 | this.$message({ | ||
132 | showClose: true, | ||
133 | message: '发起申请成功', | ||
134 | type: 'success' | ||
135 | }) | ||
136 | this.$emit('updateDialog', true) | ||
123 | } else { | 137 | } else { |
124 | this.$message.error(res.message); | 138 | this.$message.error(res.message); |
125 | } | 139 | } |
126 | }); | 140 | }) |
141 | } | ||
127 | }, | 142 | }, |
128 | handleSelectionChange (val) { | 143 | handleSelectionChange (val) { |
129 | val.forEach((item, index) => { | 144 | val.forEach((item, index) => { |
145 | item.bsmSsql = item.bsmQlxx | ||
146 | item.ybdcqzsh = item.bdcqzh | ||
130 | item.yqllx = item.qllx | 147 | item.yqllx = item.qllx |
131 | item.ydjlx = item.djlx | 148 | item.ydjlx = item.djlx |
132 | }) | 149 | }) | ... | ... |
-
Please register or sign in to post a comment