From d3fe46f0bc0627a056ce8ae3dcc4ccaf4f3115b8 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 10 Jun 2024 00:25:00 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=97=81=E8=BE=B9=E7=9A=84=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetailComponent/ProjectApply.vue | 4 ++ src/views/expense-management/ledger/index.vue | 5 --- src/views/project-demand/summary/add.vue | 4 ++ .../project-management/filing/conclusion.vue | 4 ++ .../implementation/account.vue | 6 ++- .../implementation/check.vue | 4 ++ .../implementation/index.vue | 1 + .../implementation/share.vue | 41 +++++++++++++++---- .../project-management/initiation/apply.vue | 4 ++ 9 files changed, 59 insertions(+), 14 deletions(-) diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index d4b1edb..bc45b06 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -27,6 +27,7 @@
提交 重新提交 + 返回
@@ -70,6 +71,9 @@ const processDiagramViewer = ref(false) const name = ref(router.currentRoute.value.name) const applyForm = ref() const deploymentId = ref() +const handleBack = () => { + history.back() +} const compositeParam = (item) => { // let tag = '' // if (name.value === 'Initiation/apply' || route.query.state==3) { diff --git a/src/views/expense-management/ledger/index.vue b/src/views/expense-management/ledger/index.vue index 7bac909..052765b 100644 --- a/src/views/expense-management/ledger/index.vue +++ b/src/views/expense-management/ledger/index.vue @@ -122,11 +122,6 @@ const tableConfig = reactive({ } } }, - { - prop: 'digest', - label: '摘要', - align: 'center' - }, { prop: 'afterTax', label: '税后余额(元)', diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index 87aa3a1..6963ed8 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -244,6 +244,7 @@ 发布 重新发布 + 返回 @@ -307,6 +308,9 @@ const rules = reactive({ contentDescription: [{required: true, message: '请输入研发项目关键内容描述', trigger: 'blur'}] }) +const handleBack = () => { + history.back() +} const disabledDate = (time) => { return time.getTime() < new Date(formData.value.startTime).getTime(); } diff --git a/src/views/project-management/filing/conclusion.vue b/src/views/project-management/filing/conclusion.vue index d779200..f67715f 100644 --- a/src/views/project-management/filing/conclusion.vue +++ b/src/views/project-management/filing/conclusion.vue @@ -12,6 +12,7 @@
提交 重新提交 + 返回
@@ -92,6 +93,9 @@ const handleDownload = (row) => { a.click() }) } +const handleBack = () => { + history.back() +} const compositeParam = (item) => { let tag = '' if (name.value === 'Filing/conclusion' || name.value === 'Filing/edit') { diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue index 65c724a..f1b5111 100644 --- a/src/views/project-management/implementation/account.vue +++ b/src/views/project-management/implementation/account.vue @@ -9,6 +9,7 @@ diff --git a/src/views/project-management/initiation/apply.vue b/src/views/project-management/initiation/apply.vue index eceacdb..5ffb219 100644 --- a/src/views/project-management/initiation/apply.vue +++ b/src/views/project-management/initiation/apply.vue @@ -21,6 +21,7 @@
提交 重新提交 + 返回
@@ -87,6 +88,9 @@ const loading = ref(false) const processInstanceData = ref() const processDiagramViewer = ref(true) const name = ref(router.currentRoute.value.name) +const handleBack = () => { + history.back() +} const handleDownload = (row) => { downloadFile(row.fileId).then(res => { const blob = new Blob([res])