Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
smart-operation
so-manage-ui
Commits
dc06204c
Commit
dc06204c
authored
Nov 15, 2023
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(全局): 为配置菜单增加提示及关闭工单刷新页面
parent
611f2376
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/main.js
src/main.js
+7
-0
src/page/main/ticket/business-ticket-list/index.vue
src/page/main/ticket/business-ticket-list/index.vue
+1
-1
No files found.
src/main.js
View file @
dc06204c
...
@@ -3,6 +3,8 @@ import { createApp } from "vue";
...
@@ -3,6 +3,8 @@ import { createApp } from "vue";
import
ElementPlus
from
"
element-plus
"
;
import
ElementPlus
from
"
element-plus
"
;
import
"
element-plus/dist/index.css
"
;
import
"
element-plus/dist/index.css
"
;
import
{
ElMessage
}
from
"
element-plus
"
;
import
mavonEditor
from
"
mavon-editor
"
;
import
mavonEditor
from
"
mavon-editor
"
;
import
"
mavon-editor/dist/css/index.css
"
;
import
"
mavon-editor/dist/css/index.css
"
;
import
locale
from
"
element-plus/lib/locale/lang/zh-cn
"
;
import
locale
from
"
element-plus/lib/locale/lang/zh-cn
"
;
...
@@ -89,6 +91,11 @@ Promise.all([getUser(), getMenu("1e99371c-187f-4966-94cf-32f116f42ce6")])
...
@@ -89,6 +91,11 @@ Promise.all([getUser(), getMenu("1e99371c-187f-4966-94cf-32f116f42ce6")])
if
(
res
[
0
].
data
.
code
==
200
&&
res
[
1
].
data
.
code
==
200
)
{
if
(
res
[
0
].
data
.
code
==
200
&&
res
[
1
].
data
.
code
==
200
)
{
//已登录则记录菜单和用户信息
//已登录则记录菜单和用户信息
let
data
=
(
res
[
1
].
data
.
data
&&
res
[
1
].
data
.
data
[
0
].
children
)
||
[];
let
data
=
(
res
[
1
].
data
.
data
&&
res
[
1
].
data
.
data
[
0
].
children
)
||
[];
if
(
data
.
length
==
0
)
{
ElMessage
.
error
(
"
该用户暂未配置菜单项
"
);
}
store
.
commit
(
"
setUserInfo
"
,
res
[
0
].
data
.
data
);
store
.
commit
(
"
setUserInfo
"
,
res
[
0
].
data
.
data
);
// if (res[0].data.data.userType == 1) {//超管
// if (res[0].data.data.userType == 1) {//超管
...
...
src/page/main/ticket/business-ticket-list/index.vue
View file @
dc06204c
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<CloseTicket
v-model:visible=
"visible"
:active_row=
"active_row"
/>
<CloseTicket
v-model:visible=
"visible"
@
update:visible=
"getTableRows"
:active_row=
"active_row"
/>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
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