This commit is contained in:
王一嘉
2025-07-22 17:07:12 +08:00
parent 12eec0a6b7
commit 76bff7267f
3 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import {computed} from "vue";
import Api from "../../api/index.js";
import {Message} from "@arco-design/web-vue";
import {useSystemStore} from "../../pinia/SystemStore/index.js";
import XImage from "../XImage/Index.vue";
const emits = defineEmits(['success']);
const SystemStore = useSystemStore();
@@ -33,7 +34,7 @@ const del = async (id) => {
<img class="size-[9px] mr-[5px]" src="../../assets/images/back.png" alt=""/>
回复{{ list.findIndex(k => k.pid === item.pid) }}:
</div>
<img class="size-[32px]" v-if="item.image" :src="item.image" alt=""/>
<x-image v-if="item.image" :src="item.image" width="32px" height="32px" hideDelete></x-image>
<div class="whitespace-nowrap ellipsis w-[370px]">{{ item.intro }}</div>
</div>
<a-popconfirm content="确认删除吗?" @ok="del(item.id)" v-if="!hideDelete">

View File

@@ -223,7 +223,7 @@ const changeStatus = async (record) => {
}">沟通记录
</a-link>
<look-backfill-modal :item="{...record, tc_id: record.id}"></look-backfill-modal>
<settlement :task="record" :disabled="!(record.is_settlement === 0)"
<settlement :task="record" :disabled="!(record.is_settlement === 0 || record.is_settlement === 1)"
@success="fetchData">
<a-link :hoverable="false"
:disabled="!(record.is_settlement === 0 || record.is_settlement === 1)"

View File

@@ -180,7 +180,7 @@ const confirmTask = async () => {
</div>
</div>
<template v-slot:footer>
<div>
<div class="flex justify-end items-center gap-3">
<a-button @click="visible=false">取消</a-button>
<a-button type="primary" @click="confirmTask">确定</a-button>
</div>