vue3:review 短信渠道、短信模板、短信日志、错误码管理、敏感词管理

This commit is contained in:
YunaiV 2022-11-26 22:46:50 +08:00
parent 387cdc4295
commit c5f1cad033
6 changed files with 8 additions and 1 deletions

View File

@ -16,6 +16,7 @@ export const rules = reactive({
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '编号',
action: true,
columns: [
{

View File

@ -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"

View File

@ -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'

View File

@ -17,6 +17,7 @@ export const rules = reactive({
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '渠道编号',
action: true,
columns: [
{

View File

@ -8,6 +8,7 @@ const { t } = useI18n() // 国际化
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '日志编号',
action: true,
columns: [
{

View File

@ -20,6 +20,7 @@ export const rules = reactive({
const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id',
primaryType: 'seq',
primaryTitle: '模板编号',
action: true,
actionWidth: '280',
columns: [