|
|
@ -163,6 +163,7 @@ |
|
|
|
<script> |
|
|
|
import debounce from 'lodash/debounce' |
|
|
|
import { isEmail, isMobile } from '@/utils/validate' |
|
|
|
import Cookies from "js-cookie" |
|
|
|
export default { |
|
|
|
data () { |
|
|
|
return { |
|
|
@ -274,6 +275,7 @@ export default { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['dataForm'].resetFields() |
|
|
|
this.roleIdListDefault = [] |
|
|
|
this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/upload?token=${Cookies.get('token')}` |
|
|
|
Promise.all([ |
|
|
|
this.getDeptList(), |
|
|
|
this.getRoleList() |
|
|
|