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()
+ }
+ })
}
};