|
@@ -899,15 +899,12 @@ export default {
|
|
|
|
|
|
|
|
|
|
getUserList() {
|
|
getUserList() {
|
|
- this.http.post('/user/getEmployeeList', {
|
|
|
|
- departmentId: -1,
|
|
|
|
- pageIndex: 1,
|
|
|
|
- // pageSize: 99999
|
|
|
|
- pageSize: -1
|
|
|
|
|
|
+ this.http.post('/user/getUserListByRole', {
|
|
|
|
+
|
|
},
|
|
},
|
|
res => {
|
|
res => {
|
|
if (res.code == "ok") {
|
|
if (res.code == "ok") {
|
|
- this.userList = res.data.records;
|
|
|
|
|
|
+ this.userList = res.data;
|
|
this.selUserList = this.userList
|
|
this.selUserList = this.userList
|
|
} else {
|
|
} else {
|
|
this.$message({
|
|
this.$message({
|
|
@@ -1150,7 +1147,7 @@ export default {
|
|
url += "/exportWaitingReviewList"
|
|
url += "/exportWaitingReviewList"
|
|
sl.startDate = this.rangeDatas[0]
|
|
sl.startDate = this.rangeDatas[0]
|
|
sl.endDate = this.rangeDatas[1]
|
|
sl.endDate = this.rangeDatas[1]
|
|
- sl.stateKey = this.departmentOrProject
|
|
|
|
|
|
+ sl.stateKey = this.stateKey
|
|
if(this.userId){
|
|
if(this.userId){
|
|
sl.userId = this.userId
|
|
sl.userId = this.userId
|
|
}
|
|
}
|