|
@ -193,7 +193,10 @@ |
|
|
<Image /> |
|
|
<Image /> |
|
|
<Excel :excelData="taskStore.excelData" /> |
|
|
<Excel :excelData="taskStore.excelData" /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="bottom_operation_container" v-if="false"> |
|
|
|
|
|
|
|
|
<div |
|
|
|
|
|
class="bottom_operation_container" |
|
|
|
|
|
v-if="!taskStore.currentDetailTaskId" |
|
|
|
|
|
> |
|
|
<div |
|
|
<div |
|
|
:class=" |
|
|
:class=" |
|
|
taskStore.currentTaskId == null ? 'auto_btn cant_btn' : 'auto_btn' |
|
|
taskStore.currentTaskId == null ? 'auto_btn cant_btn' : 'auto_btn' |
|
@ -291,8 +294,10 @@ |
|
|
<DetailTable /> |
|
|
<DetailTable /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="progress_btn"> |
|
|
<div class="progress_btn"> |
|
|
<p class="title">核查进度</p> |
|
|
|
|
|
<t-progress theme="plump" :percentage="30" /> |
|
|
|
|
|
|
|
|
<p class="title"> |
|
|
|
|
|
核查进度({{ hasTestedLength }} / {{ testArrLength }}) |
|
|
|
|
|
</p> |
|
|
|
|
|
<t-progress theme="plump" :percentage="detailProcess" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
@ -343,6 +348,19 @@ const accountStore = useAccountStore() |
|
|
const taskStore = useTaskStore() |
|
|
const taskStore = useTaskStore() |
|
|
const imageStore = useImageStore() |
|
|
const imageStore = useImageStore() |
|
|
|
|
|
|
|
|
|
|
|
const hasTestedLength = ref(0) |
|
|
|
|
|
const testArrLength = ref(121) |
|
|
|
|
|
|
|
|
|
|
|
const detailProcess = computed(() => { |
|
|
|
|
|
const testArr = taskStore.excelData.filter( |
|
|
|
|
|
item => item.firstSign && item.secondSign, |
|
|
|
|
|
) |
|
|
|
|
|
testArrLength.value = testArr.length |
|
|
|
|
|
const hasTested = testArr.filter(item => item.result != 0) |
|
|
|
|
|
hasTestedLength.value = hasTested.length |
|
|
|
|
|
return parseInt((hasTested.length / testArr.length) * 100) |
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
const checked = ref(false) |
|
|
const checked = ref(false) |
|
|
|
|
|
|
|
|
const onChange = val => { |
|
|
const onChange = val => { |
|
|