From db40eae2f9891a02f7fcff4d40df261539d26306 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Fri, 5 Dec 2025 15:50:41 +0800
Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E7=BB=84=E6=89=B9=E6=AC=A1=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E6=96=B0=EF=BC=8C=E4=B8=80=E9=94=AE=E9=87=8D=E7=AE=97?=
=?UTF-8?q?=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/emis/emisCommon.js | 4 +++-
.../emis/emisTmsSiteBatchMiss/indexV2.vue | 21 +++++++++++++++++--
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/api/emis/emisCommon.js b/src/api/emis/emisCommon.js
index 5ff88d7a..de08e9b2 100644
--- a/src/api/emis/emisCommon.js
+++ b/src/api/emis/emisCommon.js
@@ -81,8 +81,10 @@ export function autoScanSiteBatch(lineCode) {
// 按线路重算批次V2
export function autoScanSiteBatchV2(lineCode) {
return request({
- url: '/emis/common/autoScanSiteBatchV2?lineCode='+lineCode,
+ // url: '/emis/common/autoScanSiteBatchV2?lineCode='+lineCode,
+ url: '/emis/common/autoScanSiteBatchV2',
method: 'get',
+ params: {lineCode:lineCode},
timeout: 20000
})
}
diff --git a/src/views/emis/emisTmsSiteBatchMiss/indexV2.vue b/src/views/emis/emisTmsSiteBatchMiss/indexV2.vue
index 230bda6f..a2227559 100644
--- a/src/views/emis/emisTmsSiteBatchMiss/indexV2.vue
+++ b/src/views/emis/emisTmsSiteBatchMiss/indexV2.vue
@@ -139,7 +139,16 @@
size="mini"
@click="handleBatchReCalc"
v-hasPermi="['emis:emisTmsSiteBatchMiss:reCalcV2']"
- >重算
+ >按线路重算
+
+
+ 一键重算
0){
let lineCode=this.selectList[0].lineCode;
- this.$modal.confirm('确认是否重算').then(function() {
+ this.$modal.confirm('确认是否按线路重算').then(function() {
return autoScanSiteBatchV2(lineCode);
}).then(() => {
this.getList();
@@ -393,6 +402,14 @@ export default {
}).catch(() => {});
}
},
+ handleBatchReCalcAll(){
+ this.$modal.confirm('确认是否一键重算').then(function() {
+ return autoScanSiteBatchV2();
+ }).then(() => {
+ this.getList();
+ this.$modal.msgSuccess("重算成功");
+ }).catch(() => {});
+ },
/** 查询TMS漏组批次信息表列表 */
getList() {
this.loading = true;