From 2a158bb96daa1254a0b3d0de1961afbda59f8308 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期三, 26 十月 2022 14:41:33 +0800 Subject: [PATCH] 细节 --- src/views/padSunmaryProcedure/padWord.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/padSunmaryProcedure/padWord.vue b/src/views/padSunmaryProcedure/padWord.vue index 104e2c4..ebf0392 100644 --- a/src/views/padSunmaryProcedure/padWord.vue +++ b/src/views/padSunmaryProcedure/padWord.vue @@ -2,7 +2,7 @@ <div style="width: 100%;height: 100%;overflow: auto;"> <div id="navs"> <el-button icon="el-icon-arrow-left" @click="goHome">杩斿洖</el-button> -<!-- <div>{{ name1 }}</div>--> + <div>{{ name1 }}</div> <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" @@ -35,14 +35,16 @@ }, data() { return { + id:'', form:{ - id:this.id, + id:'' }, name1: "", activeName: 'first' } }, created() { + this.id = this.$store.state.user.id if (this.$route.query) { this.$nextTick(() => { this.name1 = this.$route.query.name @@ -56,7 +58,7 @@ }) }, submit() { - submitcase(this.form).then(res => { + submitcase({id:this.id}).then(res => { this.goHome() }) }, -- Gitblit v1.9.1