소스 검색

修改管理列表接口ID

xiaohaizhao 2 년 전
부모
커밋
f8af4b8c78
3개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 1
      packageA/finishforecast/admin.js
  2. 1 1
      packageA/finishforecast/detail.js
  3. 1 0
      packageA/finishforecast/index.js

+ 2 - 1
packageA/finishforecast/admin.js

@@ -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)

+ 1 - 1
packageA/finishforecast/detail.js

@@ -329,7 +329,7 @@ Page({
         content.pageSize = (content.pageNumber - 1) * content.pageSize;
         content.pageNumber = 1;
         _Http.basic({
-            id: '20230706092304',
+            id: page.data.admim ? 20230705144604 : 20230706092304,
             content
         }).then(res => {
             console.log("更新预测", res);

+ 1 - 0
packageA/finishforecast/index.js

@@ -7,6 +7,7 @@ let _Http = getApp().globalData.http,
 
 Page({
     data: {
+        admin: false,
         showFiltrate: false,
         content: {
             baseonproject: 1, //1项目预测,0出货开票预测