zhaoyongnian 5 years ago
parent
commit
8b186177da
  1. 2
      src/views/modules/sys/deptmacode-optimize.vue

2
src/views/modules/sys/deptmacode-optimize.vue

@ -157,7 +157,7 @@ export default {
created () { created () {
this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/custom/epidemicSentryPost/importExcel?token=${Cookies.get('token')}` this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/custom/epidemicSentryPost/importExcel?token=${Cookies.get('token')}`
this.$http this.$http
.get(`/sys/user/deptOptions/getBusinessDeptByUser`) .get(`/sys/user/deptOptions/getByLoginUser`) // .get(`/sys/user/deptOptions/getBusinessDeptByUser`)
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)

Loading…
Cancel
Save