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