From 2bb91c7f766c18e39c918f0364b7f8b73a0a99cb Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 Jul 2022 10:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=A0=E5=8F=82sceneUrl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/kefu.png | Bin 0 -> 1608 bytes src/components/Promenu/index.tsx | 32 ++++++++++-------- src/pages/Tender/ProjectsInvolved/index.tsx | 25 +++++++------- .../LookingForBusinessOpportunitiesList.tsx | 14 ++++---- 4 files changed, 35 insertions(+), 36 deletions(-) create mode 100644 src/assets/img/kefu.png diff --git a/src/assets/img/kefu.png b/src/assets/img/kefu.png new file mode 100644 index 0000000000000000000000000000000000000000..4bd2a8ff7bba8c8b8e2187841439904629af0c8e GIT binary patch literal 1608 zcmV-O2DkZ%P)Px#1ZP1_K>z@;j|==^1poj5Gf+%aMF0Q*&p<%WNJ!O1Mbk(~(ndzoNJ!B~N6|(` z)JI3uM@Q2~N7F|~(?>_tM@Q2~N7F|~mu+dX0000GbW%=J01zNBKu}%xKL7v)f=NU{RA@u3n%TmvAP9her+sza|7ni` zDkzmU=ewG+L>579{^~H@FfIFWoEA9GeOu?Tr`F#w{j?qSt8;Gi?~=^0UiF{YMtb@c zeT4+%tsFBR)I$}=3o&Lq>21O~UoX=%0@FONd-lNBwuA^T*%HmZM^yUYzbc3NaXS`@|M`ECN z;o`&#$pB3|8jC`p719OWqD2@gf{%UP$q0TygDJj8MKD!Un7x2(gn6S>1>%)P!pcc2 z7*qy+AMl%j8sa0U)JxF$s0z!m0L~Hc$a`aX&=WXjiqr_W9rdFm`4;RMW@P62F14GN zkrl9DB%CYKUYLI2Ua5#}OE3_j=z3X-A-2F;iXtZ^ib^cZXBe1FU~mgcO{i{+Bh~LJ zVEix*gj3KZ5Peh+IBq;mSs%K_dBC$|aubS^I1Ssv+ILhs1DBE=62Y{EScLVVKH!YHa-pEtcL!1G)Pw0P5N zQ3Tcks>{B&5{6e;UW9b!v!l|Bm{64y#w&oGrWi&~xDjhpn@VaRE#L2OePIlzw|lsD z4fsP)t~iIVuy(c|=1q+UXL=NZ<;8=2JM)#+z(kZYlJBtEW}7;X4;J{5N-+9p-;2E_ zA4vx46C-bua;)nNencU0V^MOuJa=+fhf0 zG9R;yE$sV32wbp|+;^EGVQ<;tB$N<_O?CM`_@QnYBx1WibmzT40eu99l9txF?X;nE^b zZe1Et%G05(J&Od=f)ZSd>Zq&oQGvE%cRp71`@t!SOT6`!Ey3fN>ow(y9gp-BDQ}h# zK)H90ho+^DZw;3BB#z04dEI~z92HA04K&J$eQnFAr;3v6stzq%asw_PXE?0XF4(G)Zn1GS+iwAz^{y zW6Nzim9pl^MjXz>t8)b@9<4i!^IUuemf`&&_3H~>NONL+pA~PZNJz4EUPnTQVr|H! zSeZHE_ngZexki}x@%xS^ZpCf3)r&G3(`tAvmIGv%=4I-$0E#l`yGS*$l092Fo&yNA zt4Q_oAt>WFqw~f3BT2clLOL>eBZEu1J~l{S)idW+lcZeK$v&l>w=x_oM{dOwU?SpS z&?|TmIc7Fm@ok%Z^L~Xqr`p{l>AHSgm;@)iX`ZVnD{_Hdelb;`yQ?a150gp;VKdJD zyQLEBn3l2swDD6geyhvb`JXWUA8!2!hr0IMm$6>L-`_t46BiUQFz!JB0000 = () => { setAnchorEl(null); }; const initChatUI = () => { //智慧客服 - var pathname = window.location.pathname - var consultType = pathname.substring(pathname.lastIndexOf('/')+1) - var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement - if(tempForm){ - var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement - if(hideInput){ - hideInput.value= consultType - }else{ - hideInput = document.createElement("input") - hideInput.id = 'tempInput_CustomerService' - hideInput.type="hidden" - hideInput.name= 'consultType' - hideInput.value= consultType - tempForm.appendChild(hideInput) + if(MethodDict!='procurement_mode_6' && MethodDict!='procurement_mode_7' && window.location.pathname.indexOf('BidEvaluation')!=-1){ + message.warn('非谈判类项目【评标】阶段禁止沟通') + }else{ + var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement + if(tempForm){ + var hideInput = document.getElementById('tempInput_CustomerService') as HTMLInputElement + if(hideInput){ + hideInput.value= window.location.pathname + }else{ + hideInput = document.createElement("input") + hideInput.id = 'tempInput_CustomerService' + hideInput.type="hidden" + hideInput.name= 'sceneUrl' + hideInput.value= window.location.pathname + tempForm.appendChild(hideInput) + } + tempForm.submit(); } - tempForm.submit(); } } return ( diff --git a/src/pages/Tender/ProjectsInvolved/index.tsx b/src/pages/Tender/ProjectsInvolved/index.tsx index 28450dd..5dd6a87 100644 --- a/src/pages/Tender/ProjectsInvolved/index.tsx +++ b/src/pages/Tender/ProjectsInvolved/index.tsx @@ -1,17 +1,15 @@ -import React, { useState, useRef, useEffect } from 'react'; -import { Button, Tabs, Form, Input, Modal, Space, Checkbox, message, PageHeader, Popconfirm, Progress, Tag, Spin } from 'antd'; +import React, { useState, useRef, } from 'react'; +import { Button, Tabs, Form, Input, Modal, Checkbox, message, PageHeader, Popconfirm, Progress, Spin } from 'antd'; import ProTable, { ActionType, ProColumns } from '@ant-design/pro-table'; import { getSection, exitProject, getProject, getOther, supplierRegister, exitProjectPayCheck } from './service'; import { getSupplierUser } from '@/utils/SupplierList/service' -import { getProMethod, getSessionUserData, getRA } from '@/utils/session'; +import { getProMethod, } from '@/utils/session'; import '@/assets/ld_style.less'; import { history } from 'umi'; import { followUpAProjectSupplier, getDicData } from '@/utils/session'; import { getDictName, getProjectTypeCode, getURLInformation, getUrlParam, getUrlRelativePath, isEmpty, isNotEmpty, proTableValueEnum, proTableValueEnumOther } from '@/utils/CommonUtils'; import { btnAuthority } from '@/utils/authority'; -import ProList from '@ant-design/pro-list'; -import { MessageOutlined } from '@ant-design/icons'; -import CreateForm from '@/pages/ListTableList/components/CreateForm'; +import kefu from '@/assets/img/kefu.png' //智慧客服 const { TabPane } = Tabs; const { TextArea } = Input; @@ -128,7 +126,7 @@ const Index: React.FC<{}> = () => { title: '我要咨询', dataIndex: 'consult', render: (text: any, record: any) => ( -