Pārlūkot izejas kodu

整改进度增加延期和完成按钮

zhanghongrui 2 gadi atpakaļ
vecāks
revīzija
694ea39eaf
2 mainītis faili ar 4 papildinājumiem un 3 dzēšanām
  1. 1 1
      base/httputil.js
  2. 3 2
      pages/zhenggaijindu/zhenggaijindu.js

+ 1 - 1
base/httputil.js

@@ -1,7 +1,7 @@
 // let BASE_Server = "http://127.0.0.1:8329"
 // let BASE_Server = "http://127.0.0.1:8329"
 
 
   let BASE_Server = "https://192.168.1.100:18080"
   let BASE_Server = "https://192.168.1.100:18080"
-// let BASE_Server = "https://sookajs.top:18080"
+//let BASE_Server = "https://sookajs.top:18080"
 
 
 
 
 
 

+ 3 - 2
pages/zhenggaijindu/zhenggaijindu.js

@@ -26,12 +26,13 @@ Page({
   },
   },
 
 
   bindPickerChange: function (e) {
   bindPickerChange: function (e) {
-    console.log('picker发送选择改变,携带值为', e.detail.value+1)
+    //let nume=e.detail.value
+    console.log('picker发送选择改变,携带值为',parseInt(nume)+1)
 
 
     let obj = new Object();
     let obj = new Object();
     obj.busInspectionId = this.data.busInspectionId
     obj.busInspectionId = this.data.busInspectionId
     obj.logId = this.data.buslogId
     obj.logId = this.data.buslogId
-    obj.lat_day = e.detail.value+1
+    obj.lat_day = parseInt(nume)+1
     http.send_post("/system/AppXunjianController/changeInspection", obj, this.getChangeSuccess);
     http.send_post("/system/AppXunjianController/changeInspection", obj, this.getChangeSuccess);
   },
   },
   getChangeSuccess(res) {
   getChangeSuccess(res) {