From b14a83f83f164e942cbd26e760a557a3669a5f67 Mon Sep 17 00:00:00 2001
From: Penny <2500338766@qq.com>
Date: Sun, 19 Mar 2023 00:15:44 +0800
Subject: [PATCH] =?UTF-8?q?feature:=E6=96=B0=E5=A2=9E=E6=89=B9=E9=87=8F?=
=?UTF-8?q?=E5=AE=A1=E6=A0=B8=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/img/tiktokImg.js | 9 ++
src/api/img/type.js | 8 +
src/views/img/tiktokImg/index.vue | 240 +++++++++++++++++++++++++-----
3 files changed, 223 insertions(+), 34 deletions(-)
diff --git a/src/api/img/tiktokImg.js b/src/api/img/tiktokImg.js
index 5b972ae..e0a2558 100644
--- a/src/api/img/tiktokImg.js
+++ b/src/api/img/tiktokImg.js
@@ -72,4 +72,13 @@ export function changeHot(data) {
})
}
+// 根据分类id查询未审核图片分页
+export function pageUnVerifyImgs(data) {
+ return request({
+ url: `${serviceTitle}${prefix}/pageUnVerifyImgs`,
+ method: 'post' ,
+ data: data
+ })
+}
+
diff --git a/src/api/img/type.js b/src/api/img/type.js
index 7b9c990..5ad3031 100644
--- a/src/api/img/type.js
+++ b/src/api/img/type.js
@@ -54,3 +54,11 @@ export function changeStatus(data) {
})
}
+// 获取类型列表
+export function getTypesList() {
+ return request({
+ url: `${serviceTitle}${prefix}/list`,
+ method: 'get'
+ })
+}
+
diff --git a/src/views/img/tiktokImg/index.vue b/src/views/img/tiktokImg/index.vue
index 6d939ad..8d13e0b 100644
--- a/src/views/img/tiktokImg/index.vue
+++ b/src/views/img/tiktokImg/index.vue
@@ -91,6 +91,16 @@
v-hasPermi="['img:banner:remove']"
>删除
+
+ 审核
+
@@ -111,7 +121,7 @@
-
+
+
{{scope.row.status == '0' ? "待审核" : scope.row.status == '1' ? "审核拒绝": scope.row.status == '2' ? "已上架": scope.row.status == '3' ? "已下架" : ''}}
-
+
{{scope.row.isOriginal == '0' ? "网络图片" : scope.row.isOriginal == '1' ? "原创图片": ''}}
-
+
-
-
+
+
-
+
{{ parseTime(scope.row.createTime) }}
-
+
{{ parseTime(scope.row.updateTime) }}
@@ -272,11 +282,44 @@
取 消
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
+
\ No newline at end of file