From cd630cc77bbda4a6c3319016a2e08a3cbe0d3675 Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Sat, 20 Apr 2024 14:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A9=BA=E6=A0=BC=E8=BD=AC?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ah-jjzhgd-web/src/utils/auth.js | 4 ++-- .../src/views/basic/project/components/3dFileTable.vue | 4 ++-- ah-jjzhgd-web/src/views/risk/dailyTask/index.vue | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ah-jjzhgd-web/src/utils/auth.js b/ah-jjzhgd-web/src/utils/auth.js index b8b263a..0827e03 100644 --- a/ah-jjzhgd-web/src/utils/auth.js +++ b/ah-jjzhgd-web/src/utils/auth.js @@ -53,9 +53,9 @@ export function tansParams(params) { } } } else { - result += part + encodeURIComponent(value) + "&"; + result += part + encodeURIComponent(value).replaceAll("%20"," ") + "&"; } } } return result -} \ No newline at end of file +} diff --git a/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue b/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue index 28a9ef6..bffa237 100644 --- a/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue +++ b/ah-jjzhgd-web/src/views/basic/project/components/3dFileTable.vue @@ -72,8 +72,8 @@ :on-remove="handleRemoveFile" action="#" :auto-upload="false" - :file-list="fileList" - > + :file-list="fileList"> + 点击上传 diff --git a/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue b/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue index 91549d1..3791b0a 100644 --- a/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue +++ b/ah-jjzhgd-web/src/views/risk/dailyTask/index.vue @@ -20,7 +20,7 @@ class="filter-item ml-20" value-format="yyyy-MM-dd" type="daterange" - range-separator="至" + range-separator=" - " start-placeholder="开始日期" end-placeholder="结束日期" /> @@ -136,7 +136,9 @@ export default { getList() { this.listLoading = true const reqData = _.cloneDeep(this.listQuery) - reqData.wordDay = (this.listQuery.wordDay?.length) ? this.listQuery.wordDay?.join(' - ') : '' + console.log(this.listQuery.wordDay); + reqData.workDay = (this.listQuery.wordDay?.length) ? this.listQuery.wordDay?.join(' - ') : ''; + console.log(reqData.workDay); getDailyTaskList(reqData).then((response) => { this.list = response.rows.map(item => { return item