|
|
@ -22,7 +22,7 @@ |
|
|
|
<template v-for="item in deliverData.checkerList"> |
|
|
|
<!-- 我 --> |
|
|
|
<template v-if="item.isMine === 1"> |
|
|
|
<view class="mt-2 text-sm flex justify-between"> |
|
|
|
<view class="mt-2 text-sm flex justify-between" v-show="item.status > 0 && isRepeatCheck === 0"> |
|
|
|
<view> |
|
|
|
<view class="font-semibold">{{ item.checkerName }}</view> |
|
|
|
<view class="text-xs text-gray-400">{{ item.remark }}</view> |
|
|
@ -45,20 +45,21 @@ |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 自己是审核人 且审核过 当前审核人的审核状态并展示得分情况 --> |
|
|
|
<view v-show="item.status > 0" class="text-xs"> |
|
|
|
<view class="text-xs"> |
|
|
|
<view class="mb-1"> |
|
|
|
<text v-if="item.status === 1" class="text-green-600"> 已通过 </text> |
|
|
|
<text v-else-if="item.status === 2" class="text-red-600"> 已驳回 </text> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="text-yellow-500 font-medium text-base">{{ item.score }}</view> |
|
|
|
<!-- <zwp-ring-timing mode="chart" :value="item.score" active-color="#F59E0B" :radius="30" :bar-width="4" v-if="item.score"> --> |
|
|
|
<!-- <text class="text-yellow-500 font-medium">{{ item.score }}</text> --> |
|
|
|
<!-- </zwp-ring-timing> --> |
|
|
|
|
|
|
|
<!-- <view class="text-blue-500" @click="repeatCheck(1)">重新审核</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view v-if="item.status === null || item.status === 0"> |
|
|
|
<view v-if="item.status === null || item.status === 0 || isRepeatCheck === 1"> |
|
|
|
<!-- <view v-if="isRepeatCheck === 1" class="text-blue-500 text-right" @click="repeatCheck(0)">取消重新审核</view> --> |
|
|
|
|
|
|
|
<view class="mt-3" style="border-bottom: 1px solid #D1D5DB;" @click="collapsed = !collapsed"> |
|
|
|
<view class="flex justify-between"> |
|
|
|
<view class="mr-1 text-sm flex items-center"> |
|
|
@ -190,6 +191,7 @@ const score = ref(100); // 评分 |
|
|
|
const commit = ref(''); // 提交的信息 |
|
|
|
let maxDuration = ref(null); |
|
|
|
const showWords = ref(false); // 是否显示常用语 |
|
|
|
const isRepeatCheck = ref(0); // 是否重新审核 |
|
|
|
|
|
|
|
const emits = defineEmits(['submit-end']); |
|
|
|
|
|
|
@ -198,7 +200,6 @@ if (Object.keys(deliverData.value).length) { |
|
|
|
checkedIndex.value = checkDuration.value == 0.5 ? 0 : checkDuration.value == 1 ? 1 : checkDuration.value == 2 ? 2 : -1; |
|
|
|
|
|
|
|
handleDataRender(deliverData.value); |
|
|
|
console.log('deliverData',deliverData.value) |
|
|
|
} |
|
|
|
|
|
|
|
watch(deliverData, () => { |
|
|
@ -277,6 +278,11 @@ function handleHide() { |
|
|
|
score.value = 100; |
|
|
|
commit.value = ''; |
|
|
|
} |
|
|
|
|
|
|
|
// 重新审核 |
|
|
|
function repeatCheck(data) { |
|
|
|
isRepeatCheck.value = data; |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|