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