Commit 9182864f authored by agping's avatar agping

h5 财务日报 优化

parent 266568f9
......@@ -76,10 +76,10 @@
data() {
let _this = this;
let _token = _this.$route.query.token;
// if(!_token) {
// layer.tipsX('token获取出错');
// return false;
// };
if(!_token) {
layer.tipsX('token获取出错');
return false;
};
return {
headerData: {
'title': '财务日报',
......@@ -217,14 +217,10 @@
initData : function(){
let that = this ;
var params = {
// 'AuthToken': that.urlParams.token,
// 'store_id': that.urlParams.store_id,
// 'is_store': that.urlParams.is_store,
// 'daily_data': that.time
'AuthToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU1MjUyODI3Mn0.kh31IzuM6GEVnJHgH7KcLC6N67Rdm_9aq7GrUWv8bfA',
'store_id': 730,
'is_store': 1,
'daily_data': '2018-12-19'
'AuthToken': that.urlParams.token,
'store_id': that.urlParams.store_id,
'is_store': that.urlParams.is_store,
'daily_data': that.time
};
that.axios({
method: 'get',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment