Commit 72d85956 authored by jingnan's avatar jingnan 👀

合并产品代码[新ui缺失文件合并](a6829503)

parent 29ec0f73
......@@ -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
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
}
......@@ -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
}
}
......
/*
* @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)
}
}
}
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
}
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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment