| | |
| | | language: '中英文', |
| | | notice: '消息通知', |
| | | theme: '主题', |
| | | color: '换色' |
| | | color: '换色', |
| | | returnChoose: '返回引导页' |
| | | }, |
| | | tagsView: { |
| | | search: '搜索', |
| | |
| | | @click.native="switchDept" |
| | | >{{$t('navbar.switchDept')}}</el-dropdown-item> |
| | | <el-dropdown-item @click.native="logout" divided>{{$t('navbar.logOut')}}</el-dropdown-item> |
| | | <el-dropdown-item @click.native="returnChoose">{{$t('navbar.returnChoose')}}</el-dropdown-item> |
| | | </el-dropdown-menu> |
| | | </el-dropdown> |
| | | <el-dialog title="用户信息选择" append-to-body :visible.sync="userBox" width="350px"> |
| | |
| | | done() |
| | | }, |
| | | logout () { |
| | | this.$confirm(this.$t("logoutTip"), this.$t("tip"), { |
| | | confirmButtonText: this.$t("submitText"), |
| | | cancelButtonText: this.$t("cancelText"), |
| | | type: "warning" |
| | | }).then(() => { |
| | | this.$store.dispatch("LogOut").then(() => { |
| | | resetRouter() |
| | | this.$router.push({ path: "/login" }) |
| | | }) |
| | | }) |
| | | // this.$confirm(this.$t("logoutTip"), this.$t("tip"), { |
| | | // confirmButtonText: this.$t("submitText"), |
| | | // cancelButtonText: this.$t("cancelText"), |
| | | // type: "warning" |
| | | // }).then(() => { |
| | | // this.$store.dispatch("LogOut").then(() => { |
| | | // resetRouter() |
| | | // this.$router.push({ path: "/login" }) |
| | | // }) |
| | | // }) |
| | | window.location.href = 'http://dev.jxpskj.com:8020/ncny/login.html' |
| | | |
| | | }, |
| | | returnChoose () { |
| | | window.location.href = 'http://dev.jxpskj.com:8020/ncny/systemwall2/index.html' |
| | | } |
| | | } |
| | | }; |
| | |
| | | |
| | | module.exports = { |
| | | //路径前缀 |
| | | publicPath: "/zhny-web", |
| | | publicPath: "/", |
| | | lintOnSave: true, |
| | | productionSourceMap: false, |
| | | chainWebpack: (config) => { |