update
This commit is contained in:
@@ -105,18 +105,18 @@ watch(
|
||||
</view>
|
||||
|
||||
<template v-if="data.children.back[current]">
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current].status === 1">
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current]?.status === 1">
|
||||
{{ dayjs(data.children.createtime * 1000).format('YYYY-MM-DD HH:mm') }}已提交,审核通过
|
||||
</view>
|
||||
<template v-if="data.children.back[current].status === 2">
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current].operate === 1">
|
||||
<template v-if="data.children.back[current]?.status === 2">
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current]?.operate === 1">
|
||||
<view>{{ dayjs(data.children.createtime * 1000).format('YYYY-MM-DD HH:mm') }}已提交,审核拒绝</view>
|
||||
<view>请请点击审核沟通,查看修改建议</view>
|
||||
<view>
|
||||
并于{{ dayjs(data.children.back[current].end_time * 1000).format('YYYY-MM-DD HH:mm') }}前点击下方重新提交本次回填
|
||||
</view>
|
||||
</view>
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current].operate === 2">
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]" v-if="data.children.back[current]?.operate === 2">
|
||||
<view>{{ dayjs(data.children.createtime * 1000).format('YYYY-MM-DD HH:mm') }}已提交,审核拒绝</view>
|
||||
<view>请请点击审核沟通,查看修改建议</view>
|
||||
<view>
|
||||
@@ -127,20 +127,20 @@ watch(
|
||||
</view>
|
||||
</template>
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]"
|
||||
v-if="data.children.back[current].status === 0">
|
||||
v-if="data.children.back[current]?.status === 0">
|
||||
{{ dayjs(data.children.createtime * 1000).format('YYYY-MM-DD HH:mm') }}已提交,审核中
|
||||
</view>
|
||||
<view class="text-[#165DFF] test-24r py-[32rpx]"
|
||||
v-if="data.children.back[current].status === -1">
|
||||
v-if="data.children.back[current]?.status === -1">
|
||||
{{ dayjs(data.children.createtime * 1000).format('YYYY-MM-DD HH:mm') }}已提交,审核失败
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template
|
||||
v-if="data.children.back[current].status === 0 || data.children.back[current].status === -1">
|
||||
v-if="data.children.back.length===0 || data.children.back[current]?.operate === 0 || data.children.back[current]?.status === 0 || data.children.back[current]?.status === -1">
|
||||
<tui-button @click="success" :disabled="data.children.back[current]">
|
||||
{{
|
||||
data.children.back[current].status === 0 || data.children.back[current].status === -1 ? '已提交' : '提交'
|
||||
data.children.back[current]?.status === 0 || data.children.back[current]?.status === -1 ? '已提交' : '提交'
|
||||
}}
|
||||
</tui-button>
|
||||
</template>
|
||||
@@ -149,12 +149,12 @@ watch(
|
||||
<view class="!w-[50%]">
|
||||
<tui-button disabled>已提交</tui-button>
|
||||
</view>
|
||||
<view class="!w-[50%]" v-if="data.children.back[current].operate === 1">
|
||||
<view class="!w-[50%]" v-if="data.children.back[current]?.operate === 1">
|
||||
<resubmit :data="data" :current="current" @success="emits('success')">
|
||||
<tui-button>重新提交</tui-button>
|
||||
</resubmit>
|
||||
</view>
|
||||
<view class="!w-[50%]" v-if="data.children.back[current].operate === 2">
|
||||
<view class="!w-[50%]" v-if="data.children.back[current]?.operate === 2">
|
||||
<reply-message-modal :data="data" @success="emits('success')" :backId="data.children.back[current].id">
|
||||
<tui-button>回复</tui-button>
|
||||
</reply-message-modal>
|
||||
|
||||
@@ -17,7 +17,7 @@ const {data} = defineProps({
|
||||
});
|
||||
|
||||
const po = reactive({
|
||||
id: data.children.id,
|
||||
id: data.children?.id,
|
||||
});
|
||||
const vo = reactive({
|
||||
intervention: null,
|
||||
@@ -68,7 +68,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="w-full bg-white p-[24rpx] !mt-[24rpx] rounded-[8rpx]" v-if="vo.intervention.id">
|
||||
<view class="w-full bg-white p-[24rpx] !mt-[24rpx] rounded-[8rpx]" v-if="vo.intervention?.id">
|
||||
<view class="test-28r text-[#1D2129] text-center">达人发起了平台介入</view>
|
||||
<view class="bg-[#F7F8FA] px-[24rpx] py-[15rpx] !mt-[20rpx]">
|
||||
<view class="test-28r text-[#1D2129]">申诉原因</view>
|
||||
|
||||
@@ -11,6 +11,7 @@ import dayjs from "dayjs";
|
||||
import XPrompt from "../../components/XPrompt.vue";
|
||||
import {numberToCharacter} from "../../utils/uils.js";
|
||||
import AcceptAssignmentModal from "../../components/AcceptAssignmentModal.vue";
|
||||
import ICON from "../../static/icons/prompt.png";
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
// #endif
|
||||
@@ -45,16 +46,16 @@ const tabs = reactive([
|
||||
},
|
||||
]);
|
||||
|
||||
const getData = async (id) => {
|
||||
const {data} = await Api.system.getTaskinfo(id || details.value.id);
|
||||
const getData = async (id, task_children_id) => {
|
||||
const {data} = await Api.system.getTaskinfo(id || details.value.id, task_children_id);
|
||||
details.value = data;
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
const {id, home: _home, tab} = options;
|
||||
const {id, home: _home, tab, task_children_id} = options;
|
||||
home.value = _home === '1';
|
||||
if (tab) currentTabs.value = Number(tab);
|
||||
getData(id);
|
||||
getData(id, task_children_id);
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
@@ -258,6 +259,13 @@ onMounted(() => {
|
||||
<view
|
||||
class="bg-[#F7F8FA] py-[12rpx] px-[20rpx] border-1 border-[rgb(229,230,235)] flex-grow">
|
||||
{{ v.content }}
|
||||
<view class="!inline-block">
|
||||
<x-image
|
||||
:src="v.ts_images_arr[0]"
|
||||
:list="v.ts_images_arr">
|
||||
<image class="!size-[24rpx]" :src="ICON" mode="aspectFill"></image>
|
||||
</x-image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user