指标查询

main
yangyuanshuai 10 months ago
parent 15995c4352
commit 062a9283db

@ -99,6 +99,9 @@ const tableColumns = reactive<TableColumn[]>([
default: (data: any) => {
return (
<>
<ElLink type="primary" underline={false} onClick={() => action(data.row, 'edit')}>
{t('tableDemo.edit')}
</ElLink>
<ElPopconfirm
title={t('common.delTableMsg')}
width={200}

@ -23,27 +23,33 @@ const { setValues, getFormData, getElFormExpose } = formMethods
const formSchema = reactive<FormSchema[]>([
{
field: 'dicid',
label: '分类编号'
label: '分类编号',
component: 'Input',
},
{
field: 'dicname',
label: '分类名称'
label: '分类名称',
component: 'Input',
},
{
field: 'dicvalue',
label: '分类值'
label: '分类值',
component: 'Input',
},
{
field: 'parentname',
label: '上级分类'
label: '上级分类',
component: 'Input',
},
{
field: 'description',
label: '分类描述'
label: '分类描述',
component: 'Input',
},
{
field: 'status',
label: '分类状态'
label: '分类状态',
component: 'Input',
}
])

@ -23,6 +23,9 @@ import { useValidator } from '@/hooks/web/useValidator'
import { getLoginOrganCodeByUserInfo } from '@/utils/auth'
import { getOrganTree } from '@/api/common'
defineOptions({
name: 'IndexSearchServiceMs',
});
const { t } = useI18n()
const { required } = useValidator();

Loading…
Cancel
Save