b9d5dc01 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 4c9d459e 343c937e
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 * @Author: sakuya 4 * @Author: sakuya
5 * @Date: 2021年6月10日10:04:07 5 * @Date: 2021年6月10日10:04:07
6 * @LastEditors: Please set LastEditors 6 * @LastEditors: Please set LastEditors
7 * @LastEditTime: 2023-07-27 14:49:53 7 * @LastEditTime: 2023-07-28 09:49:26
8 --> 8 -->
9 9
10 <template> 10 <template>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:57 4 * @LastEditTime: 2023-07-28 09:34:54
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clmlmx-box"> 7 <div class="clmlmx-box">
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
162 var formdata = new FormData(); 162 var formdata = new FormData();
163 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); 163 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
164 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 164 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
165 formdata.append("clfl", 2);
165 InitClml(formdata).then((res) => { 166 InitClml(formdata).then((res) => {
166 if (res.code == 200) { 167 if (res.code == 200) {
167 resolve(res.code) 168 resolve(res.code)
......
...@@ -407,6 +407,7 @@ ...@@ -407,6 +407,7 @@
407 <el-date-picker 407 <el-date-picker
408 v-model="ruleForm.qlxx.djsj" 408 v-model="ruleForm.qlxx.djsj"
409 type="date" 409 type="date"
410 class="width100"
410 placeholder="选择日期" 411 placeholder="选择日期"
411 value-format="yyyy-MM-dd HH:mm:ss" 412 value-format="yyyy-MM-dd HH:mm:ss"
412 format="yyyy-MM-dd" 413 format="yyyy-MM-dd"
......
...@@ -115,12 +115,40 @@ ...@@ -115,12 +115,40 @@
115 </el-col> 115 </el-col>
116 <el-col :span="8"> 116 <el-col :span="8">
117 <el-form-item label="独用土地面积:"> 117 <el-form-item label="独用土地面积:">
118 <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> 118 <div class="flex">
119 <el-input v-model="ruleForm.fdcq2.dytdmj"
120 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
121 <el-select
122 v-model="ruleForm.fdcq2.mjdw"
123 :disabled="!ableOperation"
124 style="width: 20%">
125 <el-option
126 v-for="item in dictData['A7']"
127 :key="item.dcode"
128 :label="item.dname"
129 :value="item.dcode">
130 </el-option>
131 </el-select>
132 </div>
119 </el-form-item> 133 </el-form-item>
120 </el-col> 134 </el-col>
121 <el-col :span="8"> 135 <el-col :span="8">
122 <el-form-item label="分摊土地面积:"> 136 <el-form-item label="分摊土地面积:">
123 <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> 137 <div class="flex">
138 <el-input v-model="ruleForm.fdcq2.fttdmj"
139 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
140 <el-select
141 v-model="ruleForm.fdcq2.mjdw"
142 :disabled="!ableOperation"
143 style="width: 20%">
144 <el-option
145 v-for="item in dictData['A7']"
146 :key="item.dcode"
147 :label="item.dname"
148 :value="item.dcode">
149 </el-option>
150 </el-select>
151 </div>
124 </el-form-item> 152 </el-form-item>
125 </el-col> 153 </el-col>
126 <el-col :span="8"> 154 <el-col :span="8">
...@@ -137,10 +165,12 @@ ...@@ -137,10 +165,12 @@
137 </el-col> 165 </el-col>
138 <el-col :span="8"> 166 <el-col :span="8">
139 <el-form-item label="房地产交易价格:"> 167 <el-form-item label="房地产交易价格:">
140 <div style="display: flex"> 168 <div class="flex">
141 <el-input 169 <el-input
142 v-model="ruleForm.fdcq2.qjjg" 170 v-model="ruleForm.fdcq2.qjjg"
143 style="width: 500%"></el-input> 171 style="width: 500%"
172 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
173 ></el-input>
144 <el-select v-model="ruleForm.fdcq2.jedw"> 174 <el-select v-model="ruleForm.fdcq2.jedw">
145 <el-option 175 <el-option
146 v-for="item in dictData['A57']" 176 v-for="item in dictData['A57']"
...@@ -225,17 +255,59 @@ ...@@ -225,17 +255,59 @@
225 </el-col> 255 </el-col>
226 <el-col :span="8"> 256 <el-col :span="8">
227 <el-form-item label="建筑面积:"> 257 <el-form-item label="建筑面积:">
228 <el-input v-model="ruleForm.fdcq2.jzmj"></el-input> 258 <div class="flex">
259 <el-input v-model="ruleForm.fdcq2.jzmj"
260 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
261 <el-select
262 v-model="ruleForm.fdcq2.mjdw"
263 :disabled="!ableOperation"
264 style="width: 20%">
265 <el-option
266 v-for="item in dictData['A7']"
267 :key="item.dcode"
268 :label="item.dname"
269 :value="item.dcode">
270 </el-option>
271 </el-select>
272 </div>
229 </el-form-item> 273 </el-form-item>
230 </el-col> 274 </el-col>
231 <el-col :span="8"> 275 <el-col :span="8">
232 <el-form-item label="专有建筑面积:"> 276 <el-form-item label="专有建筑面积:">
233 <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> 277 <div class="flex">
278 <el-input v-model="ruleForm.fdcq2.zyjzmj"
279 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
280 <el-select
281 v-model="ruleForm.fdcq2.mjdw"
282 :disabled="!ableOperation"
283 style="width: 20%">
284 <el-option
285 v-for="item in dictData['A7']"
286 :key="item.dcode"
287 :label="item.dname"
288 :value="item.dcode">
289 </el-option>
290 </el-select>
291 </div>
234 </el-form-item> 292 </el-form-item>
235 </el-col> 293 </el-col>
236 <el-col :span="8"> 294 <el-col :span="8">
237 <el-form-item label="分摊建筑面积:"> 295 <el-form-item label="分摊建筑面积:">
238 <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> 296 <div class="flex">
297 <el-input v-model="ruleForm.fdcq2.ftjzmj"
298 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
299 <el-select
300 v-model="ruleForm.fdcq2.mjdw"
301 :disabled="!ableOperation"
302 style="width: 20%">
303 <el-option
304 v-for="item in dictData['A7']"
305 :key="item.dcode"
306 :label="item.dname"
307 :value="item.dcode">
308 </el-option>
309 </el-select>
310 </div>
239 </el-form-item> 311 </el-form-item>
240 </el-col> 312 </el-col>
241 <el-col :span="8"> 313 <el-col :span="8">
...@@ -647,4 +719,10 @@ ...@@ -647,4 +719,10 @@
647 <style scoped lang="scss"> 719 <style scoped lang="scss">
648 @import "~@/styles/public.scss"; 720 @import "~@/styles/public.scss";
649 @import "~@/styles/slxx/slxx.scss"; 721 @import "~@/styles/slxx/slxx.scss";
722 .el-date-editor.el-input {
723 width: 100%;
724 }
725 .el-table__row {
726 height: 30px !important;
727 }
650 </style> 728 </style>
......
...@@ -45,6 +45,32 @@ ...@@ -45,6 +45,32 @@
45 <div class="triangle"></div> 45 <div class="triangle"></div>
46 </div> 46 </div>
47 <el-row :gutter="10"> 47 <el-row :gutter="10">
48 <el-col :span="8" v-if="ssqlxxshow">
49 <el-form-item label="上手权利信息:">
50 <select-table
51 v-model="ruleForm.ssQlxx"
52 :table-width="550"
53 :tableData="ssQlxxList"
54 :props="props"
55 @change="ssQlxxchange"
56 >
57 <el-table-column
58 prop="qllxmc"
59 width="130"
60 label="权利类型"
61 ></el-table-column>
62 <el-table-column
63 prop="bdcqzh"
64 width="160"
65 label="不动产权证书"
66 ></el-table-column>
67 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
68 <el-table-column prop="mjmc" label="面积"></el-table-column>
69 <el-table-column prop="ytmc" label="用途"></el-table-column>
70 <el-table-column prop="zl" label="坐落"></el-table-column>
71 </select-table>
72 </el-form-item>
73 </el-col>
48 <el-col :span="8"> 74 <el-col :span="8">
49 <el-form-item label="不动产单元号:"> 75 <el-form-item label="不动产单元号:">
50 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 76 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
8 <div class="slxx"> 8 <div class="slxx">
9 <el-form 9 <el-form
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 ref="ruleForm" 12 ref="ruleForm"
13 :class="{readonly: editDisabled }" 13 :class="{ readonly: editDisabled }"
14 class="loadingtext" 14 class="loadingtext"
15 :show-message="false" 15 :show-message="false"
16 :label-position="flag ? 'top' : ''" 16 :label-position="flag ? 'top' : ''"
17 :inline="flag" 17 :inline="flag"
18 label-width="120px" 18 label-width="120px"
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
43 土地所有权信息 43 土地所有权信息
44 <div class="triangle"></div> 44 <div class="triangle"></div>
45 </div> 45 </div>
46 <el-row :gutter="10" class="ssqlxx"> 46 <el-row :gutter="10">
47 <el-col :span="24" v-if="ssqlxxshow"> 47 <el-col :span="8" v-if="ssqlxxshow">
48 <el-form-item label="上手权利信息:"> 48 <el-form-item label="上手权利信息:">
49 <select-table 49 <select-table
50 v-model="ruleForm.ssQlxx" 50 v-model="ruleForm.ssQlxx"
...@@ -70,8 +70,6 @@ ...@@ -70,8 +70,6 @@
70 </select-table> 70 </select-table>
71 </el-form-item> 71 </el-form-item>
72 </el-col> 72 </el-col>
73 </el-row>
74 <el-row :gutter="10">
75 <el-col :span="8"> 73 <el-col :span="8">
76 <el-form-item label="不动产单元号:"> 74 <el-form-item label="不动产单元号:">
77 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> 75 <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input>
...@@ -95,7 +93,11 @@ ...@@ -95,7 +93,11 @@
95 </el-form-item> 93 </el-form-item>
96 </el-col> 94 </el-col>
97 <el-col :span="8"> 95 <el-col :span="8">
98 <el-form-item label="登记类型:" prop="qlxx.djlx" :rules="rules.djlxrules"> 96 <el-form-item
97 label="登记类型:"
98 prop="qlxx.djlx"
99 :rules="rules.djlxrules"
100 >
99 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 101 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
100 <el-option 102 <el-option
101 v-for="item in djlxlist" 103 v-for="item in djlxlist"
...@@ -125,7 +127,7 @@ ...@@ -125,7 +127,7 @@
125 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 127 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
126 </el-form-item> 128 </el-form-item>
127 </el-col> 129 </el-col>
128 <!-- <el-col :span="8"> 130 <!-- <el-col :span="8">
129 <el-form-item 131 <el-form-item
130 label="区县代码:" 132 label="区县代码:"
131 prop="qlxx.qxdm" 133 prop="qlxx.qxdm"
...@@ -134,7 +136,7 @@ ...@@ -134,7 +136,7 @@
134 <el-input v-model="ruleForm.qlxx.qxdm"></el-input> 136 <el-input v-model="ruleForm.qlxx.qxdm"></el-input>
135 </el-form-item> 137 </el-form-item>
136 </el-col> --> 138 </el-col> -->
137 <el-col :span="8"> 139 <el-col :span="8">
138 <el-form-item 140 <el-form-item
139 label="不动产权证号:" 141 label="不动产权证号:"
140 prop="qlxx.bdcqzh" 142 prop="qlxx.bdcqzh"
...@@ -166,77 +168,174 @@ ...@@ -166,77 +168,174 @@
166 <el-row :gutter="10"> 168 <el-row :gutter="10">
167 <el-col :span="8"> 169 <el-col :span="8">
168 <el-form-item label="农用地面积:"> 170 <el-form-item label="农用地面积:">
169 <el-input 171 <div class="flex">
170 v-model="ruleForm.tdsyq.nydmj" 172 <el-input
171 :disabled="!ableOperation" 173 v-model="ruleForm.tdsyq.nydmj"
172 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 174 :disabled="!ableOperation"
173 ></el-input> 175 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
176 ></el-input>
177 <el-select
178 v-model="ruleForm.tdsyq.mjdw"
179 :disabled="!ableOperation"
180 style="width: 20%"
181 >
182 <el-option
183 v-for="item in dictData['A7']"
184 :key="item.dcode"
185 :label="item.dname"
186 :value="item.dcode"
187 >
188 </el-option>
189 </el-select>
190 </div>
174 </el-form-item> 191 </el-form-item>
175 </el-col> 192 </el-col>
176 <el-col :span="8"> 193 <el-col :span="8">
177 <el-form-item label="耕地面积:"> 194 <el-form-item label="耕地面积:">
178 <el-input 195 <div class="flex">
179 v-model="ruleForm.tdsyq.gdmj" 196 <el-input
180 :disabled="!ableOperation" 197 v-model="ruleForm.tdsyq.gdmj"
181 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 198 :disabled="!ableOperation"
182 ></el-input> 199 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
200 ></el-input>
201 <el-select
202 v-model="ruleForm.tdsyq.mjdw"
203 :disabled="!ableOperation"
204 style="width: 20%"
205 >
206 <el-option
207 v-for="item in dictData['A7']"
208 :key="item.dcode"
209 :label="item.dname"
210 :value="item.dcode"
211 >
212 </el-option>
213 </el-select>
214 </div>
183 </el-form-item> 215 </el-form-item>
184 </el-col> 216 </el-col>
185 <el-col :span="8"> 217 <el-col :span="8">
186 <el-form-item label="林地面积:"> 218 <el-form-item label="林地面积:">
187 <el-input 219 <div class="flex">
188 v-model="ruleForm.tdsyq.ldmj" 220 <el-input
189 :disabled="!ableOperation" 221 v-model="ruleForm.tdsyq.ldmj"
190 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 222 :disabled="!ableOperation"
191 ></el-input> 223 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
224 ></el-input>
225 <el-select
226 v-model="ruleForm.tdsyq.mjdw"
227 :disabled="!ableOperation"
228 style="width: 20%"
229 >
230 <el-option
231 v-for="item in dictData['A7']"
232 :key="item.dcode"
233 :label="item.dname"
234 :value="item.dcode"
235 >
236 </el-option>
237 </el-select>
238 </div>
192 </el-form-item> 239 </el-form-item>
193 </el-col> 240 </el-col>
194 </el-row> 241 </el-row>
195 <el-row :gutter="10"> 242 <el-row :gutter="10">
196 <el-col :span="8"> 243 <el-col :span="8">
197 <el-form-item label="草地面积:"> 244 <el-form-item label="草地面积:">
198 <el-input 245 <div class="flex">
199 v-model="ruleForm.tdsyq.cdmj" 246 <el-input
200 :disabled="!ableOperation" 247 v-model="ruleForm.tdsyq.cdmj"
201 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null" 248 :disabled="!ableOperation"
202 ></el-input> 249 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
250 ></el-input>
251 <el-select
252 v-model="ruleForm.tdsyq.mjdw"
253 :disabled="!ableOperation"
254 style="width: 20%"
255 >
256 <el-option
257 v-for="item in dictData['A7']"
258 :key="item.dcode"
259 :label="item.dname"
260 :value="item.dcode"
261 >
262 </el-option>
263 </el-select>
264 </div>
203 </el-form-item> 265 </el-form-item>
204 </el-col> 266 </el-col>
205 <el-col :span="8"> 267 <el-col :span="8">
206 <el-form-item label="其他农用地面积:"> 268 <el-form-item label="其他农用地面积:">
207 <el-input 269 <div class="flex">
208 v-model="ruleForm.tdsyq.qtnydmj" 270 <el-input
209 :disabled="!ableOperation" 271 v-model="ruleForm.tdsyq.qtnydmj"
210 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 272 :disabled="!ableOperation"
211 ></el-input> 273 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
274 ></el-input>
275 <el-select
276 v-model="ruleForm.tdsyq.mjdw"
277 :disabled="!ableOperation"
278 style="width: 20%"
279 >
280 <el-option
281 v-for="item in dictData['A7']"
282 :key="item.dcode"
283 :label="item.dname"
284 :value="item.dcode"
285 >
286 </el-option>
287 </el-select>
288 </div>
212 </el-form-item> 289 </el-form-item>
213 </el-col> 290 </el-col>
214 <el-col :span="8"> 291 <el-col :span="8">
215 <el-form-item label="建筑使用面积:"> 292 <el-form-item label="建筑使用面积:">
216 <el-input 293 <div class="flex">
217 v-model="ruleForm.tdsyq.jsydmj" 294 <el-input
218 :disabled="!ableOperation" 295 v-model="ruleForm.tdsyq.jsydmj"
219 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 296 :disabled="!ableOperation"
220 ></el-input> 297 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
298 ></el-input>
299 <el-select
300 v-model="ruleForm.tdsyq.mjdw"
301 :disabled="!ableOperation"
302 style="width: 20%"
303 >
304 <el-option
305 v-for="item in dictData['A7']"
306 :key="item.dcode"
307 :label="item.dname"
308 :value="item.dcode"
309 >
310 </el-option>
311 </el-select>
312 </div>
221 </el-form-item> 313 </el-form-item>
222 </el-col> 314 </el-col>
223 </el-row> 315 </el-row>
224 <el-row :gutter="10"> 316 <el-row :gutter="10">
225 <el-col :span="8"> 317 <el-col :span="8">
226 <el-form-item label="未利用地面积:"> 318 <el-form-item label="未利用地面积:">
227 <el-input 319 <div class="flex">
228 v-model="ruleForm.tdsyq.wlydmj" 320 <el-input
229 :disabled="!ableOperation" 321 v-model="ruleForm.tdsyq.wlydmj"
230 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null" 322 :disabled="!ableOperation"
231 ></el-input> 323 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
232 </el-form-item> 324 ></el-input>
233 </el-col> 325 <el-select
234 <el-col :span="8"> 326 v-model="ruleForm.tdsyq.mjdw"
235 <el-form-item label="面积单位:"> 327 :disabled="!ableOperation"
236 <el-input 328 style="width: 20%"
237 v-model="ruleForm.tdsyq.mjdw" 329 >
238 :disabled="!ableOperation" 330 <el-option
239 ></el-input> 331 v-for="item in dictData['A7']"
332 :key="item.dcode"
333 :label="item.dname"
334 :value="item.dcode"
335 >
336 </el-option>
337 </el-select>
338 </div>
240 </el-form-item> 339 </el-form-item>
241 </el-col> 340 </el-col>
242 <el-col :span="8"> 341 <el-col :span="8">
...@@ -248,6 +347,7 @@ ...@@ -248,6 +347,7 @@
248 <el-date-picker 347 <el-date-picker
249 v-model="ruleForm.qlxx.djsj" 348 v-model="ruleForm.qlxx.djsj"
250 type="date" 349 type="date"
350 class="width100"
251 placeholder="选择日期" 351 placeholder="选择日期"
252 value-format="yyyy-MM-dd HH:mm:ss" 352 value-format="yyyy-MM-dd HH:mm:ss"
253 format="yyyy-MM-dd" 353 format="yyyy-MM-dd"
...@@ -280,7 +380,7 @@ ...@@ -280,7 +380,7 @@
280 <el-col :span="12"> 380 <el-col :span="12">
281 <el-form-item label="共有方式:"> 381 <el-form-item label="共有方式:">
282 <el-radio-group 382 <el-radio-group
283 :disabled="!ableOperation" 383 :disabled="!ableOperation"
284 v-model="ruleForm.qlxx.gyfs" 384 v-model="ruleForm.qlxx.gyfs"
285 > 385 >
286 <el-radio label="0">单独所有</el-radio> 386 <el-radio label="0">单独所有</el-radio>
...@@ -310,16 +410,16 @@ ...@@ -310,16 +410,16 @@
310 <script> 410 <script>
311 import store from "@/store/index.js"; 411 import store from "@/store/index.js";
312 import { mapGetters } from "vuex"; 412 import { mapGetters } from "vuex";
313 import { init,getSsQlxx, save } from "@/api/djbRepair.js"; 413 import { init, getSsQlxx, save } from "@/api/djbRepair.js";
314 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 414 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
315 import selectTable from "@/components/selectTable/index.vue"; 415 import selectTable from "@/components/selectTable/index.vue";
316 import tdytTable from "@/views/workflow/components/tdytTable"; 416 import tdytTable from "@/views/workflow/components/tdytTable";
317 export default { 417 export default {
318 components: { qlrCommonTable, tdytTable ,selectTable}, 418 components: { qlrCommonTable, tdytTable, selectTable },
319 computed: { 419 computed: {
320 ...mapGetters(["dictData", "flag"]), 420 ...mapGetters(["dictData", "flag"]),
321 // 根据流程判断表单是否为只读 421 // 根据流程判断表单是否为只读
322 editDisabled() { 422 editDisabled() {
323 if (!this.ableOperation) { 423 if (!this.ableOperation) {
324 //只读状态 424 //只读状态
325 return true; 425 return true;
...@@ -329,8 +429,8 @@ export default { ...@@ -329,8 +429,8 @@ export default {
329 }, 429 },
330 data() { 430 data() {
331 return { 431 return {
332 ssqlxxshow:true, 432 ssqlxxshow: true,
333 props: { 433 props: {
334 label: "bdcqzh", 434 label: "bdcqzh",
335 value: "bdcdyid", 435 value: "bdcdyid",
336 }, 436 },
...@@ -390,9 +490,9 @@ export default { ...@@ -390,9 +490,9 @@ export default {
390 isShow: false, 490 isShow: false,
391 disabled: true, 491 disabled: true,
392 czrOptions: [], 492 czrOptions: [],
393 ssQlxxList: [], 493 ssQlxxList: [],
394 ruleForm: {}, 494 ruleForm: {},
395 ableOperation:false, 495 ableOperation: false,
396 //传递参数\ 496 //传递参数\
397 rules: { 497 rules: {
398 bdcqzhrules: [ 498 bdcqzhrules: [
...@@ -406,12 +506,10 @@ export default { ...@@ -406,12 +506,10 @@ export default {
406 }, 506 },
407 }; 507 };
408 }, 508 },
409 created() { 509 created() {},
410
411 },
412 mounted() { 510 mounted() {
413 this.loadData(); 511 this.loadData();
414 this.ableOperation=this.$parent.ableOperation 512 this.ableOperation = this.$parent.ableOperation;
415 }, 513 },
416 methods: { 514 methods: {
417 /** 515 /**
...@@ -419,7 +517,7 @@ export default { ...@@ -419,7 +517,7 @@ export default {
419 * @param {*} val 517 * @param {*} val
420 * @author: renchao 518 * @author: renchao
421 */ 519 */
422 ssQlxxchange(val) { 520 ssQlxxchange(val) {
423 this.ruleForm.ssQlxx = val; 521 this.ruleForm.ssQlxx = val;
424 this.ruleForm.qlxx.ssywh = val.ywh; 522 this.ruleForm.qlxx.ssywh = val.ywh;
425 }, 523 },
...@@ -428,8 +526,8 @@ export default { ...@@ -428,8 +526,8 @@ export default {
428 * @param {*} val 526 * @param {*} val
429 * @author: renchao 527 * @author: renchao
430 */ 528 */
431 djlxchange(val) { 529 djlxchange(val) {
432 console.log("val",val); 530 console.log("val", val);
433 if (val == null || val == 100) { 531 if (val == null || val == 100) {
434 this.ssqlxxshow = false; 532 this.ssqlxxshow = false;
435 } else { 533 } else {
...@@ -456,11 +554,11 @@ export default { ...@@ -456,11 +554,11 @@ export default {
456 init(this.propsParam).then((res) => { 554 init(this.propsParam).then((res) => {
457 if (res.code == 200) { 555 if (res.code == 200) {
458 this.ruleForm = res.result; 556 this.ruleForm = res.result;
459 let djlx = this.ruleForm.qlxx.djlx; 557 let djlx = this.ruleForm.qlxx.djlx;
460 if (djlx == null || djlx == 100) { 558 if (djlx == null || djlx == 100) {
461 this.ssqlxxshow = false; 559 this.ssqlxxshow = false;
462 } 560 }
463 this.$endLoading(); 561 this.$endLoading();
464 // if (this.ruleForm.tdytqxList.length > 0) { 562 // if (this.ruleForm.tdytqxList.length > 0) {
465 // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; 563 // this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm;
466 // } else { 564 // } else {
...@@ -469,7 +567,7 @@ export default { ...@@ -469,7 +567,7 @@ export default {
469 this.isShow = true; 567 this.isShow = true;
470 } 568 }
471 }); 569 });
472 //获取主体信息 570 //获取主体信息
473 getSsQlxx({ 571 getSsQlxx({
474 bdcdyid: this.propsParam.bdcdyid, 572 bdcdyid: this.propsParam.bdcdyid,
475 qllx: this.propsParam.qllx, 573 qllx: this.propsParam.qllx,
...@@ -646,5 +744,4 @@ export default { ...@@ -646,5 +744,4 @@ export default {
646 /deep/.el-form-item__label { 744 /deep/.el-form-item__label {
647 padding-bottom: 0px; 745 padding-bottom: 0px;
648 } 746 }
649
650 </style> 747 </style>
......
...@@ -328,7 +328,24 @@ ...@@ -328,7 +328,24 @@
328 </el-col> 328 </el-col>
329 <el-col :span="8"> 329 <el-col :span="8">
330 <el-form-item label="建筑面积:"> 330 <el-form-item label="建筑面积:">
331 <el-input v-model="ruleForm.ygdj.jzmj"></el-input> 331 <div class="flex">
332 <el-input v-model="ruleForm.ygdj.jzmj"
333 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
334 ></el-input>
335 <el-select
336 v-model="ruleForm.ygdj.mjdw"
337 :disabled="!ableOperation"
338 style="width: 20%"
339 >
340 <el-option
341 v-for="item in dictData['A7']"
342 :key="item.dcode"
343 :label="item.dname"
344 :value="item.dcode"
345 >
346 </el-option>
347 </el-select>
348 </div>
332 </el-form-item> 349 </el-form-item>
333 </el-col> 350 </el-col>
334 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 351 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
...@@ -356,7 +373,21 @@ ...@@ -356,7 +373,21 @@
356 </el-col> 373 </el-col>
357 <el-col :span="8"> 374 <el-col :span="8">
358 <el-form-item label="取得价格/被担保主债权数额:"> 375 <el-form-item label="取得价格/被担保主债权数额:">
359 <el-input v-model="ruleForm.ygdj.qdjg"></el-input> 376 <div class="flex">
377 <el-input v-model="ruleForm.ygdj.qdjg"
378 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
379 <el-select
380 v-model="ruleForm.ygdj.jedw"
381 :disabled="!ableOperation"
382 style="width: 20%">
383 <el-option
384 v-for="item in dictData['A7']"
385 :key="item.dcode"
386 :label="item.dname"
387 :value="item.dcode">
388 </el-option>
389 </el-select>
390 </div>
360 </el-form-item> 391 </el-form-item>
361 </el-col> 392 </el-col>
362 <el-col :span="8"> 393 <el-col :span="8">
......
...@@ -240,8 +240,25 @@ ...@@ -240,8 +240,25 @@
240 </el-form-item> 240 </el-form-item>
241 </el-col> 241 </el-col>
242 <el-col :span="8"> 242 <el-col :span="8">
243 <el-form-item label="建筑面积:"> 243 <el-form-item label="建筑面积:">
244 <el-input v-model="ruleForm.ygdj.jzmj"></el-input> 244 <div class="flex">
245 <el-input v-model="ruleForm.ygdj.jzmj"
246 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
247 ></el-input>
248 <el-select
249 v-model="ruleForm.ygdj.mjdw"
250 :disabled="!ableOperation"
251 style="width: 20%"
252 >
253 <el-option
254 v-for="item in dictData['A7']"
255 :key="item.dcode"
256 :label="item.dname"
257 :value="item.dcode"
258 >
259 </el-option>
260 </el-select>
261 </div>
245 </el-form-item> 262 </el-form-item>
246 </el-col> 263 </el-col>
247 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'"> 264 <el-col :span="8" v-if="ruleForm.qlxx.qszt == '2'">
...@@ -268,8 +285,22 @@ ...@@ -268,8 +285,22 @@
268 </el-form-item> 285 </el-form-item>
269 </el-col> 286 </el-col>
270 <el-col :span="8"> 287 <el-col :span="8">
271 <el-form-item label="取得价格/被担保主债权数额:"> 288 <el-form-item label="取得价格/被担保主债权数额:">
272 <el-input v-model="ruleForm.ygdj.qdjg"></el-input> 289 <div class="flex">
290 <el-input v-model="ruleForm.ygdj.qdjg"
291 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
292 <el-select
293 v-model="ruleForm.ygdj.jedw"
294 :disabled="!ableOperation"
295 style="width: 20%">
296 <el-option
297 v-for="item in dictData['A7']"
298 :key="item.dcode"
299 :label="item.dname"
300 :value="item.dcode">
301 </el-option>
302 </el-select>
303 </div>
273 </el-form-item> 304 </el-form-item>
274 </el-col> 305 </el-col>
275 <el-col :span="8"> 306 <el-col :span="8">
......
...@@ -282,11 +282,6 @@ ...@@ -282,11 +282,6 @@
282 <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input> 282 <el-input v-model="ruleForm.yydj.bdcdjzmh"></el-input>
283 </el-form-item> 283 </el-form-item>
284 </el-col> 284 </el-col>
285 <el-col :span="8">
286 <el-form-item label="登记时间:">
287 <el-input v-model="ruleForm.yydj.djsj"></el-input>
288 </el-form-item>
289 </el-col>
290 <el-col :span="24"> 285 <el-col :span="24">
291 <el-form-item label="附记:"> 286 <el-form-item label="附记:">
292 <el-input v-model="ruleForm.yydj.fj"></el-input> 287 <el-input v-model="ruleForm.yydj.fj"></el-input>
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
12 <li 12 <li
13 @click="operation(item)" 13 @click="operation(item)"
14 v-for="(item, index) in leftButtonList" 14 v-for="(item, index) in leftButtonList"
15 :key="index"> 15 :key="index"
16 >
16 <svg-icon class="icon" :icon-class="item.icon" /> 17 <svg-icon class="icon" :icon-class="item.icon" />
17 <span class="iconName">{{ item.name }}</span> 18 <span class="iconName">{{ item.name }}</span>
18 </li> 19 </li>
...@@ -21,7 +22,8 @@ ...@@ -21,7 +22,8 @@
21 <li 22 <li
22 @click="operation(item)" 23 @click="operation(item)"
23 v-for="(item, index) in rightButtonList" 24 v-for="(item, index) in rightButtonList"
24 :key="index"> 25 :key="index"
26 >
25 <svg-icon class="icon" :icon-class="item.icon" /> 27 <svg-icon class="icon" :icon-class="item.icon" />
26 <span class="iconName">{{ item.name }}</span> 28 <span class="iconName">{{ item.name }}</span>
27 </li> 29 </li>
...@@ -43,18 +45,25 @@ ...@@ -43,18 +45,25 @@
43 </div> 45 </div>
44 <!-- 表单内容区域 --> 46 <!-- 表单内容区域 -->
45 <div class="rightContainer"> 47 <div class="rightContainer">
48 <div class="count">
49 当前流程所在环节:
50 <span>{{ this.zbhj }}</span>
51 </div>
46 <el-tabs v-model="tabName" :before-leave="beforeLeave"> 52 <el-tabs v-model="tabName" :before-leave="beforeLeave">
47 <el-tab-pane 53 <el-tab-pane
48 :label="item.name" 54 :label="item.name"
49 :name="item.value" 55 :name="item.value"
50 v-for="item in tabList" 56 v-for="item in tabList"
51 :key="item.value"> 57 :key="item.value"
58 >
52 </el-tab-pane> 59 </el-tab-pane>
53 </el-tabs> 60 </el-tabs>
61
54 <component 62 <component
55 :key="fresh" 63 :key="fresh"
56 :is="componentTag" 64 :is="componentTag"
57 v-bind="currentSelectProps" /> 65 v-bind="currentSelectProps"
66 />
58 </div> 67 </div>
59 </div> 68 </div>
60 </div> 69 </div>
...@@ -63,240 +72,257 @@ ...@@ -63,240 +72,257 @@
63 </div> 72 </div>
64 </template> 73 </template>
65 <style scoped lang="scss"> 74 <style scoped lang="scss">
66 @import "~@/styles/mixin.scss"; 75 @import "~@/styles/mixin.scss";
67 @import "./workFrame.scss"; 76 @import "./workFrame.scss";
68 </style> 77 </style>
69 <script> 78 <script>
70 import WorkFlow from "./mixin/index"; 79 import WorkFlow from "./mixin/index";
71 import { getForm } from "./flowform"; 80 import { getForm } from "./flowform";
72 import { getStepFormInfo } from "@/api/workFlow.js"; 81 import { getStepFormInfo } from "@/api/workFlow.js";
73 import NoticeBar from "@/components/NoticeBar/index"; 82 import NoticeBar from "@/components/NoticeBar/index";
74 // import ProcessViewer from "./components/processViewer.vue"; 83 // import ProcessViewer from "./components/processViewer.vue";
75 84
76 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 85 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
77 import qllxDailog from "./djbBook/components/qllxDailog"; 86 import qllxDailog from "./djbBook/components/qllxDailog";
78 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; 87 import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue";
79 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; 88 import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js";
80 // 登记簿数据信息 89 // 登记簿数据信息
81 import { addRepairRecord } from "@/api/djbRepair.js"; 90 import { addRepairRecord } from "@/api/djbRepair.js";
82 // 获取权利类型数组 91 // 获取权利类型数组
83 92
84 import { getBdcqljqtsx } from "@/api/djbDetail.js"; 93 import { getBdcqljqtsx } from "@/api/djbDetail.js";
85 export default { 94 export default {
86 components: { 95 components: {
87 selectBdc, 96 selectBdc,
88 NoticeBar, 97 NoticeBar,
89 ordinaryMenu, 98 ordinaryMenu,
90 qllxDailog, 99 qllxDailog,
91 }, 100 },
92 mixins: [WorkFlow], 101 mixins: [WorkFlow],
93 data () { 102 data() {
94 return { 103 return {
95 bsmSlsq: this.$route.query.bsmSlsq, 104 bsmSlsq: this.$route.query.bsmSlsq,
96 //当前流程所在环节 105 //当前流程所在环节
97 bestepid: this.$route.query.bestepid, 106 bestepid: this.$route.query.bestepid,
98 //设置那个表单选中 107 //当前流程所在环节
99 tabName: "", 108 zbhj: this.$route.query.zbhj,
100 isEdit: true, 109 //设置那个表单选中
101 // 弹框显示 110 tabName: "",
102 dialogVisible: true, 111 isEdit: true,
103 //表单集合 112 // 弹框显示
104 tabList: [], 113 dialogVisible: true,
105 //选择加载哪一个组件 114 //表单集合
106 componentTag: "", 115 tabList: [],
107 //设置表单传递数据 116 //选择加载哪一个组件
108 currentSelectProps: {}, 117 componentTag: "",
109 // 首次拿到的业务信息 118 //设置表单传递数据
110 oneSelectProps: {}, 119 currentSelectProps: {},
111 //材料信息选择卡索引 120 // 首次拿到的业务信息
112 oneget: true, 121 oneSelectProps: {},
113 //页面监听时间 122 //材料信息选择卡索引
114 _beforeUnload_time: "", 123 oneget: true,
115 treedata: {}, 124 //页面监听时间
116 tabdata: [], 125 _beforeUnload_time: "",
117 bsmRepair:"", 126 treedata: {},
118 defaultNode: {}, 127 tabdata: [],
119 clxxForm: "", 128 bsmRepair: "",
120 //材料信息选择卡索引 129 defaultNode: {},
121 clxxIndex: "", 130 clxxForm: "",
122 //材料信息选项卡对象 131 //材料信息选择卡索引
123 clxxTab: {}, 132 clxxIndex: "",
124 ableOperation:false 133 //材料信息选项卡对象
125 }; 134 clxxTab: {},
126 }, 135 ableOperation: false,
127 mounted () { 136 };
128 // this.getleftMenubl() 137 },
129 }, 138 mounted() {
139 // this.getleftMenubl()
140 },
130 141
131 methods: { 142 methods: {
132 /** 143 /**
133 * @description: stepForm 144 * @description: stepForm
134 * @param {*} qllx 145 * @param {*} qllx
135 * @author: renchao 146 * @author: renchao
136 */ 147 */
137 stepForm (qllx) { 148 stepForm(qllx) {
138 this.oneSelectProps.qllx = qllx; 149 this.oneSelectProps.qllx = qllx;
139 if (this.$refs.Menu.supplementarylist.length) { 150 if (this.$refs.Menu.supplementarylist.length) {
140 getStepFormInfo(this.oneSelectProps).then((res) => { 151 getStepFormInfo(this.oneSelectProps).then((res) => {
141 this.$nextTick(function () { 152 this.$nextTick(function () {
142 this.tabList = res.result; 153 this.tabList = res.result;
143 this.tabName = this.tabList[0].value; 154 this.tabName = this.tabList[0].value;
144 this.ableOperation=this.tabList[0].ableOperation 155 this.ableOperation = this.tabList[0].ableOperation;
145 this.getFromRouter(this.tabName); 156 this.getFromRouter(this.tabName);
146 157
147 if(this.tabList.length!=8){ 158 if (this.tabList.length != 8) {
148 let that = this; 159 let that = this;
149 this.tabList.forEach(function (item, index) { 160 this.tabList.forEach(function (item, index) {
150 if (item.value == "clxx") { 161 if (item.value == "clxx") {
151 that.clxxIndex = index; 162 that.clxxIndex = index;
152 that.clxxForm = getForm(item.value, that.$route.query.sqywbm); 163 that.clxxForm = getForm(item.value, that.$route.query.sqywbm);
153 that.clxxTab = item; 164 that.clxxTab = item;
154 } 165 }
155 }) 166 });
156 } 167 }
168 });
169 });
170 }
171 },
172 // 获取右侧选项卡
173 /**
174 * @description: 获取右侧选项卡
175 * @param {*} val
176 * @author: renchao
177 */
178 getCurrentSelectProps(val) {
179 this.bsmRepair = val.bsmRepair;
180 if (val.bdcdyid) {
181 this.oneSelectProps = val;
182 }
183 this.currentSelectProps = val;
184 if (this.currentSelectProps.bsmRepair) {
185 this.stepForm(this.currentSelectProps.qllx);
186 } else if (!this.oneget) {
187 this.getdjblist();
188 }
189 if (this.oneget) {
190 this.oneget = false;
191 this.stepForm(this.currentSelectProps.qllx);
192 }
193 },
194 // 获取渲染登记簿列表
195 /**
196 * @description: 获取渲染登记簿列表
197 * @author: renchao
198 */
199 getdjblist() {
200 getBdcqljqtsx({
201 bdcdyid: this.currentSelectProps.bdcdyid,
202 bdcdyh: this.currentSelectProps.bdcdyh,
203 }).then((res) => {
204 if (res.code === 200) {
205 this.treedata = loadTreeData(res.result);
206 this.$nextTick(function () {
207 this.defaultNode = getNode(this.currentSelectProps.qllx, {
208 linShi: 0,
209 xianShi: 0,
210 liShi: 0,
157 }); 211 });
212 this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点
158 }); 213 });
214 let settree = JSON.parse(JSON.stringify(this.treedata));
215 this.tabdata = [
216 ...settree,
217 ...settree[1].children[0].children[0].children,
218 ];
219 this.tabdata.forEach((item, index, arr) => {
220 arr[index].name = item.label;
221 arr[index].value = item.id;
222 });
223 this.tabList = this.tabdata;
159 } 224 }
160 }, 225 });
161 // 获取右侧选项卡 226 },
162 /** 227 //右侧表单选项卡事件
163 * @description: 获取右侧选项卡 228 /**
164 * @param {*} val 229 * @description: 右侧表单选项卡事件
165 * @author: renchao 230 * @param {*} activeName
166 */ 231 * @author: renchao
167 getCurrentSelectProps (val) { 232 */
168 this.bsmRepair= val.bsmRepair 233 beforeLeave(activeName) {
169 if (val.bdcdyid) { 234 if (activeName && activeName != 0) this.getFromRouter(activeName);
170 this.oneSelectProps = val; 235 },
171 } 236 //切换选项卡内容组件
172 this.currentSelectProps = val; 237 /**
173 if (this.currentSelectProps.bsmRepair) { 238 * @description: 切换选项卡内容组件
174 this.stepForm(this.currentSelectProps.qllx); 239 * @param {*} tabname
175 } else if (!this.oneget) { 240 * @author: renchao
176 this.getdjblist(); 241 */
177 } 242 getFromRouter(tabname) {
178 if (this.oneget) { 243 this.componentTag = getForm(tabname);
179 this.oneget = false; 244 },
180 this.stepForm(this.currentSelectProps.qllx); 245 // closefp () {
246 // this.splitScreen = this.splitScreen ? false : true;
247 // this.$store.dispatch("app/set1tScreen", this.splitScreen);
248 // this.getFromRouter(this.tabList[0].value);
249 // this.clxxForm = getForm(this.tabList[1].value);
250 // this.tabName = this.tabList[0].value
251 // },
252 // 增加补录记录
253 /**
254 * @description: 增加补录记录
255 * @param {*} row
256 * @param {*} del
257 * @author: renchao
258 */
259 addRepairRecord(row, del) {
260 let from = {
261 bsmQlxx: "",
262 bsmSlsq: this.bsmSlsq,
263 bsmSldy: this.currentSelectProps.bsmSldy,
264 operate: "C",
265 qllx: "",
266 };
267 if (row) {
268 from.bsmQlxx = row.bsmQlxx;
269 if (del) {
270 from.operate = del;
271 } else {
272 from.operate = row.bsmQlxx ? "U" : "C";
181 } 273 }
182 }, 274 from.qllx = row.qllx;
183 // 获取渲染登记簿列表 275 }
184 /** 276 addRepairRecord(from)
185 * @description: 获取渲染登记簿列表 277 .then((res) => {
186 * @author: renchao 278 if (res.code == "200") {
187 */ 279 this.$refs.qllxlist.dialogVisible = false;
188 getdjblist () { 280 this.$nextTick(() => {
189 getBdcqljqtsx({ 281 this.$refs.Menu.getleftMenubl(res.result);
190 bdcdyid: this.currentSelectProps.bdcdyid, 282 this.$message({
191 bdcdyh: this.currentSelectProps.bdcdyh, 283 type: "success",
192 }).then((res) => { 284 message: "补录成功!",
193 if (res.code === 200) {
194 this.treedata = loadTreeData(res.result);
195 this.$nextTick(function () {
196 this.defaultNode = getNode(this.currentSelectProps.qllx, {
197 linShi: 0,
198 xianShi: 0,
199 liShi: 0,
200 }); 285 });
201 this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点
202 }); 286 });
203 let settree = JSON.parse(JSON.stringify(this.treedata)); 287 } else {
204 this.tabdata = [ 288 this.$alert(res.message, "提示", {
205 ...settree, 289 confirmButtonText: "确定",
206 ...settree[1].children[0].children[0].children, 290 type: "warning",
207 ];
208 this.tabdata.forEach((item, index, arr) => {
209 arr[index].name = item.label;
210 arr[index].value = item.id;
211 }); 291 });
212 this.tabList = this.tabdata;
213 } 292 }
293 })
294 .catch((res) => {
295 console.log("错", res);
214 }); 296 });
215 }, 297 },
216 //右侧表单选项卡事件 298 // openDialog () {
217 /** 299 // this.$store.dispatch('user/refreshPage', false)
218 * @description: 右侧表单选项卡事件 300 // let data = JSON.parse(localStorage.getItem('ywbl'))
219 * @param {*} activeName 301 // let title
220 * @author: renchao 302 // if (data?.sqywmc) {
221 */ 303 // title = "申请业务:" + data?.sqywmc
222 beforeLeave (activeName) { 304 // } else {
223 if (activeName && activeName != 0) this.getFromRouter(activeName); 305 // title = "申请业务:" + data?.djywmc
224 }, 306 // }
225 //切换选项卡内容组件
226 /**
227 * @description: 切换选项卡内容组件
228 * @param {*} tabname
229 * @author: renchao
230 */
231 getFromRouter (tabname) {
232 this.componentTag = getForm(tabname);
233 },
234 // closefp () {
235 // this.splitScreen = this.splitScreen ? false : true;
236 // this.$store.dispatch("app/set1tScreen", this.splitScreen);
237 // this.getFromRouter(this.tabList[0].value);
238 // this.clxxForm = getForm(this.tabList[1].value);
239 // this.tabName = this.tabList[0].value
240 // },
241 // 增加补录记录
242 /**
243 * @description: 增加补录记录
244 * @param {*} row
245 * @param {*} del
246 * @author: renchao
247 */
248 addRepairRecord (row, del) {
249 let from = {
250 bsmQlxx: "",
251 bsmSlsq: this.bsmSlsq,
252 bsmSldy: this.currentSelectProps.bsmSldy,
253 operate: "C",
254 qllx: "",
255 };
256 if (row) {
257 from.bsmQlxx = row.bsmQlxx;
258 if (del) {
259 from.operate = del;
260 } else {
261 from.operate = row.bsmQlxx ? "U" : "C";
262 }
263 from.qllx = row.qllx;
264 }
265 addRepairRecord(from)
266 .then((res) => {
267 if (res.code == "200") {
268 this.$refs.qllxlist.dialogVisible = false;
269 this.$nextTick(() => {
270 this.$refs.Menu.getleftMenubl(res.result);
271 this.$message({
272 type: "success",
273 message: "补录成功!",
274 });
275 });
276 } else {
277 this.$alert(res.message, "提示", {
278 confirmButtonText: "确定",
279 type: "warning",
280 });
281 }
282 })
283 .catch((res) => {
284 console.log("错", res);
285 })
286 },
287 // openDialog () {
288 // this.$store.dispatch('user/refreshPage', false)
289 // let data = JSON.parse(localStorage.getItem('ywbl'))
290 // let title
291 // if (data?.sqywmc) {
292 // title = "申请业务:" + data?.sqywmc
293 // } else {
294 // title = "申请业务:" + data?.djywmc
295 // }
296 307
297 // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true) 308 // this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'djywbm': this.$route.query.sqywbm, 'isJump': true, 'sqywInfo': data }, "80%", true)
298 // } 309 // }
299 } 310 },
300 }; 311 };
301 </script> 312 </script>
302 <style scoped lang="scss"></style> 313 <style scoped lang="scss">
314 .rightContainer {
315 position: relative;
316 }
317 .count {
318 font-size: 14px;
319 position: absolute;
320 right: 25px;
321 top: 12px;
322 height: 30px;
323 span {
324 font-weight: 600;
325 color: #3498db;
326 }
327 }
328 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:05:44 4 * @LastEditTime: 2023-07-28 09:35:31
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
33 </div> 33 </div>
34 </div> 34 </div>
35 </div> 35 </div>
36 <image-preview ref='imageRef' v-if="tableData.length>0" :ableOperation="ableOperation" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" 36 <image-preview ref='imageRef' v-if="tableData.length>0" :ableOperation="ableOperation" :previewImg="previewImg" @updateList="updateList"
37 @nextPriview="nextPriview"
37 @prevPriview="prevPriview" /> 38 @prevPriview="prevPriview" />
38 </div> 39 </div>
39 </div> 40 </div>
...@@ -74,7 +75,7 @@ ...@@ -74,7 +75,7 @@
74 return ( 75 return (
75 <div> 76 <div>
76 { 77 {
77 this.ableOperation? '序号' : 78 this.ableOperation ? '序号' :
78 <i 79 <i
79 class="el-icon-plus pointer" 80 class="el-icon-plus pointer"
80 onClick={() => { 81 onClick={() => {
...@@ -91,7 +92,7 @@ ...@@ -91,7 +92,7 @@
91 return ( 92 return (
92 <div> 93 <div>
93 { 94 {
94 this.ableOperation? <span>{scope.$index + 1}</span> : 95 this.ableOperation ? <span>{scope.$index + 1}</span> :
95 <i 96 <i
96 class="el-icon-minus pointer" 97 class="el-icon-minus pointer"
97 98
...@@ -258,6 +259,7 @@ ...@@ -258,6 +259,7 @@
258 var formdata = new FormData(); 259 var formdata = new FormData();
259 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); 260 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
260 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 261 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
262 formdata.append("clfl", 2);
261 InitClml(formdata).then((res) => { 263 InitClml(formdata).then((res) => {
262 if (res.result.code == 200) { 264 if (res.result.code == 200) {
263 resolve(res.code) 265 resolve(res.code)
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-24 08:53:26 4 * @LastEditTime: 2023-07-28 09:35:38
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
113 var formdata = new FormData(); 113 var formdata = new FormData();
114 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); 114 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
115 formdata.append("bsmSlsq", this.$parent.bsmSlsq); 115 formdata.append("bsmSlsq", this.$parent.bsmSlsq);
116 formdata.append("clfl", 2);
116 InitClml(formdata).then((res) => { 117 InitClml(formdata).then((res) => {
117 if (res.code == 200) { 118 if (res.code == 200) {
118 resolve(res.code) 119 resolve(res.code)
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:57 4 * @LastEditTime: 2023-07-28 09:35:42
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clmlmx-box"> 7 <div class="clmlmx-box">
...@@ -162,6 +162,7 @@ ...@@ -162,6 +162,7 @@
162 var formdata = new FormData(); 162 var formdata = new FormData();
163 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); 163 formdata.append("bsmSldy", this.unitData[0]?.bsmSldy);
164 formdata.append("bsmSlsq", this.$route.query.bsmSlsq); 164 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
165 formdata.append("clfl", 2);
165 InitClml(formdata).then((res) => { 166 InitClml(formdata).then((res) => {
166 if (res.code == 200) { 167 if (res.code == 200) {
167 resolve(res.code) 168 resolve(res.code)
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 :normalizer="normalizer" 40 :normalizer="normalizer"
41 :appendToBody="true" 41 :appendToBody="true"
42 z-index="9999" 42 z-index="9999"
43 @input="addrow(scope.$index)" 43 @input="addrow(scope.row)"
44 /> 44 />
45 </template> 45 </template>
46 </el-table-column> 46 </el-table-column>
...@@ -192,10 +192,10 @@ export default { ...@@ -192,10 +192,10 @@ export default {
192 // this.tableDataList = this.tableDataList.map((item) => { 192 // this.tableDataList = this.tableDataList.map((item) => {
193 // return { 193 // return {
194 // ...item, 194 // ...item,
195 // yt: this.tdyt, 195 // yt: a.yt,
196 // }; 196 // };
197 // }); 197 // });
198 // this.$emit("upDateTdytxxList", this.tableDataList); 198 this.$emit("upDateTdytxxList", this.tableDataList);
199 }, 199 },
200 /** 200 /**
201 * @description: startTime 201 * @description: startTime
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
35 </div> 35 </div>
36 <!-- 表单内容区域 --> 36 <!-- 表单内容区域 -->
37 <div class="rightContainer"> 37 <div class="rightContainer">
38 <div class="count">
39 当前流程所在环节:
40 <span>{{ this.zbhj }}</span>
41 </div>
38 <el-tabs v-model="tabName" :before-leave="beforeLeave"> 42 <el-tabs v-model="tabName" :before-leave="beforeLeave">
39 <el-tab-pane :label="item.name" :name="item.value" v-for="item in tabList" :key="item.value"> 43 <el-tab-pane :label="item.name" :name="item.value" v-for="item in tabList" :key="item.value">
40 </el-tab-pane> 44 </el-tab-pane>
...@@ -84,6 +88,8 @@ ...@@ -84,6 +88,8 @@
84 bsmSlsq: this.$route.query.bsmSlsq, 88 bsmSlsq: this.$route.query.bsmSlsq,
85 //当前流程所在环节 89 //当前流程所在环节
86 bestepid: this.$route.query.bestepid, 90 bestepid: this.$route.query.bestepid,
91 //当前流程所在环节
92 zbhj: this.$route.query.zbhj,
87 //设置那个表单选中 93 //设置那个表单选中
88 tabName: "", 94 tabName: "",
89 //设置那个表单选择 95 //设置那个表单选择
...@@ -201,4 +207,19 @@ ...@@ -201,4 +207,19 @@
201 } 207 }
202 } 208 }
203 </script> 209 </script>
204 210 <style scoped lang="scss">
211 .rightContainer {
212 position: relative;
213 }
214 .count {
215 font-size: 14px;
216 position: absolute;
217 right: 25px;
218 top: 12px;
219 height: 30px;
220 span {
221 font-weight: 600;
222 color: #3498db;
223 }
224 }
225 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:42:32 4 * @LastEditTime: 2023-07-28 09:31:17
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
44 import { mapGetters } from "vuex"; 44 import { mapGetters } from "vuex";
45 import clxxAddDialog from "./clxxAddDialog.vue"; 45 import clxxAddDialog from "./clxxAddDialog.vue";
46 import imagePreview from '@/views/components/imagePreview.vue' 46 import imagePreview from '@/views/components/imagePreview.vue'
47 import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; 47 import { saveClml, deleteSjClml, moveClml } from "@/api/clxx.js";
48 export default { 48 export default {
49 components: { clxxAddDialog, imagePreview }, 49 components: { clxxAddDialog, imagePreview },
50 data () { 50 data () {
......
...@@ -6,46 +6,96 @@ ...@@ -6,46 +6,96 @@
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
8 <div class="from-clues-header"> 8 <div class="from-clues-header">
9 <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px"> 9 <el-form
10 :model="queryForm"
11 ref="queryForm"
12 @submit.native.prevent
13 label-width="100px"
14 >
10 <el-row> 15 <el-row>
11 <el-col :span="5"> 16 <el-col :span="5">
12 <el-form-item label="业务来源"> 17 <el-form-item label="业务来源">
13 <el-select v-model="queryForm.ywly" class="width100" filterable 18 <el-select
14 @change="handleSelect('ywly', 'ywlymc', 'ywly')" @clear="handleEmpty('ywlymc')" clearable 19 v-model="queryForm.ywly"
15 placeholder="请选择业务来源"> 20 class="width100"
16 <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 21 filterable
22 @change="handleSelect('ywly', 'ywlymc', 'ywly')"
23 @clear="handleEmpty('ywlymc')"
24 clearable
25 placeholder="请选择业务来源"
26 >
27 <el-option
28 v-for="item in dictData['ywly']"
29 :key="item.dcode"
30 :label="item.dname"
31 :value="item.dcode"
32 >
17 </el-option> 33 </el-option>
18 </el-select> 34 </el-select>
19 </el-form-item> 35 </el-form-item>
20 </el-col> 36 </el-col>
21 <el-col :span="5"> 37 <el-col :span="5">
22 <el-form-item label="权利类型"> 38 <el-form-item label="权利类型">
23 <el-select v-model="queryForm.qllx" class="width100" @change="handleSelect('A8', 'qllxmc', 'qllx')" 39 <el-select
24 @clear="handleEmpty('qllxmc')" filterable clearable placeholder="请选择权利类型"> 40 v-model="queryForm.qllx"
25 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 41 class="width100"
42 @change="handleSelect('A8', 'qllxmc', 'qllx')"
43 @clear="handleEmpty('qllxmc')"
44 filterable
45 clearable
46 placeholder="请选择权利类型"
47 >
48 <el-option
49 v-for="item in dictData['A8']"
50 :key="item.dcode"
51 :label="item.dname"
52 :value="item.dcode"
53 >
26 </el-option> 54 </el-option>
27 </el-select> 55 </el-select>
28 </el-form-item> 56 </el-form-item>
29 </el-col> 57 </el-col>
30 <el-col :span="5"> 58 <el-col :span="5">
31 <el-form-item label="登记类型"> 59 <el-form-item label="登记类型">
32 <el-select v-model="queryForm.djlx" class="width100" @change="handleSelect('A21', 'djlxmc', 'djlx')" 60 <el-select
33 @clear="handleEmpty('djlxmc')" filterable clearable placeholder="请选择登记类型"> 61 v-model="queryForm.djlx"
34 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 62 class="width100"
63 @change="handleSelect('A21', 'djlxmc', 'djlx')"
64 @clear="handleEmpty('djlxmc')"
65 filterable
66 clearable
67 placeholder="请选择登记类型"
68 >
69 <el-option
70 v-for="item in dictData['A21']"
71 :key="item.dcode"
72 :label="item.dname"
73 :value="item.dcode"
74 >
35 </el-option> 75 </el-option>
36 </el-select> 76 </el-select>
37 </el-form-item> 77 </el-form-item>
38 </el-col> 78 </el-col>
39 <el-col :span="6"> 79 <el-col :span="6">
40 <el-form-item label="业务号"> 80 <el-form-item label="业务号">
41 <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> 81 <el-input
82 placeholder="请输入业务号"
83 v-model="queryForm.ywh"
84 clearable
85 class="width100"
86 >
42 </el-input> 87 </el-input>
43 </el-form-item> 88 </el-form-item>
44 </el-col> 89 </el-col>
45 90
46 <el-col :span="3" class="btnColRight"> 91 <el-col :span="3" class="btnColRight">
47 <el-form-item> 92 <el-form-item>
48 <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> 93 <el-button
94 type="primary"
95 native-type="submit"
96 @click="handleSearch"
97 >查询</el-button
98 >
49 <el-button @click="moreQueryClick">高级查询</el-button> 99 <el-button @click="moreQueryClick">高级查询</el-button>
50 </el-form-item> 100 </el-form-item>
51 </el-col> 101 </el-col>
...@@ -53,25 +103,45 @@ ...@@ -53,25 +103,45 @@
53 <el-row> 103 <el-row>
54 <el-col :span="5"> 104 <el-col :span="5">
55 <el-form-item label="不动产单元号"> 105 <el-form-item label="不动产单元号">
56 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width100"> 106 <el-input
107 placeholder="请输入不动产单元号"
108 v-model="queryForm.bdcdyh"
109 clearable
110 class="width100"
111 >
57 </el-input> 112 </el-input>
58 </el-form-item> 113 </el-form-item>
59 </el-col> 114 </el-col>
60 <el-col :span="5"> 115 <el-col :span="5">
61 <el-form-item label="申请人"> 116 <el-form-item label="申请人">
62 <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrmc" clearable class="width100"> 117 <el-input
118 placeholder="如需要模糊查询,前后输入%"
119 v-model="queryForm.sqrmc"
120 clearable
121 class="width100"
122 >
63 </el-input> 123 </el-input>
64 </el-form-item> 124 </el-form-item>
65 </el-col> 125 </el-col>
66 <el-col :span="5"> 126 <el-col :span="5">
67 <el-form-item label="申请人证件号"> 127 <el-form-item label="申请人证件号">
68 <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrzjhm" clearable class="width100"> 128 <el-input
129 placeholder="如需要模糊查询,前后输入%"
130 v-model="queryForm.sqrzjhm"
131 clearable
132 class="width100"
133 >
69 </el-input> 134 </el-input>
70 </el-form-item> 135 </el-form-item>
71 </el-col> 136 </el-col>
72 <el-col :span="6"> 137 <el-col :span="6">
73 <el-form-item label="坐落"> 138 <el-form-item label="坐落">
74 <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100"> 139 <el-input
140 placeholder="如需要模糊查询,前后输入%"
141 v-model.trim="queryForm.zl"
142 clearable
143 class="width100"
144 >
75 </el-input> 145 </el-input>
76 </el-form-item> 146 </el-form-item>
77 </el-col> 147 </el-col>
...@@ -81,194 +151,221 @@ ...@@ -81,194 +151,221 @@
81 <ul> 151 <ul>
82 <li v-for="(item, index) in searchList" :key="index"> 152 <li v-for="(item, index) in searchList" :key="index">
83 {{ item.name }}:{{ item.value }} 153 {{ item.name }}:{{ item.value }}
84 <i class="el-icon-circle-close" @click="handelItem(item, index)"></i> 154 <i
155 class="el-icon-circle-close"
156 @click="handelItem(item, index)"
157 ></i>
85 </li> 158 </li>
86 </ul> 159 </ul>
87 <el-button class="clean-btn" type="text" v-if="searchList.length > 0" @click.native="hanldeCleanAll">清除全部 160 <el-button
161 class="clean-btn"
162 type="text"
163 v-if="searchList.length > 0"
164 @click.native="hanldeCleanAll"
165 >清除全部
88 </el-button> 166 </el-button>
89 </el-row> 167 </el-row>
90 </el-form> 168 </el-form>
91 </div> 169 </div>
92 <div class="from-clues-content"> 170 <div class="from-clues-content">
93 <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort" 171 <lb-table
94 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" 172 :page-size="pageData.size"
95 @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> 173 class="loadingtext"
174 @sort-change="handleSort"
175 :current-page.sync="pageData.currentPage"
176 :total="tableData.total"
177 @size-change="handleSizeChange"
178 @p-current-change="handleCurrentChange"
179 :column="tableData.columns"
180 :data="tableData.data"
181 >
96 </lb-table> 182 </lb-table>
97 </div> 183 </div>
98 <searchBox v-model="isSearch" @getSearch="getSearch" :advancedForm="otherForm" /> 184 <searchBox
185 v-model="isSearch"
186 @getSearch="getSearch"
187 :advancedForm="otherForm"
188 />
99 </div> 189 </div>
100 </template> 190 </template>
101 <script> 191 <script>
102 import { mapGetters } from "vuex"; 192 import { mapGetters } from "vuex";
103 import searchBox from "../components/search.vue"; 193 import searchBox from "../components/search.vue";
104 import table from "@/utils/mixin/table"; 194 import table from "@/utils/mixin/table";
105 import searchMin from "../components/mixin/index"; 195 import searchMin from "../components/mixin/index";
106 import { datas, sendThis } from "./dbxdata"; 196 import { datas, sendThis } from "./dbxdata";
107 import { searchTaskToDo } from "@/api/workflow/search.js"; 197 import { searchTaskToDo } from "@/api/workflow/search.js";
108 import { judgeUserTaskPermission, deleteFlow, claimTask } from "@/api/workFlow.js"; 198 import {
109 export default { 199 judgeUserTaskPermission,
110 name: "dbx", 200 deleteFlow,
111 components: { searchBox }, 201 claimTask,
112 mixins: [table, searchMin], 202 } from "@/api/workFlow.js";
113 computed: { 203 export default {
114 ...mapGetters(["dictData", "transfer"]), 204 name: "dbx",
115 }, 205 components: { searchBox },
116 data () { 206 mixins: [table, searchMin],
117 return { 207 computed: {
118 queryForm: { 208 ...mapGetters(["dictData", "transfer"]),
119 }, 209 },
120 searchForm: { 210 data() {
121 ywlymc: "", 211 return {
122 qllxmc: "", 212 queryForm: {},
123 djlxmc: "", 213 searchForm: {
124 ywh: "", 214 ywlymc: "",
125 }, 215 qllxmc: "",
126 tableData: { 216 djlxmc: "",
127 total: 0, 217 ywh: "",
128 columns: datas.columns(),
129 data: [],
130 },
131 jumpid: "",
132 };
133 },
134 mounted () {
135 sendThis(this);
136 },
137 watch: {
138 queryForm: {
139 handler (newName, oldName) { },
140 immediate: true,
141 }, 218 },
219 tableData: {
220 total: 0,
221 columns: datas.columns(),
222 data: [],
223 },
224 jumpid: "",
225 };
226 },
227 mounted() {
228 sendThis(this);
229 },
230 watch: {
231 queryForm: {
232 handler(newName, oldName) {},
233 immediate: true,
142 }, 234 },
143 activated () { 235 },
236 activated() {
237 this.queryClick();
238 window["getBpageList"] = () => {
144 this.queryClick(); 239 this.queryClick();
145 window["getBpageList"] = () => { 240 };
146 this.queryClick(); 241 },
147 } 242 methods: {
243 // 列表渲染接口
244 /**
245 * @description: 列表渲染接口
246 * @author: renchao
247 */
248 queryClick() {
249 this.$startLoading();
250 this.searchForm.ywh = this.queryForm.ywh;
251 this.iterationData();
252 searchTaskToDo({
253 ...this.queryForm,
254 ...this.otherForm,
255 ...this.pageData,
256 }).then((res) => {
257 this.$endLoading();
258 if (res.code === 200) {
259 let { total, records } = res.result;
260 this.tableData.total = total ? total : 0;
261 this.tableData.data = records ? records : [];
262 }
263 });
148 }, 264 },
149 methods: { 265 /**
150 // 列表渲染接口 266 * @description: handleSort
151 /** 267 * @param {*} val
152 * @description: 列表渲染接口 268 * @author: renchao
153 * @author: renchao 269 */
154 */ 270 handleSort(val) {
155 queryClick () { 271 this.queryForm.sortField = val.prop;
156 this.$startLoading(); 272 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc";
157 this.searchForm.ywh = this.queryForm.ywh; 273 this.queryClick();
158 this.iterationData(); 274 },
159 searchTaskToDo({ 275 /**
160 ...this.queryForm, 276 * @description: del
161 ...this.otherForm, 277 * @param {*} item
162 ...this.pageData, 278 * @author: renchao
163 }).then((res) => { 279 */
164 this.$endLoading(); 280 del(item) {
165 if (res.code === 200) { 281 let formdata = new FormData();
166 let { total, records } = res.result; 282 formdata.append("bsmSlsq", item.bsmSlsq);
167 this.tableData.total = total ? total : 0; 283 this.$confirm("确定要删除吗, 是否继续?", "提示", {
168 this.tableData.data = records ? records : []; 284 confirmButtonText: "确定",
169 } 285 cancelButtonText: "取消",
170 }); 286 type: "warning",
171 }, 287 })
172 /** 288 .then(() => {
173 * @description: handleSort 289 deleteFlow(formdata).then((res) => {
174 * @param {*} val 290 if (res.code === 200) {
175 * @author: renchao 291 this.handleDel();
176 */ 292 this.$message({
177 handleSort (val) { 293 type: "success",
178 this.queryForm.sortField = val.prop; 294 message: "删除成功!",
179 this.queryForm.sortOrder = val.order == "ascending" ? "asc" : "desc"; 295 });
180 this.queryClick(); 296 this.queryClick();
181 }, 297 } else {
182 /** 298 this.$message.error(res.message);
183 * @description: del 299 }
184 * @param {*} item 300 });
185 * @author: renchao
186 */
187 del (item) {
188 let formdata = new FormData();
189 formdata.append("bsmSlsq", item.bsmSlsq);
190 this.$confirm("确定要删除吗, 是否继续?", "提示", {
191 confirmButtonText: "确定",
192 cancelButtonText: "取消",
193 type: "warning",
194 }) 301 })
195 .then(() => { 302 .catch(() => {
196 deleteFlow(formdata).then((res) => { 303 this.$message({
197 if (res.code === 200) { 304 type: "info",
198 this.handleDel(); 305 message: "已取消删除",
199 this.$message({
200 type: "success",
201 message: "删除成功!",
202 });
203 this.queryClick();
204 } else {
205 this.$message.error(res.message);
206 }
207 });
208 })
209 .catch(() => {
210 this.$message({
211 type: "info",
212 message: "已取消删除",
213 });
214 }); 306 });
215 }, 307 });
216 /** 308 },
217 * @description: ywhClick 309 /**
218 * @param {*} item 310 * @description: ywhClick
219 * @author: renchao 311 * @param {*} item
220 */ 312 * @author: renchao
221 ywhClick (item) { 313 */
222 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 314 ywhClick(item) {
223 judgeUserTaskPermission({ 315 //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面
224 bsmSlsq: item.bsmSlsq, 316 judgeUserTaskPermission({
225 bestepid: item.bestepid, 317 bsmSlsq: item.bsmSlsq,
226 }).then((res) => { 318 bestepid: item.bestepid,
227 if (res.code == 200) { 319 }).then((res) => {
228 if (res.result) { 320 if (res.code == 200) {
229 //有任务权限 321 if (res.result) {
230 if (item.sjlx == "3") { 322 //有任务权限
231 const { href } = this.$router.resolve( 323 if (item.sjlx == "3") {
232 "/djbworkFrame?bsmSlsq=" + 324 const { href } = this.$router.resolve(
325 "/djbworkFrame?bsmSlsq=" +
233 item.bsmSlsq + 326 item.bsmSlsq +
234 "&bestepid=" + 327 "&bestepid=" +
235 item.bestepid + 328 item.bestepid +
236 "&bsmBusiness=" + 329 "&bsmBusiness=" +
237 "&sqywbm=" + 330 "&sqywbm=" +
238 item.djywbm 331 item.djywbm +
239 ); 332 "&zbhj=" +
240 window.open(href, `djbworkFrame${item.bsmSlsq}`); 333 item.zbhj
241 } else { 334 );
242 const { href } = this.$router.resolve( 335 window.open(href, `djbworkFrame${item.bsmSlsq}`);
243 "/workFrame?bsmSlsq=" + 336 } else {
337 const { href } = this.$router.resolve(
338 "/workFrame?bsmSlsq=" +
244 item.bsmSlsq + 339 item.bsmSlsq +
245 "&bestepid=" + 340 "&bestepid=" +
246 item.bestepid + 341 item.bestepid +
247 "&bsmBusiness=" + 342 "&bsmBusiness=" +
248 "&sqywbm=" + 343 "&sqywbm=" +
249 item.djywbm 344 item.djywbm +
250 ); 345 "&zbhj=" +
251 window.open(href, `workFrame${item.bsmSlsq}`); 346 item.zbhj
252 } 347 );
348 window.open(href, `workFrame${item.bsmSlsq}`);
349 }
253 350
254 localStorage.setItem('ywbl', JSON.stringify(item)); 351 localStorage.setItem("ywbl", JSON.stringify(item));
255 352
256 //从待办箱进入的调取任务领取接口 353 //从待办箱进入的调取任务领取接口
257 claimTask(item.bsmSlsq, item.bestepid); 354 claimTask(item.bsmSlsq, item.bestepid);
258 } else {
259 //无任务权限
260 this.$message.error("无该任务操作权限,或已被他人抢办,请重新操作");
261 //刷新页面
262 this.queryClick();
263 }
264 } else { 355 } else {
265 this.$message.error("用户任务权限判断失败,请联系管理员"); 356 //无任务权限
357 this.$message.error("无该任务操作权限,或已被他人抢办,请重新操作");
358 //刷新页面
359 this.queryClick();
266 } 360 }
267 }) 361 } else {
268 } 362 this.$message.error("用户任务权限判断失败,请联系管理员");
269 } 363 }
270 } 364 });
365 },
366 },
367 };
271 </script> 368 </script>
272 <style scoped lang="scss"> 369 <style scoped lang="scss">
273 @import "~@/styles/public.scss"; 370 @import "~@/styles/public.scss";
274 </style> 371 </style>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 <el-row :gutter="10"> 32 <el-row :gutter="10">
33 <el-col :span="8"> 33 <el-col :span="8">
34 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx"> 34 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:" prop="slsq.qllx">
35 <el-select disabled v-model="ruleForm.sldy.qllx" filterable clearable placeholder="请选择权利类型"> 35 <el-select disabled v-model="ruleForm.sldyList[0].qllx" filterable clearable placeholder="请选择权利类型">
36 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 36 <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode">
37 </el-option> 37 </el-option>
38 </el-select> 38 </el-select>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 </el-col> 40 </el-col>
41 <el-col :span="8"> 41 <el-col :span="8">
42 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx"> 42 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记类型:" prop="slsq.djlx">
43 <el-select disabled v-model="ruleForm.sldy.djlx" filterable clearable placeholder="请选择登记类型"> 43 <el-select disabled v-model="ruleForm.sldyList[0].djlx" filterable clearable placeholder="请选择登记类型">
44 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 44 <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode">
45 </el-option> 45 </el-option>
46 </el-select> 46 </el-select>
......
...@@ -72,7 +72,21 @@ ...@@ -72,7 +72,21 @@
72 <el-row :gutter="10"> 72 <el-row :gutter="10">
73 <el-col :span="8"> 73 <el-col :span="8">
74 <el-form-item label="宗地面积:"> 74 <el-form-item label="宗地面积:">
75 <el-input v-model="ruleForm.zdjbxx.zdmj"></el-input> 75 <div class="flex">
76 <el-input v-model="ruleForm.zdjbxx.zdmj"
77 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
78 <el-select
79 v-model="ruleForm.fdcq2.mjdw"
80 :disabled="!ableOperation"
81 style="width: 20%">
82 <el-option
83 v-for="item in dictData['A7']"
84 :key="item.dcode"
85 :label="item.dname"
86 :value="item.dcode">
87 </el-option>
88 </el-select>
89 </div>
76 </el-form-item> 90 </el-form-item>
77 </el-col> 91 </el-col>
78 <!-- <el-col :span="8"> 92 <!-- <el-col :span="8">
...@@ -88,7 +102,7 @@ ...@@ -88,7 +102,7 @@
88 <el-col :span="8"> 102 <el-col :span="8">
89 <el-form-item label="取得价格:"> 103 <el-form-item label="取得价格:">
90 <div style="display:flex"> 104 <div style="display:flex">
91 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> 105 <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input>
92 <el-select v-model="ruleForm.jsydsyq.jedw"> 106 <el-select v-model="ruleForm.jsydsyq.jedw">
93 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 107 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
94 </el-option> 108 </el-option>
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 <el-input 102 <el-input
103 v-model="ruleForm.jsydsyq.qdjg" 103 v-model="ruleForm.jsydsyq.qdjg"
104 style="width: 500%" 104 style="width: 500%"
105 oninput="value=value.replace(/[^\d.]/g,'')" 105 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
106 disabled 106 disabled
107 ></el-input> 107 ></el-input>
108 <el-select v-model="ruleForm.jsydsyq.jedw" disabled> 108 <el-select v-model="ruleForm.jsydsyq.jedw" disabled>
......
...@@ -242,7 +242,8 @@ ...@@ -242,7 +242,8 @@
242 if (!this.isJump) { 242 if (!this.isJump) {
243 startBusinessFlow({ 243 startBusinessFlow({
244 bsmSqyw: this.bsmSqyw, 244 bsmSqyw: this.bsmSqyw,
245 sjlx: 'zrz', 245 //sjlx: 'zrz',
246 sjlx: this.activeName,
246 bdcdysz: this.bdcdysz, 247 bdcdysz: this.bdcdysz,
247 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", 248 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
248 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", 249 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
28 "/workFrame?bsmSlsq=" + 28 "/workFrame?bsmSlsq=" +
29 data.bsmSlsq + 29 data.bsmSlsq +
30 "&bestepid=" + 30 "&bestepid=" +
31 data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type 31 data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type+"&zbhj=受理"
32 ); 32 );
33 window.open(href, "_blank"); 33 window.open(href, "_blank");
34 this.$popupCacel() 34 this.$popupCacel()
......
...@@ -122,7 +122,7 @@ class data extends filter { ...@@ -122,7 +122,7 @@ class data extends filter {
122 minWidth: '130' 122 minWidth: '130'
123 }, 123 },
124 { 124 {
125 label: '操作111', 125 label: '操作',
126 width: '160', 126 width: '160',
127 align: 'center', 127 align: 'center',
128 fixed: 'right', 128 fixed: 'right',
......
...@@ -103,7 +103,7 @@ class data extends filter { ...@@ -103,7 +103,7 @@ class data extends filter {
103 minWidth: '130' 103 minWidth: '130'
104 }, 104 },
105 { 105 {
106 label: '操作111', 106 label: '操作',
107 width: '160', 107 width: '160',
108 align: 'center', 108 align: 'center',
109 fixed: 'right', 109 fixed: 'right',
......