This commit is contained in:
2025-06-17 21:34:52 +08:00
parent 021918e56d
commit 2e8617147c
9 changed files with 153 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
<script setup>
import goodsIcon from '../../static/icons/goodsIcon.png';
import XNav from "../../components/XNav.vue";
import {defineAsyncComponent, getCurrentInstance, nextTick, onMounted, reactive, ref} from 'vue';
import {defineAsyncComponent, getCurrentInstance, nextTick, onMounted, computed, ref} from 'vue';
import {onLoad} from "@dcloudio/uni-app";
import XLink from "../../components/XLink.vue";
import XNoticeBar from "../../components/XNoticeBar.vue";
@@ -27,7 +27,7 @@ const details = ref(null);
const home = ref(false);
const mainDetailWidth = ref(0);
const currentTabs = ref(0);
const tabs = reactive([
const tabs = computed(() => [
{
name: "任务详情",
component: TaskDetails,
@@ -39,10 +39,12 @@ const tabs = reactive([
{
name: "我的回填",
component: MyBackfill,
isDot: details.value.children.is_back > 0,
},
{
name: "审核沟通",
component: ReviewCommunication,
isDot: details.value.children.is_read > 0,
},
]);