|
@@ -111,7 +111,7 @@ Page({
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- var method='Insertfdc_pm_repair ';
|
|
|
+ var method='Insertfdc_pm_repairByTousu';
|
|
|
var wsdlurl= app.webUrl;
|
|
|
var targetNamespace='http://tempuri.org/';
|
|
|
var datacopy= '<?xml version="1.0" encoding="utf-8"?>';
|
|
@@ -121,7 +121,7 @@ Page({
|
|
|
datacopy += `<PassWord>${app.PassWord}</PassWord>`;
|
|
|
datacopy += '</MySoapHeader></soap:Header>';
|
|
|
datacopy += '<soap:Body>';
|
|
|
- datacopy += '<Insertfdc_pm_repair xmlns="http://tempuri.org/">';
|
|
|
+ datacopy += '<Insertfdc_pm_repairByTousu xmlns="http://tempuri.org/">';
|
|
|
datacopy += `<dfdapplydate>${this.data.dfdapplydate}</dfdapplydate>`;
|
|
|
datacopy += `<txtdrequiredate>${this.data.txtdrequiredate}</txtdrequiredate>`;
|
|
|
datacopy += `<hddhcode>${this.data.hddhcode}</hddhcode>`;
|
|
@@ -130,7 +130,7 @@ Page({
|
|
|
datacopy += `<txtvplace>${this.data.txtvplace}</txtvplace>`;
|
|
|
datacopy += `<txtvtel>${this.data.txtvtel}</txtvtel>`;
|
|
|
datacopy += `<fileurl>${fileurl}</fileurl>`;
|
|
|
- datacopy += '</Insertfdc_pm_repair>';
|
|
|
+ datacopy += '</Insertfdc_pm_repairByTousu>';
|
|
|
datacopy += '</soap:Body>';
|
|
|
datacopy += '</soap:Envelope>';
|
|
|
wx.request({
|
|
@@ -142,11 +142,11 @@ Page({
|
|
|
'SOAPAction':targetNamespace+method,
|
|
|
},
|
|
|
success:function(res){
|
|
|
- console.warn('Insertfdc_pm_repair',res);
|
|
|
+ console.warn('Insertfdc_pm_repairByTousu',res);
|
|
|
var XMLParser = new Parser.DOMParser();
|
|
|
var doc = XMLParser.parseFromString(res.data);
|
|
|
- var Insertfdc_pm_repairResult = doc.getElementsByTagName("Insertfdc_pm_repairResult")[0].firstChild.nodeValue;
|
|
|
- console.warn('Insertfdc_pm_repairResult',Insertfdc_pm_repairResult);
|
|
|
+ var Insertfdc_pm_repairResult = doc.getElementsByTagName("Insertfdc_pm_repairByTousuResult")[0].firstChild.nodeValue;
|
|
|
+ console.warn('Insertfdc_pm_repairByTousuResult',Insertfdc_pm_repairResult);
|
|
|
if(Insertfdc_pm_repairResult=='保存成功!'){
|
|
|
wx.showToast({
|
|
|
title: '提交成功!',
|