|
@@ -361,11 +361,14 @@
|
|
|
httpurl+=that.url.edit;
|
|
|
if (record.status == 1) {
|
|
|
that.model.id = record.id
|
|
|
+ that.model.equipmentid = record.equipmentid
|
|
|
that.model.status = 0
|
|
|
} else {
|
|
|
that.model.id = record.id
|
|
|
+ that.model.equipmentid = record.equipmentid
|
|
|
that.model.status = 1
|
|
|
}
|
|
|
+ console.log("0101",that.model)
|
|
|
httpAction(httpurl,that.model,method).then((res)=>{
|
|
|
if(res.success){
|
|
|
that.$message.success(res.message);
|