| | |
| | | overlayshow: false, |
| | | logintopath: '', |
| | | infoone: { index: 0, num: 0 }, |
| | | refreshdata: {} |
| | | refreshdata: {}, |
| | | Appraisingitemdata: {} |
| | | }, |
| | | mutations: { |
| | | updateoverlayshow(state) { |
| | |
| | | updaterefreshdata(state, data) { |
| | | state.refreshdata = data |
| | | }, |
| | | Appraisingitem(state, data) { |
| | | state.Appraisingitemdata = data |
| | | }, |
| | | }, |
| | | getters |
| | | }) |
| | |
| | | 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({ |
| | |
| | | disabledsubmit: false, |
| | | checked: {}, |
| | | deptData: [], |
| | | infoData: JSON.parse(this.$route.query.info), |
| | | infoData: {}, |
| | | deptname: localStorage.getItem("dept_name") |
| | | }; |
| | | }, |
| | |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.infoData = this.$store.state.Appraisingitemdata; |
| | | localStorage.setItem("Appraising", "Appraising"); |
| | | }, |
| | | created() { |