1、审批结论拼接到评论意见中去

2、word名称调整
This commit is contained in:
pan 2024-10-08 11:26:43 +08:00
parent 394f9ec24f
commit 325f34b243
2 changed files with 22 additions and 2 deletions

View File

@ -2,12 +2,12 @@
{index}、{toolName} {index}、{toolName}
编号 编号
{toolCode} {toolCode}
中文名 中文
{toolName} {toolName}
来源 来源
{toolSourceName} {toolSourceName}
形态 形态
{status} {statusName}
类别 类别
{toolTypeName} {toolTypeName}
用途 用途

View File

@ -22,7 +22,7 @@
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<el-form-item :label="submitLabel+'结论:'" prop="pass"> <el-form-item :label="submitLabel+'结论:'" prop="pass">
<el-radio-group v-model.trim="formSubmit.pass"> <el-radio-group v-model.trim="formSubmit.pass" @change="passChange">
<el-radio <el-radio
v-for="dict in passoptions" v-for="dict in passoptions"
:key="dict.value" :key="dict.value"
@ -493,7 +493,7 @@ export default {
{ value: true, label: "通过" }, { value: true, label: "通过" },
{ value: false, label: "不通过" }, { value: false, label: "不通过" },
], ],
formSubmit: { summary: "", actionType: "", pass: true }, formSubmit: { summary: "通过", actionType: "", pass: true },
isSummary: false, isSummary: false,
activeName: "info", activeName: "info",
nodeDetail: [], nodeDetail: [],
@ -1255,6 +1255,26 @@ export default {
this.$refs.toolSelect.init(null,null,true, toolIds) this.$refs.toolSelect.init(null,null,true, toolIds)
}) })
}, },
/**
* 状态变更
*/
passChange(){
let self = this
if(self.formSubmit.summary == null || self.formSubmit.summary == '' || self.formSubmit.summary == undefined ){
if(self.formSubmit.pass){
self.formSubmit.summary = '通过'
}else{
self.formSubmit.summary = '不通过'
}
}else{
if(self.formSubmit.pass){
self.formSubmit.summary = self.formSubmit.summary.replace("不通过", "通过")
}else{
self.formSubmit.summary = self.formSubmit.summary.replace("通过", "不通过")
}
}
}
}, },