From 50e355f5da5c366c81a92cfdbce95b3c7ffdc1ae Mon Sep 17 00:00:00 2001 From: YYC <1833023622@qq.com> Date: 星期五, 12 五月 2023 17:33:34 +0800 Subject: [PATCH] 能耗管理 --- igds-app/js/admin/inout-out-handle.js | 30 ++++-------------------------- 1 files changed, 4 insertions(+), 26 deletions(-) diff --git a/igds-app/js/admin/inout-out-handle.js b/igds-app/js/admin/inout-out-handle.js index d21528f..838c9db 100644 --- a/igds-app/js/admin/inout-out-handle.js +++ b/igds-app/js/admin/inout-out-handle.js @@ -43,15 +43,15 @@ url = user.url + "/api-phone/v35/gateway"; uploadUrl = user.url + "/api-phone/v35/upload-img"; data.tokenAuth = user.tokenAuth; + data1.tokenAuth = user.tokenAuth; //鑾峰彇浠庝笂涓�涓〉闈紶閫掔殑鏁版嵁 var self = plus.webview.currentWebview(); depotData = self.data; data.data.id = depotData.serialNumber; - // data.data.intelCard = depotData.intelCard; + data.data.intelCard = depotData.intelCard; $("#plateNum").html(depotData.plateNum); $("#depotName").html(depotData.depotName); $("#storeKeeperName").html(depotData.storeKeeperName); - } function toHandle(tag) { @@ -179,27 +179,6 @@ success: function(result) { if (result.code == '0000') { if (result.data.handleStart != null) { - var btnArray = [{ - title: "鎷嶇収涓婁紶" - }, { - title: "浠庣浉鍐岄�夋嫨" - }]; - plus.nativeUI.actionSheet({ - title: "璇烽�夋嫨", - cancel: "鍙栨秷", - buttons: btnArray - }, - function(e) { - var index = e.index; - switch (index) { - case 1: - cameraImg(typeNum); - break; - case 2: - galleryImg(typeNum); - break; - } - }); var picker = new mui.PopPicker(); picker.setData([{ value: "cameraImg", @@ -243,9 +222,6 @@ // galleryImg(typeNum); // } // }) - - }); - }; //浣跨敤鐩告満鎷嶇収 @@ -308,6 +284,8 @@ }); //鎼哄甫杞︾墝鍙傛暟 task.addData("plateNum", depotData.plateNum); + //涓氬姟绫诲瀷 + task.addData("bizType","01"); //鍥剧墖淇℃伅 task.addFile(path, { key: "uploadkey" -- Gitblit v1.9.3