From 88a8d119cf3f1954defa4e5ac6e4a71cdafec947 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A4=9A=E5=95=A6C=E6=A2=A6?= <15709267061@163.com>
Date: Fri, 13 Jun 2025 21:01:33 +0800
Subject: [PATCH] update
---
src/api/system/index.js | 14 ++
src/components/XNoticeBar.vue | 24 +++-
src/components/XUpload.vue | 35 +++--
src/hooks/useTableQuery.js | 1 +
src/pages/home/index.vue | 9 +-
src/pages/login/BulletChat.vue | 13 +-
.../taskDetails/components/MyBackfill.vue | 78 +++++++++++-
.../taskDetails/components/QuickOperation.vue | 120 ++++++++++++++++++
src/pages/taskDetails/components/Resubmit.vue | 91 +++++++++++++
.../components/ReviewCommunication.vue | 47 ++++++-
.../components/replyMessageModal.vue | 30 ++++-
src/pages/taskDetails/index.vue | 7 +-
.../wallet/components/WithdrawalModal.vue | 9 +-
src/static/icons/close2.png | Bin 0 -> 2402 bytes
src/static/icons/yy.png | Bin 0 -> 749 bytes
15 files changed, 429 insertions(+), 49 deletions(-)
create mode 100644 src/pages/taskDetails/components/QuickOperation.vue
create mode 100644 src/pages/taskDetails/components/Resubmit.vue
create mode 100644 src/static/icons/close2.png
create mode 100644 src/static/icons/yy.png
diff --git a/src/api/system/index.js b/src/api/system/index.js
index 310fe89..fee6b5c 100644
--- a/src/api/system/index.js
+++ b/src/api/system/index.js
@@ -362,6 +362,20 @@ const system = {
data: data
});
},
+ abandonTask: async (data) => {
+ return request({
+ method: MethodsENUM.POST,
+ url: "/task/abandonTask",
+ data: data
+ });
+ },
+ intervention: async (data) => {
+ return request({
+ method: MethodsENUM.POST,
+ url: "/task/intervention",
+ data: data
+ });
+ },
}
export default system;
diff --git a/src/components/XNoticeBar.vue b/src/components/XNoticeBar.vue
index 3ddecac..184faba 100644
--- a/src/components/XNoticeBar.vue
+++ b/src/components/XNoticeBar.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/src/pages/login/BulletChat.vue b/src/pages/login/BulletChat.vue
index c6ed0ac..0d2ff89 100644
--- a/src/pages/login/BulletChat.vue
+++ b/src/pages/login/BulletChat.vue
@@ -1,16 +1,15 @@
diff --git a/src/pages/taskDetails/components/MyBackfill.vue b/src/pages/taskDetails/components/MyBackfill.vue
index 49ced91..542c2fe 100644
--- a/src/pages/taskDetails/components/MyBackfill.vue
+++ b/src/pages/taskDetails/components/MyBackfill.vue
@@ -1,5 +1,5 @@
+
+
+
+
+
+
+ 提示:点击下方按钮,快速回复
+
+
+ 去重新回填
+
+
+ 拒绝修改并放弃任务
+
+ 商家将根据约定扣钱或不结算
+
+
+
+ 发起申诉
+
+
+
+
+
+
+ 提示:点击下方按钮,快速回复
+
+
+
+ 去回复
+
+
+
+ 拒绝修改并放弃任务
+
+ 商家将根据约定扣钱或不结算
+
+
+
+ 发起申诉
+
+
+
+
+
+
+ 提示:点击下方按钮,快速回复
+
+
+
+ 发起申诉
+
+ 对商家处理有异议,可点击申诉
+
+
+
+
+
+
+ 提示:点击下方按钮,快速回复
+
+
+ 我同意
+
+ 将在12时00分00秒后自动同意
+
+
+
+ 发起申诉
+
+ 对结算有异议,可点击申诉
+
+
+
+
+
+
+
diff --git a/src/pages/taskDetails/components/Resubmit.vue b/src/pages/taskDetails/components/Resubmit.vue
new file mode 100644
index 0000000..34f7895
--- /dev/null
+++ b/src/pages/taskDetails/components/Resubmit.vue
@@ -0,0 +1,91 @@
+
+
+
+
+
+
+
+
+
+ 重新回填:回填数据1
+
+
+
+ 回填{{ index + 1 }}的截图:
+
+
+
+
+
+
+
+
+ 重新提交
+
+
+
+
+
diff --git a/src/pages/taskDetails/components/ReviewCommunication.vue b/src/pages/taskDetails/components/ReviewCommunication.vue
index d2e4ae1..643617d 100644
--- a/src/pages/taskDetails/components/ReviewCommunication.vue
+++ b/src/pages/taskDetails/components/ReviewCommunication.vue
@@ -6,6 +6,8 @@ import Api from "../../../api/index.js";
import useTableQuery from "../../../hooks/useTableQuery.js";
import dayjs from "dayjs";
import ReplyMessageModal from "./replyMessageModal.vue";
+import QuickOperation from "./QuickOperation.vue";
+import XImage from "../../../components/XImage.vue";
const {data} = defineProps({
data: {
@@ -17,12 +19,15 @@ const {data} = defineProps({
const po = reactive({
id: data.children.id,
});
-const vo = reactive({});
+const vo = reactive({
+ intervention: null,
+});
const {loading, pagination, initFetchData, fetchData} = useTableQuery({
api: Api.system.getExchangeLog,
parameter: po,
callback: (data) => {
+ console.log(data);
Object.assign(vo, data);
}
});
@@ -42,7 +47,7 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
-
{{ dayjs(v.createtime).format('MM月DD日 HH:mm') }}
@@ -57,14 +62,46 @@ const {loading, pagination, initFetchData, fetchData} = useTableQuery({
+
+
+
+
+
+
+
+ 达人发起了平台介入
+
+ 申诉原因
+
+
+ {{ vo.intervention.remark }}
+
+
+
+
+
+
+
+
+
+ 平台处理结果
+
+
+ {{ vo.intervention.intro }}
+
+
+
-
- 发起申述
-
+
+
+ 发起申述
+
+
diff --git a/src/pages/taskDetails/components/replyMessageModal.vue b/src/pages/taskDetails/components/replyMessageModal.vue
index a910e48..7812c0d 100644
--- a/src/pages/taskDetails/components/replyMessageModal.vue
+++ b/src/pages/taskDetails/components/replyMessageModal.vue
@@ -1,15 +1,24 @@
-
+
回复
+
+
+
@@ -64,7 +79,8 @@ const success = async () => {
-
+
提示:请确认内容无误后提交,提交虚假回复会封号
diff --git a/src/pages/taskDetails/index.vue b/src/pages/taskDetails/index.vue
index 5ed09fb..ff4c9e4 100644
--- a/src/pages/taskDetails/index.vue
+++ b/src/pages/taskDetails/index.vue
@@ -51,8 +51,9 @@ const getData = async (id) => {
}
onLoad((options) => {
- const {id, home: _home} = options;
+ const {id, home: _home, tab} = options;
home.value = _home === '1';
+ if (tab) currentTabs.value = Number(tab);
getData(id);
});
@@ -114,7 +115,7 @@ onMounted(() => {
发布平台
- ¥ {{ details.real_price.toFixed(2) }}
+ ¥ {{ details.real_price.toFixed(2) }}
任务报酬
@@ -170,7 +171,7 @@ onMounted(() => {
-
+
diff --git a/src/pages/wallet/components/WithdrawalModal.vue b/src/pages/wallet/components/WithdrawalModal.vue
index 3b61d1a..66b65f0 100644
--- a/src/pages/wallet/components/WithdrawalModal.vue
+++ b/src/pages/wallet/components/WithdrawalModal.vue
@@ -5,12 +5,13 @@ import {showToast} from "../../../utils/uils.js";
import {useUserStore} from "../../../pinia/UserStore/index.js";
import dayjs from "dayjs";
import Api from "../../../api/index.js";
+import {debounce} from "lodash";
const UserStore = useUserStore();
const emits = defineEmits(['success']);
const show = ref(false);
const defaultDrawal = ref();
-const open = async () => {
+const open = debounce(async () => {
if (UserStore.userInfo.money < 1) {
showToast({
icon: 'error',
@@ -28,9 +29,9 @@ const open = async () => {
const {data} = await Api.system.getDefaultWithdrawalInfo();
defaultDrawal.value = data;
show.value = true;
-}
+}, 500);
-const success = async () => {
+const success = debounce(async () => {
const {msg} = await Api.system.postWithdrawal({
id: defaultDrawal.value.id,
money: UserStore.userInfo.money,
@@ -40,7 +41,7 @@ const success = async () => {
title: msg,
});
emits('success');
-}
+}, 500);
diff --git a/src/static/icons/close2.png b/src/static/icons/close2.png
new file mode 100644
index 0000000000000000000000000000000000000000..bc462fc98138630102f1c97afec7ace348f3d3a6
GIT binary patch
literal 2402
zcmV-o37z(dP)U2GKB703Vo8ER+~ykmQJo5X8lo5xf!p*%E+x2;-4r6MG#lBTM7Xk1XfP(u4q@(|~v7+fW$ZP;}Swy{kk
z;X&Trq-jBTP9N+=%YJ{%*LwVWv3FeD*o)_
zBJzCZXOhwEa||(bg-UF;!5F?Ak6*RY-)f=L4y0MJB66oF*eHTWNIWdSJ-}RGvx8kO
znb#5+5y1x}258{arAx6-%=Eun92KCwEBuUMpn=3vKv@dNG61`+EHhtCnHW9aXJwhi
za72L6%E%TP_$q)OJ5hc%B%=o9+|*w)qaZ3V_Q2zHrm+d)>VBDXg-2Lq{@
z>5t4bY-SBm+B+jJ0$3)%P803A2f^zgW+umC-vMBlVbT-<+VAdJW!%6{Ql2rxp4%ZA
zg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