15179599649
2024-01-26 f0fbc698cf8e216ed4acb8fd81a119881af37f63
'修改微信卡顿问问题'
3 files modified
14 ■■■■ changed files
src/store/index.js 6 ●●●● patch | view | raw | blame | history
src/views/Appraising/index.vue 5 ●●●●● patch | view | raw | blame | history
src/views/toAppraising/toAppraisingtwo.vue 3 ●●●● patch | view | raw | blame | history
src/store/index.js
@@ -15,7 +15,8 @@
        overlayshow: false,
        logintopath: '',
        infoone: { index: 0, num: 0 },
        refreshdata: {}
        refreshdata: {},
        Appraisingitemdata: {}
    },
    mutations: {
        updateoverlayshow(state) {
@@ -30,6 +31,9 @@
        updaterefreshdata(state, data) {
            state.refreshdata = data
        },
        Appraisingitem(state, data) {
            state.Appraisingitemdata = data
        },
    },
    getters
})
src/views/Appraising/index.vue
@@ -107,10 +107,11 @@
      this.$toast.success("请重新登录");
    },
    toAppraising(item) {
      store.commit("Appraisingitem", item);
      if (item.type == 1) {
        this.$router.push({
          path: "/toAppraisingtwo",
          query: { info: JSON.stringify(item) }
          path: "/toAppraisingtwo"
          // query: { info: JSON.stringify(item) }
        });
      } else if (item.type == 2) {
        this.$router.push({
src/views/toAppraising/toAppraisingtwo.vue
@@ -69,7 +69,7 @@
      disabledsubmit: false,
      checked: {},
      deptData: [],
      infoData: JSON.parse(this.$route.query.info),
      infoData: {},
      deptname: localStorage.getItem("dept_name")
    };
  },
@@ -79,6 +79,7 @@
    }
  },
  mounted() {
    this.infoData = this.$store.state.Appraisingitemdata;
    localStorage.setItem("Appraising", "Appraising");
  },
  created() {