taskQuery.jsx 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198
  1. import React from 'react';
  2. import $ from 'jquery';
  3. import '@/manageCenter/financialManage/distribute/public.less';
  4. import {
  5. Button,
  6. Form,
  7. Input,
  8. Select,
  9. Upload,
  10. Spin,
  11. Table,
  12. message,
  13. Modal,
  14. Tabs,
  15. Tag
  16. } from "antd";
  17. import Assign from '@/manageCenter/publicComponent/assign';
  18. import ResolutionDetail from "@/resolutionDetail";
  19. import OrderDetail from "../../order/orderNew/changeComponent/orderDetail";
  20. import OrderRiZi from "@/orderRiZi.jsx";
  21. import './table.less';
  22. import {
  23. getProcessStatus,
  24. getApproval,
  25. getTaskStatus,
  26. getLiquidationStatus,
  27. splitUrl,
  28. getProjectStatus,
  29. getboutique,
  30. getprovince,
  31. ShowModal
  32. } from "@/tools";
  33. const FormItem =Form.Item;
  34. const {TabPane} = Tabs
  35. import ShowModalDiv from "@/showModal.jsx";
  36. import ImgList from "../../../common/imgList";
  37. import {ChooseList} from "../../order/orderNew/chooseList";
  38. const Task = React.createClass({
  39. loadData(pageNo) {
  40. this.state.data = [];
  41. this.setState({
  42. loading: true,
  43. });
  44. $.ajax({
  45. method: "get",
  46. dataType: "json",
  47. crossDomain: false,
  48. url: globalConfig.context + "/api/admin/orderProject/selectTaskList",
  49. data: {
  50. pageNo: pageNo || 1,
  51. pageSize: this.state.pagination.pageSize,
  52. specially: 1, //经理
  53. name: this.state.nameSearch, //客户名称
  54. orderNo: this.state.orderNoSearch, //订单编号
  55. depId: this.state.departmenttSearch, //订单部门
  56. taskId: this.state.taskNoSearch, //任务编号
  57. adminName: this.state.adminName, //任务受理人
  58. },
  59. success: function (data) {
  60. ShowModal(this);
  61. let theArr = [];
  62. if (!data.data || !data.data.list) {
  63. if (data.error && data.error.length) {
  64. message.warning(data.error[0].message);
  65. }
  66. } else {
  67. for (let i = 0; i < data.data.list.length; i++) {
  68. let thisdata = data.data.list[i];
  69. theArr.push({
  70. key: i,
  71. orderNo: thisdata.orderNo, //订单编号
  72. id: thisdata.id, //任务ID
  73. taskName: thisdata.taskName, //名称
  74. cname: thisdata.cname, //项目品类
  75. projectStatus: thisdata.projectStatus, //项目状态
  76. taskStatus: thisdata.taskStatus, //任务状态
  77. taskDate: thisdata.taskDate, //分配时间
  78. commodityQuantity: thisdata.commodityQuantity, //软著数量
  79. alreadyNumber: thisdata.alreadyNumber, //下证数量
  80. userName:
  81. thisdata.taskName.substring(0, 5) === "软件著作权"
  82. ? thisdata.userName +
  83. "(" +
  84. thisdata.commodityQuantity.toString() +
  85. "/" +
  86. thisdata.alreadyNumber +
  87. ")"
  88. : thisdata.userName, //用户名
  89. depName: thisdata.depName, //部门名称
  90. receiverName: thisdata.receiverName, //任务责任人
  91. splitStatus: thisdata.splitStatus, //是否为子项目 2是 1主项目
  92. splitSuper: thisdata.splitSuper,
  93. splitId: thisdata.splitId,
  94. });
  95. }
  96. }
  97. this.state.pagination.current = data.data.pageNo;
  98. this.state.pagination.total = data.data.totalCount;
  99. if (data.data && data.data.list && !data.data.list.length) {
  100. this.state.pagination.current = 0;
  101. this.state.pagination.total = 0;
  102. }
  103. this.setState({
  104. dataSource: theArr,
  105. page: data.data.pageNo,
  106. pagination: this.state.pagination,
  107. });
  108. }.bind(this),
  109. }).always(
  110. function () {
  111. this.setState({
  112. loading: false,
  113. });
  114. }.bind(this)
  115. );
  116. },
  117. getInitialState() {
  118. return {
  119. orderData: [],
  120. orderNo: "",
  121. jiedian: [],
  122. jiedianNew: [],
  123. activeKey: "1",
  124. searchMore: true,
  125. assignVisible: false,
  126. releaseDate: [],
  127. roleName: "",
  128. testFlag: true,
  129. departmentArr: [],
  130. boHuivisible: false,
  131. selectedRowKeys: [],
  132. selectedRows: [],
  133. paginations: false,
  134. loading: false,
  135. pagination: {
  136. defaultCurrent: 1,
  137. defaultPageSize: 10,
  138. showQuickJumper: true,
  139. pageSize: 10,
  140. onChange: function (page) {
  141. this.loadData(page);
  142. }.bind(this),
  143. showTotal: function (total) {
  144. return "共" + total + "条数据";
  145. },
  146. },
  147. columns: [
  148. {
  149. title: "项目编号",
  150. dataIndex: "id",
  151. key: "id",
  152. render: (text, record) => {
  153. if (record.splitStatus == 2) {
  154. return <span>{record.splitSuper + "-" + record.splitId}</span>;
  155. } else {
  156. return text;
  157. }
  158. },
  159. },
  160. {
  161. title: "任务名称",
  162. dataIndex: "taskName",
  163. key: "taskName",
  164. className: "taskName",
  165. },
  166. {
  167. title: "订单编号",
  168. dataIndex: "orderNo",
  169. key: "orderNo",
  170. },
  171. {
  172. title: "业务类别",
  173. dataIndex: "cname",
  174. key: "cname",
  175. },
  176. {
  177. title: "客户名称",
  178. dataIndex: "userName",
  179. key: "userName",
  180. className: "userName",
  181. },
  182. {
  183. title: "任务状态",
  184. dataIndex: "taskStatus",
  185. key: "taskStatus",
  186. render: (text) => {
  187. return getTaskStatus(text);
  188. },
  189. },
  190. {
  191. title: "项目状态",
  192. dataIndex: "projectStatus",
  193. key: "projectStatus",
  194. render: (text) => {
  195. return getProjectStatus(text);
  196. },
  197. },
  198. {
  199. title: "分配时间",
  200. dataIndex: "taskDate",
  201. key: "taskDate",
  202. },
  203. {
  204. title: "任务数量",
  205. dataIndex: "commodityQuantity",
  206. key: "commodityQuantity",
  207. },
  208. {
  209. title: "任务责任人",
  210. dataIndex: "receiverName",
  211. key: "receiverName",
  212. },
  213. {
  214. title: "订单部门",
  215. dataIndex: "depName",
  216. key: "depName",
  217. },
  218. ],
  219. dataSource: [],
  220. searchTime: [],
  221. columnsX: [
  222. {
  223. title: "业务项目名称",
  224. dataIndex: "commodityName",
  225. key: "commodityName",
  226. },
  227. {
  228. title: "项目类别",
  229. dataIndex: "cname",
  230. key: "cname",
  231. },
  232. {
  233. title: "项目数量",
  234. dataIndex: "commodityQuantity",
  235. key: "commodityQuantity",
  236. render: (text, record) => {
  237. if (record.splitStatus == 1) {
  238. return (
  239. <span>
  240. {text}{" "}
  241. <Tag
  242. color="#108ee9"
  243. onClick={(e) => {
  244. e.stopPropagation();
  245. this.showRes(record);
  246. }}
  247. >
  248. 已拆
  249. </Tag>
  250. </span>
  251. );
  252. } else {
  253. return text;
  254. }
  255. },
  256. },
  257. {
  258. title: "金额(万元)",
  259. dataIndex: "commodityPrice",
  260. key: "commodityPrice",
  261. render: (text, record) => {
  262. return (
  263. <span>
  264. {this.props.isZxs || text === -1 ? '***' : text}
  265. </span>
  266. )
  267. }
  268. },
  269. {
  270. title: "负责人",
  271. dataIndex: "contacts",
  272. key: "contacts",
  273. },
  274. {
  275. title: "负责人电话",
  276. dataIndex: "contactsMobile",
  277. key: "contactsMobile",
  278. },
  279. {
  280. title: "主要项目",
  281. dataIndex: "main",
  282. key: "main",
  283. render: (text) => {
  284. return text ? "是" : "否";
  285. },
  286. },
  287. {
  288. title: "项目说明",
  289. dataIndex: "taskComment",
  290. key: "taskComment",
  291. render: (text) => {
  292. return text && text.length > 8 ? text.substr(0, 8) + "…" : text;
  293. },
  294. },
  295. ],
  296. columnsA: [
  297. {
  298. title: "流程",
  299. dataIndex: "content",
  300. key: "content",
  301. align: "center",
  302. },
  303. {
  304. title: "操作人",
  305. dataIndex: "aName",
  306. key: "aName",
  307. align: "center",
  308. },
  309. {
  310. title: "时间",
  311. dataIndex: "createTimes",
  312. key: "createTimes",
  313. align: "center",
  314. },
  315. ],
  316. dataSourceX: [],
  317. dataSourceA: [],
  318. ContactsLists: [
  319. {
  320. title: "批次",
  321. dataIndex: "num",
  322. key: "num",
  323. },
  324. {
  325. title: "下证时间",
  326. dataIndex: "licenceTimes",
  327. key: "licenceTimes",
  328. },
  329. {
  330. title: "下证数量",
  331. dataIndex: "alreadyNumber",
  332. key: "alreadyNumber",
  333. },
  334. {
  335. title: "未下证数量",
  336. dataIndex: "notCount",
  337. key: "notCount",
  338. },
  339. ],
  340. displayFees: "none",
  341. costReduction: '',
  342. officialCost: '',
  343. };
  344. },
  345. /* 分派 */
  346. evaluate(record, nub) {
  347. this.state.assignData = record;
  348. this.setState({
  349. nub,
  350. assignVisible: true,
  351. });
  352. },
  353. componentDidMount() {
  354. this.setColor();
  355. },
  356. componentWillMount() {
  357. this.departmentList();
  358. this.loadData(1);
  359. },
  360. tableRowClick(record) {
  361. let str = record.taskName;
  362. let test = str.indexOf("会员")
  363. if(test == -1) {
  364. this.setState({
  365. isHuiyuan: false
  366. })
  367. }else {
  368. this.setState({
  369. isHuiyuan: true
  370. })
  371. }
  372. this.state.RowData = record;
  373. if (record.taskName.substring(0, 5) === "软件著作权") {
  374. this.setState({
  375. speVisible: true,
  376. id: record.id,
  377. splitStatus: record.splitStatus,
  378. splitSuper: record.splitSuper,
  379. splitId: record.splitId,
  380. dataArr: record,
  381. commodityQuantity: record.commodityQuantity,
  382. });
  383. } else {
  384. this.setState({
  385. visible: true,
  386. splitStatus: record.splitStatus,
  387. splitSuper: record.splitSuper,
  388. splitId: record.splitId,
  389. });
  390. }
  391. this.xiangqing(record.id, record.taskName);
  392. this.xiangqings(record.orderNo);
  393. this.xiangmu(record.orderNo);
  394. this.loaduserss(record);
  395. },
  396. // 拆分详细
  397. showRes(record) {
  398. this.setState({
  399. resVisible: true,
  400. resRecord: record,
  401. });
  402. },
  403. resCancel() {
  404. this.setState({
  405. resVisible: false,
  406. });
  407. },
  408. //订单详情
  409. xiangqing(id) {
  410. $.ajax({
  411. method: "get",
  412. dataType: "json",
  413. crossDomain: false,
  414. url: globalConfig.context + "/api/admin/orderProject/orderTaskDetail",
  415. data: {
  416. id: id,
  417. },
  418. success: function (data) {
  419. if (data.error.length || data.data.list == "") {
  420. if (data.error && data.error.length) {
  421. message.warning(data.error[0].message);
  422. }
  423. } else {
  424. let thisdata = data.data;
  425. this.setState({
  426. id: thisdata.id, //ID
  427. orderNo: thisdata.orderNo, //订单编号
  428. userName: thisdata.userName, //客户名称
  429. taskName: thisdata.taskName, //任务名称
  430. cname: thisdata.cname, //项目品类
  431. contractNo: thisdata.contractNo, //合同编号
  432. projectStatus: thisdata.projectStatus, //项目状态
  433. taskStatus: thisdata.taskStatus, //任务状态
  434. taskDate: thisdata.taskDate, //分配时间
  435. taskComment: thisdata.taskComment, //说明
  436. attachmentUrl: thisdata.attachmentUrl
  437. ? splitUrl(
  438. thisdata.attachmentUrl,
  439. ",",
  440. globalConfig.avatarHost + "/upload"
  441. )
  442. : [], //图片地址
  443. salesmanName: thisdata.salesmanName, //订单负责人
  444. startDate: thisdata.startDate, //启动日期
  445. endDate: thisdata.endDate, //结束日期
  446. acceptDate: thisdata.acceptDate, //受理日期
  447. reviewDate: thisdata.reviewDate, //评审日期
  448. publicityDate: thisdata.publicityDate, //公示日期
  449. licenceDate: thisdata.licenceDate, //发证日期
  450. contacts: thisdata.contacts, //联系人
  451. contactMobile: thisdata.contactMobile, //联系人电话
  452. legalPerson: thisdata.legalPerson, //法人
  453. legalPersonTel: thisdata.legalPersonTel, //法人电话
  454. certificateNumber: thisdata.certificateNumber, //证书编号
  455. status: thisdata.status, //状态
  456. formRetrieve: thisdata.formRetrieve, //满意度表格
  457. taskRefund: thisdata.taskRefund, //退单
  458. refundContent: thisdata.refundContent, //退单信息
  459. retrieveContent: thisdata.retrieveContent, //回收信息
  460. arrivalMoney: thisdata.arrivalMoney, //是否到款
  461. setUpAmount: thisdata.setUpAmount, //立项金额
  462. declareUser: thisdata.declareUser, //账号
  463. declarePwd: thisdata.declarePwd, //密码
  464. depName: thisdata.depName, //订单部门
  465. outsourceName: thisdata.outsourceName, //外包公司名称
  466. outsourcePrice: thisdata.outsourcePrice, //外包价格
  467. declarationBatch: thisdata.declarationBatch,
  468. });
  469. }
  470. }.bind(this),
  471. }).always(
  472. function () {
  473. this.setState({
  474. loading: false,
  475. });
  476. }.bind(this)
  477. );
  478. },
  479. //订单详情
  480. xiangqings(orderNos) {
  481. $.ajax({
  482. method: "get",
  483. dataType: "json",
  484. crossDomain: false,
  485. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  486. data: {
  487. orderNo: orderNos,
  488. },
  489. success: function (data) {
  490. let thisdata = data.data;
  491. let ProvinceCityArr = [];
  492. let ProvinceS = thisdata.locationProvince; //省
  493. let citys = thisdata.locationCity; //市
  494. let Areas = thisdata.locationArea; //区
  495. ProvinceCityArr.push(ProvinceS, citys, Areas);
  496. if (data.error.length || data.data.list == "") {
  497. if (data.error && data.error.length) {
  498. message.warning(data.error[0].message);
  499. }
  500. } else {
  501. this.setState({
  502. processStatus: thisdata.processStatus, //流程状态
  503. liquidationStatus: thisdata.liquidationStatus, //结算状态
  504. approval: thisdata.approval, //特批状态
  505. orderRemarks: thisdata.orderRemarks, //订单留言
  506. salesmanName: thisdata.salesmanName, //营销员名称
  507. salesmanMobile: thisdata.salesmanMobile, //营销员电话
  508. oldSalesmanName: thisdata.oldSalesmanName, //营销员名称
  509. oldSalesmanMobile: thisdata.oldSalesmanMobile, //营销员电话
  510. financeName: thisdata.financeName, //财务名称
  511. financeMobile: thisdata.financeMobile, //财务电话
  512. nowFinance: thisdata.nowFinance, //财务名称
  513. nowFinanceMobile: thisdata.nowFinanceMobile, //财务电话
  514. depName: thisdata.depName, //订单部门
  515. locationProvince: thisdata.locationProvince,
  516. locationCity: thisdata.locationCity,
  517. locationArea: thisdata.locationArea,
  518. ProvinceCity: ProvinceCityArr,
  519. postalAddress: thisdata.postalAddress, //详细地址
  520. outsource: thisdata.outsource,
  521. });
  522. }
  523. }.bind(this),
  524. }).always(
  525. function () {
  526. this.setState({
  527. loading: false,
  528. });
  529. }.bind(this)
  530. );
  531. },
  532. //查看下证信息
  533. loaduserss(record) {
  534. $.ajax({
  535. method: "get",
  536. dataType: "json",
  537. crossDomain: false,
  538. url: globalConfig.context + "/api/admin/orderProject/selectTaskProgress",
  539. data: {
  540. tid: record.id,
  541. },
  542. success: function (data) {
  543. let theArr = [];
  544. let thisData = [];
  545. if (!thisData) {
  546. if (data.error && data.error.length) {
  547. message.warning(data.error[0].message);
  548. }
  549. thisData = {};
  550. } else {
  551. for (let i = 0; i < data.data.length; i++) {
  552. thisData = data.data[i];
  553. theArr.push({
  554. num: i + 1,
  555. key: i,
  556. id: thisData.id, //编号
  557. alreadyNumber: thisData.alreadyNumber, //下证数
  558. licenceTimes: thisData.licenceTimes, //下证时间
  559. notCount: thisData.notCount, //未下证数
  560. flag: true,
  561. });
  562. }
  563. this.setState({
  564. contactList: theArr,
  565. });
  566. }
  567. }.bind(this),
  568. }).always(
  569. function () {
  570. this.setState({
  571. loading: false,
  572. });
  573. }.bind(this)
  574. );
  575. },
  576. //项目列表
  577. xiangmu(orderNos) {
  578. this.setState({
  579. loading: true,
  580. });
  581. $.ajax({
  582. method: "get",
  583. dataType: "json",
  584. crossDomain: false,
  585. url: globalConfig.context + "/api/admin/newOrder/getOrderTask",
  586. data: {
  587. orderNo: orderNos,
  588. },
  589. success: function (data) {
  590. let theArr = [];
  591. if (data.error.length || data.data.list == "") {
  592. if (data.error && data.error.length) {
  593. message.warning(data.error[0].message);
  594. }
  595. } else {
  596. for (let i = 0; i < data.data.length; i++) {
  597. let thisdata = data.data[i];
  598. thisdata.key = i;
  599. theArr.push(thisdata);
  600. }
  601. }
  602. this.setState({
  603. dataSourceX: theArr,
  604. });
  605. }.bind(this),
  606. }).always(
  607. function () {
  608. this.setState({
  609. loading: false,
  610. });
  611. }.bind(this)
  612. );
  613. },
  614. caozuorizhi() {
  615. this.setState({
  616. visibleA: true,
  617. });
  618. $.ajax({
  619. method: "get",
  620. dataType: "json",
  621. crossDomain: false,
  622. url: globalConfig.context + "/api/admin/orderProject/TaskLogList",
  623. data: {
  624. id: this.state.id,
  625. },
  626. success: function (data) {
  627. let theArr = [];
  628. if (data.error.length || data.data.list == "") {
  629. if (data.error && data.error.length) {
  630. message.warning(data.error[0].message);
  631. }
  632. } else {
  633. for (let i = 0; i < data.data.length; i++) {
  634. let thisdata = data.data[i];
  635. theArr.push({
  636. key: i,
  637. id: thisdata.id, //日志ID
  638. content: thisdata.content, //流程
  639. taskId: thisdata.taskId, //任务ID
  640. aName: thisdata.aName, //负责人
  641. createTimes: thisdata.createTimes, //时间
  642. });
  643. }
  644. }
  645. this.setState({
  646. dataSourceA: theArr,
  647. });
  648. }.bind(this),
  649. }).always(
  650. function () {
  651. this.setState({
  652. loading: false,
  653. });
  654. }.bind(this)
  655. );
  656. },
  657. //关闭操作工时
  658. visitCancelA() {
  659. this.setState({
  660. visibleA: false,
  661. });
  662. },
  663. //关闭详情
  664. visitCancel() {
  665. this.setState({
  666. visible: false,
  667. speVisible: false,
  668. activeKey: "1",
  669. });
  670. this.loadData(this.state.page);
  671. },
  672. visitOk() {
  673. this.setState({
  674. visible: false,
  675. });
  676. this.loadData(this.state.page);
  677. },
  678. setColor() {
  679. $(".userName span").after(
  680. "(<span class='ruanzhu'>软著数</span>/<span class='xiazheng'>下证数</span>)"
  681. );
  682. },
  683. closeDesc(e, s) {
  684. this.state.showDesc = e;
  685. if (s) {
  686. this.loadData(this.state.page);
  687. }
  688. },
  689. closeAssign(e, s) {
  690. this.state.roleName = "";
  691. this.state.assignVisible = e;
  692. if (s) {
  693. this.loadData(this.state.page);
  694. }
  695. },
  696. nextCancel() {
  697. this.setState({
  698. addnextVisible: false,
  699. displayFees: "none",
  700. costReduction: '',
  701. officialCost: '',
  702. });
  703. },
  704. //点击打卡项目详情
  705. tableRowClickX(record) {
  706. if (record.type == "1") {
  707. this.setState({
  708. displayFees: "block",
  709. costReduction: record.costReduction,
  710. officialCost: record.officialCost,
  711. });
  712. }else{
  713. this.setState({
  714. displayFees: "none",
  715. });
  716. }
  717. this.setState({
  718. jid: record.id, //项目ID
  719. kid: record.commodityId, //商品ID
  720. commodityName: record.commodityName, //金额
  721. commodityPrice: record.commodityPrice, //金额
  722. commodityQuantity: record.commodityQuantity, //数量
  723. taskComment: record.taskComment, //备注
  724. main: record.main.toString(), //是否为主要
  725. addnextVisible: true,
  726. addState: 0,
  727. });
  728. },
  729. search() {
  730. this.loadData(1);
  731. },
  732. orderChange(key) {
  733. this.setState({
  734. activeKey: key,
  735. });
  736. if (key == 2) {
  737. this.orderDetailData(this.state.orderNo);
  738. this.xiangmu(this.state.orderNo);
  739. this.jiedian(this.state.orderNo);
  740. this.jiedianNew(this.state.orderNo);
  741. }
  742. },
  743. //节点列表
  744. jiedian(orderNos) {
  745. $.ajax({
  746. method: "get",
  747. dataType: "json",
  748. crossDomain: false,
  749. url: globalConfig.context + "/api/admin/newOrder/selectOrderDun",
  750. data: {
  751. orderNo: orderNos,
  752. },
  753. success: function (data) {
  754. let theArr = [];
  755. let thisData = [];
  756. if (data.error.length || data.data.list == "") {
  757. if (data.error && data.error.length) {
  758. message.warning(data.error[0].message);
  759. }
  760. } else {
  761. for (let i = 0; i < data.data.length; i++) {
  762. thisData = data.data[i];
  763. theArr.push({
  764. key: i,
  765. dunSubject: thisData.dunSubject
  766. ? thisData.dunSubject.toString()
  767. : "", //催款科目
  768. id: thisData.id, //节点Id
  769. money: thisData.money, //催款金额
  770. dunStatus: thisData.dunStatus, //催款状态
  771. });
  772. }
  773. this.setState({
  774. jiedian: theArr,
  775. });
  776. }
  777. }.bind(this),
  778. });
  779. },
  780. jiedianNew(orderNos) {
  781. $.ajax({
  782. method: "get",
  783. dataType: "json",
  784. crossDomain: false,
  785. url:
  786. globalConfig.context + "/api/admin/newOrderDun/selectListNewOrderDun",
  787. data: {
  788. orderNo: orderNos,
  789. },
  790. success: function (data) {
  791. if (data.error && data.error.length) {
  792. message.warning(data.error[0].message);
  793. } else {
  794. let theArr = [];
  795. let thisData = [];
  796. let arr = data.data || [];
  797. let totalCui = 0;
  798. for (let i = 0; i < arr.length; i++) {
  799. thisData = arr[i];
  800. totalCui += +thisData.money;
  801. thisData.key = i;
  802. thisData.dunSubject = thisData.dunSubject
  803. ? thisData.dunSubject.toString()
  804. : "", //催款科目
  805. theArr.push(thisData);
  806. }
  807. if (!totalCui) {
  808. totalCui = 0;
  809. }
  810. totalCui = (Math.round(totalCui * 1000000) / 1000000).toFixed(6);
  811. this.setState({
  812. jiedianNew: theArr,
  813. totalCui,
  814. });
  815. }
  816. }.bind(this),
  817. }).always(
  818. function () {
  819. this.setState({
  820. loading: false,
  821. });
  822. }.bind(this)
  823. );
  824. },
  825. orderDetailData(orderNos) {
  826. this.setState({
  827. loading: true,
  828. });
  829. $.ajax({
  830. method: "get",
  831. dataType: "json",
  832. crossDomain: false,
  833. url: globalConfig.context + "/api/admin/newOrder/getOrderNewDetail",
  834. data: {
  835. orderNo: orderNos,
  836. },
  837. success: function (data) {
  838. if (data.error.length || data.data.list == "") {
  839. if (data.error && data.error.length) {
  840. message.warning(data.error[0].message);
  841. this.setState({
  842. loading: false,
  843. });
  844. }
  845. } else {
  846. let thisdata = data.data;
  847. this.setState({
  848. loading: false,
  849. userName: thisdata.userName,
  850. primaryOrderNo: thisdata.primaryOrder,
  851. additionalOrder: thisdata.additionalOrder,
  852. contractNo: thisdata.contractNo,
  853. orderData: thisdata,
  854. isAddition: thisdata.additionalOrder ? true : false,
  855. contractPictureUrl: thisdata.contractPictureUrl
  856. ? splitUrl(
  857. thisdata.contractPictureUrl,
  858. ",",
  859. globalConfig.avatarHost + "/upload"
  860. )
  861. : [],
  862. });
  863. }
  864. }.bind(this),
  865. });
  866. },
  867. reset() {
  868. this.state.nameSearch = "";
  869. this.state.releaseDate = [];
  870. this.state.orderNoSearch = "";
  871. this.state.taskNoSearch = "";
  872. this.state.departmenttSearch = undefined;
  873. this.loadData();
  874. },
  875. searchSwitch() {
  876. this.setState({
  877. searchMore: !this.state.searchMore,
  878. });
  879. },
  880. //部门
  881. departmentList() {
  882. this.setState({
  883. loading: true,
  884. });
  885. $.ajax({
  886. method: "get",
  887. dataType: "json",
  888. crossDomain: false,
  889. url: globalConfig.context + "/api/admin/organization/selectSuperId",
  890. data: {},
  891. success: function (data) {
  892. let thedata = data.data;
  893. let theArr = [];
  894. if (!thedata) {
  895. if (data.error && data.error.length) {
  896. message.warning(data.error[0].message);
  897. }
  898. thedata = {};
  899. } else {
  900. thedata.map(function (item, index) {
  901. theArr.push({
  902. key: index,
  903. name: item.name,
  904. id: item.id,
  905. });
  906. });
  907. }
  908. this.setState({
  909. departmentArr: theArr,
  910. });
  911. }.bind(this),
  912. }).always(
  913. function () {
  914. this.setState({
  915. loading: false,
  916. });
  917. }.bind(this)
  918. );
  919. },
  920. rizhi() {
  921. this.setState({
  922. loading: true,
  923. });
  924. $.ajax({
  925. method: "get",
  926. dataType: "json",
  927. crossDomain: false,
  928. url: "/api/admin/newOrder/selectOrderLog",
  929. data: {
  930. orderNo: this.state.orderNo,
  931. },
  932. success: function (data) {
  933. let theArr = [];
  934. let thisData = data.data;
  935. if (!thisData.length) {
  936. if (data.error && data.error.length) {
  937. message.warning(data.error[0].message);
  938. }
  939. thisData = {};
  940. } else {
  941. for (let i = 0; i < data.data.length; i++) {
  942. let thisdata = data.data[i];
  943. theArr.push({
  944. processName: thisdata.processName,
  945. adminName: thisdata.adminName,
  946. createDate: thisdata.createDate,
  947. remarks: thisdata.remarks,
  948. });
  949. }
  950. }
  951. this.setState({
  952. dataSourceY: theArr,
  953. });
  954. }.bind(this),
  955. }).always(
  956. function () {
  957. this.setState({
  958. loading: false,
  959. });
  960. }.bind(this)
  961. );
  962. },
  963. closeOrderLog() {
  964. this.setState({
  965. avisible: false,
  966. });
  967. },
  968. getOrderLog() {
  969. this.setState({
  970. avisible: true,
  971. });
  972. this.rizhi();
  973. },
  974. changeList(arr) {
  975. const newArr = [];
  976. this.state.columns.forEach(item => {
  977. arr.forEach(val => {
  978. if (val === item.title) {
  979. newArr.push(item);
  980. }
  981. });
  982. });
  983. this.setState({
  984. changeList: newArr
  985. });
  986. },
  987. render() {
  988. const utils = {
  989. getSatisfaction: function (num) {
  990. switch (num) {
  991. case 0:
  992. return "未收回";
  993. case 1:
  994. return "已收回";
  995. default:
  996. return "其它";
  997. }
  998. },
  999. getChargeback: function (num) {
  1000. switch (num) {
  1001. case 0:
  1002. return "已完成";
  1003. case 1:
  1004. return "未完成";
  1005. default:
  1006. return "其它";
  1007. }
  1008. },
  1009. };
  1010. const formItemLayout = {
  1011. labelCol: { span: 8 },
  1012. wrapperCol: { span: 14 },
  1013. };
  1014. let departmentArr = this.state.departmentArr || [];
  1015. return (
  1016. <div className="user-content">
  1017. <ShowModalDiv ShowModal={this.state.showModal} />
  1018. <div className="content-title">
  1019. <span>任务查询</span>
  1020. </div>
  1021. <Tabs defaultActiveKey="1" onChange={this.callback} className="test">
  1022. <TabPane tab="搜索" key="1">
  1023. <div className="user-search" style={{ marginLeft: 10 }}>
  1024. <Input
  1025. placeholder="客户名称"
  1026. style={{ width: 150 }}
  1027. value={this.state.nameSearch}
  1028. onChange={(e) => {
  1029. this.setState({ nameSearch: e.target.value });
  1030. }}
  1031. />
  1032. <Input
  1033. placeholder="订单编号"
  1034. value={this.state.orderNoSearch}
  1035. onChange={(e) => {
  1036. this.setState({ orderNoSearch: e.target.value });
  1037. }}
  1038. />
  1039. <Input
  1040. placeholder="任务编号"
  1041. value={this.state.taskNoSearch}
  1042. onChange={(e) => {
  1043. this.setState({ taskNoSearch: e.target.value });
  1044. }}
  1045. />
  1046. <Select
  1047. placeholder="选择部门"
  1048. style={{ width: 150, marginRight: "10px" }}
  1049. value={this.state.departmenttSearch}
  1050. onChange={(e) => {
  1051. this.setState({ departmenttSearch: e });
  1052. }}
  1053. >
  1054. {departmentArr.map(function (item) {
  1055. return (
  1056. <Select.Option key={item.id}>{item.name}</Select.Option>
  1057. );
  1058. })}
  1059. </Select>
  1060. <Button type="primary" onClick={this.search}>
  1061. 搜索
  1062. </Button>
  1063. <Button onClick={this.reset}>重置</Button>
  1064. {/* <span>更多搜索<Switch defaultChecked={false} onChange={this.searchSwitch.bind(this)} /></span>
  1065. <div className="search-more" style={this.state.searchMore ? { display: 'none' } : {}}>
  1066. <span>订单时间 :</span>
  1067. <RangePicker
  1068. value={[this.state.releaseDate[0] ? moment(this.state.releaseDate[0]) : null,
  1069. this.state.releaseDate[1] ? moment(this.state.releaseDate[1]) : null]}
  1070. onChange={(data, dataString) => { this.setState({ releaseDate: dataString }); }} />
  1071. </div> */}
  1072. </div>
  1073. </TabPane>
  1074. <TabPane tab="更改表格显示数据" key="2">
  1075. <div style={{ marginLeft: 10 }}>
  1076. <ChooseList
  1077. columns={this.state.columns}
  1078. changeFn={this.changeList}
  1079. changeList={this.state.changeList}
  1080. top={55}
  1081. margin={11}
  1082. />
  1083. </div>
  1084. </TabPane>
  1085. </Tabs>
  1086. <div className="patent-table">
  1087. <Spin spinning={this.state.loading}>
  1088. <Table
  1089. bordered
  1090. size="small"
  1091. columns={
  1092. this.state.changeList
  1093. ? this.state.changeList
  1094. : this.state.columns
  1095. }
  1096. dataSource={this.state.dataSource}
  1097. onHeaderRow={(column) => {
  1098. console.log(column.index);
  1099. }}
  1100. pagination={this.state.pagination}
  1101. onRowClick={this.tableRowClick.bind(this)}
  1102. />
  1103. </Spin>
  1104. </div>
  1105. <Assign
  1106. title="任务"
  1107. selApi={"/api/admin/orderProject/projectDistribution"}
  1108. data={this.state.assignData}
  1109. showDesc={this.state.assignVisible}
  1110. closeDesc={this.closeAssign.bind(this)}
  1111. fenpaiData={8}
  1112. specially={0}
  1113. roleName={this.state.nub}
  1114. />
  1115. {this.state.visible ? <Modal
  1116. className="customeDetails"
  1117. footer=""
  1118. title=""
  1119. width="900px"
  1120. visible={this.state.visible}
  1121. onOk={this.visitOk}
  1122. onCancel={this.visitCancel}
  1123. >
  1124. <Tabs activeKey={this.state.activeKey} onChange={this.orderChange}>
  1125. <TabPane tab="项目概况" key="1">
  1126. {this.state.activeKey === "1" ? <Form
  1127. layout="horizontal"
  1128. onSubmit={this.handleSubmit}
  1129. id="demand-form"
  1130. style={{ paddingBottom: "00px" }}
  1131. >
  1132. <Spin spinning={this.state.loading}>
  1133. <div className="clearfix">
  1134. <div className="clearfix">
  1135. <FormItem
  1136. className="half-item"
  1137. {...formItemLayout}
  1138. label="当前项目情况"
  1139. >
  1140. <span>
  1141. {
  1142. this.state.status === 0 ? '未开始':
  1143. this.state.status === 1 ? '已开始':
  1144. this.state.status === 2 ? '已暂停':
  1145. this.state.status === 3 ? '已完成':
  1146. this.state.status === 4 ? '已驳回':
  1147. this.state.status === 5 ? '已退单': ''
  1148. }
  1149. </span>
  1150. <Button
  1151. type="primary"
  1152. size="small"
  1153. style={{ marginTop: "5px", position: "absolute" }}
  1154. onClick={this.caozuorizhi}
  1155. >
  1156. 操作日志
  1157. </Button>
  1158. </FormItem>
  1159. <FormItem
  1160. className="half-item"
  1161. {...formItemLayout}
  1162. label="合同编号"
  1163. >
  1164. <span>{this.state.contractNo}</span>
  1165. </FormItem>
  1166. </div>
  1167. <div className="clearfix">
  1168. <FormItem
  1169. className="half-item"
  1170. {...formItemLayout}
  1171. label="项目状态"
  1172. >
  1173. <span>
  1174. {getProjectStatus(this.state.projectStatus)}
  1175. </span>
  1176. </FormItem>
  1177. <FormItem
  1178. className="half-item"
  1179. {...formItemLayout}
  1180. label="是否特批"
  1181. >
  1182. <span>{getApproval(this.state.approval)}</span>
  1183. </FormItem>
  1184. <FormItem
  1185. className="half-item"
  1186. {...formItemLayout}
  1187. label="结算状态"
  1188. >
  1189. <span>
  1190. {getLiquidationStatus(this.state.liquidationStatus)}
  1191. </span>
  1192. </FormItem>
  1193. <FormItem
  1194. className="half-item"
  1195. {...formItemLayout}
  1196. label="流程状态"
  1197. >
  1198. <span>
  1199. {getProcessStatus(this.state.processStatus)}
  1200. </span>
  1201. </FormItem>
  1202. <FormItem
  1203. className="half-item"
  1204. {...formItemLayout}
  1205. label="订单编号"
  1206. >
  1207. <span>{this.state.orderNo}</span>
  1208. </FormItem>
  1209. <FormItem
  1210. className="half-item"
  1211. {...formItemLayout}
  1212. label="是否外包"
  1213. >
  1214. <span>{this.state.outsource == 0 ? "否" : "是"}</span>
  1215. </FormItem>
  1216. </div>
  1217. <div className="clearfix">
  1218. <FormItem
  1219. className="half-item"
  1220. {...formItemLayout}
  1221. label="满意度表格"
  1222. >
  1223. <span>
  1224. {utils.getSatisfaction(this.state.formRetrieve)}
  1225. </span>
  1226. </FormItem>
  1227. <FormItem
  1228. className="half-item"
  1229. {...formItemLayout}
  1230. label="退单"
  1231. >
  1232. <span>
  1233. {utils.getChargeback(this.state.taskRefund)}
  1234. </span>
  1235. </FormItem>
  1236. </div>
  1237. <div className="clearfix">
  1238. {
  1239. <FormItem
  1240. className="half-item"
  1241. {...formItemLayout}
  1242. label="(满意度)备注"
  1243. >
  1244. <span>{this.state.retrieveContent}</span>
  1245. </FormItem>
  1246. }
  1247. {
  1248. <FormItem
  1249. className="half-item"
  1250. {...formItemLayout}
  1251. label="(退单)备注"
  1252. >
  1253. <span>{this.state.refundContent}</span>
  1254. </FormItem>
  1255. }
  1256. </div>
  1257. <div className="clearfix">
  1258. <h3 className="sub-title">任务信息</h3>
  1259. <FormItem
  1260. className="half-item"
  1261. {...formItemLayout}
  1262. label="任务编号"
  1263. >
  1264. <span>
  1265. {this.state.splitStatus == 2
  1266. ? this.state.splitSuper + "-" + this.state.splitId
  1267. : this.state.id}
  1268. </span>
  1269. </FormItem>
  1270. <FormItem
  1271. className="half-item"
  1272. {...formItemLayout}
  1273. label="任务名称"
  1274. >
  1275. <span>{this.state.taskName}</span>
  1276. </FormItem>
  1277. <FormItem
  1278. className="half-item"
  1279. {...formItemLayout}
  1280. label="任务状态"
  1281. >
  1282. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1283. </FormItem>
  1284. <FormItem
  1285. className="half-item"
  1286. {...formItemLayout}
  1287. label="任务类别"
  1288. >
  1289. <span>{this.state.cname}</span>
  1290. </FormItem>
  1291. <FormItem
  1292. className="half-item"
  1293. {...formItemLayout}
  1294. label="证书编号"
  1295. >
  1296. <span>{this.state.certificateNumber}</span>
  1297. </FormItem>
  1298. </div>
  1299. {/*{this.state.outsource === 1 ? (*/}
  1300. {/* <div className="clearfix">*/}
  1301. {/* <h3 className="sub-title">外包信息</h3>*/}
  1302. {/* <FormItem*/}
  1303. {/* className="half-item"*/}
  1304. {/* {...formItemLayout}*/}
  1305. {/* label="外包公司"*/}
  1306. {/* >*/}
  1307. {/* <span>{this.state.outsourceName}</span>*/}
  1308. {/* </FormItem>*/}
  1309. {/* <FormItem*/}
  1310. {/* className="half-item"*/}
  1311. {/* {...formItemLayout}*/}
  1312. {/* label="外包成本(万元)"*/}
  1313. {/* >*/}
  1314. {/* <span>{this.state.outsourcePrice}</span>*/}
  1315. {/* </FormItem>*/}
  1316. {/* </div>*/}
  1317. {/*) : (*/}
  1318. {/* ""*/}
  1319. {/*)}*/}
  1320. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1321. <div className="clearfix">
  1322. <h3 className="sub-title">联系信息</h3>
  1323. <FormItem
  1324. className="half-item"
  1325. {...formItemLayout}
  1326. label="客户名称"
  1327. >
  1328. <span>{this.state.userName}</span>
  1329. </FormItem>
  1330. <FormItem
  1331. className="half-item"
  1332. {...formItemLayout}
  1333. label="企业法人"
  1334. >
  1335. <span>{this.state.legalPerson}</span>
  1336. </FormItem>
  1337. <FormItem
  1338. className="half-item"
  1339. {...formItemLayout}
  1340. label="法人电话"
  1341. >
  1342. <span>{this.state.legalPersonTel}</span>
  1343. </FormItem>
  1344. <FormItem
  1345. className="half-item"
  1346. {...formItemLayout}
  1347. label="客户联系人"
  1348. >
  1349. <span>{this.state.contacts}</span>
  1350. </FormItem>
  1351. <FormItem
  1352. className="half-item"
  1353. {...formItemLayout}
  1354. label="联系人电话"
  1355. >
  1356. <span>{this.state.contactMobile}</span>
  1357. </FormItem>
  1358. <FormItem
  1359. className="half-item"
  1360. {...formItemLayout}
  1361. label="企业地址"
  1362. >
  1363. <span>
  1364. {getprovince(this.state.locationProvince)}/
  1365. {getprovince(this.state.locationCity)}/
  1366. {getprovince(this.state.locationArea)}
  1367. </span>
  1368. </FormItem>
  1369. <FormItem
  1370. className="half-item"
  1371. {...formItemLayout}
  1372. label=""
  1373. />
  1374. <FormItem className="half-item" {...formItemLayout}>
  1375. <span style={{ paddingLeft: "12em" }}>
  1376. {this.state.postalAddress}
  1377. </span>
  1378. </FormItem>
  1379. </div>
  1380. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1381. <div className="clearfix">
  1382. <h3 className="sub-title">订单负责人信息</h3>
  1383. <FormItem
  1384. className="half-item"
  1385. {...formItemLayout}
  1386. label="负责人"
  1387. >
  1388. <span>
  1389. {this.state.salesmanName +
  1390. "(" +
  1391. this.state.depName +
  1392. ")"}
  1393. </span>
  1394. </FormItem>
  1395. <FormItem
  1396. className="half-item"
  1397. {...formItemLayout}
  1398. label="负责人电话"
  1399. >
  1400. <span>{this.state.salesmanMobile}</span>
  1401. </FormItem>
  1402. <FormItem
  1403. className="half-item"
  1404. {...formItemLayout}
  1405. label="当前财务负责人"
  1406. >
  1407. <span>{this.state.nowFinance}</span>
  1408. </FormItem>
  1409. <FormItem
  1410. className="half-item"
  1411. {...formItemLayout}
  1412. label="当前财务负责人电话"
  1413. >
  1414. <span>{this.state.nowFinanceMobile}</span>
  1415. </FormItem>
  1416. <FormItem
  1417. className="half-item"
  1418. {...formItemLayout}
  1419. style={{ opacity: ".5" }}
  1420. label="原负责人"
  1421. >
  1422. <span>{this.state.oldSalesmanName}</span>
  1423. </FormItem>
  1424. <FormItem
  1425. className="half-item"
  1426. {...formItemLayout}
  1427. style={{ opacity: ".5" }}
  1428. label="原负责人电话"
  1429. >
  1430. <span>{this.state.oldSalesmanMobile}</span>
  1431. </FormItem>
  1432. <FormItem
  1433. className="half-item"
  1434. {...formItemLayout}
  1435. style={{ opacity: ".5" }}
  1436. label="实际财务操作人"
  1437. >
  1438. <span>{this.state.financeName}</span>
  1439. </FormItem>
  1440. <FormItem
  1441. className="half-item"
  1442. {...formItemLayout}
  1443. style={{ opacity: ".5" }}
  1444. label="实际财务操作人电话"
  1445. >
  1446. <span>{this.state.financeMobile}</span>
  1447. </FormItem>
  1448. <FormItem
  1449. className="half-item"
  1450. {...formItemLayout}
  1451. label="订单留言"
  1452. >
  1453. <span>{this.state.orderRemarks}</span>
  1454. </FormItem>
  1455. <FormItem
  1456. className="half-item"
  1457. {...formItemLayout}
  1458. label=""
  1459. >
  1460. <Button onClick={this.getOrderLog}>查看订单日志</Button>
  1461. </FormItem>
  1462. <OrderRiZi
  1463. dataSourcerizhi={this.state.dataSourceY}
  1464. closeOrderLog={this.closeOrderLog}
  1465. visible={this.state.avisible}
  1466. loading={this.state.loading}
  1467. />
  1468. </div>
  1469. <div className="clearfix">
  1470. <h3 className="sub-title">申报系统账户信息</h3>
  1471. {/*<span style={{color:'red'}}>注:仅技术部可见</span>*/}
  1472. <FormItem
  1473. className="half-item"
  1474. {...formItemLayout}
  1475. label="用户名"
  1476. >
  1477. <span>{this.state.declareUser}</span>
  1478. </FormItem>
  1479. <FormItem
  1480. className="half-item"
  1481. {...formItemLayout}
  1482. label="密码"
  1483. >
  1484. <span>{this.state.declarePwd}</span>
  1485. </FormItem>
  1486. </div>
  1487. <div className="clearfix">
  1488. <h3 className="sub-title">项目申报进度</h3>
  1489. <FormItem
  1490. className="half-item"
  1491. {...formItemLayout}
  1492. label="申报批次"
  1493. >
  1494. <span>{this.state.declarationBatch}</span>
  1495. </FormItem>
  1496. <FormItem
  1497. className="half-item"
  1498. {...formItemLayout}
  1499. label="启动时间"
  1500. >
  1501. <span>{this.state.startDate}</span>
  1502. </FormItem>
  1503. <FormItem
  1504. className="half-item"
  1505. {...formItemLayout}
  1506. label="完成时间"
  1507. >
  1508. <span>{this.state.endDate}</span>
  1509. </FormItem>
  1510. <FormItem
  1511. className="half-item"
  1512. {...formItemLayout}
  1513. label="受理时间"
  1514. >
  1515. <span>{this.state.acceptDate}</span>
  1516. </FormItem>
  1517. <FormItem
  1518. className="half-item"
  1519. {...formItemLayout}
  1520. label="评审时间"
  1521. >
  1522. <span>{this.state.reviewDate}</span>
  1523. </FormItem>
  1524. <FormItem
  1525. className="half-item"
  1526. {...formItemLayout}
  1527. label="公示时间"
  1528. >
  1529. <span>{this.state.publicityDate}</span>
  1530. </FormItem>
  1531. <FormItem
  1532. className="half-item"
  1533. {...formItemLayout}
  1534. label="发证时间"
  1535. >
  1536. <span>{this.state.licenceDate}</span>
  1537. </FormItem>
  1538. <FormItem
  1539. className="half-item"
  1540. {...formItemLayout}
  1541. label="立项金额(万元)"
  1542. >
  1543. <span>{this.state.setUpAmount}</span>
  1544. </FormItem>
  1545. <FormItem
  1546. className="half-item"
  1547. {...formItemLayout}
  1548. label="是否到款"
  1549. >
  1550. <span>
  1551. {this.state.arrivalMoney ? "已到企业" : "未到企业"}
  1552. </span>
  1553. </FormItem>
  1554. </div>
  1555. <div className="clearfix">
  1556. <FormItem
  1557. labelCol={{ span: 3 }}
  1558. wrapperCol={{ span: 18 }}
  1559. label="附件"
  1560. >
  1561. {/*<Upload*/}
  1562. {/* className="demandDetailShow-upload"*/}
  1563. {/* listType="picture-card"*/}
  1564. {/* fileList={this.state.attachmentUrl}*/}
  1565. {/* onPreview={(file) => {*/}
  1566. {/* this.setState({*/}
  1567. {/* previewImage: file.url || file.thumbUrl,*/}
  1568. {/* previewVisible: true,*/}
  1569. {/* });*/}
  1570. {/* }}*/}
  1571. {/*/>*/}
  1572. {this.state.visible && this.state.attachmentUrl && this.state.activeKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  1573. <ImgList fileList={this.state.attachmentUrl} domId={'taskQuery1'}/>
  1574. </div> : <div/>}
  1575. {this.state.previewVisible ? <Modal
  1576. maskClosable={false}
  1577. footer={null}
  1578. visible={this.state.previewVisible}
  1579. onCancel={() => {
  1580. this.setState({ previewVisible: false });
  1581. }}
  1582. >
  1583. <img
  1584. alt=""
  1585. style={{ width: "100%" }}
  1586. src={this.state.previewImage || ""}
  1587. />
  1588. </Modal> : null}
  1589. </FormItem>
  1590. </div>
  1591. <div className="clearfix">
  1592. <FormItem
  1593. labelCol={{ span: 3 }}
  1594. wrapperCol={{ span: 16 }}
  1595. label="备注"
  1596. >
  1597. <span>{this.state.taskComment}</span>
  1598. </FormItem>
  1599. </div>
  1600. <div>
  1601. <h3 className="sub-title">项目业务</h3>
  1602. {this.state.processStatus == 0 ? (
  1603. <Button
  1604. type="primary"
  1605. onClick={this.addDetailed}
  1606. style={{
  1607. float: "right",
  1608. marginRight: "50px",
  1609. marginBottom: "15px",
  1610. }}
  1611. >
  1612. 添加项目明细
  1613. </Button>
  1614. ) : (
  1615. ""
  1616. )}
  1617. </div>
  1618. <div className="patent-table">
  1619. <Spin spinning={this.state.loading}>
  1620. <Table
  1621. columns={this.state.columnsX}
  1622. dataSource={this.state.dataSourceX}
  1623. pagination={this.state.paginations}
  1624. onRowClick={this.tableRowClickX}
  1625. bordered
  1626. size="small"
  1627. />
  1628. </Spin>
  1629. </div>
  1630. </div>
  1631. </Spin>
  1632. </Form> : <div/>}
  1633. </TabPane>
  1634. {!this.props.isZxs || (this.state.isHuiyuan && this.props.isZxs) ? (
  1635. <TabPane tab="订单详情" key="2">
  1636. {this.state.activeKey === "2" ? <Spin spinning={this.state.loading}>
  1637. <OrderDetail
  1638. orderData={this.state.orderData}
  1639. getOrderLog={this.getOrderLog}
  1640. dataSourceX={this.state.dataSourceX}
  1641. contactList={this.state.jiedian}
  1642. orderNo={this.state.orderNo}
  1643. totalCui={this.state.totalCui}
  1644. contactListNew={this.state.jiedianNew}
  1645. pictureUrl={this.state.contractPictureUrl}
  1646. />
  1647. </Spin> : <div/>}
  1648. <OrderRiZi
  1649. dataSourcerizhi={this.state.dataSourceY}
  1650. closeOrderLog={this.closeOrderLog}
  1651. visible={this.state.avisible}
  1652. loading={this.state.loading}
  1653. />
  1654. </TabPane>
  1655. ) : (
  1656. ""
  1657. )}
  1658. </Tabs>
  1659. </Modal> : <div/>}
  1660. {this.state.addnextVisible ? <Modal
  1661. maskClosable={false}
  1662. visible={this.state.addnextVisible}
  1663. onOk={this.nextCancel}
  1664. onCancel={this.nextCancel}
  1665. width="900px"
  1666. title="项目任务详情"
  1667. footer=""
  1668. className="admin-desc-content"
  1669. >
  1670. <Form layout="horizontal" onSubmit={this.nextSubmit} id="demand-form">
  1671. <Spin spinning={this.state.loading}>
  1672. <div className="clearfix">
  1673. <FormItem
  1674. className="half-item"
  1675. {...formItemLayout}
  1676. label="项目名称"
  1677. >
  1678. <span>{this.state.commodityName}</span>
  1679. </FormItem>
  1680. <FormItem
  1681. className="half-item"
  1682. {...formItemLayout}
  1683. label="项目数量"
  1684. >
  1685. <span>{this.state.commodityQuantity}</span>
  1686. </FormItem>
  1687. <FormItem
  1688. className="half-item"
  1689. {...formItemLayout}
  1690. label="官费"
  1691. style={{ display: this.state.displayFees }}
  1692. >
  1693. <span>
  1694. {this.state.officialCost == 0 ? "无官费" : "有官费"}
  1695. </span>
  1696. </FormItem>
  1697. <FormItem
  1698. className="half-item"
  1699. {...formItemLayout}
  1700. label="费减"
  1701. style={{ display: this.state.displayFees }}
  1702. >
  1703. <span>
  1704. {this.state.costReduction == 0 ? "无费减" : "有费减"}
  1705. </span>
  1706. </FormItem>
  1707. <FormItem
  1708. className="half-item"
  1709. {...formItemLayout}
  1710. label="金额(万元)"
  1711. >
  1712. <span>{this.state.commodityPrice}</span>
  1713. </FormItem>
  1714. <FormItem
  1715. className="half-item"
  1716. {...formItemLayout}
  1717. label="主要项目"
  1718. >
  1719. <span>{getboutique(this.state.main)}</span>
  1720. </FormItem>
  1721. <div className="clearfix">
  1722. <FormItem
  1723. labelCol={{ span: 4 }}
  1724. wrapperCol={{ span: 16 }}
  1725. label="服务说明"
  1726. >
  1727. <span>{this.state.taskComment}</span>
  1728. </FormItem>
  1729. </div>
  1730. </div>
  1731. </Spin>
  1732. </Form>
  1733. </Modal> : <div/>}
  1734. <Modal
  1735. width="800px"
  1736. title="操作日志"
  1737. footer=""
  1738. className="admin-desc-content"
  1739. >
  1740. <div className="patent-table patent-table-center">
  1741. <Spin spinning={this.state.loading}>
  1742. <Table columns={this.state.columnsY} bordered size="small" />
  1743. </Spin>
  1744. </div>
  1745. </Modal>
  1746. {this.state.speVisible ? <Modal
  1747. maskClosable={false}
  1748. visible={this.state.speVisible}
  1749. onOk={this.visitOk}
  1750. onCancel={this.visitCancel}
  1751. width="900px"
  1752. title=""
  1753. footer=""
  1754. className="admin-desc-content"
  1755. >
  1756. <Tabs activeKey={this.state.activeKey} onChange={this.orderChange}>
  1757. <TabPane tab="项目概况" key="1">
  1758. {this.state.activeKey === "1" ?
  1759. <div>
  1760. <div className="clearfix">
  1761. <FormItem
  1762. className="half-item"
  1763. {...formItemLayout}
  1764. label="当前项目情况"
  1765. >
  1766. <span>
  1767. {
  1768. this.state.status === 0 ? '未开始':
  1769. this.state.status === 1 ? '已开始':
  1770. this.state.status === 2 ? '已暂停':
  1771. this.state.status === 3 ? '已完成':
  1772. this.state.status === 4 ? '已驳回':
  1773. this.state.status === 5 ? '已退单': ''
  1774. }
  1775. </span>
  1776. <Button
  1777. type="primary"
  1778. size="small"
  1779. style={{ marginTop: "5px", position: "absolute" }}
  1780. onClick={this.caozuorizhi}
  1781. >
  1782. 操作日志
  1783. </Button>
  1784. </FormItem>
  1785. <FormItem
  1786. className="half-item"
  1787. {...formItemLayout}
  1788. label="合同编号"
  1789. >
  1790. <span>{this.state.contractNo}</span>
  1791. </FormItem>
  1792. </div>
  1793. <div className="clearfix">
  1794. <FormItem
  1795. className="half-item"
  1796. {...formItemLayout}
  1797. label="项目状态"
  1798. >
  1799. <span>{getProjectStatus(this.state.projectStatus)}</span>
  1800. </FormItem>
  1801. <FormItem
  1802. className="half-item"
  1803. {...formItemLayout}
  1804. label="是否特批"
  1805. >
  1806. <span>{getApproval(this.state.approval)}</span>
  1807. </FormItem>
  1808. <FormItem
  1809. className="half-item"
  1810. {...formItemLayout}
  1811. label="结算状态"
  1812. >
  1813. <span>
  1814. {getLiquidationStatus(this.state.liquidationStatus)}
  1815. </span>
  1816. </FormItem>
  1817. <FormItem
  1818. className="half-item"
  1819. {...formItemLayout}
  1820. label="流程状态"
  1821. >
  1822. <span>{getProcessStatus(this.state.processStatus)}</span>
  1823. </FormItem>
  1824. <FormItem
  1825. className="half-item"
  1826. {...formItemLayout}
  1827. label="订单编号"
  1828. >
  1829. <span>{this.state.orderNo}</span>
  1830. </FormItem>
  1831. </div>
  1832. <div className="clearfix">
  1833. <FormItem
  1834. className="half-item"
  1835. {...formItemLayout}
  1836. label="满意度表格"
  1837. >
  1838. <span>{utils.getSatisfaction(this.state.formRetrieve)}</span>
  1839. </FormItem>
  1840. <FormItem
  1841. className="half-item"
  1842. {...formItemLayout}
  1843. label="退单"
  1844. >
  1845. <span>{utils.getChargeback(this.state.taskRefund)}</span>
  1846. </FormItem>
  1847. </div>
  1848. <div className="clearfix">
  1849. {
  1850. <FormItem
  1851. className="half-item"
  1852. {...formItemLayout}
  1853. label="(满意度)备注"
  1854. >
  1855. <span>{this.state.retrieveContent}</span>
  1856. </FormItem>
  1857. }
  1858. {
  1859. <FormItem
  1860. className="half-item"
  1861. {...formItemLayout}
  1862. label="(退单)备注"
  1863. >
  1864. <span>{this.state.refundContent}</span>
  1865. </FormItem>
  1866. }
  1867. </div>
  1868. <div className="clearfix">
  1869. <h3 className="sub-title">任务信息</h3>
  1870. <FormItem
  1871. className="half-item"
  1872. {...formItemLayout}
  1873. label="任务编号"
  1874. >
  1875. <span>
  1876. {this.state.splitStatus == 2
  1877. ? this.state.splitSuper + "-" + this.state.splitId
  1878. : this.state.id}
  1879. </span>
  1880. </FormItem>
  1881. <FormItem
  1882. className="half-item"
  1883. {...formItemLayout}
  1884. label="任务名称"
  1885. >
  1886. <span>{this.state.taskName}</span>
  1887. </FormItem>
  1888. <FormItem
  1889. className="half-item"
  1890. {...formItemLayout}
  1891. label="任务状态"
  1892. >
  1893. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1894. </FormItem>
  1895. <FormItem
  1896. className="half-item"
  1897. {...formItemLayout}
  1898. label="任务类别"
  1899. >
  1900. <span>{this.state.cname}</span>
  1901. </FormItem>
  1902. <FormItem
  1903. className="half-item"
  1904. {...formItemLayout}
  1905. label="证书编号"
  1906. >
  1907. <span>{this.state.certificateNumber}</span>
  1908. </FormItem>
  1909. </div>
  1910. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1911. <div className="clearfix">
  1912. <h3 className="sub-title">联系信息</h3>
  1913. <FormItem
  1914. className="half-item"
  1915. {...formItemLayout}
  1916. label="客户名称"
  1917. >
  1918. <span>{this.state.userName}</span>
  1919. </FormItem>
  1920. <FormItem
  1921. className="half-item"
  1922. {...formItemLayout}
  1923. label="企业法人"
  1924. >
  1925. <span>{this.state.legalPerson}</span>
  1926. </FormItem>
  1927. <FormItem
  1928. className="half-item"
  1929. {...formItemLayout}
  1930. label="法人电话"
  1931. >
  1932. <span>{this.state.legalPersonTel}</span>
  1933. </FormItem>
  1934. <FormItem
  1935. className="half-item"
  1936. {...formItemLayout}
  1937. label="客户联系人"
  1938. >
  1939. <span>{this.state.contacts}</span>
  1940. </FormItem>
  1941. <FormItem
  1942. className="half-item"
  1943. {...formItemLayout}
  1944. label="联系人电话"
  1945. >
  1946. <span>{this.state.contactMobile}</span>
  1947. </FormItem>
  1948. <FormItem
  1949. className="half-item"
  1950. {...formItemLayout}
  1951. label="企业地址"
  1952. >
  1953. <span>
  1954. {getprovince(this.state.locationProvince)}/
  1955. {getprovince(this.state.locationCity)}/
  1956. {getprovince(this.state.locationArea)}
  1957. </span>
  1958. </FormItem>
  1959. <FormItem
  1960. className="half-item"
  1961. {...formItemLayout}
  1962. label=""
  1963. />
  1964. <FormItem className="half-item" {...formItemLayout} label="">
  1965. <span style={{ paddingLeft: "12em" }}>
  1966. {this.state.postalAddress}
  1967. </span>
  1968. </FormItem>
  1969. </div>
  1970. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1971. <div className="clearfix">
  1972. <h3 className="sub-title">订单负责人信息</h3>
  1973. <FormItem
  1974. className="half-item"
  1975. {...formItemLayout}
  1976. label="负责人"
  1977. >
  1978. <span>
  1979. {this.state.salesmanName + "(" + this.state.depName + ")"}
  1980. </span>
  1981. </FormItem>
  1982. <FormItem
  1983. className="half-item"
  1984. {...formItemLayout}
  1985. label="负责人电话"
  1986. >
  1987. <span>{this.state.salesmanMobile}</span>
  1988. </FormItem>
  1989. <FormItem
  1990. className="half-item"
  1991. {...formItemLayout}
  1992. label="财务负责人"
  1993. >
  1994. <span>{this.state.financeName}</span>
  1995. </FormItem>
  1996. <FormItem
  1997. className="half-item"
  1998. {...formItemLayout}
  1999. label="财务负责人电话"
  2000. >
  2001. <span>{this.state.financeMobile}</span>
  2002. </FormItem>
  2003. </div>
  2004. <div className="clearfix" style={{ marginTop: "10px" }}>
  2005. <FormItem
  2006. labelCol={{ span: 3 }}
  2007. wrapperCol={{ span: 18 }}
  2008. label="附件"
  2009. >
  2010. {/*<Upload*/}
  2011. {/* className="demandDetailShow-upload"*/}
  2012. {/* listType="picture-card"*/}
  2013. {/* fileList={this.state.attachmentUrl}*/}
  2014. {/* onPreview={(file) => {*/}
  2015. {/* this.setState({*/}
  2016. {/* previewImage: file.url || file.thumbUrl,*/}
  2017. {/* previewVisible: true,*/}
  2018. {/* });*/}
  2019. {/* }}*/}
  2020. {/*/>*/}
  2021. {this.state.speVisible && this.state.attachmentUrl && this.state.activeKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  2022. <ImgList fileList={this.state.attachmentUrl} domId={'taskQuery1'}/>
  2023. </div> : <div/>}
  2024. {this.state.previewVisible ? <Modal
  2025. maskClosable={false}
  2026. footer={null}
  2027. visible={this.state.previewVisible}
  2028. onCancel={() => {
  2029. this.setState({ previewVisible: false });
  2030. }}
  2031. >
  2032. <img
  2033. alt=""
  2034. style={{ width: "100%" }}
  2035. src={this.state.previewImage || ""}
  2036. />
  2037. </Modal> : null}
  2038. </FormItem>
  2039. </div>
  2040. <div className="clearfix">
  2041. <FormItem
  2042. labelCol={{ span: 3 }}
  2043. wrapperCol={{ span: 16 }}
  2044. label="备注"
  2045. >
  2046. <span>{this.state.taskComment}</span>
  2047. </FormItem>
  2048. </div>
  2049. <div className="clearfix">
  2050. <FormItem
  2051. labelCol={{ span: 3 }}
  2052. wrapperCol={{ span: 16 }}
  2053. label="订单留言"
  2054. >
  2055. <span>{this.state.orderRemarks}</span>
  2056. </FormItem>
  2057. </div>
  2058. <div className="clearfix">
  2059. <FormItem
  2060. labelCol={{ span: 3 }}
  2061. wrapperCol={{ span: 16 }}
  2062. label=""
  2063. >
  2064. <Button
  2065. style={{ marginLeft: 500 }}
  2066. onClick={this.getOrderLog}
  2067. >
  2068. 查看订单日志
  2069. </Button>
  2070. </FormItem>
  2071. </div>
  2072. <OrderRiZi
  2073. dataSourcerizhi={this.state.dataSourceY}
  2074. closeOrderLog={this.closeOrderLog}
  2075. visible={this.state.avisible}
  2076. loading={this.state.loading}
  2077. />
  2078. <div className="clearfix">
  2079. <h3 className="sub-title">项目申报进度</h3>
  2080. <FormItem
  2081. className="half-item"
  2082. {...formItemLayout}
  2083. label="申报批次"
  2084. >
  2085. <span>{this.state.declarationBatch}</span>
  2086. </FormItem>
  2087. <FormItem
  2088. className="half-item"
  2089. {...formItemLayout}
  2090. label="启动时间"
  2091. >
  2092. <span>{this.state.startDate}</span>
  2093. </FormItem>
  2094. <FormItem
  2095. className="half-item"
  2096. {...formItemLayout}
  2097. label="软著派单数量"
  2098. >
  2099. <span>{this.state.commodityQuantity}</span>
  2100. </FormItem>
  2101. <div className="patent-table patent-table-center">
  2102. <Spin spinning={this.state.loading}>
  2103. <Table
  2104. columns={this.state.ContactsLists}
  2105. dataSource={this.state.contactList}
  2106. pagination={false}
  2107. bordered
  2108. size="small"
  2109. />
  2110. </Spin>
  2111. </div>
  2112. </div>
  2113. <div className="clearfix">
  2114. <h3 className="sub-title">项目业务</h3>
  2115. <div className="patent-table">
  2116. <Spin spinning={this.state.loading}>
  2117. <Table
  2118. columns={this.state.columnsX}
  2119. dataSource={this.state.dataSourceX}
  2120. pagination={this.state.paginations}
  2121. onRowClick={this.tableRowClickX}
  2122. bordered
  2123. size="small"
  2124. />
  2125. </Spin>
  2126. </div>
  2127. </div>
  2128. </div>:<div/>}
  2129. </TabPane>
  2130. {!this.props.isZxs || (this.state.isHuiyuan && this.props.isZxs) ? (
  2131. <TabPane tab="订单详情" key="2">
  2132. {this.state.activeKey === "2" ? <Spin spinning={this.state.loading}>
  2133. <OrderDetail
  2134. orderData={this.state.orderData}
  2135. getOrderLog={this.getOrderLog}
  2136. dataSourceX={this.state.dataSourceX}
  2137. contactList={this.state.jiedian}
  2138. orderNo={this.state.orderNo}
  2139. totalCui={this.state.totalCui}
  2140. contactListNew={this.state.jiedianNew}
  2141. pictureUrl={this.state.contractPictureUrl}
  2142. />
  2143. </Spin> : <div/>}
  2144. <OrderRiZi
  2145. dataSourcerizhi={this.state.dataSourceY}
  2146. closeOrderLog={this.closeOrderLog}
  2147. visible={this.state.avisible}
  2148. loading={this.state.loading}
  2149. />
  2150. </TabPane>
  2151. ) : (
  2152. ""
  2153. )}
  2154. </Tabs>
  2155. </Modal> : <div/>}
  2156. {this.state.visibleA ? <Modal
  2157. width="800px"
  2158. visible={this.state.visibleA}
  2159. onCancel={this.visitCancelA}
  2160. title="操作日志"
  2161. footer=""
  2162. className="admin-desc-content"
  2163. >
  2164. <div className="patent-table patent-table-center">
  2165. <Spin spinning={this.state.loading}>
  2166. <Table
  2167. columns={this.state.columnsA}
  2168. dataSource={this.state.dataSourceA}
  2169. pagination={false}
  2170. bordered
  2171. size="small"
  2172. />
  2173. </Spin>
  2174. </div>
  2175. </Modal> : null}
  2176. {this.state.resVisible ? (
  2177. <ResolutionDetail
  2178. cancel={this.resCancel}
  2179. detail={this.state.resRecord}
  2180. visible={this.state.resVisible}
  2181. id={this.state.resRecord.orderNo}
  2182. />
  2183. ) : (
  2184. ""
  2185. )}
  2186. </div>
  2187. );
  2188. },
  2189. });
  2190. export default Task;