Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
56619fde
Commit
56619fde
authored
Oct 16, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
任务执行的title修改
parent
701f7037
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
21 deletions
+6
-21
Navbar.vue
...cations/architecture-dee/src/layout/components/Navbar.vue
+3
-10
menu.js
applications/architecture-dee/src/store/modules/menu.js
+1
-2
index.vue
.../views/taskReception/components/taskReceiveCard/index.vue
+2
-9
No files found.
applications/architecture-dee/src/layout/components/Navbar.vue
View file @
56619fde
...
...
@@ -6,7 +6,8 @@
</span>
<div
v-if=
"activeModel"
class=
"login-module"
>
<span
class=
"dex"
style=
"cursor: pointer;"
@
click=
"goHome"
>
DEX
</span>
<span
class=
"moudle-name"
><i
v-if=
"activeModel.path&&activeModel.path.backFlag"
class=
"el-icon-back"
@
click=
"goback(activeModel)"
/>
{{
activeModel
|
formatMoudleName
}}
</span>
<span
v-if=
"$route.query.backFlag"
class=
"moudle-name"
><i
class=
"el-icon-back"
@
click=
"goback()"
/>
{{
$route
.
query
.
title
}}
</span>
<span
v-else
class=
"moudle-name"
>
{{
activeModel
|
formatMoudleName
}}
</span>
<!--
<span>
>>
</span>
<span>
{{
routeName
}}
</span>
-->
</div>
...
...
@@ -102,8 +103,7 @@ export default {
return
'待办任务'
}
else
if
(
obj
.
id
===
'myMessage'
)
{
return
'我的消息'
}
else
if
(
obj
.
id
===
'myTaskReceive'
||
obj
.
id
===
'myCheckTaskReceive'
||
obj
.
id
===
'myAirTaskReceive'
||
obj
.
id
===
'myTaskReceiveExecute'
||
obj
.
id
===
'myCheckTaskReceiveExecute'
||
obj
.
id
===
'myAirTaskReceiveExecute'
)
{
}
else
if
(
obj
.
id
===
'myTaskReceive'
||
obj
.
id
===
'myCheckTaskReceive'
||
obj
.
id
===
'myAirTaskReceive'
)
{
return
obj
.
path
.
title
}
}
...
...
@@ -205,13 +205,6 @@ export default {
// },
goback
()
{
this
.
$router
.
go
(
-
1
)
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
this
.
activeModel
.
id
,
pageInfo
:
{
title
:
this
.
$route
.
query
.
title
.
slice
(
0
,
-
2
),
path
:
'/dee-mes/taskExecution'
}
})
},
goHome
()
{
this
.
$router
.
push
(
`/`
)
...
...
applications/architecture-dee/src/store/modules/menu.js
View file @
56619fde
...
...
@@ -99,8 +99,7 @@ const actions = {
// if (!state.activeModel || model.appId !== state.activeModel.id || (model.appId === 'todoTask' && state.activeModel.id !== 'todoTask')) {
if
(
model
.
appId
===
'todoTask'
||
model
.
appId
===
'myMessage'
||
model
.
appId
===
'myTaskReceive'
||
model
.
appId
===
'myCheckTaskReceive'
||
model
.
appId
===
'myAirTaskReceive'
||
model
.
appId
===
'myTaskReceiveExecute'
||
model
.
appId
===
'myCheckTaskReceiveExecute'
||
model
.
appId
===
'myAirTaskReceiveExecute'
)
{
// 待办任务页特殊处理
model
.
appId
===
'myAirTaskReceive'
)
{
// 待办任务页特殊处理
commit
(
'SET_ACTIVE_MODEL'
,
{
id
:
model
.
appId
,
path
:
{
...
model
.
pageInfo
}
...
...
applications/dee-mes/src/views/taskReception/components/taskReceiveCard/index.vue
View file @
56619fde
...
...
@@ -226,20 +226,13 @@ export default {
title
:
this
.
$route
.
query
.
title
+
'执行'
,
showMenu
:
false
,
showTag
:
'false'
,
isOK
:
item
.
isOK
isOK
:
item
.
isOK
,
backFlag
:
true
// materNo: item.materNo,
// airModelId: item.airModelId,
// sortiesId: item.sortiesId,
}
})
this
.
$store
.
dispatch
(
'menu/activeModel'
,
{
appId
:
this
.
activeModel
.
id
+
'Execute'
,
pageInfo
:
{
title
:
this
.
activeModel
.
path
.
title
+
'执行'
,
path
:
'/dee-mes/taskExecution'
,
backFlag
:
true
}
})
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
false
)
},
getTaskAcceptance
()
{
...
...
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