指标查询

main
yangyuanshuai 10 months ago
parent 15995c4352
commit 062a9283db

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

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

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

Loading…
Cancel
Save