|
@@ -566,6 +566,7 @@
|
|
|
|
|
|
|
|
if (userData.centerList.length != 0) {
|
|
if (userData.centerList.length != 0) {
|
|
|
this.form.workCenterId = userData.centerList[0].centerId;
|
|
this.form.workCenterId = userData.centerList[0].centerId;
|
|
|
|
|
+ this.form.workCenterName = userData.centerList[0].centerName;
|
|
|
this.workCenterList = userData.centerList;
|
|
this.workCenterList = userData.centerList;
|
|
|
this.userTeamList = userData.teamList;
|
|
this.userTeamList = userData.teamList;
|
|
|
this.changeWork(userData.centerList[0].centerId);
|
|
this.changeWork(userData.centerList[0].centerId);
|
|
@@ -741,7 +742,7 @@
|
|
|
// 选择班组 查询人员的数据
|
|
// 选择班组 查询人员的数据
|
|
|
async changeGroups(e) {
|
|
async changeGroups(e) {
|
|
|
let data = this.teamList.find((item) => item.teamId == e);
|
|
let data = this.teamList.find((item) => item.teamId == e);
|
|
|
- this.form.teamName = data.name;
|
|
|
|
|
|
|
+ this.form.teamName = data.teamName;
|
|
|
try {
|
|
try {
|
|
|
const res = await listUserByIds([e]);
|
|
const res = await listUserByIds([e]);
|
|
|
this.crewList = res || [];
|
|
this.crewList = res || [];
|
|
@@ -896,6 +897,8 @@
|
|
|
mesWorkOrderCode: this.current.code,
|
|
mesWorkOrderCode: this.current.code,
|
|
|
assignees
|
|
assignees
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ console.log(data, '数据999');
|
|
|
}
|
|
}
|
|
|
const api =
|
|
const api =
|
|
|
type == 1 ? taskAssignment : type == 2 ? taskRevoked : taskSave;
|
|
type == 1 ? taskAssignment : type == 2 ? taskRevoked : taskSave;
|