|
@@ -6,7 +6,7 @@ export default {
|
|
|
/* 提醒uuid */
|
|
|
'$route.query.uuid': {
|
|
|
handler() {
|
|
|
- if(this.$route.query.uuid && this.$route.path === '/subPages/pages/commitment/remindDetail/index') {
|
|
|
+ if (this.$route.query.uuid && this.$route.path === '/subPages/pages/commitment/remindDetail/index') {
|
|
|
this.handleGetDetail()
|
|
|
}
|
|
|
},
|
|
@@ -49,6 +49,13 @@ export default {
|
|
|
handleClose() {
|
|
|
window.history.go(-1)
|
|
|
},
|
|
|
+ handleIndicateBody(indicatorInputBody) {
|
|
|
+ if (indicatorInputBody.includes('&')) {
|
|
|
+ return this.reminderDetail.inputBody ? indicatorInputBody.replace('&', this.reminderDetail.inputBody + this.reminderDetail.inputSegment) : indicatorInputBody
|
|
|
+ } else {
|
|
|
+ return indicatorInputBody
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -71,7 +78,7 @@ export default {
|
|
|
<van-divider></van-divider>
|
|
|
<view>
|
|
|
<view class="indicator-body">
|
|
|
- {{ reminderDetail.indicatorInputBody ? reminderDetail.indicatorInputBody.replace('&', reminderDetail.inputBody + reminderDetail.inputSegment) : ''}}
|
|
|
+ {{ reminderDetail.indicatorInputBody ? handleIndicateBody(reminderDetail.indicatorInputBody) : '' }}
|
|
|
</view>
|
|
|
<view>
|
|
|
<view class="other-title">
|
|
@@ -105,7 +112,12 @@ export default {
|
|
|
label="核查得分"
|
|
|
>
|
|
|
<template #input>
|
|
|
- {{ reminderDetail.auditScore }}
|
|
|
+ <span v-if="reminderDetail.auditResult === 1">
|
|
|
+ 0分
|
|
|
+ </span>
|
|
|
+ <span v-if="reminderDetail.auditResult === 2">
|
|
|
+ -10分
|
|
|
+ </span>
|
|
|
</template>
|
|
|
</van-field>
|
|
|
<!--核查说明-->
|