Merge branch '20221011-小优客服代码弃用' of http://gitlab.tianti.tg.unicom.local/eshop/fe_service_ebtp_frontend into release_electronic_bid_evaluation_room
This commit is contained in:
@ -4,7 +4,7 @@ import { getPayandreply, getDetail } from './service';
|
||||
import '@/assets/ld_style.less';
|
||||
import { getProId, getProMethod, getDicData } from '@/utils/session';
|
||||
import FileDown from '@/utils/Download';
|
||||
import { getURLInformation, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { getURLInformation, multipleTypeTransform, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import ProTable from '@ant-design/pro-table';
|
||||
|
||||
@ -235,7 +235,7 @@ const Index: React.FC<{}> = () => {
|
||||
{
|
||||
title: bidSectTypeDict,
|
||||
dataIndex: 'procurementTypeDict',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: bidcontactName,
|
||||
|
@ -3,14 +3,14 @@ import { Button, Tabs, Form, Input, Modal, Checkbox, message, PageHeader, Popcon
|
||||
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 } from '@/utils/session';
|
||||
import { getProMethod, getSessionUserData } 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 { getDictName, getProjectTypeCode, getURLInformation, getUrlParam, getUrlRelativePath, isEmpty, isNotEmpty, multipleTypeTransform, proTableValueEnum, proTableValueEnumOther } from '@/utils/CommonUtils';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import kefu from '@/assets/img/kefu.png' //智慧客服
|
||||
import {submitHiddenForm, createHiddenForm} from '@/utils/CustomerService' //智慧客服
|
||||
import { submitHiddenForm, createHiddenForm } from '@/utils/CustomerService' //智慧客服
|
||||
|
||||
const { TabPane } = Tabs;
|
||||
const { TextArea } = Input;
|
||||
@ -127,7 +127,7 @@ const Index: React.FC<{}> = () => {
|
||||
title: '我要咨询',
|
||||
dataIndex: 'consult',
|
||||
render: (text: any, record: any) => (
|
||||
<span onClick={()=>{saveTmpForm(record); initChatUI()}}><img style={{width:20,height:20, cursor:'pointer'}} src={kefu} alt="" /></span>
|
||||
<span onClick={() => { saveTmpForm(record); initChatUI() }}><img style={{ width: 20, height: 20, cursor: 'pointer' }} src={kefu} alt="" /></span>
|
||||
),
|
||||
},
|
||||
{
|
||||
@ -145,9 +145,9 @@ const Index: React.FC<{}> = () => {
|
||||
{
|
||||
title: '项目分类',
|
||||
dataIndex: 'procurementType',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust']),
|
||||
search: false,
|
||||
width: '5%'
|
||||
width: '5%',
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementType, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: '所属区域',
|
||||
@ -193,7 +193,7 @@ const Index: React.FC<{}> = () => {
|
||||
dataIndex: 'procurementTypeDict',
|
||||
search: false,
|
||||
width: '5%',
|
||||
valueEnum: proTableValueEnum(dictData['procurement_type=entrust'])
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementTypeDict, proTableValueEnum(dictData['procurement_type=entrust'])),
|
||||
},
|
||||
{
|
||||
title: '采购方式',
|
||||
@ -371,7 +371,7 @@ const Index: React.FC<{}> = () => {
|
||||
onOk() {
|
||||
if (checkedList.length > 0) {
|
||||
//quitForm.getFieldValue().checkbox = checkedList 报错——林杰注释
|
||||
quitForm.setFieldsValue({checkbox: checkedList})
|
||||
quitForm.setFieldsValue({ checkbox: checkedList })
|
||||
}
|
||||
quitForm.submit()
|
||||
setCheckAll(false)
|
||||
@ -390,12 +390,12 @@ const Index: React.FC<{}> = () => {
|
||||
|
||||
const submitQuit = (val: any) => { // 确定并进行校验
|
||||
exitProjectPayCheck(checkedList).then((res: any) => {
|
||||
if(res.data && res.data != null){
|
||||
if (res.data && res.data != null) {
|
||||
showConfirm(res.data)
|
||||
} else {
|
||||
if (checkedList.length > 0) {
|
||||
//quitForm.getFieldValue().checkbox = checkedList 报错——林杰注释
|
||||
quitForm.setFieldsValue({checkbox: checkedList})
|
||||
quitForm.setFieldsValue({ checkbox: checkedList })
|
||||
}
|
||||
quitForm.submit()
|
||||
setCheckAll(false)
|
||||
@ -405,98 +405,98 @@ const Index: React.FC<{}> = () => {
|
||||
}
|
||||
})
|
||||
}
|
||||
const saveTmpForm = (record:any)=>{//智慧客服-创建临时表单
|
||||
const saveTmpForm = (record: any) => {//智慧客服-创建临时表单
|
||||
let roleAuthority: any | null = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
label: null,
|
||||
paraName: 'origin',
|
||||
isEncode: false,
|
||||
paraVal: 'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
label: null,
|
||||
paraName: 'organizationId',
|
||||
isEncode: false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:'项目名称',
|
||||
paraName:'projectName',
|
||||
isEncode:true,
|
||||
paraVal:record.projectName,
|
||||
label: '项目名称',
|
||||
paraName: 'projectName',
|
||||
isEncode: true,
|
||||
paraVal: record.projectName,
|
||||
},
|
||||
{
|
||||
label:'项目编号',
|
||||
paraName:'ebpProjectNumber',
|
||||
isEncode:false,
|
||||
paraVal:record.ebpProjectNumber,
|
||||
label: '项目编号',
|
||||
paraName: 'ebpProjectNumber',
|
||||
isEncode: false,
|
||||
paraVal: record.ebpProjectNumber,
|
||||
},
|
||||
{
|
||||
label:'项目流水号',
|
||||
paraName:'projectBizNum',
|
||||
isEncode:false,
|
||||
paraVal:record.projectBizNum,
|
||||
label: '项目流水号',
|
||||
paraName: 'projectBizNum',
|
||||
isEncode: false,
|
||||
paraVal: record.projectBizNum,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:record.tenderAgencyId,
|
||||
label: null,
|
||||
paraName: 'tenderAgencyId',
|
||||
isEncode: false,
|
||||
paraVal: record.tenderAgencyId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
label: null,
|
||||
paraName: 'tenderAgencyName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:'项目状态',
|
||||
paraName:'status',
|
||||
isEncode:false,
|
||||
paraVal:record.status==1?'编辑中':record.status==2?'进行中':record.status==3?'已结束':record.status==9?'废止':'无效状态',
|
||||
label: '项目状态',
|
||||
paraName: 'status',
|
||||
isEncode: false,
|
||||
paraVal: record.status == 1 ? '编辑中' : record.status == 2 ? '进行中' : record.status == 3 ? '已结束' : record.status == 9 ? '废止' : '无效状态',
|
||||
},
|
||||
{
|
||||
label:'采购单位',
|
||||
paraName:'tendereeName',
|
||||
isEncode:true,
|
||||
paraVal:record.tendereeName,
|
||||
label: '采购单位',
|
||||
paraName: 'tendereeName',
|
||||
isEncode: true,
|
||||
paraVal: record.tendereeName,
|
||||
},
|
||||
{
|
||||
label:'实施单位',
|
||||
paraName:'providerName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
label: '实施单位',
|
||||
paraName: 'providerName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:'实施人员',
|
||||
paraName:'ownerContactName',
|
||||
isEncode:true,
|
||||
paraVal:record.appManagerName+'-'+record.appManagerId+'-'+record.appManagerTel
|
||||
label: '实施人员',
|
||||
paraName: 'ownerContactName',
|
||||
isEncode: true,
|
||||
paraVal: record.appManagerName + '-' + record.appManagerId + '-' + record.appManagerTel
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
label: null,
|
||||
paraName: 'roleAuthority',
|
||||
isEncode: false,
|
||||
paraVal: JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'10',
|
||||
label: null,
|
||||
paraName: 'module',
|
||||
isEncode: false,
|
||||
paraVal: '10',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
label: null,
|
||||
paraName: 'custType',
|
||||
isEncode: false,
|
||||
paraVal: '2',
|
||||
},
|
||||
]
|
||||
createHiddenForm(inputList, window.location.pathname)
|
||||
}
|
||||
const initChatUI = ()=>{ //打开客服界面
|
||||
const initChatUI = () => { //打开客服界面
|
||||
submitHiddenForm()
|
||||
}
|
||||
return (
|
||||
|
@ -6,15 +6,15 @@ import { lookingForBussinessResp, participationSave } from '../service';
|
||||
import '@/utils/lq.style.less';
|
||||
import { downloadAttachmentPath } from '@/utils/DownloadUtils';
|
||||
import { getNoticeInfo } from '../../LookingForBusinessOpportunities/service';
|
||||
import { getDicData,getSessionUserData } from '@/utils/session';
|
||||
import { getBidMethodDictTypeCode, getProjectTypeCode, getURLInformation, isNotEmpty, proTableValueEnum, proTableValueEnumOther } from '@/utils/CommonUtils';
|
||||
import { getDicData, getSessionUserData } from '@/utils/session';
|
||||
import { getBidMethodDictTypeCode, getProjectTypeCode, getURLInformation, isNotEmpty, multipleTypeTransform, proTableValueEnum, proTableValueEnumOther } from '@/utils/CommonUtils';
|
||||
import Weboffice from "@/pages/webOffice/weboffice";
|
||||
import { queryingPagingData } from '@/utils/PageUtils';
|
||||
import ExtendUpload from '@/utils/ExtendUpload';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import BraftText from '@/components/richText/wang';
|
||||
import kefu from '@/assets/img/kefu.png' //智慧客服
|
||||
import {windowOpenChatUI} from '@/utils/CustomerService' //智慧客服
|
||||
import { windowOpenChatUI } from '@/utils/CustomerService' //智慧客服
|
||||
|
||||
const { TabPane } = Tabs;
|
||||
const modalHeight = innerHeight * 96 / 100;
|
||||
@ -88,91 +88,91 @@ const LookingForBusinessOpportunitiesList: React.FC = () => {
|
||||
|
||||
//获取当前页是哪种采购方式
|
||||
const proTypeCode = getProjectTypeCode();
|
||||
const initChatUI = (record:any)=>{//智慧客服-创建临时表单
|
||||
const initChatUI = (record: any) => {//智慧客服-创建临时表单
|
||||
let roleAuthority: any | null = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:'项目名称',
|
||||
paraName:'projectName',
|
||||
isEncode:true,
|
||||
paraVal:record.projectName,
|
||||
},
|
||||
{
|
||||
label:'采购方式',
|
||||
paraName:'bidMethodDict',
|
||||
isEncode:true,
|
||||
paraVal:record.bidMethodDict=='procurement_mode_1'?'公开招标':record.bidMethodDict=='procurement_mode_2'?'邀请招标':record.bidMethodDict=='procurement_mode_3'?'公开比选':record.bidMethodDict=='procurement_mode_4'?'公开招募':record.bidMethodDict=='procurement_mode_5'?'竞争性谈判':record.bidMethodDict=='procurement_mode_6'?'单一来源':record.bidMethodDict=='procurement_mode_7'?'公开询价':record.bidMethodDict=='procurement_mode_8'?'竞拍':record.bidMethodDict=='procurement_mode_9'?'单一来源简化流程':'-',
|
||||
},
|
||||
{
|
||||
label:'采购人',
|
||||
paraName:'tendereeOrgName',
|
||||
isEncode:true,
|
||||
paraVal:record.tendereeOrgName,
|
||||
},
|
||||
{
|
||||
label:'代理机构',
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:record.tenderAgencyId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:'项目分类',
|
||||
paraName:'procurementType',
|
||||
isEncode:false,
|
||||
paraVal:record.procurementType=='procurement_type_1'?'货物':record.procurementType=='procurement_type_2'?'工程':record.procurementType=='procurement_type_3'?'服务':record.procurementType=='procurement_type_4'?'其他':'-',
|
||||
},
|
||||
{
|
||||
label:'所属区域',
|
||||
paraName:'regionDictName',
|
||||
isEncode:true,
|
||||
paraVal:record.regionDictName,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'10',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'origin',
|
||||
isEncode: false,
|
||||
paraVal: 'eBid',
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'organizationId',
|
||||
isEncode: false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label: '项目名称',
|
||||
paraName: 'projectName',
|
||||
isEncode: true,
|
||||
paraVal: record.projectName,
|
||||
},
|
||||
{
|
||||
label: '采购方式',
|
||||
paraName: 'bidMethodDict',
|
||||
isEncode: true,
|
||||
paraVal: record.bidMethodDict == 'procurement_mode_1' ? '公开招标' : record.bidMethodDict == 'procurement_mode_2' ? '邀请招标' : record.bidMethodDict == 'procurement_mode_3' ? '公开比选' : record.bidMethodDict == 'procurement_mode_4' ? '公开招募' : record.bidMethodDict == 'procurement_mode_5' ? '竞争性谈判' : record.bidMethodDict == 'procurement_mode_6' ? '单一来源' : record.bidMethodDict == 'procurement_mode_7' ? '公开询价' : record.bidMethodDict == 'procurement_mode_8' ? '竞拍' : record.bidMethodDict == 'procurement_mode_9' ? '单一来源简化流程' : '-',
|
||||
},
|
||||
{
|
||||
label: '采购人',
|
||||
paraName: 'tendereeOrgName',
|
||||
isEncode: true,
|
||||
paraVal: record.tendereeOrgName,
|
||||
},
|
||||
{
|
||||
label: '代理机构',
|
||||
paraName: 'tenderAgencyName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'tenderAgencyId',
|
||||
isEncode: false,
|
||||
paraVal: record.tenderAgencyId,
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'tenderAgencyName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label: '项目分类',
|
||||
paraName: 'procurementType',
|
||||
isEncode: false,
|
||||
paraVal: multipleTypeTransform(record.procurementType, proTableValueEnum(dictData[procurementTypeEntrust])),
|
||||
},
|
||||
{
|
||||
label: '所属区域',
|
||||
paraName: 'regionDictName',
|
||||
isEncode: true,
|
||||
paraVal: record.regionDictName,
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'roleAuthority',
|
||||
isEncode: false,
|
||||
paraVal: JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'module',
|
||||
isEncode: false,
|
||||
paraVal: '10',
|
||||
},
|
||||
{
|
||||
label: null,
|
||||
paraName: 'custType',
|
||||
isEncode: false,
|
||||
paraVal: '2',
|
||||
},
|
||||
]
|
||||
windowOpenChatUI(inputList, window.location.pathname)
|
||||
}
|
||||
}
|
||||
useEffect(() => {
|
||||
setTableLoading(true);
|
||||
lookingForBussinessResp({ procurementMode: proTypeCode }).then((res: any) => {
|
||||
@ -204,7 +204,7 @@ const LookingForBusinessOpportunitiesList: React.FC = () => {
|
||||
title: '我要咨询',
|
||||
dataIndex: 'consult',
|
||||
render: (text: any, record: any) => (
|
||||
<span onClick={()=>{initChatUI(record)}}><img style={{width:20,height:20, cursor:'pointer'}} src={kefu} alt="" /></span>
|
||||
<span onClick={() => { initChatUI(record) }}><img style={{ width: 20, height: 20, cursor: 'pointer' }} src={kefu} alt="" /></span>
|
||||
),
|
||||
},
|
||||
{
|
||||
@ -224,7 +224,7 @@ const LookingForBusinessOpportunitiesList: React.FC = () => {
|
||||
dataIndex: 'procurementType',
|
||||
width: '8%',
|
||||
search: false,
|
||||
valueEnum: proTableValueEnum(dictData[procurementTypeEntrust])
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementType, proTableValueEnum(dictData[procurementTypeEntrust])),
|
||||
},
|
||||
{
|
||||
title: '所属区域',
|
||||
|
@ -11,14 +11,14 @@ import {
|
||||
} from '../service';
|
||||
import '@/utils/lq.style.less';
|
||||
import { downloadAttachmentPath } from '@/utils/DownloadUtils';
|
||||
import { getDicData,getSessionUserData } from '@/utils/session';
|
||||
import { proTableValueEnum, getURLInformation, isNotEmpty, proTableValueEnumOther, getProjectTypeCode, getBidMethodDictTypeCode, getDictName } from '@/utils/CommonUtils';
|
||||
import { getDicData, getSessionUserData } from '@/utils/session';
|
||||
import { proTableValueEnum, getURLInformation, isNotEmpty, proTableValueEnumOther, getProjectTypeCode, getBidMethodDictTypeCode, getDictName, multipleTypeTransform } from '@/utils/CommonUtils';
|
||||
import Weboffice from "@/pages/webOffice/weboffice";
|
||||
import { queryingPagingData } from '@/utils/PageUtils';
|
||||
import ExtendUpload from '@/utils/ExtendUpload';
|
||||
import { btnAuthority } from '@/utils/authority';
|
||||
import kefu from '@/assets/img/kefu.png' //智慧客服
|
||||
import {windowOpenChatUI} from '@/utils/CustomerService' //智慧客服
|
||||
import { windowOpenChatUI } from '@/utils/CustomerService' //智慧客服
|
||||
const { TabPane } = Tabs;
|
||||
|
||||
//标的类型
|
||||
@ -108,93 +108,93 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
}
|
||||
return '标段';
|
||||
}
|
||||
const initChatUI = (record:any)=>{//智慧客服-创建临时表单
|
||||
const initChatUI = (record: any) => {//智慧客服-创建临时表单
|
||||
let roleAuthority: any | null = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
paraName:'origin',
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
label: null,
|
||||
paraName: 'origin',
|
||||
isEncode: false,
|
||||
paraVal: 'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
label: null,
|
||||
paraName: 'organizationId',
|
||||
isEncode: false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:'项目名称',
|
||||
paraName:'projectName',
|
||||
isEncode:true,
|
||||
paraVal:record.projectName,
|
||||
label: '项目名称',
|
||||
paraName: 'projectName',
|
||||
isEncode: true,
|
||||
paraVal: record.projectName,
|
||||
},
|
||||
{
|
||||
label:'项目编号',
|
||||
paraName:'ebpProjectNumber',
|
||||
isEncode:false,
|
||||
paraVal:record.ebpProjectNumber,
|
||||
label: '项目编号',
|
||||
paraName: 'ebpProjectNumber',
|
||||
isEncode: false,
|
||||
paraVal: record.ebpProjectNumber,
|
||||
},
|
||||
{
|
||||
label:'项目流水号',
|
||||
paraName:'projectBizNum',
|
||||
isEncode:false,
|
||||
paraVal:record.projectBizNum,
|
||||
label: '项目流水号',
|
||||
paraName: 'projectBizNum',
|
||||
isEncode: false,
|
||||
paraVal: record.projectBizNum,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyId',
|
||||
isEncode:false,
|
||||
paraVal:record.tenderAgencyId,
|
||||
label: null,
|
||||
paraName: 'tenderAgencyId',
|
||||
isEncode: false,
|
||||
paraVal: record.tenderAgencyId,
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'tenderAgencyName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
label: null,
|
||||
paraName: 'tenderAgencyName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:'项目状态',
|
||||
paraName:'status',
|
||||
isEncode:false,
|
||||
paraVal:record.status==1?'编辑中':record.status==2?'进行中':record.status==3?'已结束':record.status==9?'废止':'无效状态',
|
||||
label: '项目状态',
|
||||
paraName: 'status',
|
||||
isEncode: false,
|
||||
paraVal: record.status == 1 ? '编辑中' : record.status == 2 ? '进行中' : record.status == 3 ? '已结束' : record.status == 9 ? '废止' : '无效状态',
|
||||
},
|
||||
{
|
||||
label:'采购单位',
|
||||
paraName:'tendereeName',
|
||||
isEncode:true,
|
||||
paraVal:record.tendereeName,
|
||||
label: '采购单位',
|
||||
paraName: 'tendereeName',
|
||||
isEncode: true,
|
||||
paraVal: record.tendereeName,
|
||||
},
|
||||
{
|
||||
label:'实施单位',
|
||||
paraName:'providerName',
|
||||
isEncode:true,
|
||||
paraVal:record.tenderAgencyName,
|
||||
label: '实施单位',
|
||||
paraName: 'providerName',
|
||||
isEncode: true,
|
||||
paraVal: record.tenderAgencyName,
|
||||
},
|
||||
{
|
||||
label:'实施人员',
|
||||
paraName:'ownerContactName',
|
||||
isEncode:true,
|
||||
paraVal:record.appManagerName+'-'+record.appManagerId+'-'+record.appManagerTel
|
||||
label: '实施人员',
|
||||
paraName: 'ownerContactName',
|
||||
isEncode: true,
|
||||
paraVal: record.appManagerName + '-' + record.appManagerId + '-' + record.appManagerTel
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'roleAuthority',
|
||||
isEncode:false,
|
||||
paraVal:JSON.parse(roleAuthority)[0],
|
||||
label: null,
|
||||
paraName: 'roleAuthority',
|
||||
isEncode: false,
|
||||
paraVal: JSON.parse(roleAuthority)[0],
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'module',
|
||||
isEncode:false,
|
||||
paraVal:'10',
|
||||
label: null,
|
||||
paraName: 'module',
|
||||
isEncode: false,
|
||||
paraVal: '10',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'custType',
|
||||
isEncode:false,
|
||||
paraVal:'2',
|
||||
label: null,
|
||||
paraName: 'custType',
|
||||
isEncode: false,
|
||||
paraVal: '2',
|
||||
},
|
||||
]
|
||||
windowOpenChatUI(inputList, window.location.pathname)
|
||||
@ -252,7 +252,7 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
title: '我要咨询',
|
||||
dataIndex: 'consult',
|
||||
render: (text: any, record: any) => (
|
||||
<span onClick={()=>{initChatUI(record)}}><img style={{width:20,height:20, cursor:'pointer'}} src={kefu} alt="" /></span>
|
||||
<span onClick={() => { initChatUI(record) }}><img style={{ width: 20, height: 20, cursor: 'pointer' }} src={kefu} alt="" /></span>
|
||||
),
|
||||
},
|
||||
{
|
||||
@ -271,8 +271,8 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
title: '项目分类',
|
||||
dataIndex: 'procurementType',
|
||||
width: '5%',
|
||||
valueEnum: proTableValueEnum(dictData[procurementTypeEntrust]),
|
||||
search: false,
|
||||
render: (_: any, record: any) => multipleTypeTransform(record.procurementType, proTableValueEnum(dictData[procurementTypeEntrust])),
|
||||
},
|
||||
{
|
||||
title: '所属区域',
|
||||
|
@ -7,17 +7,16 @@
|
||||
* @Description: In User Settings Edit
|
||||
* @FilePath: \ebtp-cloud-frontend\src\pages\LookingForBusinessOpportunities\service.ts
|
||||
*/
|
||||
import { isEmpty } from '@/utils/CommonUtils';
|
||||
import request from '@/utils/request';
|
||||
/**
|
||||
* 我要参与 保存
|
||||
*/
|
||||
export async function participationSave(data: any) {
|
||||
/*更改接口地址 /v1/recruit/register/save */
|
||||
return request('/api/biz-service-ebtp-tender/v1/supplier_register/save', {
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
/*更改接口地址 /v1/recruit/register/save */
|
||||
return request('/api/biz-service-ebtp-tender/v1/supplier_register/save', {
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 我要参与 保存 招募用
|
||||
@ -30,32 +29,30 @@ export async function participationSaveOther(data: any) {
|
||||
}
|
||||
/**
|
||||
* 寻找商机
|
||||
* @param procurementType
|
||||
* @param data
|
||||
*/
|
||||
export function lookingForBussiness(data: any) {
|
||||
/*招募 url 2021 02 17*/
|
||||
/*招募 url 2021 02 17*/
|
||||
|
||||
return new Promise<any>((resolve, reject) => {
|
||||
request('/api/biz-service-ebtp-tender/v1/supplier_register/looking_for_bussiness', {
|
||||
method: 'post',
|
||||
data: {
|
||||
...data,
|
||||
procurementMode:data?.bidMethodDict==undefined?data.procurementMode:[data.bidMethodDict],
|
||||
type:data.type
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 200) {
|
||||
resolve({ data: res.data });
|
||||
} else {
|
||||
reject({ data: [] });
|
||||
}
|
||||
})
|
||||
return new Promise<any>((resolve, reject) => {
|
||||
request('/api/biz-service-ebtp-tender/v1/supplier_register/looking_for_bussiness', {
|
||||
method: 'post',
|
||||
data: {
|
||||
...data,
|
||||
procurementMode: data?.bidMethodDict == undefined ? data.procurementMode : [data.bidMethodDict],
|
||||
type: data.type
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 200) {
|
||||
resolve({ data: res.data });
|
||||
} else {
|
||||
reject({ data: [] });
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 寻找商机 招募专用
|
||||
* @param procurementType
|
||||
* @param data
|
||||
*/
|
||||
export function lookingForBussinessOther(data: any) {
|
||||
@ -66,8 +63,8 @@ export function lookingForBussinessOther(data: any) {
|
||||
method: 'post',
|
||||
data: {
|
||||
...data,
|
||||
procurementMode:data?.bidMethodDict==undefined?data.procurementMode:[data.bidMethodDict],
|
||||
type:data.type
|
||||
procurementMode: data?.bidMethodDict == undefined ? data.procurementMode : [data.bidMethodDict],
|
||||
type: data.type
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 200) {
|
||||
@ -83,17 +80,17 @@ export function lookingForBussinessOther(data: any) {
|
||||
* @param ids
|
||||
*/
|
||||
export async function getNoticeInfo(ids: any) {
|
||||
return new Promise<any>((resolve, reject) => {
|
||||
request('/api/biz-service-ebtp-bid/v1/anno/getByIds', {
|
||||
method: 'post',
|
||||
data: ids
|
||||
}).then(res => {
|
||||
if (res.data !== null && res.data !== void 0) {
|
||||
resolve({ data: res.data });
|
||||
} else {
|
||||
reject({ data: [] });
|
||||
}
|
||||
})
|
||||
return new Promise<any>((resolve, reject) => {
|
||||
request('/api/biz-service-ebtp-bid/v1/anno/getByIds', {
|
||||
method: 'post',
|
||||
data: ids
|
||||
}).then(res => {
|
||||
if (res.data !== null && res.data !== void 0) {
|
||||
resolve({ data: res.data });
|
||||
} else {
|
||||
reject({ data: [] });
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user