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