From 00280e133ae150970272cc835993d4f491b7fbb9 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 4 Dec 2024 11:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=98=BF=E9=87=8C=E4=BA=91?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=A7=86=E9=A2=91=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=90=8E=E7=9A=84url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/utils/httpRequest.js | 2 +- src/views/finance/financeList.vue | 10 +++++++--- src/views/mission/mission.vue | 21 ++++++++++++++++++--- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3a2a5b8..0db6149 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "gulp-load-plugins": "1.5.0", "gulp-replace": "0.6.1", "hls.js": "^1.5.17", + "js-md5": "^0.8.3", "lodash": "4.17.5", "mockjs": "^1.1.0", "npm": "^6.9.0", diff --git a/src/utils/httpRequest.js b/src/utils/httpRequest.js index dab200b..62d115a 100644 --- a/src/utils/httpRequest.js +++ b/src/utils/httpRequest.js @@ -10,7 +10,7 @@ const $urlMap={ product:'https://video.hnsiyao.cn/sqx_fast/', test:'https://video.hnsiyao.cn/sqx_fast/', } -const $env='local' +const $env='product' const http = axios.create({ timeout: 1000 * 300, // withCredentials: true, diff --git a/src/views/finance/financeList.vue b/src/views/finance/financeList.vue index 6893d78..07208cc 100644 --- a/src/views/finance/financeList.vue +++ b/src/views/finance/financeList.vue @@ -919,9 +919,13 @@ export default { }; }, methods: { - returnTypeName(){ - const type = [''] - return '' + returnTypeName(type){ + const $types = { + '1':'谢谢惠顾', + '2':'现金红包', + '3':'物品', + } + return $types[type]?$types[type]:'' }, // 转盘添加弹窗show refAddZhuanpanOpen(){ diff --git a/src/views/mission/mission.vue b/src/views/mission/mission.vue index 3fd17b8..c7ac509 100644 --- a/src/views/mission/mission.vue +++ b/src/views/mission/mission.vue @@ -1726,7 +1726,9 @@