This commit is contained in:
shijingjing
2022-08-02 14:36:33 +08:00
parent a49ffdf9fd
commit ea7bcce82f

View File

@@ -28,7 +28,7 @@ export default {
appName: "选择创建人",
data() {
return {
selected: [],
selected: {},
userList: [],
current: 1,
}
@@ -49,7 +49,7 @@ export default {
},
getCreateUserList() {
this.userList = []
this.$http.post(`app/appmasssendingtask/createUserlist`, {}).then(res => {
this.$http.post(`app/appmasssendingtask/createUserlist`).then(res => {
if (res?.data) {
// let userArr = res.data.records.map(e => ({userId: e.createUserId, isChecked: this.isSelected(e.createUserId)}))
this.userList = res.data.map(e => ({userId: e, isChecked: this.isSelected(e)}))