From dba3eb459bc908fdaeb27e01a65eafa2a172bd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Fri, 18 Aug 2023 17:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/special/index.js | 14 +++- src/pages/dlg/projectSpecialDlg.vue | 102 +++++++++++++++++++++++++++- src/pages/dlg/workTrainDlg.vue | 18 +++++ 3 files changed, 128 insertions(+), 6 deletions(-) diff --git a/src/api/special/index.js b/src/api/special/index.js index 876fa7d..52733a6 100644 --- a/src/api/special/index.js +++ b/src/api/special/index.js @@ -7,14 +7,22 @@ const getProjectSpecialView=(deptId,projectId)=> { }) } -const getProjectSpecialList=(projectId)=> { +const getProjectSpecialList=(projectId,activeName,specialType)=> { return request({ - url: `bgscreen/projectspecial/getProjectSpecialList?projectId=${projectId||0}`, + url: `bgscreen/projectspecial/getProjectSpecialList?projectId=${projectId||0}&activeName=${activeName||''}&specialType=${specialType||0}`, method: 'get' }) } +const findWorkSpecialCount=(projectId,specialType)=> { + return request({ + url: `bgscreen/projectspecial/findWorkSpecialCount?projectId=${projectId||0}&specialType=${specialType||0}`, + method: 'get' + }) +} + export default{ getProjectSpecialView, - getProjectSpecialList + getProjectSpecialList, + findWorkSpecialCount } \ No newline at end of file diff --git a/src/pages/dlg/projectSpecialDlg.vue b/src/pages/dlg/projectSpecialDlg.vue index e886404..25d9edf 100644 --- a/src/pages/dlg/projectSpecialDlg.vue +++ b/src/pages/dlg/projectSpecialDlg.vue @@ -1,6 +1,26 @@ + @@ -92,6 +107,9 @@ export default { this.title = it.title; this.TypeTitle = it.TypeTitle; this.show = true; + }, + handleDownload(url){ + window.open('/jhapi'+url); } }, };