userId
This commit is contained in:
@@ -31,14 +31,12 @@ const http = axios.create({
|
||||
* 请求拦截
|
||||
*/
|
||||
http.interceptors.request.use(config => {
|
||||
console.log(config)
|
||||
config.headers['token'] = Vue.cookie.get('token') // 请求头带上token
|
||||
// config.baseURL = $urlMap[$env]
|
||||
const arr = config.url.split('czg/')
|
||||
config.url = baseUrl + (arr.length >= 2 ? arr[1] : arr[0])
|
||||
config.url = config.url.replace('czg//', 'czg/');
|
||||
// config.url = "https://dj-api.hnsiyao.cn/czg/"
|
||||
console.log(config.url)
|
||||
return config
|
||||
}, error => {
|
||||
return Promise.reject(error)
|
||||
|
||||
@@ -158,7 +158,8 @@ export default {
|
||||
form: {
|
||||
id: "",
|
||||
isAgree: "1",
|
||||
refund: ""
|
||||
refund: "",
|
||||
userId:''
|
||||
},
|
||||
rules: {
|
||||
isAgree: [],
|
||||
@@ -180,6 +181,7 @@ export default {
|
||||
// 打开发放奖品弹窗
|
||||
deliverHandle(row) {
|
||||
this.form.id = row.id;
|
||||
this.form.userId = row.userId
|
||||
this.visible = true;
|
||||
},
|
||||
// 提交发放奖品
|
||||
|
||||
@@ -127,8 +127,8 @@ export default {
|
||||
this.init();
|
||||
},
|
||||
returnJumpTypeName(type) {
|
||||
console.log(type)
|
||||
console.log($jumpType[type])
|
||||
// console.log(type)
|
||||
// console.log($jumpType[type])
|
||||
return $jumpType[type] ? $jumpType[type] : "";
|
||||
},
|
||||
returnTypeName(type) {
|
||||
|
||||
Reference in New Issue
Block a user