From 3dc36ecced0cea0d9e96941634ec5bf8d3e28aea Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 11 Apr 2021 21:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E4=BF=A1=E5=8F=91=E9=80=81=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E7=9A=84=E5=89=8D=E7=AB=AF=EF=BC=8C=E9=83=A8=E5=88=86?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/utils/dict.js | 2 + .../src/views/system/operatelog/index.vue | 1 - ruoyi-ui/src/views/system/sms/smsLog.vue | 157 +++++++++++++----- ruoyi-ui/src/views/system/sms/smsTemplate.vue | 8 +- .../framework/sms/core/client/SmsClient.java | 5 +- .../dict/SysDictTypeController.java | 2 +- .../system/enums/dict/SysDictTypeEnum.java | 2 + .../resources/codegen/vue/views/index.vue.vm | 2 +- 8 files changed, 130 insertions(+), 49 deletions(-) diff --git a/ruoyi-ui/src/utils/dict.js b/ruoyi-ui/src/utils/dict.js index 1a61a989a..e3dc92d5b 100644 --- a/ruoyi-ui/src/utils/dict.js +++ b/ruoyi-ui/src/utils/dict.js @@ -19,6 +19,8 @@ export const DICT_TYPE = { SYS_CONFIG_TYPE: 'sys_config_type', SYS_SMS_CHANNEL_CODE: 'sys_sms_channel_code', SYS_SMS_TEMPLATE_TYPE: 'sys_sms_template_type', + SYS_SMS_SEND_STATUS: 'sys_sms_send_status', + SYS_SMS_RECEIVE_STATUS: 'sys_sms_receive_status', INF_REDIS_TIMEOUT_TYPE: 'inf_redis_timeout_type', INF_JOB_STATUS: 'inf_job_status', diff --git a/ruoyi-ui/src/views/system/operatelog/index.vue b/ruoyi-ui/src/views/system/operatelog/index.vue index 8833a749e..7131654bf 100644 --- a/ruoyi-ui/src/views/system/operatelog/index.vue +++ b/ruoyi-ui/src/views/system/operatelog/index.vue @@ -163,7 +163,6 @@ export default { businessType: undefined, status: undefined }, - }; }, created() { diff --git a/ruoyi-ui/src/views/system/sms/smsLog.vue b/ruoyi-ui/src/views/system/sms/smsLog.vue index 8b3c2db53..8ec2d9488 100644 --- a/ruoyi-ui/src/views/system/sms/smsLog.vue +++ b/ruoyi-ui/src/views/system/sms/smsLog.vue @@ -2,16 +2,20 @@
- - - + + + + + + + + - - - @@ -52,46 +56,51 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -99,13 +108,59 @@ - + + + + + + {{ form.id }} + + + {{ form.traceId }} + + + {{ form.userId }} | {{ form.userNickname }} | {{ form.userIp }} | {{ form.userAgent}} + + + + {{ form.module }} | {{ form.name }} | {{ getDictDataLabel(DICT_TYPE.SYS_OPERATE_TYPE, form.type) }} +
{{ form.content }} +
{{ form.exts }} +
+
+ + {{ form.requestMethod }} | {{ form.requestUrl }} + + + {{ form.javaMethod }} + + + {{ form.javaMethodArgs }} + + + + {{ parseTime(form.startTime) }} | {{ form.duration }} ms + + + + +
正常 | {{ form.resultData}}
+
失败 | {{ form.resultCode }} || {{ form.resultMsg}}
+
+
+
+
+ +