Commit b1d3c4af authored by 卢均锐's avatar 卢均锐

fix: 采购竞价&在线竞价相关的列表查看按钮权限

parent f2b393f3
# btnCode 是pass 平台配置唯一表示
# btnCode 是pass 平台配置唯一表示
......@@ -545,6 +545,7 @@
readyAdd.edit 待新增采购竞价单-编辑 待新增采购竞价单-编辑-按钮
readyAdd.del 待新增采购竞价单-删除 待新增采购竞价单-删除-按钮
readyAdd.more 待新增采购竞价单-更多 待新增采购竞价单-更多-按钮
purchaseBidreadyAdd.see 待新增采购竞价单-查看 待新增采购竞价单-查看-按钮
9.3.1 待新增商城采购竞价单
readyAddShop.add 待新增采购竞价单-新曾 待新增采购竞价单-新曾-按钮
readyAddShop.batchshenhe 待新增采购竞价单-批量审核 待新增采购竞价单-批量审核-按钮
......@@ -553,36 +554,48 @@
readyAddShop.edit 待新增采购竞价单-编辑 待新增采购竞价单-编辑-按钮
readyAddShop.del 待新增采购竞价单-删除 待新增采购竞价单-删除-按钮
readyAddShop.more 待新增采购竞价单-更多 待新增采购竞价单-更多-按钮
purchaseBidreadyAddShop.see 待新增采购竞价单-查看 待新增采购竞价单-查看-按钮
9.4 待审核采购竞价单一级
readyExamineOne.shenhe 待审核采购竞价单一级-审核 待审核采购竞价单一级-审核-按钮
readyExamineOne.batchshenhe 待审核采购竞价单一级-批量审核 待审核采购竞价单一级-批量审核-按钮
purchaseBidreadyExamineOne.see 待审核采购竞价单一级-查看 待审核采购竞价单一级-查看-按钮
9.5 待审核采购竞价单(二级)
readyExamineTwo.batchshenhe 待审核采购竞价单(二级)-批量审核 待审核采购竞价单(二级)-批量审核-按钮
readyExamineTwo.shenhe 待审核采购竞价单(二级)-审核 待审核采购竞价单(二级)-审核-按钮
purchaseBidreadyExamineTwo.see 待审核采购竞价单(二级)-查看 待审核采购竞价单(二级)-查看-按钮
9.6 待提交采购竞价单
readySubmit.shenhe 待提交采购竞价单-审核 待提交采购竞价单-审核-按钮
readySubmit.batchshenhe 待提交采购竞价单-批量审核 待提交采购竞价单-批量审核-按钮
purchaseBidreadySubmit.see 待提交采购竞价单-查看 待提交采购竞价单-查看-按钮
9.7 待审核竞价报名
readyExamineSignUp.shenhe 待审核竞价报名-审核 待审核竞价报名-审核-按钮
purchaseBidreadyExamineSignUp.see 待审核竞价报名-查看 待审核竞价报名-查看-按钮
9.8 待竞价-竞价管理
readyBid.manage 待竞价-竞价管理 待竞价-竞价管理-按钮
purchaseBidreadyBid.see 待竞价-查看 待竞价-查看-按钮
9.9 待提交审核竞价结果
readySubmitExamineResult.shenhe 待提交审核竞价结果-提交审核 待提交审核竞价结果-提交审核-按钮
purchaseBidreadySubmitExamineResult.see 待提交审核竞价结果-查看 待提交审核竞价结果-查看-按钮
9.10 待审核竞价结果(一级)
readyExamineResultOne.shenhe 待审核竞价结果(一级)-提交审核 待审核竞价结果(一级)-提交审核-按钮
readyExamineResultOne.batchshenhe 待审核竞价结果(一级)-批量审核 待审核竞价结果(一级)-批量审核-按钮
purchaseBidreadyExamineResultOne.see 待审核竞价结果(一级)-查看 待审核竞价结果(一级)-查看-按钮
9.11 待审核竞价结果(二级)
readyExamineResultTwo.batchshenhe 待审核竞价结果(二级)-批量审核 待审核竞价结果(二级)-批量审核-按钮
readyExamineResultTwo.shenhe 待审核竞价结果(二级)-审核 待审核竞价结果(二级)-审核-按钮
purchaseBidreadyExamineResultTwo.see 待审核竞价结果(二级)-查看 待审核竞价结果(二级)-查看-按钮
9.12 待确认竞价结果
readyConfirm.Confirm 待确认竞价结果-确认 待确认竞价结果-确认-按钮
purchaseBidreadyConfirm.see 待确认竞价结果-查看 待确认竞价结果-查看-按钮
- 10 在线竞价
10.1 采购竞价单查询
onlineBid.see 采购竞价单查询-查看 采购竞价单查询-查看-按钮
10.2 待竞价报名
readySignUp.baoming 待竞价报名-报名 待竞价报名-报名-按钮
onlineBidreadySignUp.see 待竞价报名-查看 待竞价报名-查看-按钮
10.3 待竞价
readyBid.startStill 待竞价-开始竞价 待竞价-开始竞价-按钮
onlineBidreadyBid.see 待竞价-查看 待竞价-查看-按钮
- 11 采购请购单
- 12 请购单转采购订单
......
......@@ -20,6 +20,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseOnlineBiddingStayBiddingList } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -38,6 +39,7 @@ const ReadyBid = () => {
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview
type={AuthUrl('onlineBidreadyBid.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/onlineBid/readyBid/detail?id=${record.id}&number=${record.biddingNo}`}>{text}</EyePreview>
<Text type="secondary">{record.details}</Text>
</Space>
......
......@@ -19,6 +19,7 @@ import {
BID_INTERNALSTATE_COLOR
} from '../../constants/purchaseBid';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -37,6 +38,7 @@ const ReadySignUp = () => {
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview
type={AuthUrl('onlineBidreadySignUp.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/onlineBid/readySignUp/detail?id=${record.id}&number=${record.biddingNo}`}>{text}</EyePreview>
<Text type="secondary">{record.details}</Text>
</Space>
......
......@@ -35,7 +35,7 @@ const Search = () => {
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview
// type={AuthUrl('onlineBid.see') ? 'link' : 'button'}
type={AuthUrl('onlineBid.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/onlineBid/search/detail?id=${record.id}&number=${record.biddingNo}`}>{text}</EyePreview>
<Text type="secondary">{record.details}</Text>
</Space>
......
......@@ -46,7 +46,9 @@ const ReadyAdd = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/${isShop ? 'readyAddShop' : 'readyAdd'}/detail?id=${record.id}&number=${text}&button=${record.button}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl(isShop ? 'purchaseBidreadyAddShop.see' : 'purchaseBidreadyAdd.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/${isShop ? 'readyAddShop' : 'readyAdd'}/detail?id=${record.id}&number=${text}&button=${record.button}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -6,6 +6,7 @@ import { PlayCircleOutlined, PoweroffOutlined } from '@ant-design/icons';
import EyePreview from '@/components/EyePreview';
import StatusTag from '@/components/StatusTag';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
import { getPurchaseBiddingStayBiddingList } from '@/services/PurchaseV2Api';
import { formatTimeString } from '@/utils'
......@@ -36,7 +37,9 @@ const ReadyBid = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyBid/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyBid.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyBid/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
PurchaseBidButtons
} from '../../constants/purchaseBid';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -41,7 +42,9 @@ const ReadyConfirm = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyConfirm/detail?id=${record.id}&number=${text}&memberName=${record.memberName}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyConfirm.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyConfirm/detail?id=${record.id}&number=${text}&memberName=${record.memberName}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
PurchaseBidButtons
} from '../../constants/purchaseBid';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -36,7 +37,9 @@ const ReadyExamineOne = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyExamineOne/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyExamineOne.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyExamineOne/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStaySubmitBiddingList1, postPurchaseBiddingSubmitBidding1, postPurchaseBiddingSubmitBidding1Batch } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -35,7 +36,9 @@ const ReadyExamineResultOne = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyExamineResultOne/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyExamineResultOne.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyExamineResultOne/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStaySubmitBiddingList2, postPurchaseBiddingSubmitBidding2, postPurchaseBiddingSubmitBidding2Batch } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -35,7 +36,9 @@ const ReadyExamineResultTwo = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyExamineResultTwo/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyExamineResultTwo.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyExamineResultTwo/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStayExaminBiddingList, postPurchaseBiddingExaminBiddingSignup } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -40,7 +41,9 @@ const ReadyExamineSignUp = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyExamineSignUp/detail?id=${record.biddingId}&number=${text}&signUpId=${record.id}&createMemberId=${record.createMemberId}&createMemberRoleId=${record.createMemberRoleId}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyExamineSignUp.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyExamineSignUp/detail?id=${record.biddingId}&number=${text}&signUpId=${record.id}&createMemberId=${record.createMemberId}&createMemberRoleId=${record.createMemberRoleId}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStayExamineList2, postPurchaseBiddingExamine2, postPurchaseBiddingExamine2Batch } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -36,7 +37,9 @@ const ReadyExamineTwo = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readyExamineTwo/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadyExamineTwo.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readyExamineTwo/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -19,6 +19,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStaySubmitList, postPurchaseBiddingSubmit, postPurchaseBiddingSubmitBatch } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -36,7 +37,9 @@ const ReadySubmit = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readySubmit/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadySubmit.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readySubmit/detail?id=${record.id}&number=${text}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -20,6 +20,7 @@ import {
} from '../../constants/purchaseBid';
import { getPurchaseBiddingStaySubmitBiddingList, postPurchaseBiddingSubmitExamineBiddingReturn, postPurchaseBiddingUpdateBiddingReturn } from '@/services/PurchaseV2Api';
import AuthButton from '@/components/AuthButton';
import { AuthUrl } from '@/components/AuthButton/AuthUrl';
const { Text } = Typography;
......@@ -37,7 +38,9 @@ const ReadySubmitExamineResult = () => {
dataIndex: 'biddingNo',
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview url={`/memberCenter/procurementAbility/purchaseBid/readySubmitExamineResult/detail?id=${record.id}&number=${text}&button=${record.button}`}>{text}</EyePreview>
<EyePreview
type={AuthUrl('purchaseBidreadySubmitExamineResult.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/readySubmitExamineResult/detail?id=${record.id}&number=${text}&button=${record.button}`}>{text}</EyePreview>
<Text type='secondary'>{record.details}</Text>
</Space>
)
......
......@@ -40,7 +40,7 @@ const Search = () => {
render: (text: any, record: any) => (
<Space direction='vertical' style={{ width: 300 }}>
<EyePreview
// type={AuthUrl('purchaseBid.see') ? 'link' : 'button'}
type={AuthUrl('purchaseBid.see') ? 'link' : 'button'}
url={`/memberCenter/procurementAbility/purchaseBid/search/detail?id=${record.id}&number=${record.biddingNo}`}>{text}</EyePreview>
<Text type="secondary">{record.details}</Text>
</Space>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment