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
72d85956
Commit
72d85956
authored
Oct 10, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并产品代码[新ui缺失文件合并](a6829503)
parent
29ec0f73
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
102 additions
and
2 deletions
+102
-2
getters.js
applications/architecture-dee/src/store/getters.js
+3
-1
breadcrumb.js
...ications/architecture-dee/src/store/modules/breadcrumb.js
+21
-0
recentVisit.js
...cations/architecture-dee/src/store/modules/recentVisit.js
+5
-1
systemConfig.js
...ations/architecture-dee/src/store/modules/systemConfig.js
+23
-0
transfer.js
applications/architecture-dee/src/store/modules/transfer.js
+23
-0
viewSearchList.js
...ions/architecture-dee/src/store/modules/viewSearchList.js
+27
-0
No files found.
applications/architecture-dee/src/store/getters.js
View file @
72d85956
...
...
@@ -57,6 +57,8 @@ const getters = {
activeLoad
:
state
=>
state
.
globalUploader
.
activeLoad
,
activePath
:
state
=>
state
.
appDetail
.
activePath
,
tripleManage
:
state
=>
state
.
tripleManage
.
switch
,
getUserSecretMetrix
:
state
=>
state
.
secret
.
userSecretMetrix
getUserSecretMetrix
:
state
=>
state
.
secret
.
userSecretMetrix
,
breadcrumb
:
state
=>
state
.
breadcrumb
.
visitePath
,
viewSearchList
:
state
=>
state
.
viewSearchList
.
list
}
export
default
getters
applications/architecture-dee/src/store/modules/breadcrumb.js
0 → 100644
View file @
72d85956
const
state
=
{
visitePath
:
{}
}
const
mutations
=
{
UPDATE_VISITEPATH
:
(
state
,
data
)
=>
{
state
.
visitePath
=
data
}
}
const
actions
=
{
updatavisitePath
({
commit
},
data
)
{
commit
(
'UPDATE_VISITEPATH'
,
data
)
}
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
applications/architecture-dee/src/store/modules/recentVisit.js
View file @
72d85956
...
...
@@ -2,12 +2,16 @@
const
state
=
{
targetId
:
''
,
lastVistTime
:
''
lastVistTime
:
''
,
workCenters
:
{}
}
const
mutations
=
{
SET_RECENTVISIT
:
(
state
,
params
)
=>
{
state
.
lastVistTime
=
params
.
lastVistTime
state
.
targetId
=
params
.
targetId
},
SET_RECENT_WORKCENTERS
:
(
state
,
{
workCenter
,
key
})
=>
{
state
.
workCenters
[
key
]
=
workCenter
}
}
...
...
applications/architecture-dee/src/store/modules/systemConfig.js
0 → 100644
View file @
72d85956
/*
* @Author: yuanxv
* @Date: 2023-04-19 17:34:10
* @Last Modified by: yuanxv
* @Last Modified time: 2023-04-19 17:58:50
*/
/* store module */
export
default
{
namespaced
:
true
,
// namespaced must be true in module app.
state
:
{
teamGroupSystemConfig
:
''
},
mutations
:
{
SET_TEAMGROUP_SYSTEMCONFIG
:
(
state
,
params
)
=>
{
state
.
teamGroupSystemConfig
=
params
}
},
actions
:
{
SET_TEAMGROUP_SYSTEMCONFIG
({
commit
},
teamGroupSystemConfig
)
{
commit
(
'SET_TEAMGROUP_SYSTEMCONFIG'
,
teamGroupSystemConfig
)
}
}
}
applications/architecture-dee/src/store/modules/transfer.js
0 → 100644
View file @
72d85956
const
state
=
{
transferStringJsonData
:
{}
}
const
mutations
=
{
SET_TRANSFER_DATA
:
(
state
,
params
)
=>
{
state
.
transferStringJsonData
=
params
}
}
const
actions
=
{
setTransferStringJsonData
({
commit
,
state
},
params
)
{
return
new
Promise
((
resolve
)
=>
{
commit
(
'SET_TRANSFER_DATA'
,
params
)
resolve
(
params
)
})
}
}
export
default
{
namespaced
:
true
,
mutations
,
state
,
actions
}
applications/architecture-dee/src/store/modules/viewSearchList.js
0 → 100644
View file @
72d85956
const
state
=
{
list
:
{}
}
const
mutations
=
{
UPDATE_LIST
:
(
state
,
data
)
=>
{
for
(
const
a
in
data
)
{
if
(
state
.
list
[
a
])
{
state
.
list
[
a
]
=
Object
.
assign
(
state
.
list
[
a
],
data
[
a
])
}
else
{
state
.
list
[
a
]
=
data
[
a
]
}
}
}
}
const
actions
=
{
updateList
({
commit
},
data
)
{
commit
(
'UPDATE_LIST'
,
data
)
}
}
export
default
{
namespaced
:
true
,
state
,
mutations
,
actions
}
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