@@ -143,8 +144,15 @@ const typeFormat = (row) => {
-
-
+
+
{{ backData.formData.title }} / {{ typeFormat(backData.formData) }}
diff --git a/src/views/system/config/config/contentConfig.js b/src/views/system/config/config/contentConfig.js
index 61ad313bf06978d155f04d8176d0d4c8181c56f5..24de005aaa5909ff6c21a96709bbb73f8ae36705 100644
--- a/src/views/system/config/config/contentConfig.js
+++ b/src/views/system/config/config/contentConfig.js
@@ -8,6 +8,7 @@ export const tableItem = [
prop: 'configName',
label: '参数名称',
minWidth: 90,
+ mobileSlot: 'header',
},
{
prop: 'configKey',
@@ -28,7 +29,7 @@ export const tableItem = [
{
prop: 'remark',
label: '备注',
- minWidth: 120,
+ minWidth: 160,
},
{
prop: 'createTime',
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 77eb1c3dad809c67d403ee8c722d9a36611c4780..69ac751eef85e2d9f284d009a445c624707d6127 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -144,6 +144,7 @@ const unFoldAll = () => {
{
:permission="permission"
:piniaConfig="piniaConfig"
:requestBaseUrl="requestBaseUrl"
+ :useMobile="false"
@beforeSend="beforeSend"
@addClick="addClick"
@editBtnClick="editBtnClick"
diff --git a/src/views/system/dict/config/contentConfig.js b/src/views/system/dict/config/contentConfig.js
index cebda412a6876e7f8b773122272507ff0110ca91..9e8453c214c43b39d8f5b18c1bfe700c1a40ae13 100644
--- a/src/views/system/dict/config/contentConfig.js
+++ b/src/views/system/dict/config/contentConfig.js
@@ -8,6 +8,7 @@ export const tableItem = [
prop: 'dictName',
label: '字典名称',
minWidth: 120,
+ mobileSlot: 'header',
},
{
prop: 'dictType',
diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue
index 57af37e3e37e6fff9fd208c3806446a9ea31de66..d0d547607cbaa306b650d458131f1d6eb0fcc130 100644
--- a/src/views/system/dict/data.vue
+++ b/src/views/system/dict/data.vue
@@ -144,7 +144,8 @@ const handleClose = () => {
proxy.$tab.closeOpenPage(obj)
}
const reset = () => {
- for (let key of Object.keys(pageSearchRef.value.formData)) {
+ const formData = pageSearchRef.value.getFormData()
+ for (let key of Object.keys(formData)) {
if (key !== 'dictType') {
pageSearchRef.value.setFormData(key, void 0)
} else {
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index bfcb351a2d84f668179c879564c4ccbc3f1b1e65..725eff41038a8451c4cfc8ae3032ec924e0f108e 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -166,6 +166,7 @@ const unFoldAll = () => {
ref="pageSearchRef"
:pageName="pageName"
:searchConfig="searchConfigComputed"
+ :useMobile="false"
>
{
:permission="permission"
:piniaConfig="piniaConfig"
:requestBaseUrl="requestBaseUrl"
+ :useMobile="false"
@beforeSend="beforeSend"
@addClick="addClick"
@editBtnClick="editBtnClick"
diff --git a/src/views/system/notice/config/contentConfig.js b/src/views/system/notice/config/contentConfig.js
index eb99b76d3b8d2ea91b55e3a93234b809d16cb3c7..5e8f88733b282b568fee20b3aaef4b987d39a3d9 100644
--- a/src/views/system/notice/config/contentConfig.js
+++ b/src/views/system/notice/config/contentConfig.js
@@ -8,6 +8,7 @@ export const tableItem = [
prop: 'noticeTitle',
label: '公告标题',
minWidth: 160,
+ mobileSlot: 'header',
},
{
prop: 'noticeType',
diff --git a/src/views/system/post/config/contentConfig.js b/src/views/system/post/config/contentConfig.js
index b5a2dd566ce825cb5540d2de89425dcf71efc377..197e43e566899b219a86d72bacc231eaf1bae495 100644
--- a/src/views/system/post/config/contentConfig.js
+++ b/src/views/system/post/config/contentConfig.js
@@ -13,6 +13,7 @@ export const tableItem = [
prop: 'postName',
label: '岗位名称',
minWidth: 100,
+ mobileSlot: 'header',
},
{
diff --git a/src/views/system/role/authUser.vue b/src/views/system/role/authUser.vue
index adcadcac6cba73cfed4a39e7f31139ed4c109093..1df8c3cc560adaa4750e2f79542222d006b79ad5 100644
--- a/src/views/system/role/authUser.vue
+++ b/src/views/system/role/authUser.vue
@@ -125,7 +125,6 @@ init()
>
{
const handleValueChange = (value) => {
emits('update:modelValue', value)
}
+const isSmall = window.isSmallScreen
@@ -126,6 +127,8 @@ const handleValueChange = (value) => {
:model-value="modelValue"
@update:modelValue="handleValueChange($event)"
@open="dialogOpen"
+ destroy-on-close
+ :fullscreen="isSmall"
>
{
const handleValueChange = (value) => {
emits('update:modelValue', value)
}
+const isSmall = window.isSmallScreen
@@ -86,6 +87,7 @@ const handleValueChange = (value) => {
@update:modelValue="handleValueChange($event)"
draggable
destroy-on-close
+ :fullscreen="isSmall"
>
{
},
},
],
+ elFormConfig: {},
}
}
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index d1e032084f344a89c4347eb3e22e8e126ff5a033..d17663f3f1a2e350e54a0404146ae08fbfe4b625 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -288,7 +288,11 @@ init()
@click="handleStatusChange(backData)"
:loading="backData.statusLoading"
>
-
+
{{ backData.dept?.deptName }}
diff --git a/src/views/tool/gen/config/contentConfig.js b/src/views/tool/gen/config/contentConfig.js
index 4334b9fbc77896464babf4e41baf3b748c27854c..98968ff6656c16b3cbc9385e3c9324e5883d8b16 100644
--- a/src/views/tool/gen/config/contentConfig.js
+++ b/src/views/tool/gen/config/contentConfig.js
@@ -3,6 +3,7 @@ export const tableItem = [
prop: 'tableName',
label: '表名称',
minWidth: 110,
+ mobileSlot: 'header',
},
{
prop: 'tableComment',
@@ -30,6 +31,7 @@ export const tableItem = [
label: '操作',
width: 280,
slotName: 'doSth',
+ mobileSlot: 'footer',
},
]
export default () => {
diff --git a/vite.config.js b/vite.config.js
index 7e033c71170060e46c8458a979fa3339adadbec5..da8a91e700475b1e85cf0f28486a5ec7b9a2cb6a 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -30,8 +30,9 @@ export default defineConfig(({ mode, command }) => {
open: true,
proxy: {
'/api': {
- target: 'http://vue.ruoyi.vip/prod-api/',
+ // target: 'http://vue.ruoyi.vip/prod-api/',
// target: 'http://192.168.0.99:8080/',
+ target: 'http://localhost:8080/',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/api/, ''),
},