Commit 9182864f authored by agping's avatar agping

h5 财务日报 优化

parent 266568f9
...@@ -76,10 +76,10 @@ ...@@ -76,10 +76,10 @@
data() { data() {
let _this = this; let _this = this;
let _token = _this.$route.query.token; let _token = _this.$route.query.token;
// if(!_token) { if(!_token) {
// layer.tipsX('token获取出错'); layer.tipsX('token获取出错');
// return false; return false;
// }; };
return { return {
headerData: { headerData: {
'title': '财务日报', 'title': '财务日报',
...@@ -217,14 +217,10 @@ ...@@ -217,14 +217,10 @@
initData : function(){ initData : function(){
let that = this ; let that = this ;
var params = { var params = {
// 'AuthToken': that.urlParams.token, 'AuthToken': that.urlParams.token,
// 'store_id': that.urlParams.store_id, 'store_id': that.urlParams.store_id,
// 'is_store': that.urlParams.is_store, 'is_store': that.urlParams.is_store,
// 'daily_data': that.time 'daily_data': that.time
'AuthToken': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjoxLCJuYW1lIjoiXHU3YmExXHU3NDA2XHU1NDU4IiwicGhvbmUiOiJyb290IiwibGV2ZWwiOjQwfSwidGltZVN0YW1wXyI6MTU1MjUyODI3Mn0.kh31IzuM6GEVnJHgH7KcLC6N67Rdm_9aq7GrUWv8bfA',
'store_id': 730,
'is_store': 1,
'daily_data': '2018-12-19'
}; };
that.axios({ that.axios({
method: 'get', 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