From b42d1a0502a6c75887245717432d87f07be517ba Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 20 Jun 2023 16:41:17 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/pidu/app/AppSessionArchive/components/Detail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/pidu/app/AppSessionArchive/components/Detail.vue b/project/pidu/app/AppSessionArchive/components/Detail.vue index 891a04cc..6b3acfe6 100644 --- a/project/pidu/app/AppSessionArchive/components/Detail.vue +++ b/project/pidu/app/AppSessionArchive/components/Detail.vue @@ -84,7 +84,7 @@ - From 3501165a3a31bacdc868fc9ed25caaa998c45217 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 20 Jun 2023 16:48:15 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/packages/basic/AiFileList.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/packages/basic/AiFileList.vue b/ui/packages/basic/AiFileList.vue index 49de9f2b..f3f887ca 100644 --- a/ui/packages/basic/AiFileList.vue +++ b/ui/packages/basic/AiFileList.vue @@ -47,7 +47,13 @@ export default { methods: { downFile(item) { if (this.clickDownload) { - this.$download(item.url, item.name) + const link = document.createElement('a') + link.style.display = 'none' + link.href = item.url + link.setAttribute('download', item.name) + document.body.appendChild(link) + link.click() + document.body.removeChild(link) } else window.open(`${item.url}`) } } From 7c71eb3cb8e64ec329a0478e84180e13c86f3ed3 Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 20 Jun 2023 17:16:33 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=AD=98=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/pidu/app/AppSessionArchive/components/List.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/pidu/app/AppSessionArchive/components/List.vue b/project/pidu/app/AppSessionArchive/components/List.vue index e6619968..22f52ffb 100644 --- a/project/pidu/app/AppSessionArchive/components/List.vue +++ b/project/pidu/app/AppSessionArchive/components/List.vue @@ -68,7 +68,7 @@ v-model="search.name" size="small" v-throttle="() => {search.current = 1, getList()}" - placeholder="请输入成员姓名、手机号或标签名称" + placeholder="请输入成员姓名、手机号" clearable @clear="search.current = 1, search.name = '', getList()" suffix-icon="iconfont iconSearch"> From 22c77339d2e22d55502e8ce992d70067ad7c480a Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 20 Jun 2023 17:35:56 +0800 Subject: [PATCH 4/7] bug --- examples/router/axios.js | 1 - project/activeAnalysis/AppActiveAnalysis/components/List.vue | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/router/axios.js b/examples/router/axios.js index 5fc3f145..f3621870 100644 --- a/examples/router/axios.js +++ b/examples/router/axios.js @@ -35,7 +35,6 @@ instance.interceptors.request.use(config => { if (['/qxn', '/analysis'].includes(config.baseURL)) { config.url = config.url.replace(/(app|auth|admin)\//, "api/") } - config.url = config.url.replace(/(app|auth|admin)\//, "api/") return config }, error => Message.error(error)) export default instance diff --git a/project/activeAnalysis/AppActiveAnalysis/components/List.vue b/project/activeAnalysis/AppActiveAnalysis/components/List.vue index 7f04c2ee..692b4d7d 100644 --- a/project/activeAnalysis/AppActiveAnalysis/components/List.vue +++ b/project/activeAnalysis/AppActiveAnalysis/components/List.vue @@ -47,6 +47,8 @@ + +