5eb79b02 by tianhaohao@pashanhoo.com

添加批量操作

1 parent 37cbb2d1
...@@ -107,19 +107,19 @@ export default { ...@@ -107,19 +107,19 @@ export default {
107 switch (qllx) { 107 switch (qllx) {
108 case 'A04': 108 case 'A04':
109 this.showBatch = true; 109 this.showBatch = true;
110 this.batchButtonName = '批量房屋操作'; 110 this.batchButtonName = '房屋批量操作';
111 break; 111 break;
112 case 'B39': 112 case 'B39':
113 this.showBatch = true; 113 this.showBatch = true;
114 this.batchButtonName = '批量查封操作'; 114 this.batchButtonName = '查封批量操作';
115 break; 115 break;
116 case 'A37': 116 case 'A37':
117 this.showBatch = true; 117 this.showBatch = true;
118 this.batchButtonName = '批量抵押操作'; 118 this.batchButtonName = '抵押批量操作';
119 break; 119 break;
120 case 'B37': 120 case 'B37':
121 this.showBatch = true; 121 this.showBatch = true;
122 this.batchButtonName = '批量在建工程抵押操作'; 122 this.batchButtonName = '在建工程抵押批量操作';
123 break; 123 break;
124 } 124 }
125 } 125 }
......
...@@ -32,12 +32,12 @@ ...@@ -32,12 +32,12 @@
32 <el-row :gutter="10" v-if="ruleForm.slsq"> 32 <el-row :gutter="10" v-if="ruleForm.slsq">
33 <el-col :span="8"> 33 <el-col :span="8">
34 <el-form-item label="权利类型:"> 34 <el-form-item label="权利类型:">
35 <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input> 35 <el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 <el-col :span="8"> 38 <el-col :span="8">
39 <el-form-item label="登记类型:"> 39 <el-form-item label="登记类型:">
40 <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input> 40 <el-input disabled v-model="ruleForm.sldyList[0].djlxmc"></el-input>
41 </el-form-item> 41 </el-form-item>
42 </el-col> 42 </el-col>
43 <el-col :span="8"> 43 <el-col :span="8">
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 <el-col :span="14"> 102 <el-col :span="14">
103 <el-form-item label="共有方式:"> 103 <el-form-item label="共有方式:">
104 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" 104 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo"
105 v-model="ruleForm.sldy.gyfs"> 105 v-model="ruleForm.sldyList[0].gyfs">
106 <el-radio label="0">单独所有</el-radio> 106 <el-radio label="0">单独所有</el-radio>
107 <el-radio label="1">共同共有</el-radio> 107 <el-radio label="1">共同共有</el-radio>
108 <el-radio label="2">按份所有</el-radio> 108 <el-radio label="2">按份所有</el-radio>
...@@ -114,13 +114,13 @@ ...@@ -114,13 +114,13 @@
114 114
115 <el-col :span="5" v-show=" ruleForm.slsq.gyfs == '2'"> 115 <el-col :span="5" v-show=" ruleForm.slsq.gyfs == '2'">
116 <el-form-item label="是否分别持证:"> 116 <el-form-item label="是否分别持证:">
117 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 117 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz">
118 <el-radio label="1"></el-radio> 118 <el-radio label="1"></el-radio>
119 <el-radio label="0"></el-radio> 119 <el-radio label="0"></el-radio>
120 </el-radio-group> 120 </el-radio-group>
121 </el-form-item> 121 </el-form-item>
122 </el-col> 122 </el-col>
123 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 123 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
124 <el-form-item label="持证人:"> 124 <el-form-item label="持证人:">
125 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人"> 125 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人">
126 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 126 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -192,6 +192,7 @@ export default { ...@@ -192,6 +192,7 @@ export default {
192 ,qlxxList:[]//权利信息集合 192 ,qlxxList:[]//权利信息集合
193 ,sldyList:[]//受理不动产单元集合 193 ,sldyList:[]//受理不动产单元集合
194 ,slsq: {}//受理申请流程明细 194 ,slsq: {}//受理申请流程明细
195 ,flow: {}//受理申请流程明细
195 ,sqrList:[]//申请人 196 ,sqrList:[]//申请人
196 ,ssQlxxList:[]//上手权利信息 197 ,ssQlxxList:[]//上手权利信息
197 ,user:{}//用户 198 ,user:{}//用户
......
1 <template> 1 <template>
2 <!-- 受理信息 --> 2 <!-- 受理信息 -->
3 <div class="slxx"> 3 <div class="slxx">
4 <el-form :model="ruleForm" :rules="rules" class="loadingtext" :label-position="flag ? 'top' : ''" 4 <el-form class="loadingtext" :label-position="flag ? 'top' : ''"
5 :inline="flag" label-width="140px"> 5 :inline="flag" label-width="140px">
6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> 6 <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''">
7 <div class="slxx_title title-block"> 7 <div class="slxx_title title-block">
...@@ -27,17 +27,17 @@ ...@@ -27,17 +27,17 @@
27 </el-row> 27 </el-row>
28 <el-row :gutter="10"> 28 <el-row :gutter="10">
29 <el-col :span="8"> 29 <el-col :span="8">
30 <el-form-item label="权利类型:" prop="qllx"> 30 <el-form-item label="权利类型1:">
31 <el-input disabled v-model="ruleForm.sldy[0].qllxmc"></el-input> 31 <el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="8"> 34 <el-col :span="8">
35 <el-form-item label="登记类型:" prop="djlx"> 35 <el-form-item label="登记类型:">
36 <el-input disabled v-model="ruleForm.sldy[0].djlxmc"></el-input> 36 <el-input disabled v-model="ruleForm.sldyList[0].djlxmc"></el-input>
37 </el-form-item> 37 </el-form-item>
38 </el-col> 38 </el-col>
39 <el-col :span="8"> 39 <el-col :span="8">
40 <el-form-item label="登记情形:" prop="djqx"> 40 <el-form-item label="登记情形:">
41 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input> 41 <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input>
42 </el-form-item> 42 </el-form-item>
43 </el-col> 43 </el-col>
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
56 <el-col :span="8"> 56 <el-col :span="8">
57 <el-form-item label="抵押方式:"> 57 <el-form-item label="抵押方式:">
58 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> --> 58 <!-- <el-input disabled v-model="ruleForm.slywxx.djqxmc"></el-input> -->
59 <el-radio-group disabled v-model="ruleForm.diyaq[0].dyfs"> 59 <el-radio-group disabled v-model="ruleForm.diyaqList[0].dyfs">
60 <el-radio label="1">一般抵押</el-radio> 60 <el-radio label="1">一般抵押</el-radio>
61 <el-radio label="2">最高额抵押</el-radio> 61 <el-radio label="2">最高额抵押</el-radio>
62 </el-radio-group> 62 </el-radio-group>
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
64 </el-col> 64 </el-col>
65 <el-col :span="16"> 65 <el-col :span="16">
66 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> 66 <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px">
67 <el-radio-group v-model="ruleForm.diyaq[0].sfczjzhxz"> 67 <el-radio-group v-model="ruleForm.diyaqList[0].sfczjzhxz">
68 <el-radio label="1">启用</el-radio> 68 <el-radio label="1">启用</el-radio>
69 <el-radio label="0">禁用</el-radio> 69 <el-radio label="0">禁用</el-radio>
70 </el-radio-group> 70 </el-radio-group>
...@@ -73,27 +73,27 @@ ...@@ -73,27 +73,27 @@
73 </el-row> 73 </el-row>
74 74
75 <el-row :gutter="10"> 75 <el-row :gutter="10">
76 <el-col :span="8" v-show="ruleForm.diyaq[0].dyfs == 1"> 76 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
77 <el-form-item label="被担保主债权数额:"> 77 <el-form-item label="被担保主债权数额:">
78 <el-input v-model="ruleForm.diyaq[0].bdbzzqse"></el-input> 78 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse"></el-input>
79 </el-form-item> 79 </el-form-item>
80 </el-col> 80 </el-col>
81 81
82 <el-col :span="8" v-show="ruleForm.diyaq[0].dyfs == 2"> 82 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2">
83 <el-form-item label="最高债权额:"> 83 <el-form-item label="最高债权额:">
84 <el-input v-model="ruleForm.diyaq[0].zgzqse"></el-input> 84 <el-input v-model="ruleForm.diyaqList[0].zgzqse"></el-input>
85 </el-form-item> 85 </el-form-item>
86 </el-col> 86 </el-col>
87 87
88 <el-col :span="8"> 88 <el-col :span="8">
89 <el-form-item label="债务履行起始时间:"> 89 <el-form-item label="债务履行起始时间:">
90 <el-date-picker v-model="ruleForm.diyaq[0].zwlxqssj" type="date"> 90 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxqssj" type="date">
91 </el-date-picker> 91 </el-date-picker>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item label="债务履行结束时间:"> 95 <el-form-item label="债务履行结束时间:">
96 <el-date-picker v-model="ruleForm.diyaq[0].zwlxjssj" type="date"> 96 <el-date-picker v-model="ruleForm.diyaqList[0].zwlxjssj" type="date">
97 </el-date-picker> 97 </el-date-picker>
98 </el-form-item> 98 </el-form-item>
99 </el-col> 99 </el-col>
...@@ -102,22 +102,22 @@ ...@@ -102,22 +102,22 @@
102 <el-row> 102 <el-row>
103 <el-col :span="24"> 103 <el-col :span="24">
104 <el-form-item label="担保范围:"> 104 <el-form-item label="担保范围:">
105 <el-input v-model="ruleForm.diyaq[0].dbfw" 105 <el-input v-model="ruleForm.diyaqList[0].dbfw"
106 :disabled="$route.query.viewtype == 1 || ruleForm.sldy.djlx == '300'"></el-input> 106 :disabled="$route.query.viewtype == 1 || ruleForm.sldyList[0].djlx == '300'"></el-input>
107 </el-form-item> 107 </el-form-item>
108 </el-col> 108 </el-col>
109 </el-row> 109 </el-row>
110 <el-row> 110 <el-row>
111 <el-col :span="24"> 111 <el-col :span="24">
112 <el-form-item label="最高债权确定事实和数额:"> 112 <el-form-item label="最高债权确定事实和数额:">
113 <el-input v-model="ruleForm.diyaq[0].zgzqqdss"></el-input> 113 <el-input v-model="ruleForm.diyaqList[0].zgzqqdss"></el-input>
114 </el-form-item> 114 </el-form-item>
115 </el-col> 115 </el-col>
116 </el-row> 116 </el-row>
117 <el-row> 117 <el-row>
118 <el-col> 118 <el-col>
119 <el-form-item label="附记:" prop="fj"> 119 <el-form-item label="附记:" prop="fj">
120 <el-input type="textarea" v-model="ruleForm.diyaq[0].fj" :disabled="$route.query.viewtype == 1"></el-input> 120 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="$route.query.viewtype == 1"></el-input>
121 </el-form-item> 121 </el-form-item>
122 </el-col> 122 </el-col>
123 </el-row> 123 </el-row>
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
129 <el-row :gutter="10"> 129 <el-row :gutter="10">
130 <el-col :span="14"> 130 <el-col :span="14">
131 <el-form-item label="共有方式:"> 131 <el-form-item label="共有方式:">
132 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy[0].gyfs"> 132 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldyList[0].gyfs">
133 <el-radio label="0">单独所有</el-radio> 133 <el-radio label="0">单独所有</el-radio>
134 <el-radio label="1">共同共有</el-radio> 134 <el-radio label="1">共同共有</el-radio>
135 <el-radio label="2">按份所有</el-radio> 135 <el-radio label="2">按份所有</el-radio>
...@@ -137,15 +137,15 @@ ...@@ -137,15 +137,15 @@
137 </el-radio-group> 137 </el-radio-group>
138 </el-form-item> 138 </el-form-item>
139 </el-col> 139 </el-col>
140 <el-col :span="5" v-show="ruleForm.sldy[0].gyfs == '2'"> 140 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
141 <el-form-item label="是否分别持证:"> 141 <el-form-item label="是否分别持证:">
142 <el-radio-group v-model="ruleForm.sldy[0].sqfbcz"> 142 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz">
143 <el-radio label="1"></el-radio> 143 <el-radio label="1"></el-radio>
144 <el-radio label="0"></el-radio> 144 <el-radio label="0"></el-radio>
145 </el-radio-group> 145 </el-radio-group>
146 </el-form-item> 146 </el-form-item>
147 </el-col> 147 </el-col>
148 <el-col :span="5" v-show="ruleForm.sldy[0].gyfs == '2'"> 148 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
149 <el-form-item label="持证人:"> 149 <el-form-item label="持证人:">
150 <el-select v-model="ruleForm.czr" placeholder="持证人"> 150 <el-select v-model="ruleForm.czr" placeholder="持证人">
151 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 151 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
155 </el-col> 155 </el-col>
156 </el-row> 156 </el-row>
157 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" 157 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList"
158 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy[0].gyfs" /> 158 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldyList[0].gyfs" />
159 <div class="slxx_title title-block"> 159 <div class="slxx_title title-block">
160 抵押人信息 160 抵押人信息
161 <div class="triangle"></div> 161 <div class="triangle"></div>
...@@ -169,14 +169,14 @@ ...@@ -169,14 +169,14 @@
169 </div> 169 </div>
170 <el-row :gutter="10"> 170 <el-row :gutter="10">
171 <el-col> 171 <el-col>
172 <el-form-item v-if="ruleForm.sldy[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 172 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
173 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 173 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
174 v-model="ruleForm.diyaq[0].zxdyyy"> 174 v-model="ruleForm.diyaqList[0].zxdyyy">
175 </el-input> 175 </el-input>
176 </el-form-item> 176 </el-form-item>
177 <el-form-item v-else label="登记原因:" prop="djyy"> 177 <el-form-item v-else label="登记原因:" prop="djyy">
178 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 178 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1"
179 v-model="ruleForm.diyaq[0].djyy"> 179 v-model="ruleForm.diyaqList[0].djyy">
180 </el-input> 180 </el-input>
181 </el-form-item> 181 </el-form-item>
182 </el-col> 182 </el-col>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
196 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js"; 196 import { bacthInit, saveBatchData } from "@/api/workflow/zjgcdyFlow.js";
197 import { mapGetters } from "vuex"; 197 import { mapGetters } from "vuex";
198 export default { 198 export default {
199 mounted () { 199 created () {
200 this.ableOperation = this.$parent.currentSelectTab.ableOperation 200 this.ableOperation = this.$parent.currentSelectTab.ableOperation
201 this.propsParam = this.$attrs; 201 this.propsParam = this.$attrs;
202 var formdata = new FormData(); 202 var formdata = new FormData();
...@@ -207,7 +207,9 @@ ...@@ -207,7 +207,9 @@
207 formdata.append("isEdit", this.ableOperation); 207 formdata.append("isEdit", this.ableOperation);
208 bacthInit(formdata).then((res) => { 208 bacthInit(formdata).then((res) => {
209 if (res.code === 200 && res.result) { 209 if (res.code === 200 && res.result) {
210 this.ruleForm = res.result; 210 // this.$nextTick(()=>{this.ruleForm = res.result;})
211 this.ruleForm = res.result;
212 console.log(this.ruleForm);
211 this.$endLoading(); 213 this.$endLoading();
212 } 214 }
213 }) 215 })
...@@ -222,7 +224,21 @@ ...@@ -222,7 +224,21 @@
222 ableOperation: true, 224 ableOperation: true,
223 disabled: true, 225 disabled: true,
224 czrOptions: [], 226 czrOptions: [],
225 ruleForm: {}, 227 ruleForm: {
228 // cfdjList:[]//查封登记
229 // ,diyaqList:[]//抵押权
230 // ,fdcq2List:[]//房屋信息集合
231 // ,qlrList:[]//权利人
232 // ,ywrList:[]//义务人
233 // ,qlxxList:[]//权利信息集合
234 // ,sldyList:[]//受理不动产单元集合
235 // ,slsq: {}//受理申请流程明细
236 // ,flow: {}//受理申请流程明细
237 // ,sqrList:[]//申请人
238 // ,ssQlxxList:[]//上手权利信息
239 // ,user:{}//用户
240 // ,zdjbxx: {}//宗地基本信息
241 },
226 //传递参数 242 //传递参数
227 propsParam: {}, 243 propsParam: {},
228 rules: {}, 244 rules: {},
......
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
259 if (res.code === 200 && res.result) { 259 if (res.code === 200 && res.result) {
260 this.ruleForm = res.result; 260 this.ruleForm = res.result;
261 this.$endLoading(); 261 this.$endLoading();
262 this.ruleForm.diyaq.sfczjzhxz = "0"; 262 //this.ruleForm.diyaq.sfczjzhxz = "0";
263 } 263 }
264 }) 264 })
265 }, 265 },
......