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