|
@@ -20,7 +20,7 @@ export default {
|
|
this.$set(this.formStates, indicatorItem.uuid, {
|
|
this.$set(this.formStates, indicatorItem.uuid, {
|
|
...indicatorItem,
|
|
...indicatorItem,
|
|
auditResult: this.checkResultColumns.find(item => item.value === indicatorItem.auditResult) && this.checkResultColumns.find(item => item.value === indicatorItem.auditResult).text,
|
|
auditResult: this.checkResultColumns.find(item => item.value === indicatorItem.auditResult) && this.checkResultColumns.find(item => item.value === indicatorItem.auditResult).text,
|
|
- auditScore: this.checkGoalColumns.find(item => item.value === indicatorItem.auditScore) && this.checkGoalColumns.find(item => item.value === indicatorItem.auditScore).text,
|
|
|
|
|
|
+ auditScore: indicatorItem.auditResult === 3 ? '' : indicatorItem.auditScore, //后端会直接返回过来具体的分数
|
|
fileList: indicatorItem.expandStr ? indicatorItem.expandStr.split(',').map(item => {
|
|
fileList: indicatorItem.expandStr ? indicatorItem.expandStr.split(',').map(item => {
|
|
return {
|
|
return {
|
|
uuid: item
|
|
uuid: item
|
|
@@ -92,7 +92,6 @@ export default {
|
|
indicatorInputBody: indicateItem.indicatorInputBody,
|
|
indicatorInputBody: indicateItem.indicatorInputBody,
|
|
auditor: uni.getStorageSync("userInfo").realName,
|
|
auditor: uni.getStorageSync("userInfo").realName,
|
|
auditResult: this.checkResultColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditResult) && this.checkResultColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditResult).value,
|
|
auditResult: this.checkResultColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditResult) && this.checkResultColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditResult).value,
|
|
- auditScore: this.checkGoalColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditScore) && this.checkGoalColumns.find(item => item.text === this.formStates[indicateItem.uuid].auditScore).value,
|
|
|
|
auditRemark: this.formStates[indicateItem.uuid].auditRemark,
|
|
auditRemark: this.formStates[indicateItem.uuid].auditRemark,
|
|
//文件上传字段
|
|
//文件上传字段
|
|
expandStr: this.formStates[indicateItem.uuid].fileList.map(item => item.uuid).join(','),
|
|
expandStr: this.formStates[indicateItem.uuid].fileList.map(item => item.uuid).join(','),
|
|
@@ -175,9 +174,7 @@ export default {
|
|
label="核查得分"
|
|
label="核查得分"
|
|
>
|
|
>
|
|
<template #input>
|
|
<template #input>
|
|
- <view v-if="item.auditResult === 0 && item.auditScore === 0">符合</view>
|
|
|
|
- <view v-if="item.auditResult === 1 && item.auditScore === 0">整改 0分</view>
|
|
|
|
- <view v-if="item.auditResult === 2 && item.auditScore === -10">整改扣分 -10分</view>
|
|
|
|
|
|
+ {{item.auditScore }}
|
|
</template>
|
|
</template>
|
|
</van-field>
|
|
</van-field>
|
|
<!--核查说明-->
|
|
<!--核查说明-->
|