From f34a955e30dc5a9c2b50933c941558d45ec1a1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E6=97=AD=E4=B9=8B?= <12930972+jiang-xuzhi@user.noreply.gitee.com> Date: Tue, 8 Aug 2023 16:01:04 +0800 Subject: [PATCH] update --- .../jis-bbac/input/bbac_se_detail_service.js | 4 ++ .../jis-hbpo/input/hbpo_se_detail_service.js | 4 ++ .../wwwroot/router/business.js | 37 ++++++++++++------- 3 files changed, 31 insertions(+), 14 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_se_detail_service.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_se_detail_service.js index 72f94f53..192746e9 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_se_detail_service.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-bbac/input/bbac_se_detail_service.js @@ -114,10 +114,12 @@ const queryUrl = "settleaccount/bbac_se_detail_service/get-list"; // const deleteUrl = `${baseUrl}/delete-list`; // const importUrl = `${baseUrl}/import`; const exportUrl = "settleaccount/bbac_se_detail_service/export"; +const invokeUrl = "settleaccount/bbacse-sync/invoke"; const queryMethod = "POST"; // const deleteMethod = "POST"; // const importMethod = "POST"; const exportMethod = "POST"; +const invokeMethod = "POST"; export default function () { return { @@ -181,9 +183,11 @@ export default function () { // deleteUrl, // importUrl, exportUrl, + invokeUrl, // deleteMethod, // importMethod, exportMethod, + invokeMethod, schema: schema, }, }; diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_se_detail_service.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_se_detail_service.js index 88e96b96..0745d238 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_se_detail_service.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/models/jis-hbpo/input/hbpo_se_detail_service.js @@ -115,8 +115,10 @@ const schema = { const baseUrl = "settleaccount/hbpo_se_detail_service"; const queryUrl = `${baseUrl}/get-list`; const exportUrl = `${baseUrl}/export`; +const invokeUrl = "settleaccount/hbpose-sync/invoke"; const queryMethod = "POST"; const exportMethod = "POST"; +const invokeMethod = "POST"; export default function () { return { @@ -178,7 +180,9 @@ export default function () { }, edit: { exportUrl, + invokeUrl, exportMethod, + invokeMethod, schema: schema, }, }; diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js index acfe90da..90ce8c03 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/business.js @@ -32,6 +32,15 @@ export default [ isTop: true, }, }, + { + path: "import", + meta: { + type: "button", + title: "导入", + icon: "file", + isTop: true, + }, + }, { path: "delete", meta: { @@ -201,7 +210,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -257,7 +265,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -543,6 +550,15 @@ export default [ isTop: true, }, }, + { + path: "import", + meta: { + type: "button", + title: "导入", + icon: "file", + isTop: true, + }, + }, { path: "delete", meta: { @@ -712,7 +728,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -768,7 +783,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -1263,7 +1277,7 @@ export default [ type: "page", title: "BBAC发运与结算比对", icon: "file", - businessType: "ZhiGongJianBBAC", + // businessType: "ZhiGongJianBBAC", }, children: [ { @@ -1309,7 +1323,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -1320,7 +1333,7 @@ export default [ type: "page", title: "HBPO发运与结算比对", icon: "file", - businessType: "ZhiGongJianHBPO", + // businessType: "ZhiGongJianHBPO", }, children: [ { @@ -1366,7 +1379,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -1736,7 +1748,7 @@ export default [ type: "page", title: "发运与结算比对", icon: "file", - businessType: "BeiJian", + // businessType: "BeiJian", }, children: [ { @@ -1782,7 +1794,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -2152,7 +2163,7 @@ export default [ type: "page", title: "发运与结算比对", icon: "file", - businessType: "YinDuJian", + // businessType: "YinDuJian", }, children: [ { @@ -2198,7 +2209,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ], @@ -2579,7 +2589,7 @@ export default [ type: "page", title: "发运与结算比对", icon: "file", - businessType: "MaiDanJianHBPO", + // businessType: "MaiDanJianHBPO", }, children: [ { @@ -2625,7 +2635,6 @@ export default [ title: "下载", icon: "file", pattern: "paged", - isHidden: true, }, }, ],