This commit is contained in:
sjl
2025-01-15 09:35:36 +08:00
parent 0cace11975
commit 14e5535fd8
21 changed files with 206 additions and 36 deletions

View File

@@ -192,7 +192,9 @@
import {getRegRes,updateRegRes } from '@/api/system/versionRegister/index'
import { ElMessage, FormItemRule } from 'element-plus'
import { useModeStore } from '@/stores/modules/mode'; // 引入模式 store
defineOptions({
name: 'base'
})
const modeStore = useModeStore();
const dictStore = useDictStore()

View File

@@ -33,7 +33,9 @@ import {useHandleData} from '@/hooks/useHandleData'
import {deleteDictData, getDictDataListByTypeId, exportDictData} from "@/api/system/dictionary/dictData/index";
import {useDownload} from "@/hooks/useDownload";
import {exportDictType} from "@/api/system/dictionary/dictType";
defineOptions({
name: 'dict'
})
const proTable = ref<ProTableInstance>()
const dialogVisible = ref(false)
//字典数据所属的字典类型Id

View File

@@ -34,7 +34,9 @@ import {
deleteDictPq,
} from '@/api/system/dictionary/dictPq'
import { reactive, ref } from 'vue'
defineOptions({
name: 'dictPq'
})
const dictStore = useDictStore()
const proTable = ref<ProTableInstance>()
const pqPopup = ref()

View File

@@ -33,7 +33,9 @@
deleteDictTree,
} from '@/api/system/dictionary/dictTree'
import { reactive, ref } from 'vue'
defineOptions({
name: 'dictTree'
})
const dictStore = useDictStore()
const proTable = ref<ProTableInstance>()

View File

@@ -35,7 +35,9 @@ import { useViewSize } from '@/hooks/useViewSize'
import { useDownload } from '@/hooks/useDownload'
import { deleteDictType, getDictTypeList, exportDictType } from '@/api/system/dictionary/dictType'
import { reactive, ref } from 'vue'
defineOptions({
name: 'dict'
})
const { popupBaseView, viewWidth, viewHeight } = useViewSize()
const proTable = ref<ProTableInstance>()