Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
+27
@@ -92,7 +92,32 @@ export default {
|
||||
isBoolean: false
|
||||
}
|
||||
},
|
||||
created() {
|
||||
let _this = this;
|
||||
//窗口改变时
|
||||
window.onresize = function () {
|
||||
_this.handleRefreshTable();
|
||||
};
|
||||
},
|
||||
updated() {
|
||||
this.handleRefreshTable()
|
||||
},
|
||||
methods: {
|
||||
handleRefreshTable() {
|
||||
this.$nextTick(() => {
|
||||
// 获取页面中已注册过ref的所有的子组件。
|
||||
let refList = this.$refs.appView.$refs;
|
||||
if (refList) {
|
||||
for (let i of Object.keys(refList)) {
|
||||
// 根据doLayout方法判断子组件是不是el-table
|
||||
if (refList[i] && refList[i].doLayout) {
|
||||
// 执行doLayout方法
|
||||
refList[i].doLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
// 点击下拉选项事件
|
||||
handleCommand(command) {
|
||||
// 退出登录
|
||||
@@ -227,6 +252,8 @@ export default {
|
||||
} else {
|
||||
this.isBoolean = false
|
||||
}
|
||||
//切换标签时
|
||||
this.handleRefreshTable();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@@ -1601,7 +1601,6 @@
|
||||
this.FBGBUSSName = ""
|
||||
}
|
||||
this.LSBBBUSSFileList=this.LSBBBUSSFileList.concat(this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName))
|
||||
console.log(this.LSBBBUSSFileList)
|
||||
this.form.LSBBBUSS = this.form.FBGBUSS
|
||||
this.form.LSBBBUSSName = this.form.FBGBUSSName
|
||||
this.FBGBUSSFileList= []
|
||||
@@ -1622,10 +1621,10 @@
|
||||
this.XGDFileList=[];
|
||||
this.$refs['form'].resetFields()
|
||||
this.form.standStatus = '1'
|
||||
if(this.form.standStatus === '1'){
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
// if(this.form.standStatus === '1'){
|
||||
// this.isSubmit = true
|
||||
// this.saveLoading = true
|
||||
// }
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
||||
// _this: this
|
||||
// }, res => {
|
||||
|
||||
@@ -2700,7 +2700,7 @@
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standYear = this.regDate(year)
|
||||
this.form.standYear = year
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
|
||||
@@ -1005,9 +1005,9 @@
|
||||
{ required: true, message: '请输入企标编号', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
],
|
||||
standYear: [
|
||||
{ required: true, message: '请输入标准年份'},
|
||||
],
|
||||
// standYear: [
|
||||
// { required: true, message: '请输入标准年份'},
|
||||
// ],
|
||||
standName: [
|
||||
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
@@ -1140,15 +1140,15 @@
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standYear = this.regDate(year)
|
||||
this.form.standYear = year
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
this.form.id = ""
|
||||
if(type === '1'){
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = true
|
||||
// this.saveLoading = true
|
||||
// }
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
|
||||
@@ -1078,9 +1078,9 @@
|
||||
{ required: true, message: '请输入企标编号', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
],
|
||||
standYear: [
|
||||
{ required: true, message: '请输入标准年份'},
|
||||
],
|
||||
// standYear: [
|
||||
// { required: true, message: '请输入标准年份'},
|
||||
// ],
|
||||
standName: [
|
||||
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
@@ -1218,15 +1218,15 @@
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standYear = this.regDate(year)
|
||||
this.form.standYear = year
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
this.form.id = ""
|
||||
if(type === '1'){
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = true
|
||||
// this.saveLoading = true
|
||||
// }
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
|
||||
@@ -1005,9 +1005,9 @@
|
||||
{ required: true, message: '请输入企标编号', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
],
|
||||
standYear: [
|
||||
{ required: true, message: '请输入标准年份'},
|
||||
],
|
||||
// standYear: [
|
||||
// { required: true, message: '请输入标准年份'},
|
||||
// ],
|
||||
standName: [
|
||||
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
@@ -1140,15 +1140,15 @@
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standYear = this.regDate(year)
|
||||
this.form.standYear = year
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
this.form.id = ""
|
||||
if(type === '1'){
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = true
|
||||
// this.saveLoading = true
|
||||
// }
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
|
||||
@@ -1088,9 +1088,9 @@
|
||||
{ required: true, message: '请输入企标编号', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
],
|
||||
standYear: [
|
||||
{ required: true, message: '请输入标准年份'},
|
||||
],
|
||||
// standYear: [
|
||||
// { required: true, message: '请输入标准年份'},
|
||||
// ],
|
||||
standName: [
|
||||
{ required: true, message: '请输入企标中文名称', trigger: 'blur' },
|
||||
{ min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' },
|
||||
@@ -1228,15 +1228,15 @@
|
||||
this.formKey++
|
||||
this.form.standSn = this.form.standNum
|
||||
this.form.standNumber = this.form.standNum
|
||||
this.form.standYear = this.regDate(year)
|
||||
this.form.standYear = year
|
||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||
this.formKey++
|
||||
}else if(this.form.standStatus === '1' ){
|
||||
this.form.id = ""
|
||||
if(type === '1'){
|
||||
this.isSubmit = true
|
||||
this.saveLoading = true
|
||||
}
|
||||
// if(type === '1'){
|
||||
// this.isSubmit = true
|
||||
// this.saveLoading = true
|
||||
// }
|
||||
this.formKey++
|
||||
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||
// _this: this
|
||||
|
||||
@@ -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: [], //项目细分类下拉框
|
||||
@@ -577,7 +579,7 @@ export default {
|
||||
}, {}, res => {
|
||||
this.decomposeOptions.push(
|
||||
{
|
||||
value: 'BDR',
|
||||
value: "BDR",
|
||||
label: '不带入'
|
||||
}
|
||||
)
|
||||
@@ -946,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", "", {
|
||||
@@ -965,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