Browse Source

feat: 交付物2

test2
xuesinan 3 years ago
parent
commit
5f76e78c74
  1. 1
      CHANGELOG.md
  2. 20
      plugins/p-deliver-check-second-detail/p-deliver-check-second-detail.vue

1
CHANGELOG.md

@ -36,6 +36,7 @@
- | 获取交付物信息 | [5ae68e2](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/5ae68e2) - | 获取交付物信息 | [5ae68e2](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/5ae68e2)
- | 获取手机唯一码 | [3f60cf8](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/3f60cf8) - | 获取手机唯一码 | [3f60cf8](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/3f60cf8)
- | 将时间轴改成swiper滑动 | [12384f9](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/12384f9) - | 将时间轴改成swiper滑动 | [12384f9](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/12384f9)
- | 交付物2 | [6b39979](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/6b39979)
- | 交付物2 | [51db122](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/51db122) - | 交付物2 | [51db122](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/51db122)
- | 交付物2 | [864b080](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/864b080) - | 交付物2 | [864b080](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/864b080)
- | 解决时间轴日常任务不显示问题 | [c532a93](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/c532a93) - | 解决时间轴日常任务不显示问题 | [c532a93](https://101.201.226.163:50022/ccsens_tall/TALL-MUI-4/commits/c532a93)

20
plugins/p-deliver-check-second-detail/p-deliver-check-second-detail.vue

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

Loading…
Cancel
Save