| | |
| | | <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" |
| | |
| | | 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: { |
| | |
| | | }) |
| | | }, |
| | | submit() { |
| | | submitcase(this.id).then(res => { |
| | | /*submitcase(this.id).then(res => { |
| | | this.goHome() |
| | | }) |
| | | })*/ |
| | | }, |
| | | /*goToBL() { |
| | | this.$router.push({ |