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