项目合规评估-项目,流程发起界面,将数据保存至草稿,从草稿进入 分解单来源显示不对Bug修改
This commit is contained in:
@@ -235,6 +235,7 @@
|
||||
@submit="handleSubmit"
|
||||
>
|
||||
</ProcessFooter>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
<!-- 选择项目抽屉-->
|
||||
<el-drawer
|
||||
title="选择项目"
|
||||
@@ -461,6 +462,7 @@ export default {
|
||||
return time.getTime() < Date.now() - 8.64e7;
|
||||
},
|
||||
},
|
||||
loading:false,
|
||||
managementHostName: [], //管理主体名称下拉框
|
||||
developmentHostName: [], //开发主体名称下拉框
|
||||
categoryName: [], //项目细分类下拉框
|
||||
@@ -474,12 +476,7 @@ export default {
|
||||
saveLoading: false,
|
||||
fileType: '',
|
||||
bpnId: '',
|
||||
decomposeOptions: [
|
||||
{
|
||||
value: "BDR",
|
||||
label: '不带入'
|
||||
}
|
||||
], //分解单来源数据
|
||||
decomposeOptions: [], //分解单来源数据
|
||||
//表单的数据
|
||||
listForm: {
|
||||
projectNumber: "", //项目编号
|
||||
@@ -576,16 +573,16 @@ export default {
|
||||
});
|
||||
},
|
||||
typeList(row){
|
||||
// this.decomposeOptions = []
|
||||
this.decomposeOptions = []
|
||||
this.$http.get("SarStandItems/sar-stand-items/getFileType", {
|
||||
standId: row.standId
|
||||
}, {}, res => {
|
||||
// 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()
|
||||
}
|
||||
})
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user