From 9a942fabdc8afdc9610425641739d5b97cbcb79a Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期日, 24 三月 2024 10:01:18 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/Albania_Mes

---
 Albania_Mes-ui/src/views/home/index.vue |   38 +++++++++++++++++++++++++++++---------
 1 files changed, 29 insertions(+), 9 deletions(-)

diff --git a/Albania_Mes-ui/src/views/home/index.vue b/Albania_Mes-ui/src/views/home/index.vue
index 2babbed..66c61af 100644
--- a/Albania_Mes-ui/src/views/home/index.vue
+++ b/Albania_Mes-ui/src/views/home/index.vue
@@ -451,7 +451,7 @@
             <div id="fileinput" class="container">
                 <div class="header">
                     <div class="btn">
-                        <button @click="AllAdd">淇濆瓨</button>
+                        <el-button type="primary" @click="importData()">淇濆瓨</el-button>
                     </div>
                     <div class="inp">
                         <input type="file" id="uploadExcel" multiple @change="Change" />
@@ -511,7 +511,9 @@
                     <el-button type="primary" @click="ManualMatching()" :disabled="SoftEmergencyStopState"
                         style="z-index: 999;">浜哄伐鍖归厤</el-button>
                     <el-button type="primary" @click="ManualTake()" :disabled="SoftEmergencyStopState"
-                        style="z-index: 999;">浜哄伐鍖归厤</el-button>
+                        style="z-index: 999;">浜哄伐鎷胯蛋</el-button>
+                    <el-button type="primary" @click="AnewMeasure()" :disabled="SoftEmergencyStopState"
+                        style="z-index: 999;">閲嶆柊娴嬮噺</el-button>
                 </div>
                 <!--鏄剧ず-->
                 <div style="width:1000px;height: 720px;border: 2px solid #d1d1d1;margin: auto auto;">
@@ -655,7 +657,7 @@
     Disabled, SelectPermissionByUserName, currentUsername, CompleteQueue,
     isAllowReorderings,
 
-    UpdateStroageCageByCell, FinishTask, SelectGlassInfo, StorageCageAddGlass, ClaimTasks, ModeChange, UpdateQueue
+    UpdateStroageCageByCell, FinishTask, SelectGlassInfo, StorageCageAddGlass, ClaimTasks, ModeChange, UpdateQueue,importData,ManualTake,AnewMeasure
 } from "../../api/home";
 
 
@@ -1050,7 +1052,21 @@
         },
         //浜哄伐鎷胯蛋
         ManualTake() {
-
+            let s="123";
+            ManualTake(s).then(res => {
+                if (res.data.message == 200) {
+                    console.log(res.data.message);
+                }
+            })
+        },
+        //閲嶆柊娴嬮噺
+        AnewMeasure() {
+            let s="123";
+            AnewMeasure(s).then(res => {
+                if (res.data.message == 200) {
+                    console.log(res.data.message);
+                }
+            })
         },
         Change(event) {
             // 鑾峰彇鍒版枃浠跺す
@@ -1081,12 +1097,16 @@
         Add() {
 
         },
-        Hide() {
+        importData() {
 
-        },
-        AllAdd() {
-            //娣诲姞鏁版嵁杩涘悗鍙�
-            console.log(this.dataList);
+            //let tbdata=JSON.stringify(this.dataList);
+            let tbdata=this.dataList;
+            console.log(tbdata);
+            importData(tbdata).then(res => {
+                if (res.data.message == 200) {
+                    //this.$message.success(this.$t('Operation successful'));
+                }
+            });
         },
         del() {
 

--
Gitblit v1.8.0