Commit 9f016c09c3b9dcae4b245c00b103c32c77fe1a4d

Authored by sqy
1 parent 874e9c12

'fix:[DEFECT-327]样式优化'

@@ -52,9 +52,6 @@ @@ -52,9 +52,6 @@
52 slots: { customRender: 'action' }, 52 slots: { customRender: 'action' },
53 fixed: 'right', 53 fixed: 'right',
54 }, 54 },
55 - // beforeFetch: (data) => {  
56 - // Reflect.set(data, 'startTime', null);  
57 - // },  
58 }); 55 });
59 const [registerDetailDrawer, { openDrawer }] = useDrawer(); 56 const [registerDetailDrawer, { openDrawer }] = useDrawer();
60 const handleDetail = (record: Recordable) => { 57 const handleDetail = (record: Recordable) => {
@@ -102,6 +102,8 @@ @@ -102,6 +102,8 @@
102 Modal.info({ 102 Modal.info({
103 title: '当前配置', 103 title: '当前配置',
104 width: 600, 104 width: 600,
  105 + centered: true,
  106 + maskClosable: true,
105 content: h(JsonPreview, { data: JSON.parse(JSON.stringify(record.config)) }), 107 content: h(JsonPreview, { data: JSON.parse(JSON.stringify(record.config)) }),
106 }); 108 });
107 } 109 }
@@ -3,9 +3,10 @@ @@ -3,9 +3,10 @@
3 v-bind="$attrs" 3 v-bind="$attrs"
4 @register="register" 4 @register="register"
5 title="邮件发送参数" 5 title="邮件发送参数"
  6 + centered
6 :okButtonProps="{ disabled: true }" 7 :okButtonProps="{ disabled: true }"
7 @ok="handleOK" 8 @ok="handleOK"
8 - width="700px" 9 + :width="700"
9 > 10 >
10 <div class="pt-6px pr-6px"> 11 <div class="pt-6px pr-6px">
11 <BasicForm @register="registerForm" /> 12 <BasicForm @register="registerForm" />
@@ -79,6 +79,8 @@ @@ -79,6 +79,8 @@
79 Modal.info({ 79 Modal.info({
80 title: '当前配置', 80 title: '当前配置',
81 width: 480, 81 width: 480,
  82 + centered: true,
  83 + maskClosable: true,
82 content: h(JsonPreview, { data: JSON.parse(JSON.stringify(record.templateParam)) }), 84 content: h(JsonPreview, { data: JSON.parse(JSON.stringify(record.templateParam)) }),
83 }); 85 });
84 } 86 }
@@ -14,12 +14,12 @@ export const columns: BasicColumn[] = [ @@ -14,12 +14,12 @@ export const columns: BasicColumn[] = [
14 { 14 {
15 title: '短信平台', 15 title: '短信平台',
16 dataIndex: 'typeDictText', 16 dataIndex: 'typeDictText',
17 - width: 180, 17 + width: 160,
18 }, 18 },
19 { 19 {
20 title: '用途', 20 title: '用途',
21 dataIndex: 'templatePurposeDictText', 21 dataIndex: 'templatePurposeDictText',
22 - width: 180, 22 + width: 160,
23 }, 23 },
24 { 24 {
25 title: '状态', 25 title: '状态',
@@ -38,12 +38,12 @@ export const columns: BasicColumn[] = [ @@ -38,12 +38,12 @@ export const columns: BasicColumn[] = [
38 { 38 {
39 title: '备注', 39 title: '备注',
40 dataIndex: 'remark', 40 dataIndex: 'remark',
41 - width: 180, 41 + width: 160,
42 }, 42 },
43 { 43 {
44 title: '发送时间', 44 title: '发送时间',
45 dataIndex: 'sendTime', 45 dataIndex: 'sendTime',
46 - width: 180, 46 + width: 160,
47 }, 47 },
48 ]; 48 ];
49 49