|
|
|
@ -310,6 +310,10 @@ function reset() {
|
|
|
|
|
layout()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function onChange() {
|
|
|
|
|
reload()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
async function refreshHandler() {
|
|
|
|
|
reset()
|
|
|
|
|
if (!taskId.value)
|
|
|
|
@ -397,11 +401,11 @@ defineExpose({
|
|
|
|
|
<div
|
|
|
|
|
class="status-tag"
|
|
|
|
|
:class="{
|
|
|
|
|
'status-red': taskDetailInfo?.states === 3,
|
|
|
|
|
'status-green': taskDetailInfo?.states === 2,
|
|
|
|
|
'status-tag-red': taskDetailInfo?.userapprove?.statshis === 3,
|
|
|
|
|
'status-tag-green': taskDetailInfo?.userapprove?.statshis === 2,
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
{{ TASK_STATUS_OBJ[taskDetailInfo?.states] }}
|
|
|
|
|
{{ TASK_STATUS_OBJ[taskDetailInfo?.userapprove?.statshis] }}
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{ taskDetailInfo?.ocrPicture?.createTime }}</td>
|
|
|
|
@ -418,7 +422,7 @@ defineExpose({
|
|
|
|
|
<div class="wrapper-content">
|
|
|
|
|
<div class="wrapper-content-form wrapper-m32">
|
|
|
|
|
<div>
|
|
|
|
|
<n-popselect v-model:value="timeRange" :options="timeOptions" trigger="click">
|
|
|
|
|
<n-popselect v-model:value="timeRange" :options="timeOptions" trigger="click" @change="onChange">
|
|
|
|
|
<div class="wrapper-content-form-dropdown">
|
|
|
|
|
<span>{{ timeLabel || '时间模式' }}</span>
|
|
|
|
|
<SvgIcon class="wrapper-content-form-dropdown-gap" name="arrow-botton" size="14" />
|
|
|
|
|