# Conflicts:
#	src/views/task/content/Content.vue
bak
elseif 1 year ago
commit 8979379156

@ -45,7 +45,7 @@ onMounted(async()=>{
fix: v.isrequired == 2, fix: v.isrequired == 2,
checked: checked:
v.isrequired == 2 || v.isrequired == 2 ||
Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1),
}; };
offList.value.push(item) offList.value.push(item)
}); });

@ -1,5 +1,14 @@
<script lang="ts" setup> <script lang="ts" setup>
import { chunk, clone } from 'lodash-es' import { getAllfieldList, getfieldList } from '@/api/home/filter'
import { audit } from '@/api/task/task'
import { getTaskDetailInfo, getTaskDetailPictureList } from '@/api/work/work'
import { useTask } from '@/store/modules/task'
import { useUser } from '@/store/modules/user'
import { isEmpty } from '@/utils'
import { hideDownload } from '@/utils/image'
import emitter from '@/utils/mitt'
import _ from 'lodash'
import { clone } from 'lodash-es'
import { useDialog, useMessage } from 'naive-ui' import { useDialog, useMessage } from 'naive-ui'
import { computed, onUnmounted, reactive, ref, unref, watch } from 'vue' import { computed, onUnmounted, reactive, ref, unref, watch } from 'vue'
import BatchModal from '../modal/BatchModal.vue' import BatchModal from '../modal/BatchModal.vue'
@ -18,6 +27,7 @@ import emitter from '@/utils/mitt'
import type { ApprovalParam, PictureSortParam } from '/#/api' import type { ApprovalParam, PictureSortParam } from '/#/api'
import { formatToDateHMS } from '@/utils/dateUtil' import { formatToDateHMS } from '@/utils/dateUtil'
const batch = ref(false) const batch = ref(false)
const selectItems = ref<any[]>([]) const selectItems = ref<any[]>([])
const message = useMessage() const message = useMessage()
@ -29,50 +39,47 @@ const CustomSettingModalRef = ref(null)
const taskTableData = ref<any[]>([]) const taskTableData = ref<any[]>([])
const sortBy: PictureSortParam = { const sortBy: PictureSortParam = {
orderbyname: 'asc', orderbyname: "asc",
orderbyvalue: 'fromuptime', orderbyvalue: "fromuptime",
} };
function setBatch(value: boolean) { function setBatch(value: boolean) {
if (totalCount.value === 0) if (totalCount.value === 0) return;
return
batch.value = value batch.value = value;
if (value === false) { if (value === false) {
selectItems.value.forEach(item => (item.checked = false)) selectItems.value.forEach((item) => (item.checked = false));
selectItems.value.length = 0 selectItems.value.length = 0;
} }
} }
function onCheckChange(checked: any, item: any) { function onCheckChange(checked: any, item: any) {
const index = selectItems.value.indexOf(item) const index = selectItems.value.indexOf(item);
item.checked = checked item.checked = checked;
if (index === -1 && checked) if (index === -1 && checked) selectItems.value.push(item);
selectItems.value.push(item) else selectItems.value.splice(index, 1);
else selectItems.value.splice(index, 1)
} }
const showActions = computed(() => { const showActions = computed(() => {
return selectItems.value.length > 0 && batch return selectItems.value.length > 0 && batch;
}) });
const taskpagination = reactive({ const taskpagination = reactive({
pageNo: 1, pageNo: 1,
pageSize: 10, pageSize: 10,
}) });
const taskStore = useTask() const taskStore = useTask();
const overTask = ref<any>(null) const overTask = ref<any>(null);
const taskDetailInfo = ref<any>({}) const taskDetailInfo = ref<any>({});
const taskDetailPictureList = ref<any[]>([]) const taskDetailPictureList = ref<any[]>([]);
const userStore = useUser() const userStore = useUser();
const imageRef = ref<ComponentElRef | null>() const imageRef = ref<ComponentElRef | null>();
let processItems: any[] = [] let processItems: any[] = [];
// states:1234 // states:1234
function validate(items: any[]) { function validate(items: any[]) {
if (items.length === 0) if (items.length === 0) return "至少选中一个任务";
return '至少选中一个任务'
// const useInfo = userStore.getUserInfo // const useInfo = userStore.getUserInfo
// const username = useInfo.loginname // const username = useInfo.loginname
@ -89,114 +96,115 @@ function validate(items: any[]) {
// return '' // return ''
// } // }
return null return null;
} }
function approvalHandler(items?: any) { function approvalHandler(items?: any) {
let cloneItem: any let cloneItem: any;
if (batch.value) { processItems = selectItems.value } if (batch.value) {
else if (overTask.value) { processItems = selectItems.value;
cloneItem = clone(overTask.value) } else if (overTask.value) {
processItems = [cloneItem] cloneItem = clone(overTask.value);
processItems = [cloneItem];
} }
if (items !== undefined && !(items instanceof PointerEvent)) if (items !== undefined && !(items instanceof PointerEvent))
processItems = items processItems = items;
const msg = validate(processItems) const msg = validate(processItems);
if (msg !== null) { if (msg !== null) {
message.error(msg) message.error(msg);
return return;
} }
dialog.info({ dialog.info({
title: '确认提示', title: "确认提示",
content: '确认给该任务审批为【通过】吗?', content: "确认给该任务审批为【通过】吗?",
positiveText: '确定', positiveText: "确定",
negativeText: '取消', negativeText: "取消",
onPositiveClick: () => { onPositiveClick: () => {
approval() approval();
}, },
onNegativeClick: () => { }, onNegativeClick: () => {},
}) });
} }
function rejectHandler(items?: any) { function rejectHandler(items?: any) {
let cloneItem: any let cloneItem: any;
if (batch.value) { processItems = selectItems.value } if (batch.value) {
else if (overTask.value) { processItems = selectItems.value;
cloneItem = clone(overTask.value) } else if (overTask.value) {
processItems = [cloneItem] cloneItem = clone(overTask.value);
processItems = [cloneItem];
} }
if (items !== undefined && !(items instanceof PointerEvent)) if (items !== undefined && !(items instanceof PointerEvent))
processItems = items processItems = items;
const msg = validate(processItems) const msg = validate(processItems);
if (msg !== null) { if (msg !== null) {
message.error(msg) message.error(msg);
return return;
} }
const modal = unref(confrimModalRef)! as any const modal = unref(confrimModalRef)! as any;
modal.showModal() modal.showModal();
} }
function approval() { function approval() {
const formIds: string[] = processItems.map(item => item.id) const formIds: string[] = processItems.map((item) => item.id);
const taskIds: string[] = processItems.map(item => item.taskId) const taskIds: string[] = processItems.map((item) => item.taskId);
const tasknames: string[] = processItems.map(item => item.taskname) const tasknames: string[] = processItems.map((item) => item.taskname);
const param: ApprovalParam = { const param: ApprovalParam = {
formid: formIds, formid: formIds,
taskId: taskIds, taskId: taskIds,
approvd: true, approvd: true,
taskComment: 'approval', taskComment: "approval",
taskname: tasknames, taskname: tasknames,
} };
doAudit(param) doAudit(param);
} }
function doAudit(param: any) { function doAudit(param: any) {
audit(param).then((res) => { audit(param).then((res) => {
const { code } = res const { code } = res;
processItems.length = 0 processItems.length = 0;
if (code === 'OK') if (code === "OK") emitter.emit("refresh");
emitter.emit('refresh') else message.error(res.message);
else message.error(res.message) });
})
} }
function reject(idOrDesc: string, backId: string, isOther: boolean) { function reject(idOrDesc: string, backId: string, isOther: boolean) {
const formIds: string[] = processItems.map(item => item.id) const formIds: string[] = processItems.map((item) => item.id);
const taskIds: string[] = processItems.map(item => item.taskId) const taskIds: string[] = processItems.map((item) => item.taskId);
const tasknames: string[] = processItems.map(item => item.taskname) const tasknames: string[] = processItems.map((item) => item.taskname);
const param: ApprovalParam = { const param: ApprovalParam = {
formid: formIds, formid: formIds,
taskId: taskIds, taskId: taskIds,
approvd: false, approvd: false,
taskComment: idOrDesc, taskComment: idOrDesc,
taskname: isOther ? tasknames : ['其他'], taskname: isOther ? tasknames : ["其他"],
} };
doAudit(param) doAudit(param);
} }
function showModal(modalRef: any) { function showModal(modalRef: any) {
const modal = unref(modalRef)! as any const modal = unref(modalRef)! as any;
modal.showModal() modal.showModal();
} }
function forwardHandler() { function forwardHandler() {
taskStore.forward() taskStore.forward();
} }
function backHandler() { function backHandler() {
taskStore.back() taskStore.back();
} }
watch( watch(
@ -205,29 +213,48 @@ watch(
const packageid = taskStore.getPackageid const packageid = taskStore.getPackageid
const taskId = taskStore.getActiveId const taskId = taskStore.getActiveId
if (isEmpty(taskId)) if (isEmpty(taskId)) return;
return const useInfo = userStore.getUserInfo;
const listData = [] let listData = [];
taskDetailInfo.value = await getTaskDetailInfo(taskId, packageid) taskDetailInfo.value = await getTaskDetailInfo(taskId, packageid);
const reviewType = 3 // const reviewType = 3; //
const res = await getAllfieldList(reviewType) let res = await getAllfieldList(reviewType);
const fieldList = (res as any)?.data let fieldList = (res as any)?.data;
const showFieldData = taskDetailInfo.value.ocrPicture res = await getfieldList(reviewType, useInfo.id);
const showFieldKeys = Object.keys(showFieldData) let userFieldList = (res as any)?.data.userFieldFixed;
for (const i in showFieldKeys) { console.log(userFieldList,'userFieldList')
const key = showFieldKeys[i] fieldList.map((v) => {
const currentData = fieldList.find(v => v.name == key) if (userFieldList.indexOf(v.name) > -1) {
if (currentData) { let item = {
const item = { label: v.fieldDesc,
label: currentData.fieldDesc, value: taskDetailInfo.value.ocrPicture[v.name],
value: taskDetailInfo.value.ocrPicture[key], key: v.name,
key: currentData.name, };
} listData.push(item);
listData.push(item) }
} });
} // TODO mock
taskTableData.value = chunk(listData, 2) // let showFieldData = taskDetailInfo.value.ocrPicture;
// let showFieldKeys = Object.keys(showFieldData);
// for (let i in showFieldKeys) {
// let key = showFieldKeys[i];
// let hasKey = userFieldList.indexOf(key) > -1;
// if (hasKey) {
// let currentData = fieldList.find((v) => v.name == key);
// if (currentData) {
// console.log(fieldList, key, "currentData");
// console.log(currentData, "currentData222");
// let item = {
// label: currentData.fieldDesc,
// value: taskDetailInfo.value.ocrPicture[key],
// key: currentData.name,
// };
// listData.push(item);
// }
// }
// }
taskTableData.value = _.chunk(listData, 2);
if (!isEmpty(packageid)) { if (!isEmpty(packageid)) {
const { data, total } = await getTaskDetailPictureList( const { data, total } = await getTaskDetailPictureList(
packageid, packageid,
@ -237,61 +264,56 @@ watch(
taskDetailPictureList.value = data taskDetailPictureList.value = data
totalCount.value = total totalCount.value = total
} }
else {
taskDetailPictureList.value.length = 0
totalCount.value = 0
} }
}, );
)
const currentTaskId = computed(() => { const currentTaskId = computed(() => {
const index = taskStore.getCurrentIndex const index = taskStore.getCurrentIndex;
return taskStore.getApprovalList[index]?.formid || '' return taskStore.getApprovalList[index]?.formid || "";
}) });
function overTaskHandle() { function overTaskHandle() {
const item = taskDetailInfo.value const item = taskDetailInfo.value;
if (validate([item]) == null && batch.value === false) if (validate([item]) == null && batch.value === false) overTask.value = item;
overTask.value = item
} }
function leaveTaskHandler() { function leaveTaskHandler() {
overTask.value = null overTask.value = null;
} }
function showActionsModal() { function showActionsModal() {
const modal = unref(CustomSettingModalRef)! as any const modal = unref(CustomSettingModalRef)! as any;
modal.showModal() modal.showModal();
} }
onUnmounted(() => { onUnmounted(() => {
taskStore.reset() taskStore.reset();
}) });
const mark = computed(() => { const mark = computed(() => {
return taskDetailInfo.value.iztrueorfalse === null ? '未标记' : '已标记' return taskDetailInfo.value.iztrueorfalse === null ? "未标记" : "已标记";
}) });
function immersionHandler() { function immersionHandler() {
taskStore.updateImmersion() taskStore.updateImmersion();
} }
function previewHandler(event: MouseEvent) { function previewHandler(event: MouseEvent) {
event.stopImmediatePropagation() event.stopImmediatePropagation();
event.stopPropagation() event.stopPropagation();
if (imageRef.value && (imageRef.value as any).src) if (imageRef.value && (imageRef.value as any).src)
(imageRef.value as any).mergedOnClick() (imageRef.value as any).mergedOnClick()
} }
function getPercent(pictureid: string) { function getPercent(pictureid: string) {
const { ocpictureid, pictureresult } = taskDetailInfo.value const { ocpictureid, pictureresult } = taskDetailInfo.value;
const index = ocpictureid.split(',').indexOf(String(pictureid)) const index = ocpictureid.split(",").indexOf(String(pictureid));
const results = pictureresult.split(',') const results = pictureresult.split(",");
const percent = results[index] || '0' const percent = results[index] || "0";
const val = Number.parseFloat(percent) const val = Number.parseFloat(percent);
return `${val}%` return `${val}%`;
} }
</script> </script>
@ -314,12 +336,21 @@ function getPercent(pictureid: string) {
/> />
</div> </div>
<div class="right"> <div class="right">
<div v-show="!showActions" style="display: flex;align-items: center;" @click="setBatch(true)"> <div
v-show="!showActions"
style="display: flex; align-items: center"
@click="setBatch(true)"
>
<div class="btn"> <div class="btn">
<SvgIcon style="margin-right: 6px;" size="14" name="tf" /> <SvgIcon style="margin-right: 6px" size="14" name="tf" />
批量审批 批量审批
</div> </div>
<SvgIcon style="cursor: pointer;" size="20" name="immersion-model" @click="immersionHandler" /> <SvgIcon
style="cursor: pointer"
size="20"
name="immersion-model"
@click="immersionHandler"
/>
</div> </div>
<div v-show="showActions" class="batch"> <div v-show="showActions" class="batch">
<n-button text @click="setBatch(false)"> <n-button text @click="setBatch(false)">
@ -328,11 +359,14 @@ function getPercent(pictureid: string) {
</template> </template>
返回 返回
</n-button> </n-button>
<div style="cursor: pointer;margin-left: 16px;" @click.stop="rejectHandler"> <div
style="cursor: pointer; margin-left: 16px"
@click.stop="rejectHandler"
>
<SvgIcon width="64" height="28" name="a1" /> <SvgIcon width="64" height="28" name="a1" />
</div> </div>
<SvgIcon size="24" name="vs" /> <SvgIcon size="24" name="vs" />
<div style="cursor: pointer;" @click.stop="approvalHandler"> <div style="cursor: pointer" @click.stop="approvalHandler">
<SvgIcon width="64" height="28" name="a2" /> <SvgIcon width="64" height="28" name="a2" />
</div> </div>
</div> </div>
@ -340,13 +374,27 @@ function getPercent(pictureid: string) {
</div> </div>
<div class="wrapper-detail"> <div class="wrapper-detail">
<div <div
class="left" :style="{ 'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})` }" class="left"
@mouseover="overTaskHandle" @mouseleave="leaveTaskHandler" @click="previewHandler" :style="{
'background-image': `url(${taskDetailInfo?.ocrPicture?.imgurl})`,
}"
@mouseover="overTaskHandle"
@mouseleave="leaveTaskHandler"
@click="previewHandler"
> >
<div v-show="overTask" class="action"> <div v-show="overTask" class="action">
<SvgIcon style="cursor: pointer;" width="168" height="48" name="r6" @click.stop="approvalHandler" />
<SvgIcon <SvgIcon
style="cursor: pointer;margin-left: 30px;" width="168" height="48" name="r7" style="cursor: pointer"
width="168"
height="48"
name="r6"
@click.stop="approvalHandler"
/>
<SvgIcon
style="cursor: pointer; margin-left: 30px"
width="168"
height="48"
name="r7"
@click.stop="rejectHandler" @click.stop="rejectHandler"
/> />
</div> </div>
@ -363,10 +411,18 @@ function getPercent(pictureid: string) {
<SvgIcon v-show="taskDetailInfo?.states === 3" width="134" height="129" name="p2" /> <SvgIcon v-show="taskDetailInfo?.states === 3" width="134" height="129" name="p2" />
</div> </div>
<div class="mark"> <div class="mark">
<SvgIcon v-show="taskDetailInfo?.iztrueorfalse === 0" size="128" name="jia" /> <SvgIcon
v-show="taskDetailInfo?.iztrueorfalse === 0"
size="128"
name="jia"
/>
</div> </div>
<div class="mark"> <div class="mark">
<SvgIcon v-show="taskDetailInfo?.iztrueorfalse === 1" size="128" name="zhen" /> <SvgIcon
v-show="taskDetailInfo?.iztrueorfalse === 1"
size="128"
name="zhen"
/>
</div> </div>
<div class="info"> <div class="info">
<n-grid x-gap="12" y-gap="10" :cols="12"> <n-grid x-gap="12" y-gap="10" :cols="12">
@ -376,7 +432,7 @@ function getPercent(pictureid: string) {
</span> </span>
</n-gi> </n-gi>
<n-gi span="8" class="gi2"> <n-gi span="8" class="gi2">
<span style="font-size: bold;font-size: 18px;">{{ mark }}</span> <span style="font-size: bold; font-size: 18px">{{ mark }}</span>
<span>审批状态</span> <span>审批状态</span>
</n-gi> </n-gi>
<n-gi span="4" class="gi1"> <n-gi span="4" class="gi1">
@ -385,7 +441,9 @@ function getPercent(pictureid: string) {
</span> </span>
</n-gi> </n-gi>
<n-gi span="8" class="gi2"> <n-gi span="8" class="gi2">
<span style="font-size: bold;font-size: 18px;">{{ totalCount }}</span> <span style="font-size: bold; font-size: 18px">{{
totalCount
}}</span>
<span>相似匹配</span> <span>相似匹配</span>
</n-gi> </n-gi>
</n-grid> </n-grid>
@ -394,8 +452,12 @@ function getPercent(pictureid: string) {
<SvgIcon color="#FFF" size="16" name="time" /> <SvgIcon color="#FFF" size="16" name="time" />
<span>{{ formatToDateHMS(taskDetailInfo.createdate || 0) }}</span> <span>{{ formatToDateHMS(taskDetailInfo.createdate || 0) }}</span>
</div> </div>
<div style="display: none;"> <div style="display: none">
<n-image ref="imageRef" :img-props="{ onClick: hideDownload }" :src="taskDetailInfo?.ocrPicture?.imgurl" /> <n-image
ref="imageRef"
:img-props="{ onClick: hideDownload }"
:src="taskDetailInfo?.ocrPicture?.imgurl"
/>
</div> </div>
</div> </div>
<div class="right"> <div class="right">
@ -403,13 +465,22 @@ function getPercent(pictureid: string) {
<div class="header"> <div class="header">
<span>相似图片({{ totalCount }})</span> <span>相似图片({{ totalCount }})</span>
<SvgIcon <SvgIcon
style="margin-right: 20px;cursor: pointer;" name="max" size="24" style="margin-right: 20px; cursor: pointer"
name="max"
size="24"
@click="showModal(batchModalRef)" @click="showModal(batchModalRef)"
/> />
</div> </div>
<div class="list"> <div class="list">
<div v-for="(item, index) in taskDetailPictureList" :key="index" class="item"> <div
<div class="img-wrapper" :style="{ 'background-image': `url(${item.thumburl})` }" /> v-for="(item, index) in taskDetailPictureList"
:key="index"
class="item"
>
<div
class="img-wrapper"
:style="{ 'background-image': `url(${item.thumburl})` }"
/>
<div class="check"> <div class="check">
<n-checkbox <n-checkbox
v-show="batch" v-show="batch"
@ -430,9 +501,7 @@ function getPercent(pictureid: string) {
<div class="info-header"> <div class="info-header">
<div class="left_box"> <div class="left_box">
<div class="title"> <div class="title">填报信息</div>
填报信息
</div>
<SvgIcon size="12" name="collapse" /> <SvgIcon size="12" name="collapse" />
</div> </div>
<div class="right_box" @click="showActionsModal"> <div class="right_box" @click="showActionsModal">
@ -442,7 +511,7 @@ function getPercent(pictureid: string) {
</div> </div>
<n-tabs type="line" animated> <n-tabs type="line" animated>
<n-tab-pane name="task-info" tab="任务信息"> <n-tab-pane name="task-info" tab="任务信息">
<TaskTable :data="taskDetailInfo" :task-table-data="taskTableData" /> <TaskTable :data="taskDetailInfo" :taskTableData="taskTableData" />
</n-tab-pane> </n-tab-pane>
<n-tab-pane name="picture-info" tab="图片信息"> <n-tab-pane name="picture-info" tab="图片信息">
<PictureTable :data="taskDetailInfo" /> <PictureTable :data="taskDetailInfo" />
@ -450,7 +519,11 @@ function getPercent(pictureid: string) {
<n-tab-pane name="history" tab="历史审查" /> <n-tab-pane name="history" tab="历史审查" />
</n-tabs> </n-tabs>
<ConfrimModal ref="confrimModalRef" @commit="reject" /> <ConfrimModal ref="confrimModalRef" @commit="reject" />
<BatchModal ref="batchModalRef" @reject="rejectHandler" @approval="approvalHandler" /> <BatchModal
ref="batchModalRef"
@reject="rejectHandler"
@approval="approvalHandler"
/>
<CustomSettingModal ref="CustomSettingModalRef" :review-type="3" /> <CustomSettingModal ref="CustomSettingModalRef" :review-type="3" />
</div> </div>
</template> </template>
@ -508,7 +581,7 @@ function getPercent(pictureid: string) {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #FFF; color: #fff;
margin-right: 6px; margin-right: 6px;
cursor: pointer; cursor: pointer;
} }
@ -578,7 +651,7 @@ function getPercent(pictureid: string) {
background: rgba(216, 216, 216, 0.4); background: rgba(216, 216, 216, 0.4);
border-radius: 7px; border-radius: 7px;
padding: 10px; padding: 10px;
color: #FFF; color: #fff;
} }
.time { .time {
@ -586,7 +659,7 @@ function getPercent(pictureid: string) {
z-index: 3; z-index: 3;
left: 2%; left: 2%;
bottom: 2%; bottom: 2%;
color: #FFF; color: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@ -600,7 +673,7 @@ function getPercent(pictureid: string) {
display: flex; display: flex;
align-items: left; align-items: left;
flex-direction: column; flex-direction: column;
justify-content: center justify-content: center;
} }
.check{ .check{

@ -33,7 +33,8 @@ onMounted(async () => {
fix: v.isrequired == 2, fix: v.isrequired == 2,
checked: checked:
v.isrequired == 2 || v.isrequired == 2 ||
Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1),
}; };
offList.value.push(item) offList.value.push(item)
}); });
@ -108,6 +109,9 @@ async function handleSumbit(e: MouseEvent) {
savefield(props.reviewType, userInfo.id, userField); savefield(props.reviewType, userInfo.id, userField);
e.preventDefault(); e.preventDefault();
closeModal(); closeModal();
setTimeout(()=>{
window.location.reload();
},3000)
} }
defineExpose({ defineExpose({

@ -239,7 +239,7 @@ onMounted(async () => {
fix: v.isrequired == 2, fix: v.isrequired == 2,
checked: checked:
v.isrequired == 2 || v.isrequired == 2 ||
Boolean(useList.userField?.toLowerCase().indexOf(v.name)>-1), Boolean(useList.userFieldFixed?.toLowerCase().indexOf(v.name)>-1) || Boolean(useList.userFieldUnFixed?.toLowerCase().indexOf(v.name)>-1),
}; };
if (item.checked) { if (item.checked) {
onList.value.push(item); onList.value.push(item);

Loading…
Cancel
Save