1.结项详情修改
2.季度审核项目列表去掉状态字段 3.季度审核打分回复平台打分字段
This commit is contained in:
parent
bfdab9e283
commit
8d4f05c2e0
@ -176,7 +176,8 @@ export default {
|
|||||||
//获取当前用户角色
|
//获取当前用户角色
|
||||||
roles: JSON.parse(getItem('roles')),
|
roles: JSON.parse(getItem('roles')),
|
||||||
formPeopleWeightData: [],
|
formPeopleWeightData: [],
|
||||||
projectId: ''
|
projectId: '',
|
||||||
|
conclusionFile: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created () {
|
created () {
|
||||||
@ -188,7 +189,7 @@ export default {
|
|||||||
this.initFormSchema()
|
this.initFormSchema()
|
||||||
// this.getPersonStatus();
|
// this.getPersonStatus();
|
||||||
this.getDocumentType()
|
this.getDocumentType()
|
||||||
this.gerProject()
|
this.getProject()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
nuclearManData () {
|
nuclearManData () {
|
||||||
@ -210,7 +211,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
gerProject () {
|
getProject () {
|
||||||
let params = {
|
let params = {
|
||||||
pageUtil: {
|
pageUtil: {
|
||||||
t: {
|
t: {
|
||||||
@ -257,8 +258,17 @@ export default {
|
|||||||
for (let j = 1; j < permissionsPeopleList.length; j++) {
|
for (let j = 1; j < permissionsPeopleList.length; j++) {
|
||||||
permissionsPeople = permissionsPeople + ',' + permissionsPeopleList[j].label
|
permissionsPeople = permissionsPeople + ',' + permissionsPeopleList[j].label
|
||||||
}
|
}
|
||||||
|
project.execution = project.ext.execution
|
||||||
|
// project.conclusionFile = project.ext.conclusionFile
|
||||||
project.permissionsPeople = permissionsPeople
|
project.permissionsPeople = permissionsPeople
|
||||||
|
if (project.ext.hasOwnProperty('fileData')) {
|
||||||
|
this.formFileData = project.ext.fileData;
|
||||||
|
this.formModel.fileData = project.ext.fileData;
|
||||||
|
console.log("this.formFileData",this.formFileData)
|
||||||
|
console.log("this.formModel.fileData",this.formModel.fileData)
|
||||||
|
}
|
||||||
this.formModel = project
|
this.formModel = project
|
||||||
|
this.logOperationData = JSON.parse(JSON.stringify(this.formModel))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -451,7 +461,7 @@ export default {
|
|||||||
{
|
{
|
||||||
type: 'custom-textarea',
|
type: 'custom-textarea',
|
||||||
title: '项目完成情况',
|
title: '项目完成情况',
|
||||||
model: 'ext.execution',
|
model: 'execution',
|
||||||
externalValue: {
|
externalValue: {
|
||||||
disable: true
|
disable: true
|
||||||
}
|
}
|
||||||
@ -459,7 +469,7 @@ export default {
|
|||||||
{
|
{
|
||||||
type: 'custom-upload-file',
|
type: 'custom-upload-file',
|
||||||
title: '附件',
|
title: '附件',
|
||||||
model: 'ext.conclusionFile',
|
model: 'fileData',
|
||||||
externalValue: {
|
externalValue: {
|
||||||
name: 'file',
|
name: 'file',
|
||||||
actionUrl: `${baseUrl}/api/common/file-upload`,
|
actionUrl: `${baseUrl}/api/common/file-upload`,
|
||||||
@ -691,16 +701,24 @@ export default {
|
|||||||
},
|
},
|
||||||
//表单提交
|
//表单提交
|
||||||
formSubmit (data) {
|
formSubmit (data) {
|
||||||
|
this.$refs.childrenForm.letTextEditorSubmit()
|
||||||
|
console.log('this.formModel', this.formModel)
|
||||||
let params = {
|
let params = {
|
||||||
map: {
|
map: {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
execution: this.execution,
|
execution: this.formModel.execution,
|
||||||
conclusionFile: this.formFileData
|
conclusionFile: this.formFileData
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Api.ProjectManagements.conclusionUpdate(params.map).then(result => {
|
Api.ProjectManagements.conclusionUpdate(params.map).then(result => {
|
||||||
if (result.status === 0) {
|
if (result.status === 0) {
|
||||||
console.log('result', result)
|
this.$message({
|
||||||
|
type: 'success',
|
||||||
|
message: '新增成功!'
|
||||||
|
})
|
||||||
|
this.$router.go(-1)
|
||||||
|
} else {
|
||||||
|
this.$message.error(result.data)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -220,11 +220,6 @@ export default {
|
|||||||
label: '执行部门',
|
label: '执行部门',
|
||||||
prop: 'draftDeptName',
|
prop: 'draftDeptName',
|
||||||
show: true
|
show: true
|
||||||
},
|
|
||||||
{
|
|
||||||
label: '状态',
|
|
||||||
prop: 'taskName',
|
|
||||||
show: true
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -111,7 +111,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
class="form-input"
|
class="form-input"
|
||||||
placeholder="平台建设部部门主任才能打分"
|
placeholder="平台建设部部门主任才能打分"
|
||||||
v-model="formModel.c"
|
v-model="formModel.platformScoring"
|
||||||
:disabled="isPlatform"
|
:disabled="isPlatform"
|
||||||
>
|
>
|
||||||
</el-input>
|
</el-input>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user