Commit a188bdc8 by zhaochengxiang

接口问题

parent 39ecb8f4
...@@ -57,7 +57,7 @@ export function nextState(payload) { ...@@ -57,7 +57,7 @@ export function nextState(payload) {
} }
export function checkoutService(payload) { export function checkoutService(payload) {
return GetJSON("/pdataservice/pdsCURD/checkOutDataService", payload) return PostJSON("/pdataservice/pdsCURD/checkOutDataService", payload)
} }
export function getCheckoutService(payload) { export function getCheckoutService(payload) {
......
...@@ -790,7 +790,9 @@ const ModelTable = (props) => { ...@@ -790,7 +790,9 @@ const ModelTable = (props) => {
dispatch({ dispatch({
type: 'pds.checkoutService', type: 'pds.checkoutService',
payload: { payload: {
params: {
id: currentItem?.id id: currentItem?.id
}
}, },
callback: () => { callback: () => {
showMessage('success', '检出成功'); showMessage('success', '检出成功');
......
...@@ -346,7 +346,7 @@ const ModelTree = (props) => { ...@@ -346,7 +346,7 @@ const ModelTree = (props) => {
dispatch({ dispatch({
type: 'pds.upDownCatalog', type: 'pds.upDownCatalog',
payload: { payload: {
modelCatalogId: currentRightClickDir.id, pdsDataServiceCatalogId: currentRightClickDir.id,
steps steps
}, },
callback: () => { callback: () => {
......
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