7c6d1836 by renchao@pashanhoo.com

style:受理申请

1 parent 9c80a7c9
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-17 13:38:12 4 * @LastEditTime: 2023-09-13 14:05:26
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 ref="ruleForm" 12 ref="ruleForm"
13 v-Loading="loading"
13 :label-position="flag ? 'top' : ''" 14 :label-position="flag ? 'top' : ''"
14 :inline="flag" 15 :inline="flag"
15 label-width="120px"> 16 label-width="120px">
...@@ -243,11 +244,13 @@ ...@@ -243,11 +244,13 @@
243 export default { 244 export default {
244 mixins: [ywmix], 245 mixins: [ywmix],
245 mounted () { 246 mounted () {
247 this.loading = true
246 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 248 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
247 this.propsParam = this.$attrs; 249 this.propsParam = this.$attrs;
248 var formdata = new FormData(); 250 var formdata = new FormData();
249 formdata.append("bsmSldy", this.propsParam.bsmSldy); 251 formdata.append("bsmSldy", this.propsParam.bsmSldy);
250 Init(formdata).then((res) => { 252 Init(formdata).then((res) => {
253 this.loading = false
251 if (res.code === 200 && res.result) { 254 if (res.code === 200 && res.result) {
252 this.ruleForm = { 255 this.ruleForm = {
253 ...res.result, 256 ...res.result,
...@@ -262,7 +265,9 @@ ...@@ -262,7 +265,9 @@
262 }); 265 });
263 this.czrOptions = this.ruleForm.qlrList; 266 this.czrOptions = this.ruleForm.qlrList;
264 } 267 }
265 }); 268 }).catch(() => {
269 this.loading = false
270 })
266 }, 271 },
267 components: { qlrCommonTable, tdytTable }, 272 components: { qlrCommonTable, tdytTable },
268 computed: { 273 computed: {
...@@ -270,6 +275,7 @@ ...@@ -270,6 +275,7 @@
270 }, 275 },
271 data () { 276 data () {
272 return { 277 return {
278 loading: false,
273 //表单是否可操作 279 //表单是否可操作
274 viewEdit: false, 280 viewEdit: false,
275 disabled: true, 281 disabled: true,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-09-11 16:28:26 4 * @LastEditTime: 2023-09-13 14:06:17
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 :class="{ readonly: editDisabled }" 12 :class="{ readonly: editDisabled }"
13 class="loadingtext" 13 v-Loading="loading"
14 ref="ruleForm" 14 ref="ruleForm"
15 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :inline="flag" 16 :inline="flag"
...@@ -252,14 +252,14 @@ ...@@ -252,14 +252,14 @@
252 this.propsParam = this.$attrs; 252 this.propsParam = this.$attrs;
253 var formdata = new FormData(); 253 var formdata = new FormData();
254 let that = this; 254 let that = this;
255 this.$startLoading(); 255 this.loading = true
256 formdata.append("bsmSldy", this.propsParam.bsmSldy); 256 formdata.append("bsmSldy", this.propsParam.bsmSldy);
257 formdata.append("djlx", this.propsParam.djlx); 257 formdata.append("djlx", this.propsParam.djlx);
258 formdata.append("isEdit", this.viewEdit); 258 formdata.append("isEdit", this.viewEdit);
259 Init(formdata).then((res) => { 259 Init(formdata).then((res) => {
260 this.loading = false
260 this.$nextTick(() => { 261 this.$nextTick(() => {
261 that.ruleForm = res.result; 262 that.ruleForm = res.result;
262 that.$endLoading();
263 that.isShow = true; 263 that.isShow = true;
264 this.czrOptions = this.ruleForm.qlrList; 264 this.czrOptions = this.ruleForm.qlrList;
265 this.ruleForm.qlrList.forEach((item) => { 265 this.ruleForm.qlrList.forEach((item) => {
...@@ -267,9 +267,11 @@ ...@@ -267,9 +267,11 @@
267 this.czr = item.zjh 267 this.czr = item.zjh
268 console.log("this.ruleForm.qlrList1", this.ruleForm.qlrList, this.czr); 268 console.log("this.ruleForm.qlrList1", this.ruleForm.qlrList, this.czr);
269 } 269 }
270 }); 270 })
271 }); 271 })
272 }); 272 }).catch(() => {
273 this.loading = false
274 })
273 }, 275 },
274 components: { qlrCommonTable, tdytTable, ywrCommonTable }, 276 components: { qlrCommonTable, tdytTable, ywrCommonTable },
275 computed: { 277 computed: {
...@@ -285,6 +287,7 @@ ...@@ -285,6 +287,7 @@
285 }, 287 },
286 data () { 288 data () {
287 return { 289 return {
290 loading: false,
288 mjdw: "1", 291 mjdw: "1",
289 //表单是否可操作 292 //表单是否可操作
290 viewEdit: true, 293 viewEdit: true,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 <el-form 4 <el-form
5 :model="ruleForm" 5 :model="ruleForm"
6 :rules="rules" 6 :rules="rules"
7 class="loadingtext" 7 v-Loading="loading"
8 ref="ruleForm" 8 ref="ruleForm"
9 :label-position="flag ? 'top' : ''" 9 :label-position="flag ? 'top' : ''"
10 :inline="flag" 10 :inline="flag"
...@@ -331,11 +331,12 @@ ...@@ -331,11 +331,12 @@
331 this.viewEdit = this.$parent.currentSelectTab.ableOperation; 331 this.viewEdit = this.$parent.currentSelectTab.ableOperation;
332 this.propsParam = this.$attrs; 332 this.propsParam = this.$attrs;
333 var formdata = new FormData(); 333 var formdata = new FormData();
334 this.$startLoading(); 334 this.loading = true
335 formdata.append("bsmSldy", this.propsParam.bsmSldy); 335 formdata.append("bsmSldy", this.propsParam.bsmSldy);
336 formdata.append("djlx", this.propsParam.djlx); 336 formdata.append("djlx", this.propsParam.djlx);
337 formdata.append("isEdit", this.viewEdit); 337 formdata.append("isEdit", this.viewEdit);
338 Init(formdata).then((res) => { 338 Init(formdata).then((res) => {
339 this.loading = false
339 if (res.code === 200 && res.result) { 340 if (res.code === 200 && res.result) {
340 this.ruleForm = res.result; 341 this.ruleForm = res.result;
341 this.czrOptions = this.ruleForm.qlrList; 342 this.czrOptions = this.ruleForm.qlrList;
...@@ -343,10 +344,11 @@ ...@@ -343,10 +344,11 @@
343 if (item.sfczr == 1) { 344 if (item.sfczr == 1) {
344 this.czr = item.zjh 345 this.czr = item.zjh
345 } 346 }
346 }); 347 })
347 this.$endLoading();
348 } 348 }
349 }); 349 }).catch(() => {
350 this.loading = false
351 })
350 }, 352 },
351 components: { qlrCommonTable }, 353 components: { qlrCommonTable },
352 computed: { 354 computed: {
...@@ -354,6 +356,7 @@ ...@@ -354,6 +356,7 @@
354 }, 356 },
355 data () { 357 data () {
356 return { 358 return {
359 loading: false,
357 //表单是否可操作 360 //表单是否可操作
358 viewEdit: true, 361 viewEdit: true,
359 disabled: true, 362 disabled: true,
......