From e7acce0e118aef1503931d5c0090a862c63664fe Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 31 Jan 2024 10:51:49 +0800 Subject: [PATCH] =?UTF-8?q?task#10584,=E5=8F=B8=E6=9C=BAapp=E7=9A=84driver?= =?UTF-8?q?Id=E5=8A=A8=E6=80=81=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/driverCaseList/driverCaseList.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/driverCaseList/driverCaseList.vue b/src/views/driverCaseList/driverCaseList.vue index 43021b9c..92bf3774 100644 --- a/src/views/driverCaseList/driverCaseList.vue +++ b/src/views/driverCaseList/driverCaseList.vue @@ -99,7 +99,7 @@ export default { pageSize:10, total: 0, isCheck:false, - driverId: 78948, + driverId: '',//78948 submitData:[], noClick:true, loading:false, @@ -115,6 +115,8 @@ export default { }, }, async mounted() { + const urlParams = new URLSearchParams(window.location.search); + this.driverId = urlParams.get('driverId'); await this.getMonth(); await this.getList() },