传递organizationId
This commit is contained in:
@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
||||
import { queryingPagingData } from '@/utils/PageUtils';
|
||||
import { getDictNameByVal, getProjectTypeCode, getURLInformation, getUrlParam, getUrlRelativePath, isEmpty, isNotEmpty, proTableValueEnumOther } from '@/utils/CommonUtils';
|
||||
import { useHistory } from 'umi';
|
||||
import { followUpAProjectManager, getDicData, projectDataItem } from '@/utils/session';
|
||||
import { followUpAProjectManager, getDicData, projectDataItem, getSessionUserData } from '@/utils/session';
|
||||
import ExceptionHandling from './ExceptionHandling/ExceptionHandling';
|
||||
import { Button, Card, Col, Popover, Progress, Row, Tag, message } from 'antd';
|
||||
import ProList from '@ant-design/pro-list';
|
||||
@ -279,6 +279,7 @@ const ProjectDocumentation: React.FC = () => {
|
||||
*/
|
||||
const saveTmpForm = (record:any)=>{//智慧客服-创建临时表单
|
||||
let roleAuthority: any | null = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
@ -286,6 +287,12 @@ const ProjectDocumentation: React.FC = () => {
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:'项目名称',
|
||||
paraName:'projectName',
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
import { getURLInformation, getUrlParam, getUrlRelativePath, isEmpty, isNotEmpty, proTableValueEnum } from '@/utils/CommonUtils';
|
||||
import { queryingPagingData } from '@/utils/PageUtils';
|
||||
import { followUpAProjectManager, getDicData, setPurchaseCanOperate } from '@/utils/session';
|
||||
import { followUpAProjectManager, getDicData, setPurchaseCanOperate, getSessionUserData } from '@/utils/session';
|
||||
import ProTable, { ProColumns } from '@ant-design/pro-table';
|
||||
import { Button, Card, PageHeader } from 'antd';
|
||||
import React, { useState } from 'react';
|
||||
@ -108,6 +108,7 @@ const PurchasingManagerEnquiries: React.FC = () => {
|
||||
];
|
||||
const saveTmpForm = (record:any)=>{//智慧客服-创建临时表单
|
||||
let roleAuthority: any | null = sessionStorage.getItem('roleAuthority');
|
||||
let data = getSessionUserData();
|
||||
const inputList = [
|
||||
{
|
||||
label:null,
|
||||
@ -115,6 +116,12 @@ const PurchasingManagerEnquiries: React.FC = () => {
|
||||
isEncode:false,
|
||||
paraVal:'eBid',
|
||||
},
|
||||
{
|
||||
label:null,
|
||||
paraName:'organizationId',
|
||||
isEncode:false,
|
||||
paraVal: data.organizationId,
|
||||
},
|
||||
{
|
||||
label:'项目名称',
|
||||
paraName:'projectName',
|
||||
|
Reference in New Issue
Block a user