From d5859111ed933662b1b849cf5d3f4cbc2993deaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=88=90=E5=BC=BA?= Date: Fri, 13 Nov 2020 09:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kpi/assessment/performance/components/UseButton/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/kpi/assessment/performance/components/UseButton/index.vue b/src/views/kpi/assessment/performance/components/UseButton/index.vue index d305685..fa1c2c0 100644 --- a/src/views/kpi/assessment/performance/components/UseButton/index.vue +++ b/src/views/kpi/assessment/performance/components/UseButton/index.vue @@ -226,7 +226,7 @@ export default { }, // 跳过 handleJump () { - if (!this.info) return + if (!this.info && !this.$attrs.flowRecordId) return console.log('item: ', this.info) this.$confirm('确认跳过该人员?', '提示', { confirmButtonText: '确定', @@ -235,6 +235,7 @@ export default { }).then(async () => { const obj = {status: 4, menuName: '跳过了'} if (this.info) obj.flowRecordId = this.info.flowRecordId + if (this.$attrs.flowRecordId) obj.flowRecordId = this.$attrs.flowRecordId const params = Object.assign({}, this.form, {resultRecordId: this.$route.query.id || ''}, obj) this.$loadingStart() let res = await apiSaveapproval(params)