From e617afd6e36249422f965b51b827c7f5f700c732 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期五, 30 五月 2025 13:58:21 +0800 Subject: [PATCH] 2025-05-30刘润玉复制代码恢复工程后的提交 --- src/views/start.vue | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/views/start.vue b/src/views/start.vue index 5085b1f..9e19b24 100644 --- a/src/views/start.vue +++ b/src/views/start.vue @@ -41,6 +41,9 @@ <i v-if="workType == 5" class="iconfont icon-zuoyerenyuan" /> <span v-if="workType == 5">鍏朵粬</span> + + <i v-if="workType == 6" class="iconfont icon-ceshi" /> + <span v-if="workType == 6">鑷姩鍖栨祴璇�</span> </div> <div class="content-item yellow link" @click="planId = null, nodeId = null"> <div class="sort">4</div> @@ -62,6 +65,10 @@ <div class="duty-item yellow link" style="width: 280px;" @click="dutyId = 2; planId = null; nodeId = null;"> <i class="iconfont icon-linshirenwu" /> <span>涓存椂浠诲姟</span> + </div> + <div class="duty-item green link" style="width: 280px;" @click="dutyId = 2; workType = 6; planId = null; nodeId = null;"> + <i class="iconfont icon-ceshi" /> + <span>鑷姩鍖栨祴璇�</span> </div> </div> <span>璇烽�夋嫨鎮ㄤ换鍔$绫�</span> @@ -250,6 +257,10 @@ }); } }, + autoTest: function () { + console.log('test') + this.goto('test') + }, // 妫�鏌ョ櫥褰曠姸鎬� chenkWorkId: function () { if (!localStorage.workId) { @@ -289,6 +300,8 @@ that.goto('repair') } else if (res.content.workType == 5) { that.goto('other') + } else if (res.content.workType == 6) { + that.goto('autoTest') } }, cancleBack: () => { @@ -497,7 +510,7 @@ that.userInfo = res.content this.$notify({ title: '浜哄憳淇℃伅鏌ヨ鎴愬姛', - message: `褰撳墠鎿嶄綔浜哄憳锛�${res.content.name}`, + message: `宸查��鍑哄伐浣滃彴锛岃閲嶆柊璁ら宸ヤ綔浠诲姟銆俙, type: 'success' }) } else { @@ -592,6 +605,8 @@ that.goto('repair') } else if (that.workType == 5) { that.goto('other') + } else if (that.workType == 6) { + that.goto('autoTest') } } else { this.$notify({ -- Gitblit v1.8.0