|
|
@@ -113,7 +113,8 @@ export default {
|
|
|
endForm: {
|
|
|
id: null,
|
|
|
collectionId: null,
|
|
|
- remark: ''
|
|
|
+ remark: '',
|
|
|
+ orderCode: null
|
|
|
},
|
|
|
// 遮罩层
|
|
|
loading: true,
|
|
|
@@ -243,20 +244,21 @@ export default {
|
|
|
this.endForm.id = row.id;
|
|
|
this.endForm.collectionId = row.collectionId;
|
|
|
this.endForm.remark = '';
|
|
|
+ this.endForm.orderCode = row.orderCode;
|
|
|
this.endProcessVisible = true;
|
|
|
},
|
|
|
- /** 提交终止操作 */
|
|
|
+
|
|
|
/** 提交终止操作 */
|
|
|
submitEndProcess() {
|
|
|
this.$refs["endFormRef"].validate(valid => {
|
|
|
if (valid) {
|
|
|
- const { id, collectionId, remark } = this.endForm
|
|
|
+ const { id, collectionId, remark,orderCode } = this.endForm
|
|
|
this.$confirm('确认终止该采集进度?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- stop({ id, collectionId, remark }).then(response => {
|
|
|
+ stop({ id, collectionId, remark, orderCode }).then(response => {
|
|
|
this.msgSuccess("终止成功");
|
|
|
this.endProcessVisible = false;
|
|
|
this.getList();
|
|
|
@@ -275,6 +277,7 @@ export default {
|
|
|
this.endForm.id = null;
|
|
|
this.endForm.collectionId = null;
|
|
|
this.endForm.remark = '';
|
|
|
+ this.endForm.orderCode = null;
|
|
|
},
|
|
|
|
|
|
|