|
|
|
|
@ -440,6 +440,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
false
|
|
|
|
|
).then((_) => {
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
transfer_id: copyData.id
|
|
|
|
|
})
|
|
|
|
|
this.setPTransferStatus(copyData.status).then(_ => {
|
|
|
|
|
this.$emit("refresh");
|
|
|
|
|
this.$emit('start');
|
|
|
|
|
@ -496,6 +501,12 @@ export default {
|
|
|
|
|
table_name: "transfers",
|
|
|
|
|
...copyData,
|
|
|
|
|
},false).then((_) => {
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
transfer_id: copyData.id,
|
|
|
|
|
file_id: fileInfo?.data?.id
|
|
|
|
|
})
|
|
|
|
|
this.$emit("refresh");
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
@ -532,6 +543,12 @@ export default {
|
|
|
|
|
table_name: "transfers",
|
|
|
|
|
...copyData,
|
|
|
|
|
},false).then((_) => {
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
transfer_id: copyData.id,
|
|
|
|
|
file_id: fileInfo?.data?.id
|
|
|
|
|
})
|
|
|
|
|
this.setPTransferStatus(copyData.status).then(_ => {
|
|
|
|
|
this.$emit("refresh");
|
|
|
|
|
this.$emit('start');
|
|
|
|
|
@ -567,10 +584,21 @@ export default {
|
|
|
|
|
delete copyData[key];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (this.data.diaolingleixing === 4) {
|
|
|
|
|
if (this.$moment().valueOf() > this.$moment(this.data.end_time).valueOf()) {
|
|
|
|
|
copyData.status = 3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
save({
|
|
|
|
|
table_name: "transfers",
|
|
|
|
|
...copyData,
|
|
|
|
|
},false).then((_) => {
|
|
|
|
|
save({
|
|
|
|
|
table_name: "logs",
|
|
|
|
|
content: this.typeMap.get(copyData.status),
|
|
|
|
|
transfer_id: copyData.id,
|
|
|
|
|
file_id: fileInfo?.data?.id
|
|
|
|
|
})
|
|
|
|
|
this.setPTransferStatus(copyData.status).then(_ => {
|
|
|
|
|
this.$emit("refresh");
|
|
|
|
|
this.$emit('start');
|
|
|
|
|
|