mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	vue3:review 短信渠道、短信模板、短信日志、错误码管理、敏感词管理
This commit is contained in:
		| @@ -16,6 +16,7 @@ export const rules = reactive({ | ||||
| const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|   primaryKey: 'id', | ||||
|   primaryType: 'seq', | ||||
|   primaryTitle: '编号', | ||||
|   action: true, | ||||
|   columns: [ | ||||
|     { | ||||
|   | ||||
| @@ -3,6 +3,7 @@ | ||||
|     <!-- 列表 --> | ||||
|     <vxe-grid ref="xGrid" v-bind="gridOptions" class="xtable-scrollbar"> | ||||
|       <template #toolbar_buttons> | ||||
|         <!-- 操作:新增 --> | ||||
|         <XButton | ||||
|           type="primary" | ||||
|           preIcon="ep:zoom-in" | ||||
| @@ -10,6 +11,7 @@ | ||||
|           v-hasPermi="['system:sensitive-word:create']" | ||||
|           @click="handleCreate()" | ||||
|         /> | ||||
|         <!-- 操作:导出 --> | ||||
|         <XButton | ||||
|           type="warning" | ||||
|           preIcon="ep:download" | ||||
|   | ||||
| @@ -15,6 +15,7 @@ export const rules = reactive({ | ||||
| const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|   primaryKey: 'id', | ||||
|   primaryType: 'seq', | ||||
|   primaryTitle: '敏感词编号', // TODO 星语:如果长度超过 4 个字符,会导致表格列宽度不够,需要优化 | ||||
|   action: true, | ||||
|   columns: [ | ||||
|     { | ||||
| @@ -24,7 +25,7 @@ const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|     }, | ||||
|     { | ||||
|       title: '标签', | ||||
|       field: 'tags', | ||||
|       field: 'tags', // TODO 星语:如果是数组的话,是不是使用 el tag 展示呀? | ||||
|       table: { | ||||
|         slots: { | ||||
|           default: 'tags_default' | ||||
|   | ||||
| @@ -17,6 +17,7 @@ export const rules = reactive({ | ||||
| const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|   primaryKey: 'id', | ||||
|   primaryType: 'seq', | ||||
|   primaryTitle: '渠道编号', | ||||
|   action: true, | ||||
|   columns: [ | ||||
|     { | ||||
|   | ||||
| @@ -8,6 +8,7 @@ const { t } = useI18n() // 国际化 | ||||
| const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|   primaryKey: 'id', | ||||
|   primaryType: 'seq', | ||||
|   primaryTitle: '日志编号', | ||||
|   action: true, | ||||
|   columns: [ | ||||
|     { | ||||
|   | ||||
| @@ -20,6 +20,7 @@ export const rules = reactive({ | ||||
| const crudSchemas = reactive<VxeCrudSchema>({ | ||||
|   primaryKey: 'id', | ||||
|   primaryType: 'seq', | ||||
|   primaryTitle: '模板编号', | ||||
|   action: true, | ||||
|   actionWidth: '280', | ||||
|   columns: [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV