| | |
| | | <el-tabs type="border-card" style="margin-top: 10px!important;" v-model="activeName" @tab-click="handleClick" |
| | | :stretch="true"> |
| | | <el-tab-pane label="调查询问笔录" name="first"> |
| | | <BiLu v-if="id" :id="id"></BiLu> |
| | | <BiLu v-if="activeName == 'first'"></BiLu> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="责令限期改正通知书" name="second"> |
| | | <GaiZheng v-if="id" :id="id"></GaiZheng> |
| | | <GaiZheng v-if="activeName == 'second'"></GaiZheng> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="处罚决定书" name="third"> |
| | | <JueDingShu v-if="id" :id="id"></JueDingShu> |
| | | <JueDingShu v-if="activeName == 'third'"></JueDingShu> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </div> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | id: '', |
| | | form:{ |
| | | id:'' |
| | | }, |
| | |
| | | created() { |
| | | if (this.$route.query) { |
| | | this.$nextTick(() => { |
| | | this.id = this.$route.query.id |
| | | console.log(this.id,'id==========') |
| | | this.name1 = this.$route.query.name |
| | | }) |
| | | } |
| | |
| | | },*/ |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | this.activeName = tab.name |
| | | } |
| | | } |
| | | } |