|
|
@@ -77,12 +77,14 @@ const Detail = props => {
|
|
|
zIndex: 1002,
|
|
|
title: '确认移除',
|
|
|
onOk: async () => {
|
|
|
- await apiRoadPricingUnLinkClient(actionPayload, {
|
|
|
+ const { code = -1 } = await apiRoadPricingUnLinkClient({
|
|
|
id: dataId,
|
|
|
clientId,
|
|
|
- projectPype: projectType
|
|
|
+ projectType
|
|
|
})
|
|
|
- refreshClient()
|
|
|
+ if (code === consts.RET_CODE.SUCCESS) {
|
|
|
+ refreshClient()
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
@@ -101,7 +103,8 @@ const Detail = props => {
|
|
|
md={{ span: 24 }}
|
|
|
lg={{ span: 9 }}
|
|
|
xl={{ span: 9 }}
|
|
|
- className="sheet-box-left">
|
|
|
+ className="sheet-box-left"
|
|
|
+ >
|
|
|
<div className="sheet-left-panel pr-4">
|
|
|
<Form cloudUser={state.cloudUser} updateKey={updateKey} projectType={projectType} />
|
|
|
{state.cloudUser.cld?.clientId ? (
|
|
|
@@ -134,7 +137,8 @@ const Detail = props => {
|
|
|
lg={{ span: 15 }}
|
|
|
xl={{ span: 15 }}
|
|
|
flex={{ flexDirection: 'column' }}
|
|
|
- className="sheet-box-right">
|
|
|
+ className="sheet-box-right"
|
|
|
+ >
|
|
|
<TabList
|
|
|
compilationList={state.compilationList}
|
|
|
cloudUser={state.cloudUser}
|