From fd9ce381b904a22593de2ab242fb8f65cee45efa Mon Sep 17 00:00:00 2001 From: chengsc <11752@DESKTOP-DS49RCP> Date: 星期四, 22 五月 2025 15:27:48 +0800 Subject: [PATCH] 修改问题 --- HTML/views/HouseWithinSetting/CRLogTask.html | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/HTML/views/HouseWithinSetting/CRLogTask.html b/HTML/views/HouseWithinSetting/CRLogTask.html index 00fa7f6..bfe161a 100644 --- a/HTML/views/HouseWithinSetting/CRLogTask.html +++ b/HTML/views/HouseWithinSetting/CRLogTask.html @@ -682,15 +682,14 @@ layer.confirm('纭畾瀹屾垚閫変腑鐨勫嚭搴撲换鍔★紵', function (index) { var param = { taskNo: data.TaskNo, - }; - var postUrl="/BllCheck/FinishCheckTask" - if(data.OrderType=='3'){ - postUrl='/BllCheck/FinishMoveTask' - } - sendData(IP + postUrl, param, 'post', function (res) { + TaskStatus:"2", + TaskType:data.Type + }; + + sendData(IP + "/DownApi/ReceiveRenGongSignal", param, 'post', function (res) { console.log(res); - if (res.code == 0) { //鎴愬姛 - layer.msg(res.msg, { + if (res.Success == "0") { //鎴愬姛 + layer.msg(res.Message, { icon: 1, time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { @@ -701,7 +700,7 @@ }); }); } else { //涓嶆垚鍔� - layer.msg(res.msg, { + layer.msg(res.Message, { icon: 2, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 }, function () { }); -- Gitblit v1.8.0