12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867 |
- import React from 'react';
- import ReactDom from 'react-dom';
- import ajax from 'jquery/src/ajax/xhr.js';
- import $ from 'jquery/src/ajax';
- import '../content.less';
- import { citySelect,provinceList,areaSelect,provinceSelect,addressList} from '../../../NewDicProvinceList';
- import { Form,Radio, Icon, Button, Input, Select, Spin, Table, Switch, message, DatePicker, Modal, Upload,Popconfirm,AutoComplete,Tabs,Checkbox,Tree,Cascader} from 'antd';
- import {patternOrganization,conditionOrganization,intentionalService,messageType,designatedObjectes,socialAttributeS,industry,socialAttribute,industryS,designatedObjectse,auditStatusL,featuredContent} from '../../../dataDic.js';
- import {getPattern,getProvince,getprovince,getFeatured,getDesignated,getGameState,getCategoryState,getCondition,getcustomerTyp,getSocialAttribute,getCertification,getAuditStatus, getContactType, getfllowSituation,getWhether,getLvl,getCurrentMember,getStatuslist,getboutique,getAchievementCategory,gethot,getDemandType} from '../../../tools.js';
- const TabPane = Tabs.TabPane;
- const TreeNodet = Tree.TreeNode;
- const CheckboxGroup = Checkbox.Group;
- const JitaoMessage=Form.create()(React.createClass({
- loadData(pageNo,sendType) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/message/listSystemMessage',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- isDraft:sendType,//是否发送
- subject:'2',//列表消息类型
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.messageId,//每一条消息的ID
- createTime:thisdata.createTime,//创建时间
- title:thisdata.title,//消息标题
- body:thisdata.body,//消息内容
- resourceType:thisdata.resourceType,//推送类型
- consumerType:thisdata.consumerType,//发送目标类型
- });
- };
- this.state.pagination.current = data.data.pageNo;
- this.state.pagination.total = data.data.totalCount;
- };
- this.setState({
- dataSource: theArr,
- pagination: this.state.pagination
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- zhengceLoadData(pageNo) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/portal/news/list',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- keyword:this.state.name,
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.id,//每一条记录的ID
- time:thisdata.createTimeFormattedDate,//政策时间
- title:(thisdata.title)?thisdata.title.substring(0,14):'',//政策名称
- summary:(thisdata.summary)?thisdata.summary.substring(0,28):'',//政策内容
- });
- };
- this.state.pagination8.current = data.data.pageNo;
- this.state.pagination8.total = data.data.totalCount;
- };
- this.setState({
- zhengceDataSource: theArr,
- pagination8: this.state.pagination8
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- zhuanjiaLoadData(pageNo) {
- this.setState({
- loading: true
- });
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/customer/listPrivatePersonalCustomer',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- type: this.state.typeSearch, //名称1
- name: this.state.nameSearch,
- status: this.state.statusSearch,
- industry: this.state.industrySearch,
- businessAudit: this.state.serviceCertificationSearch,
- auditStatus: this.state.userCertificationSearch,
- currentMemberStatus: this.state.currentMemberStatusSearch,
- lvl: this.state.lvlSearch,
- listed: this.state.listedSearch, //是否上市
- highTechZone: this.state.highTechZoneSearch, //是否高新
- isMember: this.state.isMemberSearch,
- international: this.state.internationalSearch,
- celebrity: this.state.celebritySearch,
- expert: 1,
- industry: this.state.industrySearch
- },
- success: function(data) {
- let theArr = [];
- if(data.error.length || data.data.list == "") {
- if(data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for(let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.uid,
- id: thisdata.uid,
- type: thisdata.type,
- name: thisdata.name,
- status: thisdata.status,
- contacts: thisdata.contacts,
- contactMobile: thisdata.contactMobile,
- industry: thisdata.industry,
- createTime: thisdata.createTime,
- businessAudit: thisdata.businessAudit,
- auditStatus: thisdata.auditStatus,
- lvl: thisdata.lvl,
- isMember: thisdata.isMember,
- societyTag: thisdata.societyTag,
- currentMemberStatus: thisdata.currentMemberStatus,
- international: thisdata.international,
- listed: thisdata.listed,
- international: thisdata.international,
- expert: thisdata.expert,
- celebrity: thisdata.celebrity,
- highTechZone: thisdata.highTechZone,
- locationProvince: thisdata.province ? thisdata.province + '-' + thisdata.city || '' + '-' + thisdata.area : '--'
- });
- };
- this.state.pagination7.current = data.data.pageNo;
- this.state.pagination7.total = data.data.totalCount;
- };
- this.setState({
- zhuanjiaDataSource: theArr,
- pagination7: this.state.pagination7
- });
- }.bind(this),
- }).always(function() {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- xuqiuLoadData1(pageNo, apiUrl) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context +'/api/admin/demand/orgList',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- serialNumber: this.state.serialNumber,
- name: this.state.name,
- keyword: this.state.keyword,
- infoSources: this.state.infoSources ? Number(this.state.infoSources) : undefined,
- demandType: this.state.demandType ? Number(this.state.demandType) : undefined,
- status: this.state.status ? Number(this.state.status) : undefined,
- releaseStatus: this.state.releaseStatus ? Number(this.state.releaseStatus) : undefined,
- auditStatus: 3,
- boutique:this.state.boutique,
- hot:this.state.hot,
- employerName: this.state.searchType == 1 ? this.state.searchName : undefined,
- username: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('org') == -1 ? this.state.searchName : undefined,
- unitName: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('user') == -1 ? this.state.searchName : undefined,
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.id,
- serialNumber: thisdata.serialNumber,
- dataCategory: thisdata.dataCategory,
- name: thisdata.name,
- keyword: thisdata.keyword,
- infoSources: thisdata.infoSources,
- username: thisdata.username,
- theName: thisdata.username || thisdata.employerName,
- demandType: thisdata.demandType,
- validityPeriod: thisdata.validityPeriod,
- employerName: thisdata.employerName,
- employerId: thisdata.employerId,
- province: thisdata.province,
- status: thisdata.status,
- releaseStatus: thisdata.releaseStatus,
- releaseDate: thisdata.releaseDate,
- principalId: thisdata.principalId,
- validityPeriodFormattedDate: thisdata.validityPeriodFormattedDate,
- releaseDateFormattedDate: thisdata.releaseDateFormattedDate,
- auditStatus: thisdata.auditStatus,
- boutique: thisdata.boutique,
- hot: thisdata.hot
- });
- };
- this.state.pagination6.current = data.data.pageNo;
- this.state.pagination6.total = data.data.totalCount;
- };
- this.setState({
- xuqiuDataSource1: theArr,
- pagination6: this.state.pagination6
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- xuqiuLoadData2(pageNo, apiUrl) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/demand/userList',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- serialNumber: this.state.serialNumber,
- name: this.state.name,
- keyword: this.state.keyword,
- infoSources: this.state.infoSources ? Number(this.state.infoSources) : undefined,
- demandType: this.state.demandType ? Number(this.state.demandType) : undefined,
- status: this.state.status ? Number(this.state.status) : undefined,
- releaseStatus: this.state.releaseStatus ? Number(this.state.releaseStatus) : undefined,
- auditStatus:3,
- boutique:this.state.boutique,
- hot:this.state.hot,
- employerName: this.state.searchType == 1 ? this.state.searchName : undefined,
- username: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('org') == -1 ? this.state.searchName : undefined,
- unitName: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('user') == -1 ? this.state.searchName : undefined,
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.id,
- serialNumber: thisdata.serialNumber,
- dataCategory: thisdata.dataCategory,
- name: thisdata.name,
- keyword: thisdata.keyword,
- infoSources: thisdata.infoSources,
- username: thisdata.username,
- theName: thisdata.username || thisdata.employerName,
- demandType: thisdata.demandType,
- validityPeriod: thisdata.validityPeriod,
- employerName: thisdata.employerName,
- employerId: thisdata.employerId,
- province: thisdata.province,
- status: thisdata.status,
- releaseStatus: thisdata.releaseStatus,
- releaseDate: thisdata.releaseDate,
- principalId: thisdata.principalId,
- validityPeriodFormattedDate: thisdata.validityPeriodFormattedDate,
- releaseDateFormattedDate: thisdata.releaseDateFormattedDate,
- auditStatus: thisdata.auditStatus,
- boutique: thisdata.boutique,
- hot: thisdata.hot
- });
- };
- this.state.pagination5.current = data.data.pageNo;
- this.state.pagination5.total = data.data.totalCount;
- };
- this.setState({
- xuqiuDataSource2: theArr,
- pagination5: this.state.pagination5
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- chengguoLoadData1(pageNo, apiUrl) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context +'/api/admin/achievement/orgList',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- serialNumber: this.state.serialNumber, //编号
- name: this.state.name, //名称
- ownerName: this.state.searchType == 1 ? this.state.searchName : undefined,
- username: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('org') == -1 ? this.state.searchName : undefined,
- unitName: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('user') == -1 ? this.state.searchName : undefined,
- keyword: this.state.keyword, // 关键词
- category: this.state.category, //类型(0--专利, 2--软著, 3--项目, 4--版权, 5--工业设计, 6--配方, 7--非标)
- //releaseDateStartDate: this.state.releaseDate[0],
- //releaseDateEndDate: this.state.releaseDate[1],
- releaseStatus: this.state.releaseStatus ? Number(this.state.releaseStatus) : undefined, //是否发布(0--未发布,1--已发布)
- auditStatus: 3,
- boutique:this.state.boutique,
- hot:this.state.hot
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.id,
- serialNumber: thisdata.serialNumber,
- dataCategory: thisdata.dataCategory,
- name: thisdata.name,
- keyword: thisdata.keyword,
- theName: thisdata.username || thisdata.ownerName,
- category: thisdata.category,
- ownerName: thisdata.username ? thisdata.username : thisdata.ownerName,
- ownerType: thisdata.ownerType,
- ownerMobile: thisdata.ownerMobile,
- status: thisdata.status,
- releaseDate: thisdata.releaseDate,
- releaseDateFormattedDate: thisdata.releaseDateFormattedDate,
- auditStatus: thisdata.auditStatus,
- boutique: thisdata.boutique,
- hot: thisdata.hot
- });
- };
- this.state.pagination4.current = data.data.pageNo;
- this.state.pagination4.total = data.data.totalCount;
- };
- this.setState({
- chengguoDataSource1: theArr,
- pagination4: this.state.pagination4
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- chengguoLoadData2(pageNo, apiUrl) {
- this.state.data = [];
- this.setState({
- loading: true
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context +'/api/admin/achievement/userList',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- serialNumber: this.state.serialNumber, //编号
- name: this.state.name, //名称
- ownerName: this.state.searchType == 1 ? this.state.searchName : undefined,
- username: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('org') == -1 ? this.state.searchName : undefined,
- unitName: this.state.searchType == 0 && this.props['data-listApiUrl'].indexOf('user') == -1 ? this.state.searchName : undefined,
- keyword: this.state.keyword, // 关键词
- category: this.state.category, //类型(0--专利, 2--软著, 3--项目, 4--版权, 5--工业设计, 6--配方, 7--非标)
- //releaseDateStartDate: this.state.releaseDate[0],
- //releaseDateEndDate: this.state.releaseDate[1],
- releaseStatus: this.state.releaseStatus ? Number(this.state.releaseStatus) : undefined, //是否发布(0--未发布,1--已发布)
- auditStatus: 3,
- boutique:this.state.boutique,
- hot:this.state.hot
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.id,
- id: thisdata.id,
- serialNumber: thisdata.serialNumber,
- dataCategory: thisdata.dataCategory,
- name: thisdata.name,
- keyword: thisdata.keyword,
- theName: thisdata.username || thisdata.ownerName,
- category: thisdata.category,
- ownerName: thisdata.username ? thisdata.username : thisdata.ownerName,
- ownerType: thisdata.ownerType,
- ownerMobile: thisdata.ownerMobile,
- status: thisdata.status,
- releaseDate: thisdata.releaseDate,
- releaseDateFormattedDate: thisdata.releaseDateFormattedDate,
- auditStatus: thisdata.auditStatus,
- boutique: thisdata.boutique,
- hot: thisdata.hot
- });
- };
- this.state.pagination3.current = data.data.pageNo;
- this.state.pagination3.total = data.data.totalCount;
- };
- this.setState({
- chengguoDataSource2: theArr,
- pagination3: this.state.pagination3
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- xiangmuLoadData(pageNo, apiUrl) {
- this.state.data = [];
- this.setState({
- loading: true,
- ispage:pageNo,
- });
-
- let isCountry='';
- let pro='';
- let city='';
- let dis='';
- if(this.state.ressSearch==undefined){
- }else{
- switch(parseInt(this.state.ressSearch.length)){
- case 1:pro=this.state.ressSearch[0];break;
- case 2:pro=this.state.ressSearch[0];city=this.state.ressSearch[1];break;
- case 3:pro=this.state.ressSearch[0];city=this.state.ressSearch[1];dis=this.state.ressSearch[2];break;
- }
- }
- if(pro===0){
- isCountry=1;
- pro='';
- }
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/ProjectSize/listProject',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- bname:this.state.bname, //项目名称
- country:isCountry, //是否全国
- province:pro, //省
- city:city, //市
- district:dis, //区
- activityFlag:this.state.activityFlag, //活动生效标识
- status:this.state.status, //项目状态
- },
- success: function (data) {
- let theArr = [];
- if (!data.data || !data.data.list) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for (let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- let ProvinceCity=[];
- let isCountry='';
- if(thisdata.country==1){
- isCountry="全国";
- }else{
- if(thisdata.city==null||thisdata.city==''){
- isCountry+=getprovince(parseInt(thisdata.province));
- }else if(thisdata.district==null||thisdata.district==''){
- isCountry+=getprovince(parseInt(thisdata.province))+'-';
- isCountry+=getprovince(parseInt(thisdata.city));
- }else{
- isCountry+=getprovince(parseInt(thisdata.province))+'-';
- isCountry+=getprovince(parseInt(thisdata.city))+'-';
- isCountry+=getprovince(parseInt(thisdata.district));
- }
- }
- theArr.push({
- key:thisdata.id,
- id:thisdata.id,//业务名称
- bname: thisdata.bname,//业务名称
- cname: thisdata.cname,//业务品类
- area:isCountry?isCountry:ProvinceCity,
- price: thisdata.price,//市场价
- offset:thisdata.offset,//最低折扣
- memberPrice:thisdata.memberPrice,//会员价
- activityPrice:thisdata.activityPrice,//活动价
- activityFlag:thisdata.activityFlag,//活动生效标识
- status: thisdata.status,//项目状态
- arrProvinceCity:ProvinceCity,
- });
- };
-
- this.state.pagination2.current = data.data.pageNo;
- this.state.pagination2.total = data.data.totalCount;
- };
- this.setState({
- xiangmuDataSource: theArr,
- pagination2: this.state.pagination2
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- sanhuLoadData(pageNo, apiUrl) {
- this.setState({
- loading: true
- });
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/customer/listAllPersonalCustomer',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- type: this.state.typeSearch, //名称1
- name: this.state.nameSearch,
- //province: !(this.state.addressSearch).length ? this.state.provinceSearch : this.state.addressSearch[0],
- //city: !(this.state.addressSearch).length ? '' : this.state.addressSearch[1],
- status: this.state.statusSearch,
- industry: this.state.industrySearch,
- businessAudit: this.state.serviceCertificationSearch,
- auditStatus: this.state.userCertificationSearch,
- international: this.state.internationalSearch,
- currentMemberStatus: this.state.currentMemberStatusSearch,
- lvl: this.state.lvlSearch,
- isMember: this.state.isMemberSearch,
- societyTag: this.state.societyTagSearch,
- listed: this.state.listedSearch, //是否上市
- highTechZone: this.state.highTechZoneSearch, //是否高新
- },
- success: function(data) {
- let theArr = [];
- if(data.error.length || data.data.list == "") {
- if(data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for(let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.uid,
- id: thisdata.uid,
- type: thisdata.type,
- name: thisdata.name,
- status: thisdata.status,
- contacts: thisdata.contacts,
- contactMobile: thisdata.contactMobile,
- industry: thisdata.industry,
- createTime: thisdata.createTime,
- businessAudit: thisdata.businessAudit,
- auditStatus: thisdata.auditStatus,
- lvl: thisdata.lvl,
- isMember: thisdata.isMember,
- status: thisdata.status,
- societyTag: thisdata.societyTag,
- currentMemberStatus: thisdata.currentMemberStatus,
- international: thisdata.international,
- listed: thisdata.listed,
- highTechZone: thisdata.highTechZone,
- locationProvince: thisdata.province ? thisdata.province + '-' + thisdata.city || '' + '-' + thisdata.area : '--'
- });
- };
- };
- this.state.pagination1.current = data.data.pageNo ? data.data.pageNo : '0';
- this.state.pagination1.total = data.data.totalCount ? data.data.totalCount : '0';
- this.setState({
- sanhuDataSource: theArr,
- pagination1: this.state.pagination1
- });
- }.bind(this),
- }).always(function() {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- sanhuLoadData21(pageNo, apiUrl) {
- this.setState({
- loading: true
- });
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + '/api/admin/customer/listAllOrganizationCustomer',
- data: {
- pageNo: pageNo || 1,
- pageSize: this.state.pagination.pageSize,
- type: this.state.typeSearch, //名称1
- name: this.state.nameSearch,
- //province: !(this.state.addressSearch).length ? this.state.provinceSearch : this.state.addressSearch[0],
- //city: !(this.state.addressSearch).length ? '' : this.state.addressSearch[1],
- status: this.state.statusSearch,
- industry: this.state.industrySearch,
- businessAudit: this.state.serviceCertificationSearch,
- auditStatus: this.state.userCertificationSearch,
- international: this.state.internationalSearch,
- currentMemberStatus: this.state.currentMemberStatusSearch,
- lvl: this.state.lvlSearch,
- isMember: this.state.isMemberSearch,
- societyTag: this.state.societyTagSearch,
- listed: this.state.listedSearch, //是否上市
- highTechZone: this.state.highTechZoneSearch, //是否高新
- },
- success: function(data) {
- let theArr = [];
- if(data.error.length || data.data.list == "") {
- if(data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- for(let i = 0; i < data.data.list.length; i++) {
- let thisdata = data.data.list[i];
- theArr.push({
- key: thisdata.uid,
- id: thisdata.uid,
- type: thisdata.type,
- name: thisdata.name,
- status: thisdata.status,
- contacts: thisdata.contacts,
- contactMobile: thisdata.contactMobile,
- industry: thisdata.industry,
- createTime: thisdata.createTime,
- businessAudit: thisdata.businessAudit,
- auditStatus: thisdata.auditStatus,
- lvl: thisdata.lvl,
- isMember: thisdata.isMember,
- status: thisdata.status,
- societyTag: thisdata.societyTag,
- currentMemberStatus: thisdata.currentMemberStatus,
- international: thisdata.international,
- listed: thisdata.listed,
- highTechZone: thisdata.highTechZone,
- locationProvince: thisdata.province ? thisdata.province + '-' + thisdata.city || '' + '-' + thisdata.area : '--'
- });
- };
- };
- this.state.pagination21.current = data.data.pageNo ? data.data.pageNo : '0';
- this.state.pagination21.total = data.data.totalCount ? data.data.totalCount : '0';
- this.setState({
- sanhuDataSource21: theArr,
- pagination21: this.state.pagination21
- });
- }.bind(this),
- }).always(function() {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- getInitialState() {
- return {
- visible: false,
- data: [],
- callnub:'0',
- showAdd: false,
- showDesc: false,
- expandedKeys: [],
- autoExpandParent: true,
- selectedKeys: [],
- searchMore: true,
- selectedRowKeys: [],
- selectedRows: [],
- loading: false,
- pagination: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.loadData(page,0);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination1: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.sanhuLoadData(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination21: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.sanhuLoadData21(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination2: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.xiangmuLoadData(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination3: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.chengguoLoadData2(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination4: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.chengguoLoadData1(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination5: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.xuqiuLoadData2(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination6: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.xuqiuLoadData1(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination7: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.zhuanjiaLoadData(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- pagination8: {
- defaultCurrent: 1,
- defaultPageSize: 10,
- showQuickJumper: true,
- pageSize: 10,
- onChange: function (page) {
- this.zhengceLoadData(page);
- }.bind(this),
- showTotal: function (total) {
- return '共' + total + '条数据';
- }
- },
- columns: [
- {
- title: '消息时间',
- dataIndex: 'createTime',
- key: 'createTime',
- width:'150px',
- }, {
- title: '消息标题',
- dataIndex: 'title',
- key: 'title',
- width:'200px',
- },{
- title: '消息内容',
- dataIndex: 'body',
- key: 'body',
- },{
- title: '推送类型',
- dataIndex: 'resourceType',
- key: 'resourceType',
- width:'100px',
- render: text => { return getFeatured(text) }
- },{
- title: '发送目标',
- dataIndex: 'consumerType',
- key: 'consumerType',
- width:'100px',
- render: text => { return getDesignated(text) }
- }
- ],
- dataSource: [],
- sanhuColumns1: [
- {
- title: '编号',
- dataIndex: 'number',
- key: 'number'
- }, {
- title: '登录账号',
- dataIndex: 'mobile',
- key: 'mobile'
- }, {
- title: '名字',
- dataIndex: 'name',
- key: 'name'
- }, {
- title: '职位',
- dataIndex: 'position',
- key: 'position'
- },{
- title: '部门',
- dataIndex: 'departmentName',
- key: 'departmentName'
- }, {
- title: '上级管理员',
- dataIndex: 'superior',
- key: 'superior'
- }, {
- title: '邮箱',
- dataIndex: 'email',
- key: 'email'
- }, {
- title: '创建时间',
- dataIndex: 'createTimeFormattedDate',
- key: 'createTimeFormattedDate'
- }
- ],
- sanhuDataSource1: [],
- sanhuColumns: [{
- title: '客户名称',
- dataIndex: 'name',
- key: 'name',
- }, {
- title: '客户类型',
- dataIndex: 'type',
- key: 'type',
- render: text => { return getcustomerTyp(text) }
- }, {
- title: '地区',
- dataIndex: 'locationProvince',
- key: 'locationProvince',
- }, {
- title: '联系人',
- dataIndex: 'contacts',
- key: 'contacts',
- },
- {
- title: '联系电话',
- dataIndex: 'contactMobile',
- key: 'contactMobile',
- },
- {
- title: '行业',
- dataIndex: 'industry',
- key: 'industry',
- },
- {
- title: '社会性质',
- dataIndex: 'societyTag',
- key: 'societyTag',
- render: text => { return getSocialAttribute(text) }
- },
- {
- title: '创建时间',
- dataIndex: 'createTime',
- key: 'createTime',
- },
- {
- title: '业务认证',
- dataIndex: 'businessAudit',
- key: 'businessAudit',
- render: text => { return getCertification(text) }
- },
- {
- title: '实名认证',
- dataIndex: 'auditStatus',
- key: 'auditStatus',
- render: text => { return getAuditStatus(text) }
- },
- {
- title: '是否高新',
- dataIndex: 'highTechZone',
- key: 'highTechZone',
- render: text => { return getWhether(text) }
- }, {
- title: '是否上市',
- dataIndex: 'listed',
- key: 'listed',
- render: text => { return getWhether(text) }
- },
- {
- title: '是否国际',
- dataIndex: 'international',
- key: 'international',
- render: text => { return getWhether(text) }
- },
- {
- title: '会员等级',
- dataIndex: 'lvl',
- key: 'lvl',
- render: text => { return getLvl(text) }
- },
- {
- title: '会员状态',
- dataIndex: 'currentMemberStatus',
- key: 'currentMemberStatus',
- render: text => { return getCurrentMember(text) }
- },
- {
- title: '账户状态',
- dataIndex: 'status',
- key: 'status',
- render: text => { return getStatuslist(text) }
- }
- ],
- sanhuDataSource: [],
- sanhuColumns21: [{
- title: '客户名称',
- dataIndex: 'name',
- key: 'name',
- }, {
- title: '客户类型',
- dataIndex: 'type',
- key: 'type',
- render: text => { return getcustomerTyp(text) }
- }, {
- title: '地区',
- dataIndex: 'locationProvince',
- key: 'locationProvince',
- }, {
- title: '联系人',
- dataIndex: 'contacts',
- key: 'contacts',
- },
- {
- title: '联系电话',
- dataIndex: 'contactMobile',
- key: 'contactMobile',
- },
- {
- title: '行业',
- dataIndex: 'industry',
- key: 'industry',
- },
- {
- title: '社会性质',
- dataIndex: 'societyTag',
- key: 'societyTag',
- render: text => { return getSocialAttribute(text) }
- },
- {
- title: '创建时间',
- dataIndex: 'createTime',
- key: 'createTime',
- },
- {
- title: '业务认证',
- dataIndex: 'businessAudit',
- key: 'businessAudit',
- render: text => { return getCertification(text) }
- },
- {
- title: '实名认证',
- dataIndex: 'auditStatus',
- key: 'auditStatus',
- render: text => { return getAuditStatus(text) }
- },
- {
- title: '是否高新',
- dataIndex: 'highTechZone',
- key: 'highTechZone',
- render: text => { return getWhether(text) }
- }, {
- title: '是否上市',
- dataIndex: 'listed',
- key: 'listed',
- render: text => { return getWhether(text) }
- },
- {
- title: '是否国际',
- dataIndex: 'international',
- key: 'international',
- render: text => { return getWhether(text) }
- },
- {
- title: '会员等级',
- dataIndex: 'lvl',
- key: 'lvl',
- render: text => { return getLvl(text) }
- },
- {
- title: '会员状态',
- dataIndex: 'currentMemberStatus',
- key: 'currentMemberStatus',
- render: text => { return getCurrentMember(text) }
- },
- {
- title: '账户状态',
- dataIndex: 'status',
- key: 'status',
- render: text => { return getStatuslist(text) }
- }
- ],
- sanhuDataSource21: [],
- fengongsiColumns: [
- {
- title: '组织编号',
- dataIndex: 'depNo',
- key: 'depNo',
- }, {
- title: '组织名称',
- dataIndex: 'name',
- key: 'name',
- }, {
- title: '负责人',
- dataIndex: 'managerId',
- key: 'managerId',
- },{
- title: '组织类型',
- dataIndex: 'type',
- key: 'type',
- render: text => { return getPattern(text) }
- }, {
- title: '上级组织',
- dataIndex: 'superId',
- key: 'superId',
- },{
- title: '组织状态',
- dataIndex: 'status',
- key: 'status',
- render: text => { return getCondition(text) }
-
- }
- ],
- fengongsiDataSource: [],
- xiangmuColumns: [
- {
- title: '项目名称',
- dataIndex: 'bname',
- key: 'bname',
- }, {
- title: '业务地区',
- dataIndex: 'area',
- key: 'area',
- }, {
- title: '市场价',
- dataIndex: 'price',
- key: 'price',
- }, {
- title: '最低折扣',
- dataIndex: 'offset',
- key: 'offset',
- }, {
- title: '会员价',
- dataIndex: 'memberPrice',
- key: 'memberPrice',
- }, {
- title: '活动价',
- dataIndex: 'activityPrice',
- key: 'activityPrice',
- }, {
- title: '活动生效标识',
- dataIndex: 'activityFlag',
- key: 'activityFlag',
- render: text => { return getGameState(text) }
- },{
- title: '业务状态',
- dataIndex: 'status',
- key: 'status',
- render: text => { return getCategoryState(text) }
- }
- ],
- xiangmuDataSource: [],
- chengguoColumns1: [
- {
- title: '名称',
- dataIndex: 'name',
- key: 'name',
- }, {
- title: '关键字',
- dataIndex: 'keyword',
- key: 'keyword',
- }, {
- title: '类型',
- dataIndex: 'category',
- key: 'category',
- render: text => { return getAchievementCategory(text); }
- }, {
- title: '所有人名称',
- dataIndex: 'theName',
- key: 'theName',
- },
- {
- title: '是否精品',
- dataIndex: 'boutique',
- key: 'boutique',
- render: text => { return getboutique(text) }
- },
- {
- title: '发布时间',
- dataIndex: 'releaseDateFormattedDate',
- key: 'releaseDateFormattedDate',
- }
- ],
- chengguoDataSource1: [],
- chengguoColumns2: [
- {
- title: '名称',
- dataIndex: 'name',
- key: 'name',
- }, {
- title: '关键字',
- dataIndex: 'keyword',
- key: 'keyword',
- }, {
- title: '类型',
- dataIndex: 'category',
- key: 'category',
- render: text => { return getAchievementCategory(text); }
- }, {
- title: '所有人名称',
- dataIndex: 'theName',
- key: 'theName',
- },
- {
- title: '是否精品',
- dataIndex: 'boutique',
- key: 'boutique',
- render: text => { return getboutique(text) }
- },
- {
- title: '发布时间',
- dataIndex: 'releaseDateFormattedDate',
- key: 'releaseDateFormattedDate',
- }
- ],
- chengguoDataSource2: [],
- xuqiuColumns1: [
- {
- title: '需求名称',
- dataIndex: 'name',
- key: 'name',
- },
- {
- title: '关键字',
- dataIndex: 'keyword',
- key: 'keyword',
- }, {
- title: '需求类型',
- dataIndex: 'demandType',
- key: 'demandType',
- render: text => { return getDemandType(text); }
- }, {
- title: '雇主名称',
- dataIndex: 'theName',
- key: 'theName',
- },
- {
- title: '是否精品',
- dataIndex: 'boutique',
- key: 'boutique',
- render: text => { return getboutique(text) }
- }, {
- title: '发布时间',
- dataIndex: 'releaseDateFormattedDate',
- key: 'releaseDateFormattedDate',
- }
- ],
- xuqiuDataSource1: [],
- xuqiuColumns2: [
- {
- title: '需求名称',
- dataIndex: 'name',
- key: 'name',
- },
- {
- title: '关键字',
- dataIndex: 'keyword',
- key: 'keyword',
- }, {
- title: '需求类型',
- dataIndex: 'demandType',
- key: 'demandType',
- render: text => { return getDemandType(text); }
- }, {
- title: '雇主名称',
- dataIndex: 'theName',
- key: 'theName',
- },
- {
- title: '是否精品',
- dataIndex: 'boutique',
- key: 'boutique',
- render: text => { return getboutique(text) }
- }, {
- title: '发布时间',
- dataIndex: 'releaseDateFormattedDate',
- key: 'releaseDateFormattedDate',
- }
- ],
- xuqiuDataSource2: [],
- zhuanjiaColumns: [{
- title: '客户姓名',
- dataIndex: 'name',
- key: 'name',
- },
- {
- title: '联系电话',
- dataIndex: 'contactMobile',
- key: 'contactMobile',
- },
- {
- title: '行业',
- dataIndex: 'industry',
- key: 'industry',
- },
- {
- title: '社会性质',
- dataIndex: 'societyTag',
- key: 'societyTag',
- render: text => { return getSocialAttribute(text) }
- },
- {
- title: '创建时间',
- dataIndex: 'createTime',
- key: 'createTime',
- },
- {
- title: '实名认证',
- dataIndex: 'auditStatus',
- key: 'auditStatus',
- render: text => { return getAuditStatus(text) }
- },
- {
- title: '是否国际',
- dataIndex: 'international',
- key: 'international',
- render: text => { return getWhether(text) }
- },
- {
- title: '会员等级',
- dataIndex: 'lvl',
- key: 'lvl',
- render: text => { return getLvl(text) }
- }
- ],
- zhuanjiaDataSource: [],
- zhengceColumns: [{
- title: '政策标题',
- dataIndex: 'title',
- key: 'title',
- },
- {
- title: '政策内容',
- dataIndex: 'summary',
- key: 'summary',
- width:'400',
-
- },
- {
- title: '时间',
- dataIndex: 'time',
- key: 'time',
- width:'100px'
- }
- ],
- zhengceDataSource: [],
- };
- },
- componentWillMount() {
- this.loadData(1,0);
- },
- //获取上级组织
- selectSuperId() {
- this.state.data = []
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + "/api/admin/organization/selectSuperId",
- data:{
-
- },
- success: function (data) {
- let theArr = [];
- let thedata=data.data;
- if (!thedata) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- thedata = {};
- };
- var contactIds=[];
- //for (let item in data.data) {
- for(var i=0;i<data.data.length;i++){
- let theData = data.data[i];
- theArr.push(
- <Select.Option value={i.toString()} key={theData.name}>{theData.name}</Select.Option>
- );
- };
- this.setState({
- SuperArr:thedata,
- contactsOption: theArr,
- orderStatusOptions:data.data,
- });
-
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
-
- //整行点击
- bianji(record, index) {
-
- this.state.RowData = record;
- this.setState({
- editvisible: true,
- selectedRowKeys:[],
- rowId:record.businessId,
- })
- let deletedIds ='';
- for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
- let rowItem = this.state.selectedRows[idx];
- if (rowItem.id) {
- deletedIds=rowItem.id;
- };
- };
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context +"/api/admin/organization/selectAllById" ,
- data: {
- id:deletedIds
- },
- success: function (data) {
- let theArr = [];
- let thisdata = data;
- if (!data) {
- if (data.error && data.error.length) {
- message.warning(data.error[0].message);
- };
- } else {
- theArr.push({
- editId: thisdata.id,//每一条记录的ID
- editName:thisdata.name,//组织名称
- editManagerId:thisdata.managerId,//负责人
- editType:thisdata.type,//组织类型
- editStatus:thisdata.status,//组织状态
- editSuperId:thisdata.superId,//上级组织
- editDepNo: thisdata.depNo,//组织编号
- editCreateId:thisdata.createId,//创建人
- editTime:thisdata.createTime,//创建时间
- editRemarks:thisdata.remarks,//组织职能说明
- });
-
- };
- this.setState({
- editId: thisdata.id,//每一条记录的ID
- editName:thisdata.name,//组织名称
- editManagerId:thisdata.managerId,//负责人
- editType:thisdata.type,//组织类型
- editStatus:thisdata.status,//组织状态
- editSuperId:thisdata.superId,//上级组织
- editDepNo: thisdata.depNo,//组织编号
- editCreateId:thisdata.createId,//创建人
- editTime:thisdata.createTime,//创建时间
- editRemarks: thisdata.remarks,//组织职能说明
- editDataSource: theArr,
- });
- }.bind(this),
- }).always(function () {
- this.setState({
- loading: false
- });
- }.bind(this));
- },
- //整行删除
- delectRow() {
- let deletedIds ='';
- for (let idx = 0; idx < this.state.selectedRows.length; idx++) {
- let rowItem = this.state.selectedRows[idx];
- if (rowItem.id) {
- deletedIds=rowItem.id;
- };
- };
- this.setState({
- selectedRowKeys: [],
- loading: deletedIds.length > 0
- });
- $.ajax({
- method: "get",
- dataType: "json",
- crossDomain: false,
- url: globalConfig.context + "/api/admin/message/deleteSystemMessage",
- data: {
- messageId: deletedIds
- }
- }).done(function (data) {
- if (!data.error.length) {
- message.success('删除成功!');
- this.loadData(1,1);
- this.setState({
- loading: false,
- });
- } else {
- message.warning(data.error[0].message);
- };
- }.bind(this));
- },
- //新增一条消息,保存
- addhandleSubmit(e,addType){
- e.preventDefault();
- let duixiang=JSON.stringify(this.state.sanhu)||JSON.stringify(this.state.sanhu21)||JSON.stringify(this.state.shehui)||JSON.stringify(this.state.hangye)||JSON.stringify(this.state.fengongsi)||JSON.stringify(this.state.diqu);
- let xiaoxi=JSON.stringify(this.state.xiaoxi);
- if(!xiaoxi){
- message.warning('请输入消息内容');
- return false;
- }
- if(!duixiang){
- message.warning('请指定发送对象');
- return false;
- }
- let diquText=this.state.diqu;
- let pro=[];
- let city=[];
- let dis=[];
- if(this.state.diqu){
- for(var i=0;i<diquText.length;i++){
- if(diquText[i]<=34){
- pro.push(diquText[i])
- }else if(diquText[i]>34&&diquText[i]<380){
- city.push(diquText[i])
- }else{
- dis.push(diquText[i])
- }
- }
- }else{
- pro=undefined;
- city=undefined;
- dis=undefined;
- }
- let projectIds;
- let organizationAchievementIds;
- let personalAchievementIds;
- let organizationDemandIds;
- let personalDemandIds;
- let expertIds;
- let newsIds;
- switch(this.state.addContent){
- case '0':projectIds=this.state.xiaoxi.join(",");break;
- case '12':organizationAchievementIds=this.state.xiaoxi.join(",");break;
- case '11':personalAchievementIds=this.state.xiaoxi.join(",");break;
- case '22':organizationDemandIds=this.state.xiaoxi.join(",");break;
- case '21':personalDemandIds=this.state.xiaoxi.join(",");break;
- case '3':expertIds=this.state.xiaoxi.join(",");break;
- case '4':newsIds=this.state.xiaoxi.join(",");break;
- }
- this.props.form.validateFields((err, values) => {
- if (!err) {
- this.setState({
- loading: true
- });
- $.ajax({
- method: "post",
- dataType: "json",
- crossDomain: false,
- url:globalConfig.context + '/api/admin/message/createRecommendMessage',
- data:{
- subject:'2',//表示是智推的消息
- isDraft:addType,//点保存或者存为草稿
- projectIds:projectIds,//服务项目
- organizationAchievementIds:organizationAchievementIds,//组织成果
- personalAchievementIds:personalAchievementIds,//个人成果
- organizationDemandIds:organizationDemandIds,//组织需求
- personalDemandIds:personalDemandIds,//个人需求
- expertIds:expertIds,//专家
- newsIds:newsIds,//政策
- personalUserIds:this.state.sanhu?this.state.sanhu.join(","):undefined,//散户
- organizationUserIds:this.state.sanhu21?this.state.sanhu21.join(","):undefined,//散户
- societyTags:this.state.shehui?this.state.shehui.join(","):undefined,//社会属性
- provinceIds:pro?pro.join(","):undefined,//省
- cityIds:city?city.join(","):undefined,//市
- areaIds:dis?dis.join(","):undefined,//区
- industryIds:this.state.hangye?this.state.hangye.join(","):undefined,//行业
- sourceType:this.state.addContent, //推荐资源类型
- targetType:this.state.addObject, //推送目标类型
-
- }
- }).done(function (data) {
- this.setState({
- loading: false
- });
- if (!data.error.length) {
- message.success('保存成功!');
- this.handleCancel();
- this.loadData(1,0);
- } else {
- message.warning(data.error[0].message);
- }
- }.bind(this));
- }
- });
- },
- add(e){
- e.preventDefault();
- this.addhandleSubmit(e,0);
- },
- adds(e){
- e.preventDefault();
- this.addhandleSubmit(e,1);
- },
- //详情tab切换数据处理
- callback(e) {
- this.setState({
- callnub: e,
- })
- if(e == 0) {
- this.setState({
- bianjiMore: false,
- selectedRowKeys:[],
- })
- this.loadData(1,0);
- }
- if(e == 1) {
- this.setState({
- bianjiMore: true,
- selectedRowKeys:[],
- })
- this.loadData(1,1);
- }
- },
- //切换创建系统消息中的发送内容
- selectContent(e) {
- this.setState({
- addContent:e
- })
- if(e == 0) {
- this.xiangmuLoadData();
- this.setState({ visible6: true })
- }
- if(e == 12) {
- this.chengguoLoadData1();
- this.setState({ visible7: true })
- }
- if(e == 11) {
- this.chengguoLoadData2();
- this.setState({ visible8: true })
- }
- if(e == 22) {
- this.xuqiuLoadData1();
- this.setState({ visible9: true })
- }
- if(e == 21) {
- this.xuqiuLoadData2();
- this.setState({ visible10: true })
- }
- if(e == 3) {
- this.zhuanjiaLoadData();
- this.setState({ visible11: true })
- }
- if(e == 4) {
- this.zhengceLoadData();
- this.setState({ visible12: true })
- }
- this.xiaoxiReset();
- },
- changeContent(e){
- this.xiaoxiReset();
- },
- //切换创建系统消息中的指定发送对象
- selectObjects(e) {
- this.setState({
- addObject:e
- })
- if(e == 61) {
- this.sanhuLoadData();
- this.setState({ visible1: true })
- }
- if(e == 62) {
- this.sanhuLoadData21();
- this.setState({ visible21: true })
- }
- if(e == 1) {
- this.setState({ visible2: true })
- }
- if(e == 2) {
- this.setState({ visible4: true })
- }
- if(e == 0) {
- this.setState({ visible5: true })
- }
- },
- changeObjects(){
- this.objectReset();
- },
- //值改变时请求客户名称
- httpChange(e){
- if(e.length>=2){
- this.supervisor(e);
- }
- this.setState({
- managerIdOrganization:e
- })
- },
- addClick() {
- this.state.addContent= undefined; //推荐资源类型
- this.state.addObject= undefined; //推送目标类型
- this.setState({
- visible: true
- });
-
-
- },
- editClick() {
- this.state.RowData = {};
- this.setState({
- editvisible: true
- });
- },
- handleCancel() {
- this.setState({ visible: false })
- },
- handleCancel1() {
- this.setState({ visible1: false })
- },
- handleCancel21() {
- this.setState({ visible21: false })
- },
- handleCancel11() {
- this.setState({ visible11: false })
- },
- handleCancel2() {
- this.setState({ visible2: false })
- },
- handleCancel3() {
- this.setState({ visible3: false })
- },
- handleCancel4() {
- this.setState({ visible4: false })
- },
- handleCancel5() {
- this.setState({ visible5: false })
- },
- handleCancel6() {
- this.setState({ visible6: false })
- },
- handleCancel7() {
- this.setState({ visible7: false })
- },
- handleCancel8() {
- this.setState({ visible8: false })
- },
- handleCancel9() {
- this.setState({ visible9: false })
- },
- handleCancel10() {
- this.setState({ visible10: false })
- },
- handleCancel11() {
- this.setState({ visible11: false })
- },
- handleCancel12() {
- this.setState({ visible12: false })
- },
- edithandleCancel() {
- this.setState({ editvisible: false })
- },
- //地区多选
- onExpand(expandedKeys){
- this.setState({
- expandedKeys,
- autoExpandParent: false,
- });
- },
- onCheck(checkedKeys){
- this.setState({checkedKeys:checkedKeys });
- },
- onSelect(selectedKeys, info){
- this.setState({ selectedKeys });
- },
- renderTreeNodes(data){
- return provinceList.map((item) => {
- return(
- <TreeNodet title={item.name} key={item.id} dataRef={item}>
- {item.cityList.map((item) => {
- return(
- <TreeNodet title={item.name} key={item.id} dataRef={item}>
- {item.areaList.map((item) => {
- return(
- <TreeNodet title={item.name} key={item.id} dataRef={item}>
-
- </TreeNodet>
- );
- })
- }
- </TreeNodet>
- );
- })
- }
- </TreeNodet>
- );
-
- return <TreeNodet {...item} />;
- });
- },
- search() {
- this.loadData();
- },
- //散户搜索
- sanhusearch(){
- this.sanhuLoadData();
- },
- //散户搜索
- sanhusearch21(){
- this.sanhuLoadData21();
- },
- //用户搜索
- sanhusearch1(){
- this.sanhuLoadData1();
- },
- //用户搜索
- juesesearch(){
- this.jueseLoadData();
- },
- xiangmusearch(){
- this.xiangmuLoadData();
- },
- chengguoSearch1(){
- this.chengguoLoadData1();
- },
- chengguoSearch2(){
- this.chengguoLoadData2();
- },
- xuqiuSearch1(){
- this.xuqiuLoadData1();
- },
- xuqiuSearch2(){
- this.xuqiuLoadData2();
- },
- zhuanjiaSearch(){
- this.zhuanjiaLoadData();
- },
- zhengceSearch(){
- this.zhengceLoadData();
- },
- //散户重置
- sanhuReset() {
- this.state.isMemberSearch = undefined;
- this.state.internationalSearch = undefined;
- this.state.typeSearch = undefined; //名称1
- this.state.nameSearch = '';
- this.state.addressSearch = [];
- this.state.provinceSearch = undefined;
- this.state.citySearch = undefined;
- this.state.statusSearch = undefined;
- this.state.contactsSearch = undefined;
- this.state.contactMobileSearch = undefined;
- this.state.industrySearch = undefined;
- this.state.serviceCertificationSearch = undefined;
- this.state.userCertificationSearch = undefined;
- this.state.currentMemberStatusSearch = undefined;
- this.state.lvlSearch = undefined;
- this.state.listedSearch = undefined;
- this.state.highTechZoneSearch = undefined;
- this.state.releaseDate[0] = undefined;
- this.state.releaseDate[1] = undefined;
- this.state.societyTagSearch = undefined;
- this.sanhuLoadData();
- },
- //散户重置
- sanhuReset21() {
- this.state.isMemberSearch = undefined;
- this.state.internationalSearch = undefined;
- this.state.typeSearch = undefined; //名称1
- this.state.nameSearch = '';
- this.state.addressSearch = [];
- this.state.provinceSearch = undefined;
- this.state.citySearch = undefined;
- this.state.statusSearch = undefined;
- this.state.contactsSearch = undefined;
- this.state.contactMobileSearch = undefined;
- this.state.industrySearch = undefined;
- this.state.serviceCertificationSearch = undefined;
- this.state.userCertificationSearch = undefined;
- this.state.currentMemberStatusSearch = undefined;
- this.state.lvlSearch = undefined;
- this.state.listedSearch = undefined;
- this.state.highTechZoneSearch = undefined;
- this.state.releaseDate[0] = undefined;
- this.state.releaseDate[1] = undefined;
- this.state.societyTagSearch = undefined;
- this.sanhuLoadData21();
- },
- //把搜索的部分置零
- reset() {
- this.state.sendType = undefined;//组织类型清零
- this.loadData();
- },
- //服务项目搜索列表清零
- xiangmuReset() {
- this.state.bname = '';//项目名称清零
- this.state.cid = undefined;//品类名称清零
- this.state.ressSearch= undefined;//省市区清零
- this.state.activityFlag = undefined;//活动生效清零
- this.state.status = undefined;//项目状态清零
- this.xiangmuLoadData();
- },
- chengguoReset1(){
- this.state.serialNumber = undefined;
- this.state.name = undefined;
- this.state.keyword = undefined;
- this.state.category = undefined;
- this.state.ownerType = undefined;
- this.state.releaseStatus = undefined;
- this.state.auditStatus = undefined;
- this.state.searchName = undefined;
- this.state.releaseDate = [];
- this.state.boutique = '';
- this.state.hot='' ;
- this.chengguoLoadData1();
- },
- chengguoReset2(){
- this.state.serialNumber = undefined;
- this.state.name = undefined;
- this.state.keyword = undefined;
- this.state.category = undefined;
- this.state.ownerType = undefined;
- this.state.releaseStatus = undefined;
- this.state.auditStatus = undefined;
- this.state.searchName = undefined;
- this.state.releaseDate = [];
- this.state.boutique = '';
- this.state.hot='' ;
- this.chengguoLoadData2();
- },
- xuqiuReset1(){
- this.state.serialNumber = undefined;
- this.state.name = undefined;
- this.state.keyword = undefined;
- this.state.infoSources = undefined;
- this.state.demandType = undefined;
- this.state.searchName = undefined;
- this.state.searchType = 0;
- this.state.boutique = '';
- this.state.hot='' ;
- this.state.status = undefined;
- this.state.releaseStatus = undefined;
- this.state.auditStatus = undefined;
- this.state.validityPeriodDate = [];
- this.state.releaseDate = [];
- this.xuqiuLoadData1();
- },
- xuqiuReset2(){
- this.state.serialNumber = undefined;
- this.state.name = undefined;
- this.state.keyword = undefined;
- this.state.infoSources = undefined;
- this.state.demandType = undefined;
- this.state.searchName = undefined;
- this.state.searchType = 0;
- this.state.boutique = '';
- this.state.hot='' ;
- this.state.status = undefined;
- this.state.releaseStatus = undefined;
- this.state.auditStatus = undefined;
- this.state.validityPeriodDate = [];
- this.state.releaseDate = [];
- this.xuqiuLoadData2();
- },
- zhuanjiaReset(){
- this.state.nameSearch = '';
- this.state.internationalSearch = undefined;
- this.zhuanjiaLoadData();
- },
- zhengceReset(){
- this.state.name= '';
- this.zhengceLoadData();
- },
- searchSwitch() {
- this.setState({
- searchMore: !this.state.searchMore
- });
- },
- //选择发送对象时的数据处理
- //指定对象清零
- objectReset(){
- this.state.sanhu=undefined;
- this.state.sanhu21=undefined;
- this.state.yonghu=undefined;
- this.state.juese=undefined;
- this.state.shehui=undefined;
- this.state.diqu=undefined;
- this.state.fengongsi=undefined;
- this.state.hangye=undefined;
- },
- rowReset(){
- this.state.selectedRowKeys=[];
- },
- rowReset1(){
- this.state.selectedRowKeys1=[];
- },
- //散户
- sanhuSubmit(e){
- e.preventDefault();
- this.objectReset();
- this.setState({
- sanhu:this.state.selectedRowKeys
- });
- this.rowReset();
- this.handleCancel1();
- },
- sanhuSubmit21(e){
- e.preventDefault();
- this.objectReset();
- this.setState({
- sanhu21:this.state.selectedRowKeys
- });
- this.rowReset();
- this.handleCancel21();
- },
- //社会属性
- shehuiSubmit(e){
- e.preventDefault();
- this.setState({
- shehui:this.state.shehui
- });
- this.handleCancel2();
- },
- //分公司
- fengongsiSubmit(e){
- e.preventDefault();
- this.objectReset();
- this.setState({
- fengongsi:this.state.selectedRowKeys
- });
- this.rowReset();
- this.handleCancel3();
- },
- //地区
- diquSubmit(e){
- e.preventDefault();
- this.objectReset();
- this.setState({
- diqu:this.state.checkedKeys
- });
- this.handleCancel4();
- },
- //行业
- hangyeSubmit(e){
- e.preventDefault();
- this.setState({
- hangye:this.state.hangye
- });
- this.handleCancel5();
- },
- //消息重置
- xiaoxiReset(){
- this.state.xiaoxi=undefined;
- },
- //消息
- xiaoxiSubmit(e){
- e.preventDefault();
- this.xiaoxiReset();
- this.setState({
- xiaoxi:this.state.selectedRowKeys1
- });
- this.rowReset1();
- this.handleCancel6();
- this.handleCancel7();
- this.handleCancel8();
- this.handleCancel9();
- this.handleCancel10();
- this.handleCancel11();
- this.handleCancel12();
- },
- render() {
- const FormItem = Form.Item
- const rowSelection = {
- selectedRowKeys: this.state.selectedRowKeys,
- onChange: (selectedRowKeys, selectedRows) => {
- this.setState({
- selectedRows: selectedRows.slice(-1),
- selectedRowKeys: selectedRowKeys.slice(-1)
- });
- },
- onSelect: (recordt, selected, selectedRows) => {
- this.setState({
- recordt:recordt.id
- })
- },
- };
- const rowSelections = {
- selectedRowKeys: this.state.selectedRowKeys,
- onChange: (selectedRowKeys, selectedRows) => {
- this.setState({
- selectedRows: selectedRows,
- selectedRowKeys: selectedRowKeys
- });
- },
- onSelect: (recordt, selected, selectedRows) => {
- this.setState({
- recordt:recordt.id
- })
- },
- };
- const rowSelectiones = {
- selectedRowKeys1: this.state.selectedRowKeys,
- onChange: (selectedRowKeys, selectedRows) => {
- this.setState({
- selectedRows: selectedRows,
- selectedRowKeys1: selectedRowKeys
- });
- },
- onSelect: (recordt, selected, selectedRows) => {
- this.setState({
- recordt:recordt.id
- })
- },
- };
- const formItemLayout = {
- labelCol: { span: 8 },
- wrapperCol: { span: 14 },
- };
- const { getFieldDecorator } = this.props.form;
- const hasSelected = this.state.selectedRowKeys.length > 0;
- const { RangePicker } = DatePicker;
- const dataSources=this.state.customerArr || [];
- const options = dataSources.map((group,index) =>
- <Option key={index} value={group.name}>{group.name}</Option>
- )
- return (
- <div className="user-content" >
- <div className="content-title">
- <div className="user-search">
- <Button type="primary" className="addButton" onClick={this.addClick}>创建技淘智推<Icon type="plus" /></Button>
- <div style={!this.state.bianjiMore ? { display: 'none',float:'right',marginRight:'10px'} : {display: 'inline-block',float:'right',marginRight:'10px',marginTop:'10px'}}>
- <Popconfirm title="是否删除?" onConfirm={this.delectRow} okText="是" cancelText="否">
- <Button style={{ background: "#ea0862", border: "none", color: "#fff",marginRight:'10px' ,marginLeft:'10px',float:'right'}}
- disabled={!hasSelected}
- >删除<Icon type="minus" />
- </Button>
- </Popconfirm>
- </div>
- </div>
- <div className="clearfix" style={{marginTop:'-30px',marginLeft:'20px'}}>
- <Tabs onChange={this.callback} type="card" activeKey={this.state.callnub} style={{paddingLeft:'15px',paddingRight:'15px',marginRight:'20px'}}>
- <TabPane tab="已发送" key="0" ></TabPane>
- <TabPane tab="未发送" key="1"></TabPane>
- </Tabs>
- </div>
- <div className="patent-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.columns}
- dataSource={this.state.dataSource}
- rowSelection={rowSelection}
- pagination={this.state.pagination}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
-
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel}
- width='600px'
- title='新建技淘智推'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.add} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="clearfix">
- <FormItem
- labelCol={{ span: 4 }}
- wrapperCol={{ span: 18 }}
- label="推荐内容"
- >
- <Select placeholder="推荐内容" value={this.state.addContent}
- onSelect={this.selectContent} onChange={this.changeContent} style={{width:'95%'}} required="required">
- {
- featuredContent.map(function(item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
- <span className="mandatory" style={{color:'red',marginLeft:'5px'}}>*</span>
- </FormItem>
- </div>
- <div className="clearfix">
- <FormItem
- labelCol={{ span: 4 }}
- wrapperCol={{ span: 18 }}
- label="指定发送对象"
- >
- <Select placeholder="指定发送对象" value={this.state.addObject}
- onSelect={this.selectObjects} onChange={this.changeObjects} style={{width:'95%'}} required="required">
- {
- designatedObjectes.map(function(item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
- <span className="mandatory" style={{color:'red',marginLeft:'5px'}}>*</span>
- </FormItem>
- </div>
- <FormItem wrapperCol={{ span: 18, offset: 5 }}>
- <Button className="set-submit" type="primary" htmlType="submit">发送</Button>
- <Button className="set-submit" type="ghost" onClick={this.adds} style={{marginLeft:'10px'}}>存为草稿</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel} style={{marginLeft:'10px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible6}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel6}
- width='1000px'
- title='服务项目列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="业务项目名称" style={{width:'130px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.bname}
- onChange={(e) => { this.setState({ bname: e.target.value }); }} />
- <Cascader options={provinceSelect()} value={this.state.ressSearch} placeholder="选择省份" style={{width:'130px',marginRight:'10px'}}
- onChange={(e,pre) => { this.setState({ ressSearch: e }) }} />
- <Cascader options={citySelect()} value={this.state.ressSearch} placeholder="选择城市" style={{width:'130px',marginRight:'10px'}}
- onChange={(e,pre) => { this.setState({ ressSearch: e }) }} />
- <Cascader options={areaSelect()} value={this.state.ressSearch} placeholder="选择地区" style={{width:'130px',marginRight:'10px'}}
- onChange={(e,pre) => { this.setState({ ressSearch: e }) }} />
- <Select placeholder="活动生效标识"
- style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.activityFlag}
- onChange={(e) => { this.setState({ activityFlag: e }) }}>
- <Select.Option value="0" >有效</Select.Option>
- <Select.Option value="1" >无效</Select.Option>
- </Select>
- <Select placeholder="项目状态"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.status}
- onChange={(e) => { this.setState({ status: e }) }}>
- <Select.Option value="0" >正常</Select.Option>
- <Select.Option value="1" >停用</Select.Option>
- </Select>
- <Button type="primary" onClick={this.xiangmusearch} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.xiangmuReset} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.xiangmuColumns}
- dataSource={this.state.xiangmuDataSource}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination2}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel6} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible7}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel7}
- width='800px'
- title='科技成果(组织)列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.name}
- onChange={(e) => { this.setState({ name: e.target.value }); }} />
- <Input placeholder="关键字" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.keyword}
- onChange={(e) => { this.setState({ keyword: e.target.value }); }} />
- <Input placeholder="所有人名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.searchName}
- onChange={(e) => { this.setState({ searchName: e.target.value }); }} />
- <Radio.Group value={this.state.boutique} onChange={(e) => {
- this.setState({ boutique: e.target.value })
- }}>
- <Radio value={1}>精品</Radio>
- <Radio value={0}>非精品</Radio>
- </Radio.Group>
- <Button type="primary" onClick={this.chengguoSearch1} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.chengguoReset1} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.chengguoColumns1}
- dataSource={this.state.chengguoDataSource1}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination4}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel7} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible8}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel8}
- width='800px'
- title='科技成果(个人)列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.name}
- onChange={(e) => { this.setState({ name: e.target.value }); }} />
- <Input placeholder="关键字" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.keyword}
- onChange={(e) => { this.setState({ keyword: e.target.value }); }} />
- <Input placeholder="所有人名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.searchName}
- onChange={(e) => { this.setState({ searchName: e.target.value }); }} />
- <Radio.Group value={this.state.boutique} onChange={(e) => {
- this.setState({ boutique: e.target.value })
- }}>
- <Radio value={1}>精品</Radio>
- <Radio value={0}>非精品</Radio>
- </Radio.Group>
- <Button type="primary" onClick={this.chengguoSearch2} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.chengguoReset2} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.chengguoColumns2}
- dataSource={this.state.chengguoDataSource2}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination3}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel8} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible9}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel9}
- width='1000px'
- title='科技需求(组织)列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="需求名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.name}
- onChange={(e) => { this.setState({ name: e.target.value }); }} />
- <Input placeholder="关键字" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.keyword}
- onChange={(e) => { this.setState({ keyword: e.target.value }); }} />
- <Select placeholder="选择需求类型" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.demandType}
- onChange={(e) => { this.setState({ demandType: e }) }}>
- {this.state.demandTypeOption}
- </Select>
- <Radio.Group value={this.state.boutique} onChange={(e) => {
- this.setState({ boutique: e.target.value })
- }}>
- <Radio value={1}>精品</Radio>
- <Radio value={0}>非精品</Radio>
- </Radio.Group>
- <Button type="primary" onClick={this.xuqiuSearch1} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.xuqiuReset1} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.xuqiuColumns1}
- dataSource={this.state.xuqiuDataSource1}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination6}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel9} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible10}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel10}
- width='800px'
- title='科技需求(个人)列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="需求名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.name}
- onChange={(e) => { this.setState({ name: e.target.value }); }} />
- <Input placeholder="关键字" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.keyword}
- onChange={(e) => { this.setState({ keyword: e.target.value }); }} />
- <Select placeholder="选择需求类型" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.demandType}
- onChange={(e) => { this.setState({ demandType: e }) }}>
- {this.state.demandTypeOption}
- </Select>
- <Radio.Group value={this.state.boutique} onChange={(e) => {
- this.setState({ boutique: e.target.value })
- }}>
- <Radio value={1}>精品</Radio>
- <Radio value={0}>非精品</Radio>
- </Radio.Group>
- <Button type="primary" onClick={this.xuqiuSearch2} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.xuqiuReset2} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.xuqiuColumns2}
- dataSource={this.state.xuqiuDataSource2}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination5}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel10} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible11}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel11}
- width='1000px'
- title='专家列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="公司名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.nameSearch}
- onChange={(e) => { this.setState({ nameSearch: e.target.value }); }} />
- <Select placeholder="国际" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.internationalSearch}
- onChange={(e) => { this.setState({ internationalSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
-
- <Button type="primary" onClick={this.zhuanjiaSearch} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.zhuanjiaReset} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.zhuanjiaColumns}
- dataSource={this.state.zhuanjiaDataSource}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination7}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel11} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible12}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel12}
- width='800px'
- title='政策列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.xiaoxiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="政策标题" style={{width:'150px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.name}
- onChange={(e) => { this.setState({ name: e.target.value }); }} />
- <Button type="primary" onClick={this.zhengceSearch} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.zhengceReset} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.zhengceColumns}
- dataSource={this.state.zhengceDataSource}
- rowSelection={rowSelectiones}
- pagination={this.state.pagination8}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel12} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
-
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible1}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel1}
- width='1500px'
- title='个人客户'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.sanhuSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="客户名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.nameSearch}
- onChange={(e) => { this.setState({ nameSearch: e.target.value }); }} />
- <Select placeholder="账户状态"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.statusSearch}
- onChange={(e) => { this.setState({ statusSearch: e }) }}>
- <Select.Option value="0" >正常</Select.Option>
- <Select.Option value="2" >锁定</Select.Option>
- </Select>
- <Select placeholder="行业"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.industrySearch}
- onChange={(e) => { this.setState({ industrySearch: e }) }}>
- {this.state.intentionalOption}
- </Select>
- <Select placeholder="业务认证"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.serviceCertificationSearch}
- onChange={(e) => { this.setState({ serviceCertificationSearch: e }) }}>
- <Select.Option value="0" >未认证</Select.Option>
- <Select.Option value="1" >已认证</Select.Option>
- </Select>
- <Select placeholder="实名认证"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.userCertificationSearch}
- onChange={(e) => { this.setState({ userCertificationSearch: e }) }}>
- {
- auditStatusL.map(function (item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
- <Select placeholder="是否国际"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.internationalSearch}
- onChange={(e) => { this.setState({ internationalSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否高新"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.highTechZoneSearch}
- onChange={(e) => { this.setState({ highTechZoneSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否上市"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.listedSearch}
- onChange={(e) => { this.setState({ listedSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否会员"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.isMemberSearch}
- onChange={(e) => { this.setState({ isMemberSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="会员等级"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.lvlSearch}
- onChange={(e) => { this.setState({ lvlSearch: e }) }}>
- {this.state.lvlArrOption}
- </Select>
- <Select placeholder="会员状态"
- style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.currentMemberStatusSearch}
- onChange={(e) => { this.setState({ currentMemberStatusSearch: e }) }}>
- {this.state.currentMemberArrOption}
- </Select>
- <Select placeholder="社会性质"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.societyTagSearch}
- onChange={(e) => { this.setState({ societyTagSearch: e }) }}>
- {
- socialAttribute.map(function (item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
-
- <Button type="primary" onClick={this.sanhusearch} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.sanhuReset} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.sanhuColumns}
- dataSource={this.state.sanhuDataSource}
- rowSelection={rowSelections}
- pagination={this.state.pagination1}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel1} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible21}
- onOk={this.checkPatentProcess} onCancel={this.handleCance21}
- width='1500px'
- title='单位客户'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.sanhuSubmit21} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="user-search">
- <Input placeholder="客户名称" style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.nameSearch}
- onChange={(e) => { this.setState({ nameSearch: e.target.value }); }} />
- <Select placeholder="账户状态"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.statusSearch}
- onChange={(e) => { this.setState({ statusSearch: e }) }}>
- <Select.Option value="0" >正常</Select.Option>
- <Select.Option value="2" >锁定</Select.Option>
- </Select>
- <Select placeholder="行业"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.industrySearch}
- onChange={(e) => { this.setState({ industrySearch: e }) }}>
- {this.state.intentionalOption}
- </Select>
- <Select placeholder="业务认证"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.serviceCertificationSearch}
- onChange={(e) => { this.setState({ serviceCertificationSearch: e }) }}>
- <Select.Option value="0" >未认证</Select.Option>
- <Select.Option value="1" >已认证</Select.Option>
- </Select>
- <Select placeholder="实名认证"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.userCertificationSearch}
- onChange={(e) => { this.setState({ userCertificationSearch: e }) }}>
- {
- auditStatusL.map(function (item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
- <Select placeholder="是否国际"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.internationalSearch}
- onChange={(e) => { this.setState({ internationalSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否高新"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.highTechZoneSearch}
- onChange={(e) => { this.setState({ highTechZoneSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否上市"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.listedSearch}
- onChange={(e) => { this.setState({ listedSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="是否会员"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.isMemberSearch}
- onChange={(e) => { this.setState({ isMemberSearch: e }) }}>
- <Select.Option value="0" >否</Select.Option>
- <Select.Option value="1" >是</Select.Option>
- </Select>
- <Select placeholder="会员等级"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.lvlSearch}
- onChange={(e) => { this.setState({ lvlSearch: e }) }}>
- {this.state.lvlArrOption}
- </Select>
- <Select placeholder="会员状态"
- style={{width:'100px',marginRight:'10px',marginBottom:'10px'}}
- value={this.state.currentMemberStatusSearch}
- onChange={(e) => { this.setState({ currentMemberStatusSearch: e }) }}>
- {this.state.currentMemberArrOption}
- </Select>
- <Select placeholder="社会性质"
- style={{width:'100px',marginRight:'10px'}}
- value={this.state.societyTagSearch}
- onChange={(e) => { this.setState({ societyTagSearch: e }) }}>
- {
- socialAttribute.map(function (item) {
- return <Select.Option key={item.value} >{item.key}</Select.Option>
- })
- }
- </Select>
-
- <Button type="primary" onClick={this.sanhusearch21} style={{marginRight:'10px'}}>搜索</Button>
- <Button onClick={this.sanhuReset21} style={{marginRight:'10px'}}>重置</Button>
- </div>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.sanhuColumns21}
- dataSource={this.state.sanhuDataSource21}
- rowSelection={rowSelections}
- pagination={this.state.pagination21}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel21} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible2}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel2}
- width='600px'
- title='社会属性'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.shehuiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <FormItem
- labelCol={{ span: 7 }}
- wrapperCol={{ span: 12 }}
- label="请选择社会属性"
- >
- <CheckboxGroup options={socialAttributeS} value={this.state.shehui} onChange={(e)=>{this.setState({shehui:e})}} />
-
- </FormItem>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel2} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible3}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel3}
- width='1200px'
- title='分公司列表'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.fengongsiSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="foster-table">
- <Spin spinning={this.state.loading}>
- <Table columns={this.state.fengongsiColumns}
- dataSource={this.state.fengongsiDataSource}
- rowSelection={rowSelections}
- pagination={this.state.pagination1}
- onRowClick={this.tableRowClick} />
- </Spin>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel3} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible4}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel4}
- width='600px'
- title='地区'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.diquSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <div className="clearfix" style={{marginLeft:'90px'}}>
- <Tree
- checkable
- onExpand={this.onExpand}
- expandedKeys={this.state.expandedKeys}
- autoExpandParent={this.state.autoExpandParent}
- onCheck={this.onCheck}
- checkedKeys={this.state.checkedKeys}
- onSelect={this.onSelectDi}
- selectedKeys={this.state.selectedKeys}
- >
- {this.renderTreeNodes(this.state.Interface)}
- </Tree>
- </div>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel4} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- <div className="patent-desc">
- <Modal maskClosable={false} visible={this.state.visible5}
- onOk={this.checkPatentProcess} onCancel={this.handleCancel5}
- width='600px'
- title='行业'
- footer=''
- className="admin-desc-content">
- <Form horizontal onSubmit={this.hangyeSubmit} id="add-form">
- <Spin spinning={this.state.loading}>
- <FormItem
- labelCol={{ span: 7 }}
- wrapperCol={{ span: 12 }}
- label="请选择行业"
- >
- <CheckboxGroup options={industryS} value={this.state.hangye} onChange={(e)=>{this.setState({hangye:e})}} />
- </FormItem>
- <FormItem wrapperCol={{ span: 12, offset: 7 }}>
- <Button className="set-submit" type="primary" htmlType="submit">选定</Button>
- <Button className="set-submit" type="ghost" onClick={this.handleCancel5} style={{marginLeft:'100px'}}>取消</Button>
- </FormItem>
- </Spin>
- </Form >
- </Modal>
- </div>
- </div>
- </div>
- );
- }
- }));
- export default JitaoMessage;
|