fix:工单样式兼容移动端
Build and Deploy Vue3 / build (push) Successful in 1m12s
Build and Deploy Vue3 / deploy (push) Successful in 1m19s

This commit is contained in:
2026-01-23 14:24:29 +08:00
parent 5b5e0f62ec
commit ead7c5bba5
6 changed files with 1094 additions and 59 deletions
+5 -2
View File
@@ -437,7 +437,7 @@ const fetchGroupList = async () => {
const fetchAllGroupList = async () => {
try {
const res = await getSettingGroupList({ page: 1, count: 1000 })
const res = await getSettingGroupList({ page: 1, count: 10 })
if (res.data.code === 200) {
allGroupList.value = res.data.data.data || []
}
@@ -635,8 +635,10 @@ const handleTypeChange = (type) => {
}
}
const handleAddSetting = () => {
const handleAddSetting = async () => {
settingDialogTitle.value = '新增配置'
// 刷新配置组列表以确保数据最新
await fetchAllGroupList()
Object.assign(settingForm, {
id: undefined,
name: '',
@@ -780,6 +782,7 @@ watch(activeTab, (newVal) => {
if (newVal === 'group') {
fetchGroupList()
} else if (newVal === 'setting') {
fetchAllGroupList() // 切换到配置管理时刷新配置组列表用于下拉筛选
fetchSettingList()
}
})