Download
Chinese
CN EN
Online
Home / Online consultation

Feel free to contact us
  • EV Charging
  • Industrial Power Supply
  • ES Microgrid
  • Special Transformer
  • Others
  • Please enter your company

  • Please enter your identity/industry letter

大香蕉污视频-污网站在线观看-香蕉视频污污在线观看-香蕉视频APP污 \n" + "\n" + ""; // 獲取 class="item flexjac on" 下的 data-title 值 let activeItem = document.querySelector('.item.flexjac.on'); var entypeMessage = activeItem ? activeItem.getAttribute('data-title') : null; var UPLOAD_FILE = ''; var siteIdMessage = '1'; var formIdMessage = 4; var columnIdMessage = '296'; var formDataMessage = new FormData(); switch (entypeMessage) { case 'EV Charging': // 使用字符串 var typeMessage = "電動(dòng)汽車充電"; break; // 使(shǐ)用 break 防止繼續執行下一個 case case 'Industrial Power Supply': var typeMessage = "工業電源(yuán)"; break; case 'ES Microgrid': var typeMessage = "儲能微(wēi)網(wǎng)"; break; case 'Special Transformer': var typeMessage = "不燃防水型特種變壓器"; break; case 'Others': var typeMessage = "其(qí)他"; break; default: var typeMessage = ""; break; } formDataMessage.append("fileId",UPLOAD_FILE); formDataMessage.append("type",typeMessage); formDataMessage.append("formId",formIdMessage); formDataMessage.append("columnId",columnIdMessage); formDataMessage.append("siteId",siteIdMessage); formDataMessage.append("content",encodeURI(messageContent)); if (NAME  ==  "")  { tanchuang("Contacts cannot be empty"); return; } if (TEL  ==  "")  { tanchuang("Tel cannot be empty"); return; } var myreg = /^1[3|4|5|6|7|8|9][0-9]{9}$/; if (!myreg.test(TEL)) { tanchuang("The tel does not comply with the specifications"); return; } if (EMAIL  ==  "")  { tanchuang("Email cannot be empty"); return; } const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; if (!emailRegex.test(EMAIL)) { tanchuang("The email does not comply with the specifications"); return; } if (COMPANY  ==  "")  { tanchuang("Company cannot be empty"); return; } if (TITLE  ==  "")  { tanchuang("Job cannot be empty"); return; } if (CONTENT  ==  "")  { tanchuang("Consultation question cannot be empty"); return; } if(!allSelect()){ return; } formData.append("field_5336",NAME); formData.append("field_5335",TEL); formData.append("field_5337",EMAIL); formData.append("field_5338",COMPANY); formData.append("field_5333",TITLE); formData.append("field_5330",CONTENT); $.ajax({ url:"https://www.autosun.com.cn/ajax/get_uuid?mark=4", type: "POST", cache: false, processData: false, contentType: false, success: function (data) { if(data.success && data.code==200){ formData.append("pre-repeat-sub-code-4", data.info); submitform(formData,formDataMessage); } }, error: function (error) { tanchuang("error"); } }); } function submitform(formData,formDataMessage){ $.ajax({ url:"https://www.autosun.com.cn/ajax/handle_c_form?columnId="+data.columnId, type: "POST", contentType: false, processData: false, data: formData, success:function(data){ if(data.code==200){ message(formDataMessage,data.message); }else{ tanchuang(data.message); } }, error:function(){ tanchuang('請求異常!請稍候(hòu)再試'); } }); } function message(formDataMessage,success){ $.ajax({ url:"https://www.autosun.com.cn/email/sendLyEmail", type: "POST", contentType: false, processData: false, data: formDataMessage, success:function(res){ if(res.code==200){ tanchuang(success,function (){window.locations.reload();}); }else{ tanchuang(res.info); } }, error:function(){ tanchuang('請求異常!請稍候再試'); } }); } 大香蕉污视频-污网站在线观看-香蕉视频污污在线观看-香蕉视频APP污