From e8726290a709129a4d3594df35ae1ff01f0972f2 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Fri, 3 Nov 2023 14:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9wenti?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modular/main/BookingLedger.js | 78 +++++++++-------- src/views/main/BookingLedger/list/index.vue | 95 ++++++++++++++++----- src/views/system/user/index.vue | 95 +++++++++++++-------- 3 files changed, 178 insertions(+), 90 deletions(-) diff --git a/src/api/modular/main/BookingLedger.js b/src/api/modular/main/BookingLedger.js index edcd6d3..7c591c2 100644 --- a/src/api/modular/main/BookingLedger.js +++ b/src/api/modular/main/BookingLedger.js @@ -101,7 +101,7 @@ export function BookingTemplate(parameter) { * @params Type : 10, 20, 30, 40 * @params SearchValue */ -export function GetTemplateShare (parameter) { +export function GetTemplateShare(parameter) { return axios({ url: '/BookingTemplate/GetTemplateShare', method: 'get', @@ -910,7 +910,7 @@ export function checkUpdateManifestNo(parameter) { }) } -export function singleBCFileRead (parameter, query) { +export function singleBCFileRead(parameter, query) { return axios({ url: '/BookingValueAdded/SingleBCFileRead', method: 'post', @@ -918,7 +918,7 @@ export function singleBCFileRead (parameter, query) { }) } -export function singleBCFilSingleBCUpdateBookingOrdereRead (parameter) { +export function singleBCFilSingleBCUpdateBookingOrdereRead(parameter) { return axios({ url: '/BookingValueAdded/SingleBCUpdateBookingOrder', method: 'post', @@ -926,14 +926,14 @@ export function singleBCFilSingleBCUpdateBookingOrdereRead (parameter) { }) } -export function sysOrgTreeList () { +export function sysOrgTreeList() { return axios({ url: '/sysOrg/treeList', method: 'get' }) } -export function refreshSailingDate (parameter) { +export function refreshSailingDate(parameter) { return axios({ url: '/BookingOrder/RefreshSailingDate', method: 'post', @@ -941,7 +941,7 @@ export function refreshSailingDate (parameter) { }) } -export function PageDataByBooking (parameter) { +export function PageDataByBooking(parameter) { return axios({ url: '/BookingOrder/PageData', method: 'post', @@ -949,21 +949,21 @@ export function PageDataByBooking (parameter) { }) } -export function RefreshBillTrace (parameter) { +export function RefreshBillTrace(parameter) { return axios({ url: '/BookingYunZong/RefreshYunZong?' + parameter, method: 'post' }) } -export function GetToDoBCList (parameter) { +export function GetToDoBCList(parameter) { return axios({ url: '/TaskManageBC/GetToDoBCList', method: 'get' }) } -export function BatchBCUpdate (parameter) { +export function BatchBCUpdate(parameter) { return axios({ url: '/BookingValueAdded/BatchBCUpdate', method: 'post', @@ -971,7 +971,7 @@ export function BatchBCUpdate (parameter) { }) } -export function QuervBookingOrderList (parameter) { +export function QuervBookingOrderList(parameter) { return axios({ url: '/TaskManageBC/QueryBookingOrderList', method: 'post', @@ -979,7 +979,7 @@ export function QuervBookingOrderList (parameter) { }) } -export function GetRuleOpinionLog (parameter) { +export function GetRuleOpinionLog(parameter) { return axios({ url: '/BookingValueAdded/GetRuleOpinionLog', method: 'post', @@ -987,7 +987,7 @@ export function GetRuleOpinionLog (parameter) { }) } -export function SubmitRule0pinion (parameter) { +export function SubmitRule0pinion(parameter) { return axios({ url: '/BookingValueAdded/SubmitRuleOpinion', method: 'post', @@ -995,7 +995,7 @@ export function SubmitRule0pinion (parameter) { }) } -export function BookingCustomerOrderPage (parameter) { +export function BookingCustomerOrderPage(parameter) { return axios({ url: '/BookingCustomerOrder/PageData', method: 'post', @@ -1003,7 +1003,7 @@ export function BookingCustomerOrderPage (parameter) { }) } -export function BookingCustomerOrderSave (parameter) { +export function BookingCustomerOrderSave(parameter) { return axios({ url: '/BookingCustomerOrder/Save', method: 'post', @@ -1011,7 +1011,7 @@ export function BookingCustomerOrderSave (parameter) { }) } -export function BookingCustomerOrderGet (parameter) { +export function BookingCustomerOrderGet(parameter) { return axios({ url: '/BookingCustomerOrder/Get', method: 'post', @@ -1019,7 +1019,7 @@ export function BookingCustomerOrderGet (parameter) { }) } -export function BookingCustomerOrderDelete (parameter) { +export function BookingCustomerOrderDelete(parameter) { return axios({ url: 'BookingCustomerOrder/Delete', method: 'post', @@ -1027,7 +1027,7 @@ export function BookingCustomerOrderDelete (parameter) { }) } -export function BookingCustomerOrderSubmit (parameter) { +export function BookingCustomerOrderSubmit(parameter) { return axios({ url: 'BookingCustomerOrder/Submit', method: 'post', @@ -1035,7 +1035,7 @@ export function BookingCustomerOrderSubmit (parameter) { }) } -export function BookingCustomerOrderCancelSubmit (parameter) { +export function BookingCustomerOrderCancelSubmit(parameter) { return axios({ url: 'BookingCustomerOrder/CancelSubmit', method: 'post', @@ -1043,7 +1043,7 @@ export function BookingCustomerOrderCancelSubmit (parameter) { }) } -export function BookingCustomerOrderAuditBooking (parameter) { +export function BookingCustomerOrderAuditBooking(parameter) { return axios({ url: 'BookingCustomerOrder/AuditBooking', method: 'post', @@ -1051,7 +1051,7 @@ export function BookingCustomerOrderAuditBooking (parameter) { }) } -export function LetterYardHis (parameter) { +export function LetterYardHis(parameter) { return axios({ url: '/BookingOrder/LetterYardHis', method: 'post', @@ -1059,7 +1059,7 @@ export function LetterYardHis (parameter) { }) } -export function SaveInList (parameter) { +export function SaveInList(parameter) { return axios({ url: '/BookingOrder/SaveInList', method: 'post', @@ -1067,7 +1067,7 @@ export function SaveInList (parameter) { }) } -export function SaveDataInList (parameter) { +export function SaveDataInList(parameter) { return axios({ url: '/BookingOrder/SaveDataInList', method: 'post', @@ -1075,14 +1075,14 @@ export function SaveDataInList (parameter) { }) } -export function yardLetterYardHis (parameter) { +export function yardLetterYardHis(parameter) { return axios({ url: '/BookingLetteryard/LetterYardHis', method: 'get', params: parameter }) } -export function GetSeryiceProjectList (parameter) { +export function GetSeryiceProjectList(parameter) { return axios({ url: '/BookingValueAdded/GetServiceProjectList', method: 'post', @@ -1090,7 +1090,7 @@ export function GetSeryiceProjectList (parameter) { }) } -export function SaveServiceProject (parameter) { +export function SaveServiceProject(parameter) { return axios({ url: '/BookingValueAdded/SaveServiceProject', method: 'post', @@ -1098,7 +1098,7 @@ export function SaveServiceProject (parameter) { }) } -export function CancelSeryiceProject (parameter) { +export function CancelSeryiceProject(parameter) { return axios({ url: '/BookingValueAdded/CancelServiceProject', method: 'post', @@ -1106,7 +1106,7 @@ export function CancelSeryiceProject (parameter) { }) } -export function GetServiceStatusList (parameter) { +export function GetServiceStatusList(parameter) { return axios({ url: '/BookingValueAdded/GetServiceStatusList', method: 'post', @@ -1114,7 +1114,7 @@ export function GetServiceStatusList (parameter) { }) } -export function SaveServiceStatus (parameter) { +export function SaveServiceStatus(parameter) { return axios({ url: '/BookingValueAdded/SaveServiceStatus', method: 'post', @@ -1122,7 +1122,7 @@ export function SaveServiceStatus (parameter) { }) } -export function CancelServiceStatus (parameter) { +export function CancelServiceStatus(parameter) { return axios({ url: '/BookingValueAdded/CancelServiceStatus', method: 'post', @@ -1130,7 +1130,7 @@ export function CancelServiceStatus (parameter) { }) } -export function SaveBookingTxxp (parameter) { +export function SaveBookingTxxp(parameter) { return axios({ url: '/BookingOrder/SaveBookingTxxp', method: 'post', @@ -1138,21 +1138,21 @@ export function SaveBookingTxxp (parameter) { }) } -export function GetEnableStatusDictTreeList (parameter) { +export function GetEnableStatusDictTreeList(parameter) { return axios({ url: '/ServiceWorkFlowBase/GetEnableStatusDictTreeList', method: 'get' }) } -export function GetEnableProjectDictTreeList (parameter) { +export function GetEnableProjectDictTreeList(parameter) { return axios({ url: '/ServiceWorkFlowBase/GetEnableProjectDictTreeList', method: 'get' }) } -export function ReadAutoYardImport (parameter) { +export function ReadAutoYardImport(parameter) { return axios({ url: '/BookingOrder/ReadAutoYardImport', method: 'get', @@ -1160,7 +1160,7 @@ export function ReadAutoYardImport (parameter) { }) } -export function GetDraftCompareResultInfo (parameter) { +export function GetDraftCompareResultInfo(parameter) { return axios({ url: '/TaskDraftCompare/GetDraftCompareResultInfo', method: 'post', @@ -1168,10 +1168,18 @@ export function GetDraftCompareResultInfo (parameter) { }) } -export function GetShippingOrderCompareResult (parameter) { +export function GetShippingOrderCompareResult(parameter) { return axios({ url: '/TaskShippingOrderCompare/GetShippingOrderCompareResult', method: 'get', params: parameter }) } + +export function GetWebData(parameter) { + return axios({ + url: '/BookingOrder/GetWebData', + method: 'get', + params: parameter + }) +} diff --git a/src/views/main/BookingLedger/list/index.vue b/src/views/main/BookingLedger/list/index.vue index 69e8989..b442dab 100644 --- a/src/views/main/BookingLedger/list/index.vue +++ b/src/views/main/BookingLedger/list/index.vue @@ -254,9 +254,9 @@ :key="bindex">
{{ btn.staTime }}
- {{ enmuBookingBtn(btn.staCode) }} + {{ enmuBookingBtn(btn.staCode) }}
- {{ enmuBookingBtn(btn.staCode) }} + {{ enmuBookingBtn(btn.staCode) }} @@ -269,22 +269,24 @@
- -
-
- 箱号 - 提箱 - 返场 -
-
- {{ item.cntrno }} - {{ item.txopTime }} - {{ item.fcopTime }} + + +
+
+ 箱号 + 提箱 + 返场 +
+
+ {{ item.cntrno }} + {{ item.txopTime }} + {{ item.fcopTime }} +
-
-
提箱
-
返场
- +
提箱
+
返场
+ +
@@ -1099,7 +1101,12 @@ - + + +
@@ -1141,7 +1148,8 @@ import { SaveBookingTxxp, GetDraftCompareResultInfo, BookingOrderDownload, - GetShippingOrderCompareResult + GetShippingOrderCompareResult, + GetWebData } from '@/api/modular/main/BookingLedger' import initData from './modules/initData' @@ -1170,8 +1178,12 @@ export default { return { spinning: false, isUpload: false, + webDataTitle: '', markFlag: false, + webDataLoading: false, pdfLoading: false, + webDataFlag: false, + webData: '', marktitle: '', refshYZloading: false, nowFirst: false, @@ -1340,6 +1352,49 @@ export default { this.getConfigUser(true) this.getCarrier() }, + handleGetWebData(row, code) { + const data = { + bookingId: row.id, + webCode: code + } + this.webData = '' + this.webDataTitle = '场站数据' + row.webDataLoad = true + GetWebData(data).then(res => { + if (res.code === 200) { + this.webData = res.data + this.webDataFlag = true + } else { + this.$message.error(res.message) + } + row.webDataLoad = false + }) + }, + handleGetWebDataYZ(row, code) { + let webCode = '' + this.webData = '' + if (code === 'sta_haifang' || code === 'sta_cangdan') { + webCode = 'HLW_CD' + this.webDataTitle = '物流信息数据' + } else { + webCode = 'YGT' + this.webDataTitle = '云港通数据' + } + const data = { + bookingId: row.id, + webCode: webCode + } + row.refshYzitemLoad = true + GetWebData(data).then(res => { + if (res.code === 200) { + this.webData = res.data + this.webDataFlag = true + } else { + this.$message.error(res.message) + } + row.refshYzitemLoad = false + }) + }, bcClose() { this.bcObj = {} }, @@ -1375,6 +1430,7 @@ export default { } item.bookstatus = bookstatus item.refshYzitemLoad = false + item.webDataLoad = false item.dzmarkLoading = false item.czmarkLoading = false item.custnoLoading = false @@ -2410,6 +2466,7 @@ export default { } item.bookstatus = bookstatus item.refshYzitemLoad = false + item.webDataLoad = false item.atdLoading = false item.rowDzMark = false item.rowCzMark = false diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index a6d8a8f..1f6a9ff 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -9,8 +9,7 @@ @select="handleClick" :defaultExpandAll="true" :defaultExpandedKeys="defaultExpandedKeys" - :replaceFields="replaceFields" - /> + :replaceFields="replaceFields" />
@@ -31,8 +30,7 @@ - {{ item.value }} + {{ item.value }} @@ -52,23 +50,16 @@ :alert="true" :pageSizeOptions="['10', '20', '50', '100']" :rowKey="record => record.id" - :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }" - > + :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }">