|
@@ -174,7 +174,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import { listDepartments } from "@/apiDemo/system/dept";
|
|
|
+ import { getDeptDropList } from '@/api/commonality/permission'
|
|
|
import { checkGroupFind,findUserList,checkGroupAdd,checkGroupUpdate } from '@/api/safetyCheck/indexTow'
|
|
|
export default {
|
|
|
name: 'addDialog',
|
|
@@ -498,8 +498,8 @@
|
|
|
},
|
|
|
//获取学院列表
|
|
|
listDepartments(){
|
|
|
- listDepartments().then(response => {
|
|
|
- this.deptSelectList = response.data;
|
|
|
+ getDeptDropList({deptName:"",level:2,deptType:1}).then(response => {
|
|
|
+ this.$set(this, 'deptSelectList', response.data)
|
|
|
});
|
|
|
},
|
|
|
}
|