From 2cbbc0e4c0357260f370c47365810608c19131c9 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期一, 01 四月 2024 09:31:56 +0800 Subject: [PATCH] 代码更新 --- src/store/index.js | 50 ++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 44 insertions(+), 6 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 66f50f9..6546a8b 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -9,6 +9,7 @@ export default new Vuex.Store({ state: { + oldTree: null, catalogueName: '', cataNode: {}, lang: 'zh', @@ -37,22 +38,59 @@ mapMenuBoxFlag: null, mapSpaceQueryLayer: null, mapMenuShpFile: null, + propertiesFlag: null, + propertiesName: null, + propertiesInfo: null, + pickUpPointInfo: null, //涓婚鍒囨崲 theme: variables.theme, //鐧诲綍鐢ㄦ埛鍚� uname: null, + unid: null, //椤圭洰绠$悊 projeOl: null, download: false, showAllLayers: true, - primitLayer:null, - loading:false, - pipelineEntity:[], - reporturl:null, - layerMnage:false, + primitLayer: null, + loading: false, + pipelineEntity: [], + reporturl: null, + layerMnage: false, + themeflag: false, + language: true, + isNaviget: false, + treeData: null, + checkedKeys: [], + queryInfo: [], + Map3: [], + histogramLayer: [], + attachModel: false, + attachinfo: null, + catModel: false, + catModelInfo: null, + showPopBoxFlag: false, + pickoption: null, + previewLayer: null, + histLenged: false, + setAlphaDity: null, + setAlphaList: [], + isProjectLayer: [], + pigCode: null, + listenTime: null, + //鍦拌〃鍙樺舰 + surfaceDeForm: { + falg: false, + gid: null, + val: null + }, + setChangeBaseMap:true, + showThematicFlag:false, }, mutations: { + UPDATE_LISTEN_TIME(state, msg) { + state.listenTime = msg; + }, //鑾峰彇鏉冮檺鍚堥泦 getPermsEntity(state, msg) { state.permsEntity = msg; @@ -143,7 +181,7 @@ login(data) .then((response) => { const data = response; - + if (data.code !== 200) { resolve(data); return -- Gitblit v1.9.3