| | |
| | | this.$router.push({ |
| | | path: '/padWord', |
| | | query: { |
| | | //id: row.id, |
| | | name:row.casePoint |
| | | } |
| | | }) |
| | |
| | | <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" |
| | |
| | | }, |
| | | 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 |
| | |
| | | }) |
| | | }, |
| | | submit() { |
| | | submitcase(this.form).then(res => { |
| | | submitcase({id:this.id}).then(res => { |
| | | this.goHome() |
| | | }) |
| | | }, |