浏览代码

短信日志详情修改

liuyu 1 年之前
父节点
当前提交
f19e67c39d
共有 1 个文件被更改,包括 33 次插入3 次删除
  1. 33 3
      src/views/system/sms/log/sms.log.data.ts

+ 33 - 3
src/views/system/sms/log/sms.log.data.ts

@@ -27,8 +27,8 @@ const crudSchemas = reactive<VxeCrudSchema>({
     },
     {
       title: '短信渠道',
-      field: 'channelId',
-      // dictType: DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE,
+      field: 'channelCode',
+      dictType: DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE,
       // dictClass: 'number',
       isSearch: true,
       // table: {
@@ -87,7 +87,37 @@ const crudSchemas = reactive<VxeCrudSchema>({
       title: t('common.createTime'),
       field: 'createTime',
       formatter: 'formatDate'
-    }
+    },
+    {
+      title: 'API 发送结果',
+      field: 'apiSendCode',
+      isTable: false,
+      isForm: false
+    },
+    {
+      title: 'API 短信编号',
+      field: 'apiSerialNo',
+      isTable: false,
+      isForm: false
+    },
+    {
+      title: 'API 请求编号',
+      field: 'apiRequestId',
+      isTable: false,
+      isForm: false
+    },
+    {
+      title: 'API 接收状态',
+      field: 'receiveStatus',
+      isTable: false,
+      isForm: false
+    },
+    {
+      title: 'API 接收结果',
+      field: 'apiReceiveMsg',
+      isTable: false,
+      isForm: false
+    },
   ]
 })
 export const { allSchemas } = useVxeCrudSchemas(crudSchemas)