From 92f1aba9418d6824d053423297fb037b4b53ebc2 Mon Sep 17 00:00:00 2001 From: yang <1441163367@qq.com> Date: 星期三, 26 十月 2022 10:23:48 +0800 Subject: [PATCH] 解决新增 --- src/views/padSunmaryProcedure/padWord.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/padSunmaryProcedure/padWord.vue b/src/views/padSunmaryProcedure/padWord.vue index 70714fc..e6b1a6f 100644 --- a/src/views/padSunmaryProcedure/padWord.vue +++ b/src/views/padSunmaryProcedure/padWord.vue @@ -3,6 +3,7 @@ <div id="navs"> <el-button icon="el-icon-arrow-left" @click="goHome">杩斿洖</el-button> <div>{{ name1 }}</div> + <p>{{id}}</p> <el-button icon="el-icon-upload el-icon--right" @click="submit">鎻愪氦</el-button> </div> <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick" @@ -36,16 +37,19 @@ data() { return { id: '', + form:{ + id:'' + }, name1: "", activeName: 'second' } }, created() { if (this.$route.query) { - // this.$nextTick(() => { + this.$nextTick(() => { this.id = this.$route.query.id this.name1 = this.$route.query.name - // }) + }) } }, methods: { @@ -55,9 +59,9 @@ }) }, submit() { - submitcase(this.id).then(res => { + /*submitcase(this.id).then(res => { this.goHome() - }) + })*/ }, /*goToBL() { this.$router.push({ -- Gitblit v1.9.1