From 0c86bdee23df89862c55bb5657e4d35c01b3d9a7 Mon Sep 17 00:00:00 2001
From: zhaoxianhui <1994861028@qq.com>
Date: Tue, 5 Jul 2022 11:30:14 +0800
Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=88=E8=A7=84=E8=AF=84?=
=?UTF-8?q?=E4=BC=B0-=E9=A1=B9=E7=9B=AE=EF=BC=8C=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?=E5=8F=91=E8=B5=B7=E7=95=8C=E9=9D=A2=EF=BC=8C=E5=B0=86=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E4=BF=9D=E5=AD=98=E8=87=B3=E8=8D=89=E7=A8=BF=EF=BC=8C?=
=?UTF-8?q?=E4=BB=8E=E8=8D=89=E7=A8=BF=E8=BF=9B=E5=85=A5=20=E5=88=86?=
=?UTF-8?q?=E8=A7=A3=E5=8D=95=E6=9D=A5=E6=BA=90=E6=98=BE=E7=A4=BA=E4=B8=8D?=
=?UTF-8?q?=E5=AF=B9Bug=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/creatProcess/xmpg/step1.vue | 65 ++++++++++---------
1 file changed, 34 insertions(+), 31 deletions(-)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 2500eaffc..7644a514c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -235,6 +235,7 @@
@submit="handleSubmit"
>
+ 数据获取中
{
- // this.decomposeOptions.push(
- // {
- // value: "BDR",
- // label: '不带入'
- // }
- // )
+ this.decomposeOptions.push(
+ {
+ value: "BDR",
+ label: '不带入'
+ }
+ )
res.data.forEach(item => {
this.decomposeOptions.push(item)
})
@@ -951,15 +948,14 @@ export default {
this.dataList = mes.form.dataList;
this.roleForm = mes.roleForm;
this.commentText = mes.commentText;
+ this.loading=false
});
},
},
mounted() {
+ this.loading=true
this.optionsChange()
this.bpnId = this.$route.query.bpnId
- if (this.bpnId !== undefined) {
- this.getData()
- }
this.getProjectData();
// 查询各下拉框数据
this.$http.get("sys/dictype/getDicTypeListCode", "", {
@@ -970,21 +966,28 @@ export default {
}, e => {
});
//查找分解单来源数据
- // this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
- // _this: this
- // }, res => {
- // this.decomposeOptions.push(
- // {
- // attrField: 'BDR',
- // attrName: '不带入'
- // }
- // )
- // res.data.forEach(item => {
- // if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
- // this.decomposeOptions.push(item)
- // }
- // })
- // })
+ this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
+ _this: this
+ }, res => {
+ this.decomposeOptions.push(
+ {
+ value: 'BDR',
+ label: '不带入'
+ }
+ )
+ res.data.forEach(item => {
+ if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
+ let itemTemp={
+ value:item.attrField,
+ label:item.attrName
+ }
+ this.decomposeOptions.push(itemTemp)
+ }
+ })
+ if (this.bpnId !== undefined) {
+ this.getData()
+ }
+ })
}
};