From 542ea78b878fc14331057118ce96d708ffd20cf2 Mon Sep 17 00:00:00 2001
From: zx <604444282@qq.com>
Date: Sun, 29 May 2022 17:50:47 +0800
Subject: [PATCH] zx
---
src/components/UploadFile/index.vue | 6 +-
src/router/index.js | 9 +++
src/views/BasicSetting/_addReward/index.vue | 70 ++++++++++++++++
src/views/BasicSetting/_dicSetting/index.vue | 56 ++++++++++++-
src/views/BasicSetting/_rewardRule/index.vue | 49 +++++------
src/views/MatManage/_matUpload/index.vue | 61 +++++++++-----
src/views/MatManage/_setManage/index.vue | 20 +++--
src/views/QuestManage/_questRelease/index.vue | 81 +++++++++++++------
src/views/StarwayInfo/index.vue | 4 +-
9 files changed, 277 insertions(+), 79 deletions(-)
create mode 100644 src/views/BasicSetting/_addReward/index.vue
diff --git a/src/components/UploadFile/index.vue b/src/components/UploadFile/index.vue
index a7d3567..642b26e 100644
--- a/src/components/UploadFile/index.vue
+++ b/src/components/UploadFile/index.vue
@@ -42,8 +42,10 @@ export default defineComponent({
},
},
setup() {
- const action = process.env.VUE_APP_URL + "/file/upload/file"; //地址
- const headers = {};
+ const action = process.env.VUE_APP_URL + "util/upload"; //地址
+ const headers = {
+
+ };
const filePath = '';
return {
action, headers, filePath
diff --git a/src/router/index.js b/src/router/index.js
index 1bad46b..cb97463 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -186,6 +186,15 @@ const routes = [
title: '奖励规则',
},
},
+ {
+ path: "/basicSetting/addReward",
+ name: "AddReward",
+ component: () => import("@/views/BasicSetting/_addReward/index.vue"),
+ meta: {
+ title: '添加奖励规则',
+ },
+ hidden: true
+ },
]
},
{
diff --git a/src/views/BasicSetting/_addReward/index.vue b/src/views/BasicSetting/_addReward/index.vue
new file mode 100644
index 0000000..956d1d1
--- /dev/null
+++ b/src/views/BasicSetting/_addReward/index.vue
@@ -0,0 +1,70 @@
+
+