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/XJ/Add.vue | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/pages/QC/XJ/Add.vue b/pages/QC/XJ/Add.vue index 6190db1..02dfc45 100644 --- a/pages/QC/XJ/Add.vue +++ b/pages/QC/XJ/Add.vue @@ -137,6 +137,10 @@ <!-- 鎿嶄綔鎸夐挳鍖� --> <view class="action-buttons"> <button v-if="isUpdate && !isShowTable" class="secondary-btn" @click="getItem">鍒涘缓妫�楠屽崟骞剁敓鎴愰儴鍒嗛粯璁ゅ��</button> + + <!-- <button class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button> --> + + <button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button> <button v-if="!isUpdate && !isShowTable" class="secondary-btn" @click="toImage">涓婁紶/鏌ョ湅鍥剧墖</button> <button v-if="!isUpdate && !formData.fsubmit && !isShowTable" class="secondary-btn" @click="removeXJ"> 鍒犻櫎鍗曟嵁 @@ -216,9 +220,14 @@ }, onLoad(options) { //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"]; @@ -427,7 +436,11 @@ } }); }); - }, + }, toYzxSubmitFrom(releaseNo){ + uni.navigateTo({ + url: 'yzxFrom?id=' +this.formData.id+'¤t='+this.current + }); + }, init() { this.$post({ url: "/XJ/getPage", -- Gitblit v1.9.3