|
|
@@ -813,12 +813,9 @@
|
|
|
},
|
|
|
computed: {
|
|
|
dispatchStatus() {
|
|
|
+ return true
|
|
|
return (
|
|
|
- (this.addForm.autoOrder &&
|
|
|
- (this.type == 'add' ||
|
|
|
- this.type == 'edit' ||
|
|
|
- this.type == 'detail')) ||
|
|
|
- (!this.addForm.autoOrder && this.type == 'dispatch')
|
|
|
+ this.type == 'add' || this.type == 'edit' || this.type == 'detail'
|
|
|
);
|
|
|
},
|
|
|
// 当前用户信息
|
|
|
@@ -1050,7 +1047,9 @@
|
|
|
this.addForm.groupId = this.addForm.executeUsers[0]?.groupId || '';
|
|
|
this.searchDeptNodeClick(this.addForm.groupId);
|
|
|
} else {
|
|
|
- this.teamChange(true);
|
|
|
+ if (this.addForm.teamId) {
|
|
|
+ this.teamChange(true);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// if (this.type === 'dispatch') {
|