|
|
@@ -117,28 +117,31 @@
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="明细表" prop="detailOpinion">
|
|
|
<!-- <el-input type="textarea" style="width:100%" maxlength="1000" v-model="inputForm.detailOpinion" placeholder="请填写明细表" ></el-input>-->
|
|
|
- <WangEditor style="width: 100%" ref="contents1Editor" :modelValue="inputForm.detailOpinion"
|
|
|
+ <WangEditor v-if="visible" style="width: 100%" ref="contents1Editor"
|
|
|
+ :modelValue="inputForm.detailOpinion"
|
|
|
@update:modelValue="(value) => { inputForm.detailOpinion = value }" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="评估报告" prop="reportOpinion">
|
|
|
<!-- <el-input type="textarea" style="width:100%" maxlength="1000" v-model="inputForm.reportOpinion" placeholder="请填写评估报告" ></el-input>-->
|
|
|
- <WangEditor style="width: 100%" ref="contents2Editor" :modelValue="inputForm.reportOpinion"
|
|
|
+ <WangEditor v-if="visible" style="width: 100%" ref="contents2Editor"
|
|
|
+ :modelValue="inputForm.reportOpinion"
|
|
|
@update:modelValue="(value) => { inputForm.reportOpinion = value }" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="技术说明" prop="remarksOpinion">
|
|
|
<!-- <el-input type="textarea" style="width:100%" maxlength="1000" v-model="inputForm.remarksOpinion" placeholder="请填写技术说明" ></el-input>-->
|
|
|
- <WangEditor style="width: 100%" ref="contents3Editor" :modelValue="inputForm.remarksOpinion"
|
|
|
+ <WangEditor v-if="visible" style="width: 100%" ref="contents3Editor"
|
|
|
+ :modelValue="inputForm.remarksOpinion"
|
|
|
@update:modelValue="(value) => { inputForm.remarksOpinion = value }" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="工作底稿" prop="workOpinion">
|
|
|
<!-- <el-input type="textarea" style="width:100%" maxlength="1000" v-model="inputForm.workOpinion" placeholder="请填写工作底稿" ></el-input>-->
|
|
|
- <WangEditor style="width: 100%" ref="contents4Editor" :modelValue="inputForm.workOpinion"
|
|
|
+ <WangEditor v-if="visible" style="width: 100%" ref="contents4Editor" :modelValue="inputForm.workOpinion"
|
|
|
@update:modelValue="(value) => { inputForm.workOpinion = value }" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -344,22 +347,14 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
this.loading = true
|
|
|
- if (method === 'view' || this.status === 'taskFormDetail') {
|
|
|
- // 禁用富文本
|
|
|
- this.$refs.contents1Editor.disable()
|
|
|
- this.$refs.contents2Editor.disable()
|
|
|
- this.$refs.contents3Editor.disable()
|
|
|
- this.$refs.contents4Editor.disable()
|
|
|
- }
|
|
|
this.programProjectListInfoService.findByIdAudit(this.inputForm.id).then((data) => {
|
|
|
this.inputForm = this.recover(this.inputForm, data)
|
|
|
this.inputForm = JSON.parse(JSON.stringify(this.inputForm))
|
|
|
- console.log('this.inputForm.id', this.inputForm)
|
|
|
+ this.$refs.uploadComponent.clearUpload()
|
|
|
this.$refs.contents1Editor.clear()
|
|
|
this.$refs.contents2Editor.clear()
|
|
|
this.$refs.contents3Editor.clear()
|
|
|
this.$refs.contents4Editor.clear()
|
|
|
- this.$refs.uploadComponent.clearUpload()
|
|
|
if (this.commonJS.isNotEmpty(this.inputForm.detailOpinion)) {
|
|
|
this.$refs.contents1Editor.init(this.inputForm.detailOpinion)
|
|
|
}
|
|
|
@@ -445,6 +440,7 @@ export default {
|
|
|
programId: '',
|
|
|
auditLevel: '',
|
|
|
auditPeople: '',
|
|
|
+ auditPeopleName: '',
|
|
|
auditDate: '',
|
|
|
retainOpinion: '',
|
|
|
changeOpinion: '',
|
|
|
@@ -457,7 +453,9 @@ export default {
|
|
|
status: '',
|
|
|
programProjectListInfo: {},
|
|
|
programAuditAssessPeopleDtoList: [],
|
|
|
- workAttachmentDtoList: []
|
|
|
+ workAttachmentDtoList: [],
|
|
|
+ auditPeopleList: '',
|
|
|
+ auditPeopleListName: ''
|
|
|
}
|
|
|
this.$refs.inputForm.resetFields()
|
|
|
this.visible = false
|