1、审批结论拼接到评论意见中去
2、word名称调整
This commit is contained in:
BIN
public/tool.docx
BIN
public/tool.docx
Binary file not shown.
@@ -22,7 +22,7 @@
|
||||
<el-row>
|
||||
<el-col :span="24">
|
||||
<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
|
||||
v-for="dict in passoptions"
|
||||
:key="dict.value"
|
||||
@@ -493,7 +493,7 @@ export default {
|
||||
{ value: true, label: "通过" },
|
||||
{ value: false, label: "不通过" },
|
||||
],
|
||||
formSubmit: { summary: "", actionType: "", pass: true },
|
||||
formSubmit: { summary: "通过", actionType: "", pass: true },
|
||||
isSummary: false,
|
||||
activeName: "info",
|
||||
nodeDetail: [],
|
||||
@@ -1255,6 +1255,26 @@ export default {
|
||||
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("通过", "不通过")
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user