@@ -16,9 +16,10 @@ const service = axios
// 我这里是使用sessionStorage来存储token等权限信息和用户信息 token一般时间 比较短
service.interceptors.request.use(
config => {
+ console.log(router)
const token = cookie.getCookie('token'); //获取存储在本地的token,如果需要token就在这里带上
if (!config.changeHeaders) {
- config.headers = { // 设置请求头 常用语post请求
+ config.headers = { // 设置请求头 常用语post请求
"Content-Type": "application/json"
};
config.data = JSON.stringify(config.data); // 这里我们也可以在过滤下 请求参数数据
@@ -94,4 +95,4 @@ function delCookie(name) {
var cval = cookie.getCookie(name);
if (cval != null)
document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString();
-}
+}
@@ -401,6 +401,7 @@ export default {
},
companyGMdata: [], //公司规模
companyLXdata: [], //公司类型
+ statusIndexList:[0,1,2,3,4,5,6,7,8,9,10,11,12],
created() {},
@@ -533,6 +534,7 @@ export default {
year: this.dayValue.getFullYear(),
month: this.dayValue.getMonth() + 1,
day: this.dayValue.getDate(),
+ statusIds:this.statusIndexList.toString()
this.$api.recruitinterviewlist(data).then((res) => {
if (res.code == 200) {