From ee8ea0c58be8b88305e234cec8bd48d099e26e71 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 15 九月 2023 14:24:50 +0800
Subject: [PATCH] modified: src/components/view/standard.vue
---
src/components/view/rawInsDetail.vue | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/components/view/rawInsDetail.vue b/src/components/view/rawInsDetail.vue
index dbb323e..19898d7 100644
--- a/src/components/view/rawInsDetail.vue
+++ b/src/components/view/rawInsDetail.vue
@@ -12,7 +12,7 @@
>鎻� 浜�</el-button
>
<el-button
- icon="el-icon-download"
+ icon="el-icon-back"
@click="
() => {
goBack();
@@ -469,10 +469,24 @@
this.detailId = res.data;
this.getDetailInfo();
this.$message.success(res.message);
+ this.goBack();
},
// 淇敼椤圭洰鐨勬娴嬪�兼敼鍙樼粨璁�
async changeState(row, index) {
+ let val=row.testValueList.filter(item=>{
+ return item!=''&&item!=null
+ })
+ let eq=val.filter(item=>{
+ return /^[^><=]/.test(item)
+ })
+ if(eq.length>0){
+ this.$message({
+ message: "杈撳叆鍊糩"+eq+"]鏍煎紡棣栦綅搴斿寘鍚�>,<鎴栬��=",
+ type: 'warning'
+ });
+ return
+ }
if (this.detailId !== null) {
const res = await this.$axios.post(this.$api.url.updaterawInsProduct, {
DevId: row.deviceId,
@@ -487,9 +501,9 @@
const res = await this.$axios.post(
this.$api.url.updateRawInspectsById + `${this.detailId}`
).then(res=>{
-聽 聽 聽 聽 this.$parent.removeAllTab()
this.$message.success("鎻愪氦鎴愬姛");
this.getDetailInfo();
+ this.goBack()
聽 聽 聽 });
},
// 鑾峰彇璁惧鏍戝唴瀹�
--
Gitblit v1.9.3