@@ -7,6 +7,7 @@ let _Http = getApp().globalData.http,
Page({
data: {
+ admin: true,
showFiltrate: false,
content: {
baseonproject: 1, //1项目预测,0出货开票预测
@@ -45,7 +46,7 @@ Page({
if (content.pageNumber > content.pageTotal) return;
_Http.basic({
- "id": 20230706092304,
+ "id": 20230705144604,
content
}).then(res => {
console.log("项目成交预测", res)
@@ -329,7 +329,7 @@ Page({
content.pageSize = (content.pageNumber - 1) * content.pageSize;
content.pageNumber = 1;
- id: '20230706092304',
+ id: page.data.admim ? 20230705144604 : 20230706092304,
console.log("更新预测", res);
+ admin: false,