taskQuery.jsx 72 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179
  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>{this.state.status ? "暂停" : "开启"}</span>
  1141. <Button
  1142. type="primary"
  1143. size="small"
  1144. style={{ marginTop: "5px", position: "absolute" }}
  1145. onClick={this.caozuorizhi}
  1146. >
  1147. 操作日志
  1148. </Button>
  1149. </FormItem>
  1150. <FormItem
  1151. className="half-item"
  1152. {...formItemLayout}
  1153. label="合同编号"
  1154. >
  1155. <span>{this.state.contractNo}</span>
  1156. </FormItem>
  1157. </div>
  1158. <div className="clearfix">
  1159. <FormItem
  1160. className="half-item"
  1161. {...formItemLayout}
  1162. label="项目状态"
  1163. >
  1164. <span>
  1165. {getProjectStatus(this.state.projectStatus)}
  1166. </span>
  1167. </FormItem>
  1168. <FormItem
  1169. className="half-item"
  1170. {...formItemLayout}
  1171. label="是否特批"
  1172. >
  1173. <span>{getApproval(this.state.approval)}</span>
  1174. </FormItem>
  1175. <FormItem
  1176. className="half-item"
  1177. {...formItemLayout}
  1178. label="结算状态"
  1179. >
  1180. <span>
  1181. {getLiquidationStatus(this.state.liquidationStatus)}
  1182. </span>
  1183. </FormItem>
  1184. <FormItem
  1185. className="half-item"
  1186. {...formItemLayout}
  1187. label="流程状态"
  1188. >
  1189. <span>
  1190. {getProcessStatus(this.state.processStatus)}
  1191. </span>
  1192. </FormItem>
  1193. <FormItem
  1194. className="half-item"
  1195. {...formItemLayout}
  1196. label="订单编号"
  1197. >
  1198. <span>{this.state.orderNo}</span>
  1199. </FormItem>
  1200. <FormItem
  1201. className="half-item"
  1202. {...formItemLayout}
  1203. label="是否外包"
  1204. >
  1205. <span>{this.state.outsource == 0 ? "否" : "是"}</span>
  1206. </FormItem>
  1207. </div>
  1208. <div className="clearfix">
  1209. <FormItem
  1210. className="half-item"
  1211. {...formItemLayout}
  1212. label="满意度表格"
  1213. >
  1214. <span>
  1215. {utils.getSatisfaction(this.state.formRetrieve)}
  1216. </span>
  1217. </FormItem>
  1218. <FormItem
  1219. className="half-item"
  1220. {...formItemLayout}
  1221. label="退单"
  1222. >
  1223. <span>
  1224. {utils.getChargeback(this.state.taskRefund)}
  1225. </span>
  1226. </FormItem>
  1227. </div>
  1228. <div className="clearfix">
  1229. {
  1230. <FormItem
  1231. className="half-item"
  1232. {...formItemLayout}
  1233. label="(满意度)备注"
  1234. >
  1235. <span>{this.state.retrieveContent}</span>
  1236. </FormItem>
  1237. }
  1238. {
  1239. <FormItem
  1240. className="half-item"
  1241. {...formItemLayout}
  1242. label="(退单)备注"
  1243. >
  1244. <span>{this.state.refundContent}</span>
  1245. </FormItem>
  1246. }
  1247. </div>
  1248. <div className="clearfix">
  1249. <h3 className="sub-title">任务信息</h3>
  1250. <FormItem
  1251. className="half-item"
  1252. {...formItemLayout}
  1253. label="任务编号"
  1254. >
  1255. <span>
  1256. {this.state.splitStatus == 2
  1257. ? this.state.splitSuper + "-" + this.state.splitId
  1258. : this.state.id}
  1259. </span>
  1260. </FormItem>
  1261. <FormItem
  1262. className="half-item"
  1263. {...formItemLayout}
  1264. label="任务名称"
  1265. >
  1266. <span>{this.state.taskName}</span>
  1267. </FormItem>
  1268. <FormItem
  1269. className="half-item"
  1270. {...formItemLayout}
  1271. label="任务状态"
  1272. >
  1273. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1274. </FormItem>
  1275. <FormItem
  1276. className="half-item"
  1277. {...formItemLayout}
  1278. label="任务类别"
  1279. >
  1280. <span>{this.state.cname}</span>
  1281. </FormItem>
  1282. <FormItem
  1283. className="half-item"
  1284. {...formItemLayout}
  1285. label="证书编号"
  1286. >
  1287. <span>{this.state.certificateNumber}</span>
  1288. </FormItem>
  1289. </div>
  1290. {/*{this.state.outsource === 1 ? (*/}
  1291. {/* <div className="clearfix">*/}
  1292. {/* <h3 className="sub-title">外包信息</h3>*/}
  1293. {/* <FormItem*/}
  1294. {/* className="half-item"*/}
  1295. {/* {...formItemLayout}*/}
  1296. {/* label="外包公司"*/}
  1297. {/* >*/}
  1298. {/* <span>{this.state.outsourceName}</span>*/}
  1299. {/* </FormItem>*/}
  1300. {/* <FormItem*/}
  1301. {/* className="half-item"*/}
  1302. {/* {...formItemLayout}*/}
  1303. {/* label="外包成本(万元)"*/}
  1304. {/* >*/}
  1305. {/* <span>{this.state.outsourcePrice}</span>*/}
  1306. {/* </FormItem>*/}
  1307. {/* </div>*/}
  1308. {/*) : (*/}
  1309. {/* ""*/}
  1310. {/*)}*/}
  1311. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1312. <div className="clearfix">
  1313. <h3 className="sub-title">联系信息</h3>
  1314. <FormItem
  1315. className="half-item"
  1316. {...formItemLayout}
  1317. label="客户名称"
  1318. >
  1319. <span>{this.state.userName}</span>
  1320. </FormItem>
  1321. <FormItem
  1322. className="half-item"
  1323. {...formItemLayout}
  1324. label="企业法人"
  1325. >
  1326. <span>{this.state.legalPerson}</span>
  1327. </FormItem>
  1328. <FormItem
  1329. className="half-item"
  1330. {...formItemLayout}
  1331. label="法人电话"
  1332. >
  1333. <span>{this.state.legalPersonTel}</span>
  1334. </FormItem>
  1335. <FormItem
  1336. className="half-item"
  1337. {...formItemLayout}
  1338. label="客户联系人"
  1339. >
  1340. <span>{this.state.contacts}</span>
  1341. </FormItem>
  1342. <FormItem
  1343. className="half-item"
  1344. {...formItemLayout}
  1345. label="联系人电话"
  1346. >
  1347. <span>{this.state.contactMobile}</span>
  1348. </FormItem>
  1349. <FormItem
  1350. className="half-item"
  1351. {...formItemLayout}
  1352. label="企业地址"
  1353. >
  1354. <span>
  1355. {getprovince(this.state.locationProvince)}/
  1356. {getprovince(this.state.locationCity)}/
  1357. {getprovince(this.state.locationArea)}
  1358. </span>
  1359. </FormItem>
  1360. <FormItem
  1361. className="half-item"
  1362. {...formItemLayout}
  1363. label=""
  1364. />
  1365. <FormItem className="half-item" {...formItemLayout}>
  1366. <span style={{ paddingLeft: "12em" }}>
  1367. {this.state.postalAddress}
  1368. </span>
  1369. </FormItem>
  1370. </div>
  1371. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1372. <div className="clearfix">
  1373. <h3 className="sub-title">订单负责人信息</h3>
  1374. <FormItem
  1375. className="half-item"
  1376. {...formItemLayout}
  1377. label="负责人"
  1378. >
  1379. <span>
  1380. {this.state.salesmanName +
  1381. "(" +
  1382. this.state.depName +
  1383. ")"}
  1384. </span>
  1385. </FormItem>
  1386. <FormItem
  1387. className="half-item"
  1388. {...formItemLayout}
  1389. label="负责人电话"
  1390. >
  1391. <span>{this.state.salesmanMobile}</span>
  1392. </FormItem>
  1393. <FormItem
  1394. className="half-item"
  1395. {...formItemLayout}
  1396. label="当前财务负责人"
  1397. >
  1398. <span>{this.state.nowFinance}</span>
  1399. </FormItem>
  1400. <FormItem
  1401. className="half-item"
  1402. {...formItemLayout}
  1403. label="当前财务负责人电话"
  1404. >
  1405. <span>{this.state.nowFinanceMobile}</span>
  1406. </FormItem>
  1407. <FormItem
  1408. className="half-item"
  1409. {...formItemLayout}
  1410. style={{ opacity: ".5" }}
  1411. label="原负责人"
  1412. >
  1413. <span>{this.state.oldSalesmanName}</span>
  1414. </FormItem>
  1415. <FormItem
  1416. className="half-item"
  1417. {...formItemLayout}
  1418. style={{ opacity: ".5" }}
  1419. label="原负责人电话"
  1420. >
  1421. <span>{this.state.oldSalesmanMobile}</span>
  1422. </FormItem>
  1423. <FormItem
  1424. className="half-item"
  1425. {...formItemLayout}
  1426. style={{ opacity: ".5" }}
  1427. label="实际财务操作人"
  1428. >
  1429. <span>{this.state.financeName}</span>
  1430. </FormItem>
  1431. <FormItem
  1432. className="half-item"
  1433. {...formItemLayout}
  1434. style={{ opacity: ".5" }}
  1435. label="实际财务操作人电话"
  1436. >
  1437. <span>{this.state.financeMobile}</span>
  1438. </FormItem>
  1439. <FormItem
  1440. className="half-item"
  1441. {...formItemLayout}
  1442. label="订单留言"
  1443. >
  1444. <span>{this.state.orderRemarks}</span>
  1445. </FormItem>
  1446. <FormItem
  1447. className="half-item"
  1448. {...formItemLayout}
  1449. label=""
  1450. >
  1451. <Button onClick={this.getOrderLog}>查看订单日志</Button>
  1452. </FormItem>
  1453. <OrderRiZi
  1454. dataSourcerizhi={this.state.dataSourceY}
  1455. closeOrderLog={this.closeOrderLog}
  1456. visible={this.state.avisible}
  1457. loading={this.state.loading}
  1458. />
  1459. </div>
  1460. <div className="clearfix">
  1461. <h3 className="sub-title">申报系统账户信息</h3>
  1462. {/*<span style={{color:'red'}}>注:仅技术部可见</span>*/}
  1463. <FormItem
  1464. className="half-item"
  1465. {...formItemLayout}
  1466. label="用户名"
  1467. >
  1468. <span>{this.state.declareUser}</span>
  1469. </FormItem>
  1470. <FormItem
  1471. className="half-item"
  1472. {...formItemLayout}
  1473. label="密码"
  1474. >
  1475. <span>{this.state.declarePwd}</span>
  1476. </FormItem>
  1477. </div>
  1478. <div className="clearfix">
  1479. <h3 className="sub-title">项目申报进度</h3>
  1480. <FormItem
  1481. className="half-item"
  1482. {...formItemLayout}
  1483. label="申报批次"
  1484. >
  1485. <span>{this.state.declarationBatch}</span>
  1486. </FormItem>
  1487. <FormItem
  1488. className="half-item"
  1489. {...formItemLayout}
  1490. label="启动时间"
  1491. >
  1492. <span>{this.state.startDate}</span>
  1493. </FormItem>
  1494. <FormItem
  1495. className="half-item"
  1496. {...formItemLayout}
  1497. label="完成时间"
  1498. >
  1499. <span>{this.state.endDate}</span>
  1500. </FormItem>
  1501. <FormItem
  1502. className="half-item"
  1503. {...formItemLayout}
  1504. label="受理时间"
  1505. >
  1506. <span>{this.state.acceptDate}</span>
  1507. </FormItem>
  1508. <FormItem
  1509. className="half-item"
  1510. {...formItemLayout}
  1511. label="评审时间"
  1512. >
  1513. <span>{this.state.reviewDate}</span>
  1514. </FormItem>
  1515. <FormItem
  1516. className="half-item"
  1517. {...formItemLayout}
  1518. label="公示时间"
  1519. >
  1520. <span>{this.state.publicityDate}</span>
  1521. </FormItem>
  1522. <FormItem
  1523. className="half-item"
  1524. {...formItemLayout}
  1525. label="发证时间"
  1526. >
  1527. <span>{this.state.licenceDate}</span>
  1528. </FormItem>
  1529. <FormItem
  1530. className="half-item"
  1531. {...formItemLayout}
  1532. label="立项金额(万元)"
  1533. >
  1534. <span>{this.state.setUpAmount}</span>
  1535. </FormItem>
  1536. <FormItem
  1537. className="half-item"
  1538. {...formItemLayout}
  1539. label="是否到款"
  1540. >
  1541. <span>
  1542. {this.state.arrivalMoney ? "已到企业" : "未到企业"}
  1543. </span>
  1544. </FormItem>
  1545. </div>
  1546. <div className="clearfix">
  1547. <FormItem
  1548. labelCol={{ span: 3 }}
  1549. wrapperCol={{ span: 18 }}
  1550. label="附件"
  1551. >
  1552. {/*<Upload*/}
  1553. {/* className="demandDetailShow-upload"*/}
  1554. {/* listType="picture-card"*/}
  1555. {/* fileList={this.state.attachmentUrl}*/}
  1556. {/* onPreview={(file) => {*/}
  1557. {/* this.setState({*/}
  1558. {/* previewImage: file.url || file.thumbUrl,*/}
  1559. {/* previewVisible: true,*/}
  1560. {/* });*/}
  1561. {/* }}*/}
  1562. {/*/>*/}
  1563. {this.state.visible && this.state.attachmentUrl && this.state.activeKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  1564. <ImgList fileList={this.state.attachmentUrl} domId={'taskQuery1'}/>
  1565. </div> : <div/>}
  1566. <Modal
  1567. maskClosable={false}
  1568. footer={null}
  1569. visible={this.state.previewVisible}
  1570. onCancel={() => {
  1571. this.setState({ previewVisible: false });
  1572. }}
  1573. >
  1574. <img
  1575. alt=""
  1576. style={{ width: "100%" }}
  1577. src={this.state.previewImage || ""}
  1578. />
  1579. </Modal>
  1580. </FormItem>
  1581. </div>
  1582. <div className="clearfix">
  1583. <FormItem
  1584. labelCol={{ span: 3 }}
  1585. wrapperCol={{ span: 16 }}
  1586. label="备注"
  1587. >
  1588. <span>{this.state.taskComment}</span>
  1589. </FormItem>
  1590. </div>
  1591. <div>
  1592. <h3 className="sub-title">项目业务</h3>
  1593. {this.state.processStatus == 0 ? (
  1594. <Button
  1595. type="primary"
  1596. onClick={this.addDetailed}
  1597. style={{
  1598. float: "right",
  1599. marginRight: "50px",
  1600. marginBottom: "15px",
  1601. }}
  1602. >
  1603. 添加项目明细
  1604. </Button>
  1605. ) : (
  1606. ""
  1607. )}
  1608. </div>
  1609. <div className="patent-table">
  1610. <Spin spinning={this.state.loading}>
  1611. <Table
  1612. columns={this.state.columnsX}
  1613. dataSource={this.state.dataSourceX}
  1614. pagination={this.state.paginations}
  1615. onRowClick={this.tableRowClickX}
  1616. bordered
  1617. size="small"
  1618. />
  1619. </Spin>
  1620. </div>
  1621. </div>
  1622. </Spin>
  1623. </Form> : <div/>}
  1624. </TabPane>
  1625. {!this.props.isZxs || (this.state.isHuiyuan && this.props.isZxs) ? (
  1626. <TabPane tab="订单详情" key="2">
  1627. {this.state.activeKey === "2" ? <Spin spinning={this.state.loading}>
  1628. <OrderDetail
  1629. orderData={this.state.orderData}
  1630. getOrderLog={this.getOrderLog}
  1631. dataSourceX={this.state.dataSourceX}
  1632. contactList={this.state.jiedian}
  1633. orderNo={this.state.orderNo}
  1634. totalCui={this.state.totalCui}
  1635. contactListNew={this.state.jiedianNew}
  1636. pictureUrl={this.state.contractPictureUrl}
  1637. />
  1638. </Spin> : <div/>}
  1639. <OrderRiZi
  1640. dataSourcerizhi={this.state.dataSourceY}
  1641. closeOrderLog={this.closeOrderLog}
  1642. visible={this.state.avisible}
  1643. loading={this.state.loading}
  1644. />
  1645. </TabPane>
  1646. ) : (
  1647. ""
  1648. )}
  1649. </Tabs>
  1650. </Modal> : <div/>}
  1651. {this.state.addnextVisible ? <Modal
  1652. maskClosable={false}
  1653. visible={this.state.addnextVisible}
  1654. onOk={this.nextCancel}
  1655. onCancel={this.nextCancel}
  1656. width="900px"
  1657. title="项目任务详情"
  1658. footer=""
  1659. className="admin-desc-content"
  1660. >
  1661. <Form layout="horizontal" onSubmit={this.nextSubmit} id="demand-form">
  1662. <Spin spinning={this.state.loading}>
  1663. <div className="clearfix">
  1664. <FormItem
  1665. className="half-item"
  1666. {...formItemLayout}
  1667. label="项目名称"
  1668. >
  1669. <span>{this.state.commodityName}</span>
  1670. </FormItem>
  1671. <FormItem
  1672. className="half-item"
  1673. {...formItemLayout}
  1674. label="项目数量"
  1675. >
  1676. <span>{this.state.commodityQuantity}</span>
  1677. </FormItem>
  1678. <FormItem
  1679. className="half-item"
  1680. {...formItemLayout}
  1681. label="官费"
  1682. style={{ display: this.state.displayFees }}
  1683. >
  1684. <span>
  1685. {this.state.officialCost == 0 ? "无官费" : "有官费"}
  1686. </span>
  1687. </FormItem>
  1688. <FormItem
  1689. className="half-item"
  1690. {...formItemLayout}
  1691. label="费减"
  1692. style={{ display: this.state.displayFees }}
  1693. >
  1694. <span>
  1695. {this.state.costReduction == 0 ? "无费减" : "有费减"}
  1696. </span>
  1697. </FormItem>
  1698. <FormItem
  1699. className="half-item"
  1700. {...formItemLayout}
  1701. label="金额(万元)"
  1702. >
  1703. <span>{this.state.commodityPrice}</span>
  1704. </FormItem>
  1705. <FormItem
  1706. className="half-item"
  1707. {...formItemLayout}
  1708. label="主要项目"
  1709. >
  1710. <span>{getboutique(this.state.main)}</span>
  1711. </FormItem>
  1712. <div className="clearfix">
  1713. <FormItem
  1714. labelCol={{ span: 4 }}
  1715. wrapperCol={{ span: 16 }}
  1716. label="服务说明"
  1717. >
  1718. <span>{this.state.taskComment}</span>
  1719. </FormItem>
  1720. </div>
  1721. </div>
  1722. </Spin>
  1723. </Form>
  1724. </Modal> : <div/>}
  1725. <Modal
  1726. width="800px"
  1727. title="操作日志"
  1728. footer=""
  1729. className="admin-desc-content"
  1730. >
  1731. <div className="patent-table patent-table-center">
  1732. <Spin spinning={this.state.loading}>
  1733. <Table columns={this.state.columnsY} bordered size="small" />
  1734. </Spin>
  1735. </div>
  1736. </Modal>
  1737. {this.state.speVisible ? <Modal
  1738. maskClosable={false}
  1739. visible={this.state.speVisible}
  1740. onOk={this.visitOk}
  1741. onCancel={this.visitCancel}
  1742. width="900px"
  1743. title=""
  1744. footer=""
  1745. className="admin-desc-content"
  1746. >
  1747. <Tabs activeKey={this.state.activeKey} onChange={this.orderChange}>
  1748. <TabPane tab="项目概况" key="1">
  1749. {this.state.activeKey === "1" ?
  1750. <div>
  1751. <div className="clearfix">
  1752. <FormItem
  1753. className="half-item"
  1754. {...formItemLayout}
  1755. label="当前项目情况"
  1756. >
  1757. <span>{this.state.status ? "暂停" : "开启"}</span>
  1758. <Button
  1759. type="primary"
  1760. size="small"
  1761. style={{ marginTop: "5px", position: "absolute" }}
  1762. onClick={this.caozuorizhi}
  1763. >
  1764. 操作日志
  1765. </Button>
  1766. </FormItem>
  1767. <FormItem
  1768. className="half-item"
  1769. {...formItemLayout}
  1770. label="合同编号"
  1771. >
  1772. <span>{this.state.contractNo}</span>
  1773. </FormItem>
  1774. </div>
  1775. <div className="clearfix">
  1776. <FormItem
  1777. className="half-item"
  1778. {...formItemLayout}
  1779. label="项目状态"
  1780. >
  1781. <span>{getProjectStatus(this.state.projectStatus)}</span>
  1782. </FormItem>
  1783. <FormItem
  1784. className="half-item"
  1785. {...formItemLayout}
  1786. label="是否特批"
  1787. >
  1788. <span>{getApproval(this.state.approval)}</span>
  1789. </FormItem>
  1790. <FormItem
  1791. className="half-item"
  1792. {...formItemLayout}
  1793. label="结算状态"
  1794. >
  1795. <span>
  1796. {getLiquidationStatus(this.state.liquidationStatus)}
  1797. </span>
  1798. </FormItem>
  1799. <FormItem
  1800. className="half-item"
  1801. {...formItemLayout}
  1802. label="流程状态"
  1803. >
  1804. <span>{getProcessStatus(this.state.processStatus)}</span>
  1805. </FormItem>
  1806. <FormItem
  1807. className="half-item"
  1808. {...formItemLayout}
  1809. label="订单编号"
  1810. >
  1811. <span>{this.state.orderNo}</span>
  1812. </FormItem>
  1813. </div>
  1814. <div className="clearfix">
  1815. <FormItem
  1816. className="half-item"
  1817. {...formItemLayout}
  1818. label="满意度表格"
  1819. >
  1820. <span>{utils.getSatisfaction(this.state.formRetrieve)}</span>
  1821. </FormItem>
  1822. <FormItem
  1823. className="half-item"
  1824. {...formItemLayout}
  1825. label="退单"
  1826. >
  1827. <span>{utils.getChargeback(this.state.taskRefund)}</span>
  1828. </FormItem>
  1829. </div>
  1830. <div className="clearfix">
  1831. {
  1832. <FormItem
  1833. className="half-item"
  1834. {...formItemLayout}
  1835. label="(满意度)备注"
  1836. >
  1837. <span>{this.state.retrieveContent}</span>
  1838. </FormItem>
  1839. }
  1840. {
  1841. <FormItem
  1842. className="half-item"
  1843. {...formItemLayout}
  1844. label="(退单)备注"
  1845. >
  1846. <span>{this.state.refundContent}</span>
  1847. </FormItem>
  1848. }
  1849. </div>
  1850. <div className="clearfix">
  1851. <h3 className="sub-title">任务信息</h3>
  1852. <FormItem
  1853. className="half-item"
  1854. {...formItemLayout}
  1855. label="任务编号"
  1856. >
  1857. <span>
  1858. {this.state.splitStatus == 2
  1859. ? this.state.splitSuper + "-" + this.state.splitId
  1860. : this.state.id}
  1861. </span>
  1862. </FormItem>
  1863. <FormItem
  1864. className="half-item"
  1865. {...formItemLayout}
  1866. label="任务名称"
  1867. >
  1868. <span>{this.state.taskName}</span>
  1869. </FormItem>
  1870. <FormItem
  1871. className="half-item"
  1872. {...formItemLayout}
  1873. label="任务状态"
  1874. >
  1875. <span>{getTaskStatus(this.state.taskStatus)}</span>
  1876. </FormItem>
  1877. <FormItem
  1878. className="half-item"
  1879. {...formItemLayout}
  1880. label="任务类别"
  1881. >
  1882. <span>{this.state.cname}</span>
  1883. </FormItem>
  1884. <FormItem
  1885. className="half-item"
  1886. {...formItemLayout}
  1887. label="证书编号"
  1888. >
  1889. <span>{this.state.certificateNumber}</span>
  1890. </FormItem>
  1891. </div>
  1892. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1893. <div className="clearfix">
  1894. <h3 className="sub-title">联系信息</h3>
  1895. <FormItem
  1896. className="half-item"
  1897. {...formItemLayout}
  1898. label="客户名称"
  1899. >
  1900. <span>{this.state.userName}</span>
  1901. </FormItem>
  1902. <FormItem
  1903. className="half-item"
  1904. {...formItemLayout}
  1905. label="企业法人"
  1906. >
  1907. <span>{this.state.legalPerson}</span>
  1908. </FormItem>
  1909. <FormItem
  1910. className="half-item"
  1911. {...formItemLayout}
  1912. label="法人电话"
  1913. >
  1914. <span>{this.state.legalPersonTel}</span>
  1915. </FormItem>
  1916. <FormItem
  1917. className="half-item"
  1918. {...formItemLayout}
  1919. label="客户联系人"
  1920. >
  1921. <span>{this.state.contacts}</span>
  1922. </FormItem>
  1923. <FormItem
  1924. className="half-item"
  1925. {...formItemLayout}
  1926. label="联系人电话"
  1927. >
  1928. <span>{this.state.contactMobile}</span>
  1929. </FormItem>
  1930. <FormItem
  1931. className="half-item"
  1932. {...formItemLayout}
  1933. label="企业地址"
  1934. >
  1935. <span>
  1936. {getprovince(this.state.locationProvince)}/
  1937. {getprovince(this.state.locationCity)}/
  1938. {getprovince(this.state.locationArea)}
  1939. </span>
  1940. </FormItem>
  1941. <FormItem
  1942. className="half-item"
  1943. {...formItemLayout}
  1944. label=""
  1945. />
  1946. <FormItem className="half-item" {...formItemLayout} label="">
  1947. <span style={{ paddingLeft: "12em" }}>
  1948. {this.state.postalAddress}
  1949. </span>
  1950. </FormItem>
  1951. </div>
  1952. {/*<hr style={{border:'1px dashed #aaa', width:"90%",margin:'auto'}}/>*/}
  1953. <div className="clearfix">
  1954. <h3 className="sub-title">订单负责人信息</h3>
  1955. <FormItem
  1956. className="half-item"
  1957. {...formItemLayout}
  1958. label="负责人"
  1959. >
  1960. <span>
  1961. {this.state.salesmanName + "(" + this.state.depName + ")"}
  1962. </span>
  1963. </FormItem>
  1964. <FormItem
  1965. className="half-item"
  1966. {...formItemLayout}
  1967. label="负责人电话"
  1968. >
  1969. <span>{this.state.salesmanMobile}</span>
  1970. </FormItem>
  1971. <FormItem
  1972. className="half-item"
  1973. {...formItemLayout}
  1974. label="财务负责人"
  1975. >
  1976. <span>{this.state.financeName}</span>
  1977. </FormItem>
  1978. <FormItem
  1979. className="half-item"
  1980. {...formItemLayout}
  1981. label="财务负责人电话"
  1982. >
  1983. <span>{this.state.financeMobile}</span>
  1984. </FormItem>
  1985. </div>
  1986. <div className="clearfix" style={{ marginTop: "10px" }}>
  1987. <FormItem
  1988. labelCol={{ span: 3 }}
  1989. wrapperCol={{ span: 18 }}
  1990. label="附件"
  1991. >
  1992. {/*<Upload*/}
  1993. {/* className="demandDetailShow-upload"*/}
  1994. {/* listType="picture-card"*/}
  1995. {/* fileList={this.state.attachmentUrl}*/}
  1996. {/* onPreview={(file) => {*/}
  1997. {/* this.setState({*/}
  1998. {/* previewImage: file.url || file.thumbUrl,*/}
  1999. {/* previewVisible: true,*/}
  2000. {/* });*/}
  2001. {/* }}*/}
  2002. {/*/>*/}
  2003. {this.state.speVisible && this.state.attachmentUrl && this.state.activeKey === "1" ? <div style={{paddingTop:'10px',paddingBottom:'10px'}}>
  2004. <ImgList fileList={this.state.attachmentUrl} domId={'taskQuery1'}/>
  2005. </div> : <div/>}
  2006. <Modal
  2007. maskClosable={false}
  2008. footer={null}
  2009. visible={this.state.previewVisible}
  2010. onCancel={() => {
  2011. this.setState({ previewVisible: false });
  2012. }}
  2013. >
  2014. <img
  2015. alt=""
  2016. style={{ width: "100%" }}
  2017. src={this.state.previewImage || ""}
  2018. />
  2019. </Modal>
  2020. </FormItem>
  2021. </div>
  2022. <div className="clearfix">
  2023. <FormItem
  2024. labelCol={{ span: 3 }}
  2025. wrapperCol={{ span: 16 }}
  2026. label="备注"
  2027. >
  2028. <span>{this.state.taskComment}</span>
  2029. </FormItem>
  2030. </div>
  2031. <div className="clearfix">
  2032. <FormItem
  2033. labelCol={{ span: 3 }}
  2034. wrapperCol={{ span: 16 }}
  2035. label="订单留言"
  2036. >
  2037. <span>{this.state.orderRemarks}</span>
  2038. </FormItem>
  2039. </div>
  2040. <div className="clearfix">
  2041. <FormItem
  2042. labelCol={{ span: 3 }}
  2043. wrapperCol={{ span: 16 }}
  2044. label=""
  2045. >
  2046. <Button
  2047. style={{ marginLeft: 500 }}
  2048. onClick={this.getOrderLog}
  2049. >
  2050. 查看订单日志
  2051. </Button>
  2052. </FormItem>
  2053. </div>
  2054. <OrderRiZi
  2055. dataSourcerizhi={this.state.dataSourceY}
  2056. closeOrderLog={this.closeOrderLog}
  2057. visible={this.state.avisible}
  2058. loading={this.state.loading}
  2059. />
  2060. <div className="clearfix">
  2061. <h3 className="sub-title">项目申报进度</h3>
  2062. <FormItem
  2063. className="half-item"
  2064. {...formItemLayout}
  2065. label="申报批次"
  2066. >
  2067. <span>{this.state.declarationBatch}</span>
  2068. </FormItem>
  2069. <FormItem
  2070. className="half-item"
  2071. {...formItemLayout}
  2072. label="启动时间"
  2073. >
  2074. <span>{this.state.startDate}</span>
  2075. </FormItem>
  2076. <FormItem
  2077. className="half-item"
  2078. {...formItemLayout}
  2079. label="软著派单数量"
  2080. >
  2081. <span>{this.state.commodityQuantity}</span>
  2082. </FormItem>
  2083. <div className="patent-table patent-table-center">
  2084. <Spin spinning={this.state.loading}>
  2085. <Table
  2086. columns={this.state.ContactsLists}
  2087. dataSource={this.state.contactList}
  2088. pagination={false}
  2089. bordered
  2090. size="small"
  2091. />
  2092. </Spin>
  2093. </div>
  2094. </div>
  2095. <div className="clearfix">
  2096. <h3 className="sub-title">项目业务</h3>
  2097. <div className="patent-table">
  2098. <Spin spinning={this.state.loading}>
  2099. <Table
  2100. columns={this.state.columnsX}
  2101. dataSource={this.state.dataSourceX}
  2102. pagination={this.state.paginations}
  2103. onRowClick={this.tableRowClickX}
  2104. bordered
  2105. size="small"
  2106. />
  2107. </Spin>
  2108. </div>
  2109. </div>
  2110. </div>:<div/>}
  2111. </TabPane>
  2112. {!this.props.isZxs || (this.state.isHuiyuan && this.props.isZxs) ? (
  2113. <TabPane tab="订单详情" key="2">
  2114. {this.state.activeKey === "2" ? <Spin spinning={this.state.loading}>
  2115. <OrderDetail
  2116. orderData={this.state.orderData}
  2117. getOrderLog={this.getOrderLog}
  2118. dataSourceX={this.state.dataSourceX}
  2119. contactList={this.state.jiedian}
  2120. orderNo={this.state.orderNo}
  2121. totalCui={this.state.totalCui}
  2122. contactListNew={this.state.jiedianNew}
  2123. pictureUrl={this.state.contractPictureUrl}
  2124. />
  2125. </Spin> : <div/>}
  2126. <OrderRiZi
  2127. dataSourcerizhi={this.state.dataSourceY}
  2128. closeOrderLog={this.closeOrderLog}
  2129. visible={this.state.avisible}
  2130. loading={this.state.loading}
  2131. />
  2132. </TabPane>
  2133. ) : (
  2134. ""
  2135. )}
  2136. </Tabs>
  2137. </Modal> : <div/>}
  2138. <Modal
  2139. width="800px"
  2140. visible={this.state.visibleA}
  2141. onCancel={this.visitCancelA}
  2142. title="操作日志"
  2143. footer=""
  2144. className="admin-desc-content"
  2145. >
  2146. <div className="patent-table patent-table-center">
  2147. <Spin spinning={this.state.loading}>
  2148. <Table
  2149. columns={this.state.columnsA}
  2150. dataSource={this.state.dataSourceA}
  2151. pagination={false}
  2152. bordered
  2153. size="small"
  2154. />
  2155. </Spin>
  2156. </div>
  2157. </Modal>
  2158. {this.state.resVisible ? (
  2159. <ResolutionDetail
  2160. cancel={this.resCancel}
  2161. detail={this.state.resRecord}
  2162. visible={this.state.resVisible}
  2163. id={this.state.resRecord.orderNo}
  2164. />
  2165. ) : (
  2166. ""
  2167. )}
  2168. </div>
  2169. );
  2170. },
  2171. });
  2172. export default Task;