修改指标定义界面

main
于阔 8 months ago
parent 7e74faea44
commit 1ef190a84b

@ -13,7 +13,7 @@ import { TableData } from '@/api/dataset/CodeRepItem/types'
import { useTable } from '@/hooks/web/useTable'
import { useI18n } from '@/hooks/web/useI18n'
import { Table, TableColumn } from '@/components/Table'
import { ElButton, ElLink, ElLoading, ElPopconfirm, ElMessage } from 'element-plus'
import { ElButton, ElLink, ElLoading, ElPopconfirm, ElMessage,ElDropdown,ElDropdownMenu } from 'element-plus'
import { Search } from '@/components/Search'
import { FormSchema } from '@/components/Form'
import Write from './components/Write.vue'
@ -169,7 +169,16 @@ const tableColumns = reactive<TableColumn[]>([
<ElLink type="primary" underline={false} onClick={() => action(data.row, 'ruleconfig')}>
{'配置'}
</ElLink>
{/* <ElDropdown placement="bottom">
<ElLink type="primary" underline={false} onClick={() => action(data.row, 'ruleconfig')}>
{'配置'}
</ElLink>
<template #dropdown>
<ElDropdownMenu>
<ElDropdownItem @click="downloadFile('pdf')">PDF</ElDropdownItem>
</ElDropdownMenu>
</template>
</ElDropdown> */}
</>
)
}

@ -3,14 +3,14 @@ import {
RepStoreGeySchema,
RepStoreGeyTables
} from '@/api/dataset/RepStore'
export const OPERATION_TYPE_LIST = [//操作类型,1表2sql
export const OPERATION_TYPE_LIST = [//操作类型,2表1 查询
{
value:"1",
value:"2",
label:"表"
},
{
value:"2",
label:"sql"
value:"1",
label:"查询"
}
]
@ -21,7 +21,7 @@ export const RULE_TYPE_LIST = [//规则类型 1只读2读写
},
{
value:"2",
label:"查询"
label:"读写"
}
]

@ -290,6 +290,11 @@ const onSelectionChange = (selection: TableData[]) => {
v-model="searchParams.organCode"
:data="OrganListTree"
check-strictly
:props="{
label: 'label',
value: 'value',
children: 'childrens'
}"
filterable
clearable
:render-after-expand="false"

Loading…
Cancel
Save