From 0293d4f776f88ebc307a750f38a16454f4553701 Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期二, 19 八月 2025 21:01:35 +0800
Subject: [PATCH] 首检、巡检一致性前端代码提交

---
 pages/QC/SJ/Add.vue |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/pages/QC/SJ/Add.vue b/pages/QC/SJ/Add.vue
index fdedfb1..060cb3c 100644
--- a/pages/QC/SJ/Add.vue
+++ b/pages/QC/SJ/Add.vue
@@ -130,6 +130,7 @@
     <view class="action-buttons">
       <button v-if="isUpdate && !isShowTable" class="secondary-btn" @click="save">鍒涘缓妫�楠屽崟骞剁敓鎴愰儴鍒嗛粯璁ゅ��</button>
       <button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toImage">涓婁紶/鏌ョ湅鍥剧墖</button>
+	    <button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button>
       <button v-if="!isUpdate && !formData.statusUser && !isShowTable" class="secondary-btn" @click="removeXJ">
         鍒犻櫎鍗曟嵁
       </button>
@@ -207,7 +208,12 @@
     //options涓寘鍚簡url闄勫甫鐨勫弬鏁�
 
     let params = options;
-
+	if(params["current"]==='A')
+		{
+			this.current=true;
+		}else if(params["current"]==='B'){
+			this.current=false;
+		}
     if (params["id"]) {
       this.isUpdate = false;
       this.formData.id = params["id"];
@@ -483,6 +489,11 @@
         this.isUpdate = false;
       })
     },
+		toYzxSubmitFrom(releaseNo){
+			uni.navigateTo({
+				url: 'yzxFrom?id=' +this.formData.id+'&current='+this.current
+			});
+		},
     save() {
 
       // if (this.tableData.length === 0) {

--
Gitblit v1.9.3