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) {