diff --git a/src/views/datalink/Marines.vue b/src/views/datalink/Marines.vue index 70cf794..49780ff 100644 --- a/src/views/datalink/Marines.vue +++ b/src/views/datalink/Marines.vue @@ -214,7 +214,7 @@ }); }, allprocess:function(){ - postAction("/fileDataLink/processAllFile?dataLinkType=3",{}).then((res) => { + postAction("/fileDataLink/processAllFile?dataLinkType="+this.queryParam.dataLinkType,{}).then((res) => { if (res.success) { this.$message.success(res.message); } else { diff --git a/src/views/datalink/carrierBased.vue b/src/views/datalink/carrierBased.vue index b7023da..341f362 100644 --- a/src/views/datalink/carrierBased.vue +++ b/src/views/datalink/carrierBased.vue @@ -198,7 +198,7 @@ }); }, allprocess:function(){ - postAction("/fileDataLink/processAllFile?dataLinkType=2",{}).then((res) => { + postAction("/fileDataLink/processAllFile?dataLinkType="+this.queryParam.dataLinkType,{}).then((res) => { if (res.success) { this.$message.success(res.message); } else { diff --git a/src/views/datalink/shoreGuide.vue b/src/views/datalink/shoreGuide.vue index e332f30..ccfb863 100644 --- a/src/views/datalink/shoreGuide.vue +++ b/src/views/datalink/shoreGuide.vue @@ -193,7 +193,7 @@ }); }, allprocess:function(){ - postAction("/fileDataLink/processAllFile?dataLinkType=1",{}).then((res) => { + postAction("/fileDataLink/processAllFile?dataLinkType="+this.queryParam.dataLinkType,{}).then((res) => { if (res.success) { this.$message.success(res.message); } else { diff --git a/src/views/datalink/submarine.vue b/src/views/datalink/submarine.vue index 4971213..511a401 100644 --- a/src/views/datalink/submarine.vue +++ b/src/views/datalink/submarine.vue @@ -193,7 +193,7 @@ }); }, allprocess:function(){ - postAction("/fileDataLink/processAllFile?dataLinkType=1",{}).then((res) => { + postAction("/fileDataLink/processAllFile?dataLinkType="+this.queryParam.dataLinkType,{}).then((res) => { if (res.success) { this.$message.success(res.message); } else { diff --git a/src/views/datalink/waterDocuments.vue b/src/views/datalink/waterDocuments.vue index bfdf67e..e922171 100644 --- a/src/views/datalink/waterDocuments.vue +++ b/src/views/datalink/waterDocuments.vue @@ -193,7 +193,7 @@ }); }, allprocess:function(){ - postAction("/fileDataLink/processAllFile?dataLinkType=1",{}).then((res) => { + postAction("/fileDataLink/processAllFile?dataLinkType="+this.queryParam.dataLinkType,{}).then((res) => { if (res.success) { this.$message.success(res.message); } else {