Commit c5f1cad033ad55eb1d837bbd1b33f8de5f99c62e
1 parent
387cdc42
vue3:review 短信渠道、短信模板、短信日志、错误码管理、敏感词管理
Showing
6 changed files
with
8 additions
and
1 deletions
yudao-ui-admin-vue3/src/views/system/errorCode/errorCode.data.ts
yudao-ui-admin-vue3/src/views/system/sensitiveWord/index.vue
| ... | ... | @@ -3,6 +3,7 @@ |
| 3 | 3 | <!-- 列表 --> |
| 4 | 4 | <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar"> |
| 5 | 5 | <template #toolbar_buttons> |
| 6 | + <!-- 操作:新增 --> | |
| 6 | 7 | <XButton |
| 7 | 8 | type="primary" |
| 8 | 9 | preIcon="ep:zoom-in" |
| ... | ... | @@ -10,6 +11,7 @@ |
| 10 | 11 | v-hasPermi="['system:sensitive-word:create']" |
| 11 | 12 | @click="handleCreate()" |
| 12 | 13 | /> |
| 14 | + <!-- 操作:导出 --> | |
| 13 | 15 | <XButton |
| 14 | 16 | type="warning" |
| 15 | 17 | preIcon="ep:download" | ... | ... |
yudao-ui-admin-vue3/src/views/system/sensitiveWord/sensitiveWord.data.ts
| ... | ... | @@ -15,6 +15,7 @@ export const rules = reactive({ |
| 15 | 15 | const crudSchemas = reactive<VxeCrudSchema>({ |
| 16 | 16 | primaryKey: 'id', |
| 17 | 17 | primaryType: 'seq', |
| 18 | + primaryTitle: '敏感词编号', // TODO 星语:如果长度超过 4 个字符,会导致表格列宽度不够,需要优化 | |
| 18 | 19 | action: true, |
| 19 | 20 | columns: [ |
| 20 | 21 | { |
| ... | ... | @@ -24,7 +25,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ |
| 24 | 25 | }, |
| 25 | 26 | { |
| 26 | 27 | title: '标签', |
| 27 | - field: 'tags', | |
| 28 | + field: 'tags', // TODO 星语:如果是数组的话,是不是使用 el tag 展示呀? | |
| 28 | 29 | table: { |
| 29 | 30 | slots: { |
| 30 | 31 | default: 'tags_default' | ... | ... |
yudao-ui-admin-vue3/src/views/system/sms/smsChannel/sms.channel.data.ts
yudao-ui-admin-vue3/src/views/system/sms/smsLog/sms.log.data.ts
yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/sms.template.data.ts