|
|
@ -29,6 +29,7 @@ import emitter from '@/utils/mitt'
|
|
|
|
import type { ApprovalParam, SimilarityPictureSortParam } from '/#/api'
|
|
|
|
import type { ApprovalParam, SimilarityPictureSortParam } from '/#/api'
|
|
|
|
import bgLoading from '@/assets/images/bg-loading.png'
|
|
|
|
import bgLoading from '@/assets/images/bg-loading.png'
|
|
|
|
import { useKeydown } from '@/hooks/event/useKeydown'
|
|
|
|
import { useKeydown } from '@/hooks/event/useKeydown'
|
|
|
|
|
|
|
|
import { useDataHeaderStore } from '@/store/modules/DataHeader'
|
|
|
|
|
|
|
|
|
|
|
|
const batch = ref(false) // 批量审批状态
|
|
|
|
const batch = ref(false) // 批量审批状态
|
|
|
|
const selectItems = ref<any[]>([])
|
|
|
|
const selectItems = ref<any[]>([])
|
|
|
@ -39,6 +40,7 @@ let _imagesload: any
|
|
|
|
const bgLoadingImg = ref(bgLoading)
|
|
|
|
const bgLoadingImg = ref(bgLoading)
|
|
|
|
const imgbigshow = ref(true)
|
|
|
|
const imgbigshow = ref(true)
|
|
|
|
const isInitLoading = ref(0)
|
|
|
|
const isInitLoading = ref(0)
|
|
|
|
|
|
|
|
const haeaderstore=useDataHeaderStore()
|
|
|
|
|
|
|
|
|
|
|
|
function changeimgbigshow() {
|
|
|
|
function changeimgbigshow() {
|
|
|
|
imgbigshow.value = !imgbigshow.value
|
|
|
|
imgbigshow.value = !imgbigshow.value
|
|
|
@ -439,6 +441,7 @@ function handleRejectMainImage() {
|
|
|
|
async function reloadDetailInfo() {
|
|
|
|
async function reloadDetailInfo() {
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(packageid)
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(packageid)
|
|
|
|
|
|
|
|
haeaderstore.setDataConfig(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function handleApproveMainImage(items?: any) {
|
|
|
|
function handleApproveMainImage(items?: any) {
|
|
|
|
const currentValue = overTask.value || taskDetailInfo.value
|
|
|
|
const currentValue = overTask.value || taskDetailInfo.value
|
|
|
@ -485,6 +488,7 @@ function handleApproveMainImage(items?: any) {
|
|
|
|
audit(param).then(async (res) => {
|
|
|
|
audit(param).then(async (res) => {
|
|
|
|
const { code } = res
|
|
|
|
const { code } = res
|
|
|
|
if (code === 'OK') {
|
|
|
|
if (code === 'OK') {
|
|
|
|
|
|
|
|
haeaderstore.setDataConfig(true)
|
|
|
|
message.info(res.message)
|
|
|
|
message.info(res.message)
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
const packageid = workStore.getActiveId
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(packageid)
|
|
|
|
taskDetailInfo.value = await getTaskDetailInfo(packageid)
|
|
|
@ -568,6 +572,7 @@ function doAudit(param: any) {
|
|
|
|
function reloadList() {
|
|
|
|
function reloadList() {
|
|
|
|
setBatch(false)
|
|
|
|
setBatch(false)
|
|
|
|
refreshHandler()
|
|
|
|
refreshHandler()
|
|
|
|
|
|
|
|
haeaderstore.setDataConfig(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function handleRejectdubiousfileyd(pictureid) {
|
|
|
|
function handleRejectdubiousfileyd(pictureid) {
|
|
|
|
dialog.info({
|
|
|
|
dialog.info({
|
|
|
|