|
@@ -35,7 +35,6 @@
|
|
import { useHandleData } from '@/hooks/useHandleData'
|
|
import { useHandleData } from '@/hooks/useHandleData'
|
|
import { useDownload } from '@/hooks/useDownload'
|
|
import { useDownload } from '@/hooks/useDownload'
|
|
import { ElMessageBox } from 'element-plus'
|
|
import { ElMessageBox } from 'element-plus'
|
|
-
|
|
|
|
import ImportExcel from '@/components/ImportExcel/index.vue'
|
|
import ImportExcel from '@/components/ImportExcel/index.vue'
|
|
import FormDialog from '@/components/FormDialog/index.vue'
|
|
import FormDialog from '@/components/FormDialog/index.vue'
|
|
import { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
|
|
import { ProTableInstance, ColumnProps } from '@/components/ProTable/interface'
|
|
@@ -184,9 +183,9 @@ const columns = reactive<ColumnProps<any>[]>([
|
|
])
|
|
])
|
|
|
|
|
|
// 表单配置项
|
|
// 表单配置项
|
|
-let itemsOptions = ref<ProForm.ItemsOptions[]>([])
|
|
|
|
|
|
+let itemsOptions = reactive<ProForm.ItemsOptions[]>([])
|
|
const setItemsOptions = () => {
|
|
const setItemsOptions = () => {
|
|
- itemsOptions.value = [
|
|
|
|
|
|
+ itemsOptions = [
|
|
{
|
|
{
|
|
label: '岗位编码',
|
|
label: '岗位编码',
|
|
prop: 'postCode',
|
|
prop: 'postCode',
|