【更新】业务功能列表增加操作头

pull/90/head v2.2.0
xiaonuobase 2 years ago
parent f395391f4c
commit 5fe157b672

@ -44,6 +44,7 @@
:alert="options.alert.show" :alert="options.alert.show"
bordered bordered
:row-key="(record) => record.id" :row-key="(record) => record.id"
:tool-config="toolConfig"
:row-selection="options.rowSelection" :row-selection="options.rowSelection"
> >
<template #operator class="table-operator"> <template #operator class="table-operator">
@ -124,6 +125,7 @@
} }
} }
} }
const toolConfig = { refresh: true, height: true, columnSetting: true }
// tableDOM // tableDOM
const table = ref(null) const table = ref(null)
const form = ref() const form = ref()

@ -43,6 +43,7 @@
:expand-row-by-click="true" :expand-row-by-click="true"
:alert="options.alert.show" :alert="options.alert.show"
bordered bordered
:tool-config="toolConfig"
:row-key="(record) => record.id" :row-key="(record) => record.id"
:row-selection="options.rowSelection" :row-selection="options.rowSelection"
> >
@ -125,6 +126,7 @@
} }
} }
} }
const toolConfig = { refresh: true, height: true, columnSetting: true }
// tableDOM // tableDOM
const table = ref(null) const table = ref(null)
const form = ref() const form = ref()

@ -55,6 +55,7 @@
:expand-row-by-click="true" :expand-row-by-click="true"
bordered bordered
:alert="options.alert.show" :alert="options.alert.show"
:tool-config="toolConfig"
:row-key="(record) => record.id" :row-key="(record) => record.id"
:row-selection="options.rowSelection" :row-selection="options.rowSelection"
> >
@ -206,6 +207,7 @@
width: '220px' width: '220px'
}) })
} }
const toolConfig = { refresh: true, height: true, columnSetting: true }
const statusData = tool.dictList('COMMON_STATUS') const statusData = tool.dictList('COMMON_STATUS')
const searchFormRef = ref() const searchFormRef = ref()
let defaultExpandedKeys = ref([]) let defaultExpandedKeys = ref([])

Loading…
Cancel
Save