From e84f5bad8acafaaed5f2a734e46819721fa834f6 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Fri, 7 Feb 2020 18:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/custom/evaluateofficer.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/modules/custom/evaluateofficer.vue b/src/views/modules/custom/evaluateofficer.vue index 4d789557..960f3fed 100644 --- a/src/views/modules/custom/evaluateofficer.vue +++ b/src/views/modules/custom/evaluateofficer.vue @@ -91,6 +91,7 @@ import mixinViewModule from '@/mixins/view-module' import AddOrUpdate from './evaluateofficer-add-or-update' import evaluateofficerAdd from './evaluateofficer-add' +import Cookies from 'js-cookie' export default { mixins: [mixinViewModule], data () { @@ -119,7 +120,7 @@ export default { evaluateofficerAdd }, created: function () { - this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/custom/evaluateofficer/importExcel?token=${Cookies.get('token')}` + this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/custom/evaluateofficer/importExcel/${this.$route.query.deptId}?token=${Cookies.get('token')}` }, methods: { showFlagFormat (row, column) {