| | |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <basic-container title="待办事项"> |
| | | <basic-container title="主数据统计"> |
| | | <Statistic></Statistic> |
| | | </basic-container> |
| | | </el-col> |
| | |
| | | created() { |
| | | this.updataArr = JSON.parse(localStorage.getItem("updataid")) |
| | | this.userid = this.$store.state.user.upadatastatus.user_id |
| | | this.checkhandle() |
| | | const pageFlag = localStorage.getItem("pageFlag") |
| | | if (pageFlag === null) { |
| | | this.checkhandle() |
| | | localStorage.setItem("pageFlag", true) |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "flowRoutes"]), |
| | |
| | | handleChange(val) { |
| | | window.console.log(val); |
| | | }, |
| | | //element组件关闭弹窗的延迟回调,这里没有用关闭弹窗的方法,因为当用户点击确认也是关闭弹窗,如果登录成功弹窗关闭后也是会清除token回到登录页 |
| | | //Xdelhandle是点击X号关闭弹唱,delhandle是点击取消关闭弹窗,在这分了两个事件 |
| | | Xdelhandle() { |
| | | removeToken() |
| | | this.dialogFormVisible = false |
| | |
| | | this.dialogFormVisible = true |
| | | }, 1500) |
| | | } else if (res.data.data == 0) { |
| | | this.$message({ |
| | | type: 'success', |
| | | message: "操作成功" |
| | | }) |
| | | // this.$message({ |
| | | // type: 'success', |
| | | // message: "操作成功" |
| | | // }) |
| | | } |
| | | }).catch(res => { |
| | | console.log(res) |