Commit 10b0958e authored by 黄奎's avatar 黄奎

首页接口调整

parent c0568491
...@@ -1913,12 +1913,12 @@ ...@@ -1913,12 +1913,12 @@
if (this.ChangeThePriceList.length > 0) { if (this.ChangeThePriceList.length > 0) {
if ((!localStorage.getItem("ChangeThePriceDataTime") || if ((!localStorage.getItem("ChangeThePriceDataTime") ||
(localStorage.getItem("ChangeThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))) (localStorage.getItem("ChangeThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))
)) { )) {
this.GetChangeThePrice() this.GetChangeThePrice()
} }
if ((!localStorage.getItem("ExamineThePriceDataTime") || if ((!localStorage.getItem("ExamineThePriceDataTime") ||
(localStorage.getItem("ExamineThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd"))) (localStorage.getItem("ExamineThePriceDataTime") != this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))
)) { )) {
this.GetExaminePriceOrderPageList() this.GetExaminePriceOrderPageList()
} }
// 两小时请求一次改价、审核改价提醒 // 两小时请求一次改价、审核改价提醒
...@@ -1958,7 +1958,7 @@ ...@@ -1958,7 +1958,7 @@
this.allWindowWidth = allWindowWidth - 50 - 220 - 60; this.allWindowWidth = allWindowWidth - 50 - 220 - 60;
let maxLength = parseInt(allWindowWidth / 110); let maxLength = parseInt(allWindowWidth / 110);
this.maxLength = maxLength; this.maxLength = maxLength;
//this.testApi(); this.testApi();
//this.testEmp(); //this.testEmp();
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
let ActionMenuCode = userinfo.ActionMenuCode; let ActionMenuCode = userinfo.ActionMenuCode;
...@@ -2032,7 +2032,7 @@ ...@@ -2032,7 +2032,7 @@
if (!this.ExamineThePriceMsg.total2) this.ExamineThePriceMsg.total2 = res.data.data.count if (!this.ExamineThePriceMsg.total2) this.ExamineThePriceMsg.total2 = res.data.data.count
// localStorage.setItem("ChangeThePriceData", JSON.stringify(res.data.data.pageData)); // localStorage.setItem("ChangeThePriceData", JSON.stringify(res.data.data.pageData));
localStorage.setItem("ChangeThePriceDataTime", this.getBeforeDate(0, new Date().Format( localStorage.setItem("ChangeThePriceDataTime", this.getBeforeDate(0, new Date().Format(
"yyyy-MM-dd"))); "yyyy-MM-dd")));
this.ChangeThePriceObj.ChangeThePriceData = res.data.data.pageData this.ChangeThePriceObj.ChangeThePriceData = res.data.data.pageData
this.ChangeThePriceVisible = true this.ChangeThePriceVisible = true
} else { } else {
...@@ -2073,9 +2073,10 @@ ...@@ -2073,9 +2073,10 @@
testApi() { testApi() {
// var postMsg = {}; // var postMsg = {};
// var cmd = ""; // var cmd = "";
// cmd = "admin_get_GetErpLoginInfoByUid"; // cmd = "triptemplate_GetTripConfig";
// postMsg = { // postMsg = {
// EmployeeId: 615 // ConfigId:9117,
// } // }
// this.apipost( // this.apipost(
// cmd, postMsg, // cmd, postMsg,
......
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