完善了重点工程隐患评审功能
parent
d2b5dddac1
commit
848987aad3
|
@ -52,6 +52,7 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
KEYWORDS: '',
|
||||
CORPINFO_ID: '',
|
||||
OUTSOURCED_ID: '',
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
|
@ -71,7 +72,8 @@ export default {
|
|||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
this.OUTSOURCED_ID = e.OUTSOURCED_ID
|
||||
this.OUTSOURCED_ID = e.OUTSOURCED_ID,
|
||||
this.CORPINFO_ID = this.$route.query.CORPINFO_ID
|
||||
},
|
||||
onShow(){
|
||||
this.resetList()
|
||||
|
@ -81,6 +83,7 @@ export default {
|
|||
let resData = await getKeyProjectsCheckList({
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
OUTSOURCED_ID: this.OUTSOURCED_ID,
|
||||
CORPINFO_ID: this.CORPINFO_ID,
|
||||
showCount: this.pageSize,
|
||||
currentPage: this.currentPage,
|
||||
});
|
||||
|
@ -99,6 +102,7 @@ export default {
|
|||
params: {
|
||||
KEYPROJECTCHECK_ID,
|
||||
type,
|
||||
CORPINFO_ID:this.CORPINFO_ID,
|
||||
OUTSOURCED_ID:this.OUTSOURCED_ID
|
||||
}
|
||||
})
|
||||
|
|
|
@ -356,6 +356,8 @@ export default {
|
|||
HIDDENLEVEL: '',
|
||||
HIDDENTYPE_NAME: '',
|
||||
HIDDENTYPE: '',
|
||||
HIDDENTYPE2_NAME: '',
|
||||
HIDDENTYPE2: '',
|
||||
SOURCE: '4',
|
||||
CORPINFO_ID: '',
|
||||
HIDDENFINDDEPT: '',
|
||||
|
@ -396,6 +398,7 @@ export default {
|
|||
async onLoad(event) {
|
||||
this.KEYPROJECTCHECK_ID = event.KEYPROJECTCHECK_ID
|
||||
this.OUTSOURCED_ID = event.OUTSOURCED_ID
|
||||
|
||||
this.disabled = !(event.type === 'add' || event.type === 'edit');
|
||||
if (this.KEYPROJECTCHECK_ID) {
|
||||
await this.fnGetKeyProjectsCheckView()
|
||||
|
@ -492,6 +495,14 @@ export default {
|
|||
if (list === 'hiddenTypeTreeList') {
|
||||
this.hiddenForm.HIDDENTYPE = e[0].id
|
||||
this.hiddenForm.HIDDENTYPE_NAME = e[0].name
|
||||
// 获取根节点元素名
|
||||
this.hiddenTypeTreeList.forEach((enode) => {
|
||||
if (JSON.stringify(enode).includes(e[0].id) && JSON.stringify(enode).includes(e[0].name)){
|
||||
// CORPINFO_ID = this.$route.query.CORPINFO_ID,
|
||||
this.hiddenForm.HIDDENTYPE2 = enode.id
|
||||
this.hiddenForm.HIDDENTYPE2_NAME = enode.name
|
||||
}
|
||||
})
|
||||
}
|
||||
if (list === 'rectificationSiteuserColumns') {
|
||||
this.hiddenForm.RECTIFICATIONDEPT = e[0].UNITS_ID
|
||||
|
@ -636,6 +647,8 @@ export default {
|
|||
FOREIGN_KEY,
|
||||
TYPE: 102,
|
||||
CORPINFO_ID: this.userInfo.CORPINFO_ID,
|
||||
// CORPINFO_ID: this.CORPINFO_ID,
|
||||
|
||||
},
|
||||
loading:false
|
||||
})
|
||||
|
|
|
@ -101,6 +101,7 @@ export default {
|
|||
url: '/pages/key-project-management/safety-environmental-inspection/detail-list',
|
||||
params: {
|
||||
OUTSOURCED_ID,
|
||||
CORPINFO_ID: this.CORPINFO_ID
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue