|
@@ -483,18 +483,34 @@
|
|
|
<el-input :disabled="true" v-model="scope.row.typeName" ></el-input>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
- <vxe-table-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}" align="left">
|
|
|
- <template v-slot:edit="scope">
|
|
|
- <vxe-select :disabled="inputForm.taskName === '二级复核' || inputForm.taskName === '三级复核'" v-model="scope.row.reviewComments" transfer>
|
|
|
- <vxe-option
|
|
|
- v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
- :key="item.value"
|
|
|
- :value="item.value"
|
|
|
- :label="item.label">
|
|
|
- </vxe-option>
|
|
|
- </vxe-select>
|
|
|
- </template>
|
|
|
- </vxe-table-column>
|
|
|
+ <vxe-colgroup title="复核结果(是/否/不适用)" align="left">
|
|
|
+ <vxe-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)"
|
|
|
+ :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}"
|
|
|
+ align="left">
|
|
|
+ <template #header>
|
|
|
+ <div style="float: right;width: 94%">
|
|
|
+ <vxe-select v-model="inputForm.reviewComments0" placeholder="一键添加" transfer @change="changeValue">
|
|
|
+ <vxe-option
|
|
|
+ v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
+ :key="item.value"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label">
|
|
|
+ </vxe-option>
|
|
|
+ </vxe-select>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-slot:edit="scope">
|
|
|
+ <vxe-select :disabled="inputForm.taskName === '二级复核' || inputForm.taskName === '三级复核'|| status === 'taskFormDetail'" v-model="scope.row.reviewComments" transfer >
|
|
|
+ <vxe-option
|
|
|
+ v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
+ :key="item.value"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label">
|
|
|
+ </vxe-option>
|
|
|
+ </vxe-select>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+ </vxe-colgroup>
|
|
|
</vxe-table>
|
|
|
<el-col style="margin-top: 15px">
|
|
|
<el-form-item label="关注或修改的事项" prop="needUpdate1"
|
|
@@ -512,7 +528,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-form :model="inputForm" ref="inputForm" v-loading="loading" :class="method==='view'?'readonly':''" v-if="this.inputForm.taskName === '二级复核' || this.inputForm.reviewStatus === '5'
|
|
|
- || this.inputForm.taskName === '三级复核' || this.inputForm.reviewStatus === '4'"
|
|
|
+ || this.inputForm.taskName === '三级复核' || this.inputForm.reviewStatus === '4'|| status === 'taskFormDetail'"
|
|
|
label-width="135px" @submit.native.prevent>
|
|
|
<el-divider content-position="left"><i class="el-icon-document"></i>二级复核</el-divider>
|
|
|
<el-row :gutter="15" >
|
|
@@ -533,8 +549,21 @@
|
|
|
<el-input :disabled="true" v-model="scope.row.typeName" ></el-input>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
+ <vxe-colgroup title="复核结果(是/否/不适用)" align="left" >
|
|
|
<vxe-table-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}" align="left">
|
|
|
- <template v-slot:edit="scope">
|
|
|
+ <template #header>
|
|
|
+ <div style="float: right;width: 94%">
|
|
|
+ <vxe-select v-model="inputForm.reviewComments1" placeholder="一键添加" transfer @change="changeValue1">
|
|
|
+ <vxe-option
|
|
|
+ v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
+ :key="item.value"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label">
|
|
|
+ </vxe-option>
|
|
|
+ </vxe-select>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-slot:edit="scope">
|
|
|
<vxe-select :disabled="inputForm.reviewStatus === '4' || inputForm.taskName === '三级复核'" v-model="scope.row.reviewComments" transfer>
|
|
|
<vxe-option
|
|
|
v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
@@ -545,6 +574,7 @@
|
|
|
</vxe-select>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
+ </vxe-colgroup>
|
|
|
</vxe-table>
|
|
|
<el-col style="margin-top: 15px">
|
|
|
<el-form-item label="关注或修改的事项" prop="needUpdate2"
|
|
@@ -583,9 +613,22 @@
|
|
|
<el-input :disabled="true" v-model="scope.row.typeName" ></el-input>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
+ <vxe-colgroup title="复核结果(是/否/不适用)" align="left" >
|
|
|
<vxe-table-column width="30%" field="reviewComments" title="复核结果(是/否/不适用)" :edit-render="{name: '$select', options: $dictUtils.getDictList('yes_no_notApplicable')}" align="left">
|
|
|
- <template v-slot:edit="scope">
|
|
|
- <vxe-select :disabled="inputForm.taskName === '一级复核' || inputForm.reviewStatus === '4'" v-model="scope.row.reviewComments" transfer>
|
|
|
+ <template #header>
|
|
|
+ <div style="float: right;width: 94%">
|
|
|
+ <vxe-select v-model="inputForm.reviewComments2" placeholder="一键添加" transfer @change="changeValue2">
|
|
|
+ <vxe-option
|
|
|
+ v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
+ :key="item.value"
|
|
|
+ :value="item.value"
|
|
|
+ :label="item.label">
|
|
|
+ </vxe-option>
|
|
|
+ </vxe-select>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-slot:edit="scope">
|
|
|
+ <vxe-select :disabled="inputForm.taskName === '一级复核' || inputForm.reviewStatus === '4'|| status === 'taskFormDetail'" v-model="scope.row.reviewComments" transfer>
|
|
|
<vxe-option
|
|
|
v-for="item in $dictUtils.getDictList('yes_no_notApplicable')"
|
|
|
:key="item.value"
|
|
@@ -595,6 +638,7 @@
|
|
|
</vxe-select>
|
|
|
</template>
|
|
|
</vxe-table-column>
|
|
|
+ </vxe-colgroup>
|
|
|
</vxe-table>
|
|
|
<el-col style="margin-top: 15px">
|
|
|
<el-form-item label="关注或修改的事项" prop="needUpdate3"
|
|
@@ -734,7 +778,10 @@
|
|
|
projectMasterId1: '',
|
|
|
projectMasterId2: '',
|
|
|
industry: '',
|
|
|
- businessObjects: ''
|
|
|
+ businessObjects: '',
|
|
|
+ reviewComments0:'',
|
|
|
+ reviewComments1:'',
|
|
|
+ reviewComments2:'',
|
|
|
},
|
|
|
keyWatch: '',
|
|
|
activeName: 'enclosure',
|
|
@@ -879,6 +926,7 @@
|
|
|
this.reviewBys = []
|
|
|
this.$nextTick(() => {
|
|
|
// this.$refs.inputForm.resetFields()
|
|
|
+
|
|
|
this.loading = true
|
|
|
projectReportService.queryById(this.inputForm.id).then((data) => {
|
|
|
// this.$refs.uploadComponent.clearUpload()
|
|
@@ -1304,12 +1352,42 @@
|
|
|
} else {
|
|
|
this.inputForm.signatureAnnotator2 = value
|
|
|
}
|
|
|
- }
|
|
|
- }
|
|
|
+ },
|
|
|
+
|
|
|
+ changeValue(now){
|
|
|
+ this.inputForm.detailFor1010.forEach(res=>{
|
|
|
+ res.reviewComments=now.value
|
|
|
+ })
|
|
|
+ },
|
|
|
+ changeValue1(now){
|
|
|
+ this.inputForm.detailFor1020.forEach(res=>{
|
|
|
+ res.reviewComments=now.value
|
|
|
+ })
|
|
|
+ },
|
|
|
+ changeValue2(now){
|
|
|
+ this.inputForm.detailFor1030.forEach(res=>{
|
|
|
+ res.reviewComments=now.value
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
/deep/ .el-input-number .el-input__inner {
|
|
|
text-align: left;
|
|
|
}
|
|
|
+
|
|
|
+ /deep/ .vxe-select-option {
|
|
|
+ padding: 0 .6em;
|
|
|
+ max-width: 600px;
|
|
|
+ overflow: visible;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ -webkit-user-select: none;
|
|
|
+ -moz-user-select: none;
|
|
|
+ -ms-user-select: none;
|
|
|
+ user-select: none
|
|
|
+ }
|
|
|
</style>
|