From af9c55f7cf967f98c401b2828d19e362ba03bbce Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Fri, 4 Aug 2023 16:15:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=AC=BE=E9=A1=B9=E7=BB=93?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moneycarriedforward/moneycarriedforward.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforward.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforward.vue index 673c4871a0..7b3ab22ed6 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforward.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/moneycarriedforward/moneycarriedforward.vue @@ -241,12 +241,16 @@ export default { }, flowRecord(row) { this.centerDialogVisible = true - var params = { - deployId: row.procDefId, - procInsId: row.procInstSid, - token: getStorage() + if (row.procDefId !== '' && row.procInstSid !== '') { + var params = { + deployId: row.procDefId, + procInsId: row.procInstSid, + token: getStorage() + } + this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) + } else { + this.$message({ showClose: true, type: 'error', message: '该申请无审批记录' }) } - this.url = '/#/flow/flowRecordForBusiness?data=' + encodeURI((JSON.stringify(params))) }, // 搜索条件效果 clicksearchShow() {