|
@@ -560,7 +560,6 @@ export default {
|
|
async open(form) {
|
|
async open(form) {
|
|
var a = ''
|
|
var a = ''
|
|
this.form = JSON.parse(JSON.stringify(form))
|
|
this.form = JSON.parse(JSON.stringify(form))
|
|
- console.log(form);
|
|
|
|
if (this.form.id) {
|
|
if (this.form.id) {
|
|
if (this.$reportPermission(this.form.id, [0, 1])) {
|
|
if (this.$reportPermission(this.form.id, [0, 1])) {
|
|
a = '编辑'
|
|
a = '编辑'
|
|
@@ -572,9 +571,8 @@ export default {
|
|
this.$set(this.form, 'systemFileList', [])
|
|
this.$set(this.form, 'systemFileList', [])
|
|
this.$set(this.form, 'fileGuids', [])
|
|
this.$set(this.form, 'fileGuids', [])
|
|
a = '创建'
|
|
a = '创建'
|
|
- // console.log(1);
|
|
|
|
}
|
|
}
|
|
- // console.log(2);
|
|
|
|
|
|
+
|
|
var reportType = this.dictMessage.REPORT_TYPE.filter(item => { return item.dictChildValue == this.form.reportType })[0].dictChildLabel
|
|
var reportType = this.dictMessage.REPORT_TYPE.filter(item => { return item.dictChildValue == this.form.reportType })[0].dictChildLabel
|
|
this.title = a + reportType + '报告'
|
|
this.title = a + reportType + '报告'
|
|
// 负责人
|
|
// 负责人
|
|
@@ -583,20 +581,9 @@ export default {
|
|
await this.getPermissionPersonnel(1)
|
|
await this.getPermissionPersonnel(1)
|
|
this.personnelList.queryParams.id = null
|
|
this.personnelList.queryParams.id = null
|
|
}
|
|
}
|
|
- // console.log(3);
|
|
|
|
- // 委托方
|
|
|
|
- // if (this.form.entrustId) {
|
|
|
|
- // this.clientList.queryParams.id = this.form.entrustId
|
|
|
|
- // await this.getAllClientList(1)
|
|
|
|
- // this.clientList.queryParams.id = null
|
|
|
|
- // }
|
|
|
|
-
|
|
|
|
this.getPermissionPersonnel()
|
|
this.getPermissionPersonnel()
|
|
- // console.log(4);
|
|
|
|
- // this.getAllClientList()
|
|
|
|
// this.getEventList()
|
|
// this.getEventList()
|
|
this.showDialog = true
|
|
this.showDialog = true
|
|
- // console.log(5);
|
|
|
|
},
|
|
},
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -867,6 +854,7 @@ export default {
|
|
// 清空事件相关
|
|
// 清空事件相关
|
|
this.form.eventIds = []
|
|
this.form.eventIds = []
|
|
this.eventList.queryParams.current = 1
|
|
this.eventList.queryParams.current = 1
|
|
|
|
+ this.eventList.name = ''
|
|
this.eventList.data = []
|
|
this.eventList.data = []
|
|
// 清空负责人相关
|
|
// 清空负责人相关
|
|
this.personnelList.data = []
|
|
this.personnelList.data = []
|