Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
4dfff161
authored
Mar 01, 2023
by
芋道源码
Committed by
Gitee
Mar 01, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!2 遇到多个问题并修改
Merge pull request !2 from 毕梅/master
parents
f71e7492
5718c788
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
7 deletions
+17
-7
src/components/Search/src/Search.vue
+3
-0
src/store/modules/tagsView.ts
+2
-2
src/utils/routerHelper.ts
+5
-3
src/views/bpm/task/done/index.vue
+1
-0
src/views/bpm/task/todo/index.vue
+1
-0
src/views/infra/server/index.vue
+1
-1
src/views/report/jmreport/index.vue
+1
-1
src/views/system/dict/index.vue
+1
-0
src/views/system/mail/log/index.vue
+1
-0
src/views/system/notify/message/index.vue
+1
-0
No files found.
src/components/Search/src/Search.vue
View file @
4dfff161
...
@@ -9,6 +9,8 @@ import { FormSchema } from '@/types/form'
...
@@ -9,6 +9,8 @@ import { FormSchema } from '@/types/form'
const
{
t
}
=
useI18n
()
const
{
t
}
=
useI18n
()
const
slots
=
useSlots
()
const
props
=
defineProps
({
const
props
=
defineProps
({
// 生成Form的布局结构数组
// 生成Form的布局结构数组
schema
:
{
schema
:
{
...
@@ -123,6 +125,7 @@ const setVisible = () => {
...
@@ -123,6 +125,7 @@ const setVisible = () => {
</ElButton>
</ElButton>
</div>
</div>
</
template
>
</
template
>
<
template
v-for=
"(slot, name) in slots"
#[
name
]
><slot
:name=
"name"
></slot></
template
>
</Form>
</Form>
<
template
v-if=
"layout === 'bottom'"
>
<
template
v-if=
"layout === 'bottom'"
>
...
...
src/store/modules/tagsView.ts
View file @
4dfff161
...
@@ -58,7 +58,7 @@ export const useTagsViewStore = defineStore('tagsView', {
...
@@ -58,7 +58,7 @@ export const useTagsViewStore = defineStore('tagsView', {
// 删除某个
// 删除某个
delView
(
view
:
RouteLocationNormalizedLoaded
)
{
delView
(
view
:
RouteLocationNormalizedLoaded
)
{
this
.
delVisitedView
(
view
)
this
.
delVisitedView
(
view
)
this
.
add
CachedView
()
this
.
del
CachedView
()
},
},
// 删除tag
// 删除tag
delVisitedView
(
view
:
RouteLocationNormalizedLoaded
)
{
delVisitedView
(
view
:
RouteLocationNormalizedLoaded
)
{
...
@@ -80,7 +80,7 @@ export const useTagsViewStore = defineStore('tagsView', {
...
@@ -80,7 +80,7 @@ export const useTagsViewStore = defineStore('tagsView', {
// 删除所有缓存和tag
// 删除所有缓存和tag
delAllViews
()
{
delAllViews
()
{
this
.
delAllVisitedViews
()
this
.
delAllVisitedViews
()
this
.
add
CachedView
()
this
.
del
CachedView
()
},
},
// 删除所有tag
// 删除所有tag
delAllVisitedViews
()
{
delAllVisitedViews
()
{
...
...
src/utils/routerHelper.ts
View file @
4dfff161
...
@@ -212,9 +212,11 @@ const addToChildren = (
...
@@ -212,9 +212,11 @@ const addToChildren = (
}
}
}
}
const
toCamelCase
=
(
str
:
string
,
upperCaseFirst
:
boolean
)
=>
{
const
toCamelCase
=
(
str
:
string
,
upperCaseFirst
:
boolean
)
=>
{
str
=
(
str
||
''
).
toLowerCase
().
replace
(
/-
(
.
)
/g
,
function
(
group1
:
string
)
{
str
=
(
str
||
''
)
return
group1
.
toUpperCase
()
.
replace
(
/-
(
.
)
/g
,
function
(
group1
:
string
)
{
})
return
group1
.
toUpperCase
()
})
.
replaceAll
(
'-'
,
''
)
if
(
upperCaseFirst
&&
str
)
{
if
(
upperCaseFirst
&&
str
)
{
str
=
str
.
charAt
(
0
).
toUpperCase
()
+
str
.
slice
(
1
)
str
=
str
.
charAt
(
0
).
toUpperCase
()
+
str
.
slice
(
1
)
...
...
src/views/bpm/task/done/index.vue
View file @
4dfff161
...
@@ -21,6 +21,7 @@ const { push } = useRouter() // 路由
...
@@ -21,6 +21,7 @@ const { push } = useRouter() // 路由
const
[
registerTable
]
=
useXTable
({
const
[
registerTable
]
=
useXTable
({
allSchemas
:
allSchemas
,
allSchemas
:
allSchemas
,
topActionSlots
:
false
,
getListApi
:
TaskApi
.
getDoneTaskPage
getListApi
:
TaskApi
.
getDoneTaskPage
})
})
...
...
src/views/bpm/task/todo/index.vue
View file @
4dfff161
...
@@ -22,6 +22,7 @@ const { push } = useRouter() // 路由
...
@@ -22,6 +22,7 @@ const { push } = useRouter() // 路由
const
[
registerTable
]
=
useXTable
({
const
[
registerTable
]
=
useXTable
({
allSchemas
:
allSchemas
,
allSchemas
:
allSchemas
,
topActionSlots
:
false
,
getListApi
:
TaskApi
.
getTodoTaskPage
getListApi
:
TaskApi
.
getTodoTaskPage
})
})
...
...
src/views/infra/server/index.vue
View file @
4dfff161
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<IFrame
:src=
"src"
/>
<IFrame
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"Server"
>
<
script
setup
lang=
"ts"
name=
"
Admin
Server"
>
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
const
src
=
ref
(
BASE_URL
+
'/admin/applications'
)
const
src
=
ref
(
BASE_URL
+
'/admin/applications'
)
</
script
>
</
script
>
src/views/report/jmreport/index.vue
View file @
4dfff161
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<IFrame
:src=
"src"
/>
<IFrame
:src=
"src"
/>
</ContentWrap>
</ContentWrap>
</
template
>
</
template
>
<
script
setup
lang=
"ts"
name=
"J
mr
eport"
>
<
script
setup
lang=
"ts"
name=
"J
imuR
eport"
>
import
{
getAccessToken
}
from
'@/utils/auth'
import
{
getAccessToken
}
from
'@/utils/auth'
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
const
BASE_URL
=
import
.
meta
.
env
.
VITE_BASE_URL
...
...
src/views/system/dict/index.vue
View file @
4dfff161
...
@@ -179,6 +179,7 @@ const tableTypeSelect = ref(false)
...
@@ -179,6 +179,7 @@ const tableTypeSelect = ref(false)
const
cellClickEvent
:
VxeTableEvents
.
CellClick
=
async
({
row
})
=>
{
const
cellClickEvent
:
VxeTableEvents
.
CellClick
=
async
({
row
})
=>
{
tableTypeSelect
.
value
=
true
tableTypeSelect
.
value
=
true
queryParams
.
dictType
=
row
[
'type'
]
queryParams
.
dictType
=
row
[
'type'
]
await
nextTick
()
await
dataGetList
()
await
dataGetList
()
parentType
.
value
=
row
[
'type'
]
parentType
.
value
=
row
[
'type'
]
}
}
...
...
src/views/system/mail/log/index.vue
View file @
4dfff161
...
@@ -59,6 +59,7 @@ const queryParams = reactive({
...
@@ -59,6 +59,7 @@ const queryParams = reactive({
})
})
const
[
registerTable
]
=
useXTable
({
const
[
registerTable
]
=
useXTable
({
allSchemas
:
allSchemas
,
allSchemas
:
allSchemas
,
topActionSlots
:
false
,
params
:
queryParams
,
params
:
queryParams
,
getListApi
:
MailLogApi
.
getMailLogPageApi
getListApi
:
MailLogApi
.
getMailLogPageApi
})
})
...
...
src/views/system/notify/message/index.vue
View file @
4dfff161
...
@@ -37,6 +37,7 @@ const { t } = useI18n() // 国际化
...
@@ -37,6 +37,7 @@ const { t } = useI18n() // 国际化
// 列表相关的变量
// 列表相关的变量
const
[
registerTable
]
=
useXTable
({
const
[
registerTable
]
=
useXTable
({
allSchemas
:
allSchemas
,
allSchemas
:
allSchemas
,
topActionSlots
:
false
,
getListApi
:
NotifyMessageApi
.
getNotifyMessagePageApi
getListApi
:
NotifyMessageApi
.
getNotifyMessagePageApi
})
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment