|
@@ -122,7 +122,7 @@
|
|
|
<script>
|
|
|
import pick from 'lodash.pick'
|
|
|
import { addSbPosition, updateSbPosition, getSbPositionTree } from '@/api/sb/position'
|
|
|
-import { queryUser } from '@/api/upms/user'
|
|
|
+import { queryRepairUser } from '@/api/upms/user-dept'
|
|
|
|
|
|
export default {
|
|
|
name: 'BaseSbPosition',
|
|
@@ -143,7 +143,8 @@ export default {
|
|
|
created () {
|
|
|
this.delFlagMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.DELFLAG)
|
|
|
this.positionTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SBPOSITION_TYPE)
|
|
|
- queryUser().then(res => {
|
|
|
+ const params = { roleType: 3, deptId: null, queryType: 1 }
|
|
|
+ queryRepairUser(params).then(res => {
|
|
|
this.userList = res.data
|
|
|
})
|
|
|
},
|