庞东旭 пре 2 година
родитељ
комит
1935e68a4c
2 измењених фајлова са 3 додато и 1 уклоњено
  1. +2
    -0
      src/views/sunVillage_info/index.vue
  2. +1
    -1
      src/views/sunVillage_info/index_code.vue

+ 2
- 0
src/views/sunVillage_info/index.vue Прегледај датотеку

@@ -101,6 +101,7 @@
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import {logout} from "../../api/login"; import {logout} from "../../api/login";
import { sysConfig } from "@/api/homesteadSurvey/index"; import { sysConfig } from "@/api/homesteadSurvey/index";
import {removeToken} from "@/utils/auth";
export default { export default {
name: "certificateList", name: "certificateList",
data() { data() {
@@ -238,6 +239,7 @@
}, },
logout(){ logout(){
logout().then(res => { logout().then(res => {
removeToken();
this.$router.push({path:"/sunVillage_info/index_code",query:{bookId:Cookies.get('bookId'),deptId:Cookies.get('deptId')}}) this.$router.push({path:"/sunVillage_info/index_code",query:{bookId:Cookies.get('bookId'),deptId:Cookies.get('deptId')}})
}) })
}, },


+ 1
- 1
src/views/sunVillage_info/index_code.vue Прегледај датотеку

@@ -69,7 +69,7 @@
import { sysConfig } from "@/api/homesteadSurvey/index"; import { sysConfig } from "@/api/homesteadSurvey/index";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
export default { export default {
name: "certificateList",
name: "sunVillageInfoIndexCode",
data() { data() {
return { return {
xsgsList:[], xsgsList:[],


Loading…
Откажи
Сачувај