| | |
| | | // 获取用户所在部门的所有成员信息 |
| | | export const userDeptinfo = (params) => { |
| | | return request({ |
| | | url: '/api/evaluate/evaluateTask/userList', |
| | | url: '/api/evaluate/evaluateTask/userListBy', |
| | | method: "get", |
| | | apiKey: true, |
| | | params: { |
| | |
| | | ) { |
| | | if (this.poepleinfo.type == 0) { |
| | | userDeptinfo(Data).then(res => { |
| | | this.columns = [...res.data.data.records]; |
| | | this.columns = [...res.data.data]; |
| | | this.columns.forEach(item => { |
| | | item["text"] = item.name; |
| | | }); |
| | |
| | | created() {}, |
| | | methods: { |
| | | onConfirmAwards(select) { |
| | | console.log(select); |
| | | this.currentValueAwards = select.categoryName; |
| | | this.submitdata.evaluateTaskCategoryName = this.currentValueAwards; |
| | | this.submitdata.evaluateTaskCategoryId=select.id; |