|
|
|
@ -21,7 +21,7 @@ import { computed, onUnmounted, onUpdated, reactive, ref, unref, watch } from "v
|
|
|
|
|
import ConfrimModal from "../modal/ConfrimModal.vue";
|
|
|
|
|
import type { ApprovalParam, SimilarityPictureSortParam } from "/#/api";
|
|
|
|
|
|
|
|
|
|
const batch = ref(false);
|
|
|
|
|
const batch = ref(false); // 批量审批状态
|
|
|
|
|
const selectItems = ref<any[]>([]);
|
|
|
|
|
const message = useMessage();
|
|
|
|
|
const dialog = useDialog();
|
|
|
|
@ -370,7 +370,8 @@ function doAudit(param: any) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function reloadList() {
|
|
|
|
|
loadMore()
|
|
|
|
|
setBatch(false)
|
|
|
|
|
refreshHandler()
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
@ -479,7 +480,7 @@ function reloadList() {
|
|
|
|
|
<!-- 右侧任务 标题信息 -->
|
|
|
|
|
<div class="right">
|
|
|
|
|
<n-scrollbar style="max-height: 100%">
|
|
|
|
|
<span class="task-name">任务ID:{{ taskDetailInfo.taskname }}</span>
|
|
|
|
|
<span class="task-name" :title="taskDetailInfo.taskname">任务ID:{{ taskDetailInfo.taskname }}</span>
|
|
|
|
|
<div class="tags">
|
|
|
|
|
<div class="tag tag-submiting" v-if="taskDetailInfo.states == 1">{{ TASK_STATUS_OBJ[taskDetailInfo.states]
|
|
|
|
|
}}</div>
|
|
|
|
@ -576,7 +577,7 @@ function reloadList() {
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="check">
|
|
|
|
|
<n-checkbox v-show="batch" v-model:checked="item.checked" @click.stop
|
|
|
|
|
<n-checkbox v-show="batch && item.historyStates !== 2 && item.historyStates !== 3" v-model:checked="item.checked" @click.stop
|
|
|
|
|
@update:checked="onCheckChange($event, item)" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="percent">
|
|
|
|
|