Jelajahi Sumber

fix: 门户、短信字段小调整

Tong 2 tahun lalu
induk
melakukan
c389cabd53

+ 0 - 11
src/views/sys/sysPortal/data.ts

@@ -41,17 +41,6 @@ export const searchFormSchema: FormSchema[] = [
       placeholder: '请输入门户名称',
     },
   },
-  {
-    label: '门户类型',
-    field: 'type',
-    component: 'ApiSelect',
-    componentProps: {
-      api: listDictModel,
-      params: {
-        dictCode: 'sys_create_type',
-      },
-    },
-  },
 ];
 // 表单新增编辑
 export const dataFormSchema: FormSchema[] = [

+ 2 - 2
src/views/sys/sysSms/channel/index.vue

@@ -9,7 +9,7 @@
         </template>
         <template v-if="column.key === 'disable'">
           <Tag :color="formatDictColor(disableOptions, record.disable)">
-            {{ commonDict(disableOptions, record.disable) }}
+            {{ formatDictValue(disableOptions, record.disable) }}
           </Tag>
         </template>
         <template v-if="column.key === 'action'">
@@ -84,7 +84,7 @@
 
   import { smsChannelQueryPage, smsChannelRemove } from '/@/api/sys/smsChannelApi';
   import { listDictModel } from '/@/api/common';
-  import { formatDictColor, formatDictValue, commonDict } from '/@/utils';
+  import { formatDictColor, formatDictValue } from '/@/utils';
   import { useDrawer } from '/@/components/Drawer';
 
   const typeOptions = ref();

+ 2 - 0
src/views/sys/sysSms/temp/index.vue

@@ -36,6 +36,7 @@
               },
               {
                 auth: 'sms:temp:edit',
+                ifShow: record.createType != 'sys',
                 icon: 'icon-edit|iconfont',
                 tooltip: '编辑',
                 label: '编辑',
@@ -43,6 +44,7 @@
               },
               {
                 auth: 'sms:temp:remove',
+                ifShow: record.createType != 'sys',
                 icon: 'icon-delete|iconfont',
                 tooltip: '删除',
                 label: '删除',