|
@@ -106,6 +106,7 @@
|
|
<el-button
|
|
<el-button
|
|
type="primary"
|
|
type="primary"
|
|
@click="allocationSave"
|
|
@click="allocationSave"
|
|
|
|
+ :loading="saveload"
|
|
>确 定</el-button>
|
|
>确 定</el-button>
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
@@ -307,7 +308,8 @@ export default {
|
|
total:0,
|
|
total:0,
|
|
current:1,
|
|
current:1,
|
|
},
|
|
},
|
|
- isShowedit:true
|
|
|
|
|
|
+ isShowedit:true,
|
|
|
|
+ saveload:false
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -569,15 +571,19 @@ export default {
|
|
list.forEach((item)=>{
|
|
list.forEach((item)=>{
|
|
ids.push(item.id)
|
|
ids.push(item.id)
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+ this.saveload=true
|
|
allocation({
|
|
allocation({
|
|
ids:ids.join(','),
|
|
ids:ids.join(','),
|
|
type:this.optionvalue
|
|
type:this.optionvalue
|
|
}).then(()=>{
|
|
}).then(()=>{
|
|
|
|
+ this.$message.success('操作成功');
|
|
|
|
+ this.saveload=false
|
|
this.handleCurrentChange(1);
|
|
this.handleCurrentChange(1);
|
|
this.queryChange();
|
|
this.queryChange();
|
|
|
|
+ this.setMetadataTag=false
|
|
|
|
+
|
|
})
|
|
})
|
|
- this.setMetadataTag=false
|
|
|
|
|
|
+
|
|
this.optionvalue=''
|
|
this.optionvalue=''
|
|
},
|
|
},
|
|
//取消捕获
|
|
//取消捕获
|