You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<template>
|
|
|
|
|
<basic-container>
|
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick">
|
|
|
|
|
<el-tab-pane label="模具需求" name="1">
|
|
|
|
|
<moldRequire v-if="activeName == '1'"></moldRequire>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="申报记录" name="2">
|
|
|
|
|
<moldRecord v-if="activeName == '2'"></moldRecord>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
</el-tabs>
|
|
|
|
|
</basic-container>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import moldRequire from './components/mold/moldRequire.vue';
|
|
|
|
|
import moldRecord from './components/mold/moldRecord.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components: {
|
|
|
|
|
moldRequire,
|
|
|
|
|
moldRecord,
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
activeName: '1',
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
handleClick() {
|
|
|
|
|
console.log(9999999, this.activeName);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
|
};
|
|
|
|
|
</script>
|