管道基础大数据平台系统开发-【前端】-新系統界面
surprise
2023-11-29 97277a2c41d80bbf375f88a47e242f1b17602b2b
src/store/index.js
@@ -9,6 +9,7 @@
export default new Vuex.Store({
  state: {
    oldTree: null,
    catalogueName: '',
    cataNode: {},
    lang: 'zh',
@@ -37,22 +38,58 @@
    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,
  },
  mutations: {
    UPDATE_LISTEN_TIME(state, msg) {
      state.listenTime = msg;
    },
    //获取权限合集
    getPermsEntity(state, msg) {
      state.permsEntity = msg;
@@ -143,7 +180,7 @@
        login(data)
          .then((response) => {
            const data = response;
            if (data.code !== 200) {
              resolve(data);
              return