Browse Source

fix:测点配置按钮样式修改

pull/74/head
xjf 1 month ago
parent
commit
c727c171ad
  1. 11
      src/views/exa/config/index.vue
  2. 3
      src/views/exa/exa.data.ts

11
src/views/exa/config/index.vue

@ -32,8 +32,13 @@ const [registerTable, { getForm, reload, getDataSource, updateTableDataRecord }]
labelWidth: 150,
schemas: searchFormSchema,
showResetButton: false,
actionColOptions: {
span: 6,
span: 10,
style: {
textAlign: 'left' ,
marginLeft: '10px',
},
},
},
useSearchForm: true,
@ -105,8 +110,8 @@ async function handleDelete(record: Recordable) {
<template>
<div>
<BasicTable @register="registerTable">
<template #form-advanceBefore>
<Space style="margin-right: 10%;">
<template #form-advanceAfter>
<Space >
<a-button v-auth="['system:role:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
{{ t('action.create') }}
</a-button>

3
src/views/exa/exa.data.ts

@ -46,7 +46,8 @@ export const searchFormSchema: FormSchema[] = [
component: 'Input',
defaultValue: '',
required: true,
colProps: { span: 8 },
colProps: { span: 12
},
},
]

Loading…
Cancel
Save