From 1cced1a2e58333691c5b476a5043fedf86f432c3 Mon Sep 17 00:00:00 2001 From: czq Date: Tue, 26 Sep 2023 12:12:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E6=9C=8D=E5=8F=91=E9=80=81=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E6=8C=87=E5=AE=9Aexecl=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 6 +- src/api/systemapi/gm.js | 8 + src/router/index.js | 7 + src/views/sysmanage/gm/sendmailall.vue | 95 +------ src/views/sysmanage/gm/sendmailxlsx.vue | 313 ++++++++++++++++++++++++ 5 files changed, 346 insertions(+), 83 deletions(-) create mode 100644 src/views/sysmanage/gm/sendmailxlsx.vue diff --git a/.env.production b/.env.production index a3aecac..bcba326 100644 --- a/.env.production +++ b/.env.production @@ -46,8 +46,12 @@ ENV = 'production' #繁体测试 #VUE_APP_BASE_API = 'http://104.199.226.30:8083' #BT 二发 -VUE_APP_BASE_API = 'http://139.9.214.198:8083' +#VUE_APP_BASE_API = 'http://139.9.214.198:8083' #VUE_APP_BASE_API = 'http://localhost:8083' +#VUE_APP_BASE_API = 'http://35.236.136.235:8083' +#开发服 +#VUE_APP_BASE_API = 'http://120.92.51.235:8083' +VUE_APP_BASE_API = 'http://42.96.58.70:8083' # ----代理地址---- VUE_APP_PROXY_API = 'http://127.0.0.1:80' diff --git a/src/api/systemapi/gm.js b/src/api/systemapi/gm.js index eba1c78..7775067 100644 --- a/src/api/systemapi/gm.js +++ b/src/api/systemapi/gm.js @@ -55,6 +55,14 @@ export function sendMailAll(data) { }) } +// export function sendMailExcel(data) { +// return request({ +// url: '/system/gm/sendmailexecl', +// method: 'post', +// data +// }) +// } + export function getRechargeInfoList(data) { return request({ url: '/system/gm/getrechargeinfolist', diff --git a/src/router/index.js b/src/router/index.js index 356d0b9..ca9f93f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -216,6 +216,13 @@ export const constantRoutes = [ component: () => import('@/views/sysmanage/gm/sendmail'), meta: { title: '发送邮件', icon: 'link' } }, + + { + path: 'system/gm/sendmailxlsx', + name: 'sendmailxlsx', + component: () => import('@/views/sysmanage/gm/sendmailxlsx'), + meta: { title: '通过execl发送邮件', icon: 'link' } + }, { path: 'system/gm/sendmailall', name: 'sendmailall', diff --git a/src/views/sysmanage/gm/sendmailall.vue b/src/views/sysmanage/gm/sendmailall.vue index 47ed641..ad2e54d 100644 --- a/src/views/sysmanage/gm/sendmailall.vue +++ b/src/views/sysmanage/gm/sendmailall.vue @@ -12,13 +12,11 @@ /> - +
参数:
+
标题:
- - -
-
- 发送邮件 + 内容: + 发送邮件
@@ -103,10 +101,9 @@ diff --git a/src/views/sysmanage/gm/sendmailxlsx.vue b/src/views/sysmanage/gm/sendmailxlsx.vue new file mode 100644 index 0000000..47ed641 --- /dev/null +++ b/src/views/sysmanage/gm/sendmailxlsx.vue @@ -0,0 +1,313 @@ + + + +