锘縱ar list = {} var SearchData = { FrontRearID: 1,//1锛氳〃绀哄畼缃戦〉闈 Pageindex: 1,//椤垫暟 Pagesize: 9, TotalPage: 0, Count: 0, IsToExamine: 3//瀹℃牳閫氳繃灞曠ず } function Banner() { var data = { Ifshow: 1, IsToExamine: SearchData.IsToExamine } AjaxNewGet("Banner/GetBannerList", "get", false, data, function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //瀹樼綉鍩烘湰淇℃伅 function BasicShow() { AjaxNewGet("CompanyBasicInfo/GetBasicShow", "get", false, "", function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //浜у搧绫诲瀷 function ProducType() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("ProducType/GetProducTypeList", "get", false, data, function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //棣栭〉浜у搧鍐呭 function homeProducList(ProductType) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: 1, Pagesize: 8, ProductType: ProductType, IsToExamine: SearchData.IsToExamine } AjaxNewGet("ProducId/GetProducList", "get", false, data, function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //浜у搧鍐呭 function ProducList(type, index, SearchName) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize, ProductType: type, SearchName: SearchName, IsToExamine: SearchData.IsToExamine } AjaxNewGet("ProducId/GetProducList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //浜у搧璇︽儏 function ProducInfo(id) { var data = { PId: id, FrontRearID: 1 } AjaxNewGet("ProducId/GetProduc", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍝佺墝鏁呬簨 function BrandStoryList() { var data = { FrontRearID: SearchData.FrontRearID, IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuBrandStory/GetBrandStoryList", "get", false, data, function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鍝佺墝鏁呬簨璇︽儏 function BrandStory(id) { var data = { id: id } AjaxNewGet("MenuBrandStory/GetBrandStory", "get", false, data, function (res) { //console.log("杩涙潵"); //console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鍩硅鏈嶅姟绫诲瀷 function TrainServiceTypeList() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuTrainServiceType/GetTrainServiceTypeList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //棣栭〉鍩硅鏈嶅姟绫诲瀷 function TrainServiceType() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuTrainServiceType/GetTrainServicelinkType", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍦ㄧ嚎鍩硅 function TrainServiceList(Type, index) { var data = { FrontRearID: SearchData.FrontRearID, ServiceType: Type, Pageindex: index, Pagesize: SearchData.Pagesize, IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuService/GetServiceList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鐩稿叧琛屼笟 function RelatedIndustriesList(Type, index) { var data = { FrontRearID: SearchData.FrontRearID, ServiceType: Type, Pageindex: index, Pagesize: SearchData.Pagesize, IsToExamine: SearchData.IsToExamine } AjaxNewGet("WalkIntoAp/GetIndustryCorrelation", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //璇剧▼鍩硅 //function TrainingListTableList(Type, index) { // var data = { FrontRearID: SearchData.FrontRearID, ServiceType: Type, Pageindex: index, Pagesize: SearchData.Pagesize, IsToExamine: SearchData.IsToExamine } // AjaxNewGet("MenuService/GetServiceList", "get", false, data, function (res) { // if (res.success == true) { // list = res // } else { // list = res // } // }) // return list; //} //璇剧▼鍩硅-- function TrainingListTableList(CorrelationId) { var data = { CorrelationId: CorrelationId } AjaxNewGet("WalkIntoAp/GetIndustryServiceList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //---------------- function IndustryServiceThreeList(TypeIdThree) { var data = { TypeIdThree: TypeIdThree } AjaxNewGet("WalkIntoAp/IndustryServiceThreeList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏈嶅姟淇℃伅 function TrainServiceNewList(Type, index, SearchName) { var data = { FrontRearID: SearchData.FrontRearID, ServiceType: Type, Pageindex: index, Pagesize: SearchData.Pagesize, IsToExamine: SearchData.IsToExamine, SearchName: SearchName } AjaxNewGet("MenuService/GetServiceNewList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍩硅鏈嶅姟璇︽儏 function ServiceInfo(id) { console.log("鎵ц浜嗗嚑娆?); var data = { serviceId: id, FrontRearID: 1 } AjaxNewGet("MenuService/GetServiceInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //棣栭〉鏂伴椈鍔ㄦ€ function homeNewsList() { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: 1, Pagesize: 7, IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuNews/GetNewsList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏂伴椈鍔ㄦ€ function NewsList(Type, index, SearchName) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize, NewsType: Type, IsToExamine: SearchData.IsToExamine, SearchNewsName: SearchName } AjaxNewGet("MenuNews/GetNewsList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏂伴椈璇︽儏 function Newsdetails(id) { var data = { NewsId: id } AjaxNewGet("MenuNews/GetNewsInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //涓婁笅鏂伴椈璇︽儏 function NewsdetailsUpdown(id, Updown) { var data = { NewsId: id, Updown: Updown, type: 0 } AjaxNewGet("MenuNews/GetMenuNewsInfoUpdown", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } function NewsInfoUp(id, ReleaseTime) { var data = { NewsId: id, ReleaseTime: ReleaseTime } console.log("杩欐槸锛? + JSON.stringify(data)) AjaxNewGet("MenuNews/GetMenuNewsInfoUp", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } function NewsInfodown(id, ReleaseTime) { var data = { NewsId: id, ReleaseTime: ReleaseTime } AjaxNewGet("MenuNews/GetMenuNewsInfodown", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏂伴椈绫诲瀷 function NewsTypeList() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuNewsType/GetNewsTypeList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //琛屼笟 function IndustryList(Type, index, SearchName) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize, IndustryType: Type, IsToExamine: SearchData.IsToExamine, SearchName: SearchName } AjaxNewGet("MenuIndustry/GetIndustryList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //琛屼笟绫诲瀷 function IndustryType() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuIndustryType/GetIndustryTypeList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //琛屼笟璇︽儏 function Industrydetails(id) { var data = { Iid: id, FrontRearID: 1 } AjaxNewGet("MenuIndustry/GetIndustry", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //琛屼笟璇︽儏(鍟嗗搧) function CommodityInfoNumber(Number, guid) { var data = { SearchName: "", Number: Number, guid: guid, IsToExamine: SearchData.IsToExamine } AjaxNewGet("Commodity/GetCommodityInfoNumber", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鎶曡祫鑰呭叧绯 function InvestorRelationsList(index) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize } AjaxNewGet("MenuInvestorRelations/GetInvestorRelationsList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鎶曡祫鑰呰鎯 function InvestorRelations(id) { var data = { id: id } AjaxNewGet("MenuInvestorRelations/GetInvestorRelations", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //浜哄湪瀹夎氨绫诲埆 function StyleTypeList() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("StaffStyleType/GetStaffStyleTypeList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //浜哄湪瀹夎氨鍒楄〃 function StyleList(type, Index) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: Index, Pagesize: SearchData.Pagesize, type: type, IsToExamine: SearchData.IsToExamine } AjaxNewGet("MenuStaffStyle/GetStyleList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //浜哄湪瀹夎氨璇︽儏 function StyleInfo(Sid) { var data = { Sid: Sid } AjaxNewGet("MenuStaffStyle/GetStyleInfo", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鍚堜綔鍝佺墝 function CooperativeList(type, IsShow) { var data = { FrontRearID: SearchData.FrontRearID, IsToExamine: SearchData.IsToExamine, type: type } console.log(data) console.log("婧愬璞?) if (type == 1) { data["IsShow"] = IsShow console.log(data) console.log("杩藉姞鍚庡璞?) } AjaxNewGet("Cooperative_Brand/GetCooperativeList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鏍规嵁guid鏌ヨ鍚堜綔鍝佺墝璇︽儏 function GetCooperativeGuid(guid) { console.log(guid); var data = { guid: guid } AjaxNewGet("Cooperative_Brand/GetCooperativeGuid", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鑱旂郴鏂瑰紡 function ContactList() { var data = { FrontRearID: SearchData.FrontRearID, IsToExamine: SearchData.IsToExamine } AjaxNewGet("Contact_Us/GetContactList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鍏徃绠€浠 function CompanyInfoList() { var data = { FrontRearID: SearchData.FrontRearID } AjaxNewGet("CompanyInfo/GetCompanyInfoList", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //鏌ヨCOAMSDS FrontRearID: 1, Pageindex: Pageindex, Pagesize: Pagesize, function wahCOAMSDS(StkNo, BatchNo, Memo) { var data = { StkNo: StkNo, BatchNo: BatchNo, Memo: Memo } AjaxNewGet("COAMSDS/GetwahCOAMSDS", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } function COAMSDS(FirstNo, SecondNo, Type) { var data = { FirstNo: FirstNo, SecondNo: SecondNo, Type: Type } AjaxNewGetCOAMSDS("COAMSDS/GetCoAMsds", "get", false, data, function (res) { console.log("杩涙潵"); console.log(res); if (res.success == true) { list = res } else { list = res } }) return list; } //涓嬭浇闄勪欢鍙戦€侀偖浠 function Send_Mail(FilePath, E_mial) { var data = { FilePath: FilePath, E_mial: E_mial } AjaxNewGet("Send/SendMail", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } function SendMail(FilePath, E_mial, FirstNo, SecondNo) { var data = { FilePath: FilePath, E_mial: E_mial, FirstNo: FirstNo, SecondNo: SecondNo } AjaxNewGetCOAMSDS("Send/SendMail", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //璁板綍淇℃伅 function RecordEmail(StkNo, BatchNo, E_Mail, Result) { var data = { StkNo: StkNo, BatchNo: BatchNo, E_Mail: E_Mail, Result: Result } AjaxNewGet("Record/SaveRecordEmail", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //宀椾綅绫诲埆 function PositionTypeList() { var data = { SearchName: "", IsToExamine: SearchData.IsToExamine } AjaxNewGet("RecruitmentType/GetPositionTypeList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏌愮被鍒笅鐨勬墍鏈夎亴浣 function PositionList(guid, SearchName) { var data = { SearchName: "", guid: guid, IsToExamine: SearchData.IsToExamine, SearchName: SearchName } AjaxNewGet("Recruitment/GetPositionList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏌ヨ鑱屼綅璇︽儏 function PositionInfo(guid) { var data = { guid: guid } AjaxNewGet("Recruitment/GetPositionInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏌ヨ鍚堜綔鍝佺墝鍒楄〃 //function CooperativeList() { // AjaxNewGet("Cooperative_Brand/GetCooperativeList", "get", false, "", function (res) { // if (res.success == true) { // list = res // } else { // list = res // } // }) // return list; //} //鏌ヨ鍚堜綔鍝佺墝ID鑾峰彇浜у搧绾 function BrandProductLine(guid, index, PageSize) { console.log(guid); console.log(index); var data = { FrontRearID: 1, CGuid: guid, Pageindex: index, Pagesize: PageSize, IsToExamine: SearchData.IsToExamine } AjaxNewGet("BrandProductLine/GetBrandProductLine", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏌ヨ鍚堜綔鍝佺墝ID鑾峰彇浜у搧 function BrandProductLineInfo(guid) { console.log(guid); var data = { guid: guid, IsToExamine: SearchData.IsToExamine } AjaxNewGet("BrandProductLine/GetBrandProductLineInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍙嶉寤鸿 function SaveSuggestions(Title, Content, Contact, E_mailbox, UserName) { var data = { Title: Title, Content: Content, Contact: Contact, E_mailbox: E_mailbox, UserName: UserName } AjaxNewGet("Suggestions/SaveComplaintsSuggestions", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //浼佷笟鏂囧寲绫诲埆 function CorporateCultureType() { var data = { IsToExamine: SearchData.IsToExamine } AjaxNewGet("CorporateCultureType/GetCorporateCultureTypeList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //浼佷笟鏂囧寲鍒楄〃 function CorporateCultureList(Type, index) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize, type: Type, IsToExamine: SearchData.IsToExamine } AjaxNewGet("CorporateCulture/GetCorporate_CultureList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //浼佷笟鏂囧寲璇︽儏 function CorporateCulture_Details(ID) { var data = { id: ID } AjaxNewGet("CorporateCulture/GetCorporate_Culture", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍟嗗姟鍚堜綔 function CustomizedServices(Title, Content, Contact, E_mailbox, UserName, address, company) { var data = { Title: Title, Context: Content, Phone: Contact, E_Mail: E_mailbox, Name: UserName, company: company, address: address } AjaxNewGet("Customized/SaveCustomizedServices", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //瀹氬埗鏈嶅姟 function BusinessCooperation(Title, Content, Contact, E_mailbox, UserName, Address, positon, type) { var data = { Title: Title, Content: Content, Phone: Contact, E_mailbox: E_mailbox, Name: UserName, Position: positon, Address: Address, ProductType: type } AjaxNewGet("BusinessCooperation/SaveBusinessCooperation", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //闆嗗洟鎴愬憳 function GroupMembers() { var data = { FrontRearID: SearchData.FrontRearID, IsToExamine: SearchData.IsToExamine } AjaxNewGet("GroupMembers/GetGroupMembersList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈祫鏂欑被鍒 function TechnologyType() { var data = { TypeName: "", IsToExamine: SearchData.IsToExamine } AjaxNewGet("Tech_category/GetThd_Category", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈祫鏂 function TechnologyList(index, Type, guid, SearchName) { var data = { FrontRearID: SearchData.FrontRearID, Pageindex: index, Pagesize: SearchData.Pagesize, category: Type, Cguid: guid, IsToExamine: SearchData.IsToExamine, SearchName: SearchName } AjaxNewGet("Technology/GetTechnical_DataList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈祫鏂?璇︽儏 function TechnologyDetails(guid) { var data = { FrontRearID: SearchData.FrontRearID, guid: guid } AjaxNewGet("Technology/GetTechnical_Data", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈祫鏂?娴忚鏌ョ湅璁板綍 function TechnoDataLog(TechnicalId, Type) { var data = { TechnicalId: TechnicalId, Type: Type } AjaxNewGet("Technology/UpdateDataLog", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈祫鏂?鍟嗗搧 function Technology_Commodry(type, guid) { var data = { type: type, guid: guid, IsToExamine: SearchData.IsToExamine } AjaxNewGet("Tech_Commodry/GetCommodityInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍩硅婊氬姩-banner鍒楄〃 function TrianScrollChartDisplayList() { var data = { IsShow: 1, IsToExamine: SearchData.IsToExamine } AjaxNewGet("TrianScrollChart/GetTrianScrollChartList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍩硅婊氬姩-banner璇︽儏 function TrianScrollChartDetails(Id) { var data = { Id: Id } AjaxNewGet("TrianScrollChart/GetTrianScrollChart", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鏌ヨ function QueryCommList(SearchName) { var data = { SearchName: SearchName, IsToExamine: SearchData.IsToExamine, Pageindex: 1, Pagesize: 3 } AjaxNewGet("Common/GetQueryCommList", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //璇佷功鐧诲綍 function UserSignin(account, password) { var data = { LoginID: account, Pass: password } AjaxNewGet("RegCusLogin/GetUserSignin", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鍩硅鏍囬鍒楄〃 function TranInfoList(Tel, SearchName, StartDate, EndDate) { var data = { Tel: Tel, SearchName: SearchName, StartDate: StartDate, EndDate: EndDate } AjaxNewGet("Certificate/GetTranInfo", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //璇佷功涓嬭浇 function downloadTran(Tel, id, SeqNo) { var data = { Tel: Tel, ID: id, SeqNo: SeqNo } AjaxNewGet("Certificate/GetTranInfoDow", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //涓婁紶 function UploadFile(fileData) { AjaxUpload("UploadFile/UploadSingleFiles", "post", fileData, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; } //鎶€鏈敮鎸 function TechnicalSupport(Company, UserName, Phone, Mail, Address, ProductNo, ProductBatch, Problem, ImgFile, FileEnclosure, videoFile, StandardNo, type) { var data = { Company: Company, UserName: UserName, Phone: Phone, Mail: Mail, Address: Address, ProductNo: ProductNo, ProductBatch: ProductBatch, Problem: Problem, ImgFile: ImgFile, FileEnclosure: FileEnclosure, videoFile: videoFile, StandardNo: StandardNo, type: type } AjaxNewGet("Technical_Support/SaveTechnicalSupport", "get", false, data, function (res) { if (res.success == true) { list = res } else { list = res } }) return list; }