|
@@ -112,6 +112,11 @@
|
|
|
selectAll(){
|
|
|
for(var j in this.arrangeShiftCompanyList){
|
|
|
var obj=this.arrangeShiftCompanyList[j]
|
|
|
+
|
|
|
+ if(obj.type!='2'){
|
|
|
+
|
|
|
+ continue;
|
|
|
+ }
|
|
|
var bl=true;
|
|
|
for(var i in this.selectPerson){
|
|
|
|
|
@@ -170,10 +175,12 @@
|
|
|
this.selectPerson=this.selectPersonOld;
|
|
|
this.$emit("confirm",{status:0})
|
|
|
},
|
|
|
- ok(){
|
|
|
- this.selectIdOld=this.selectId;
|
|
|
- this.selectPersonOld=this.selectPerson;
|
|
|
- this.$emit("confirm",{status:1,selectId:this.selectId,selectPerson:this.selectPerson})
|
|
|
+ ok(){
|
|
|
+ if(this.selectPerson.length){
|
|
|
+ this.selectIdOld=this.selectId;
|
|
|
+ this.selectPersonOld=this.selectPerson;
|
|
|
+ this.$emit("confirm",{status:1,selectId:this.selectId,selectPerson:this.selectPerson})
|
|
|
+ }
|
|
|
},
|
|
|
getArrangeShiftPersonList(){
|
|
|
this.isLoading = true;
|