| | |
| | | import Pagination from '@/components/Pagination' |
| | | import subjectApi from '@/api/subject' |
| | | import departmentApi from '@/api/department' |
| | | import enumItem from '@/store/modules/enumItem' |
| | | export default { |
| | | components: { Pagination }, |
| | | data () { |
| | | return { |
| | | depart:[], |
| | | queryParam: { |
| | | level: null, |
| | | pageIndex: 1, |
| | |
| | | this.total = re.total |
| | | this.queryParam.pageIndex = re.pageNum |
| | | this.listLoading = false |
| | | |
| | | this.depart = data.response.list |
| | | console.log(this.depart) |
| | | this.depart.map(item=>{ |
| | | item.key = item.id |
| | | item.value = item.name |
| | | }) |
| | | enumItem.state.user.levelEnum = this.depart |
| | | |
| | | }) |
| | | }, |
| | | submitForm () { |