提交 5a13d506 authored 作者: 王鹏飞's avatar 王鹏飞

update

上级 38067d3f
...@@ -8,7 +8,16 @@ ...@@ -8,7 +8,16 @@
@error="handleError" @error="handleError"
> >
<!-- 最终检查 --> <!-- 最终检查 -->
<template v-if="currentActive === 'final'">12312321</template> <template v-if="currentActive === 'final'">
<table>
<template v-for="(item, index) in submenu">
<tr :key="index" v-if="index < 7">
<td>{{index}}{{item.title}}</td>
<td></td>
</tr>
</template>
</table>
</template>
</vue-form> </vue-form>
</div> </div>
</template> </template>
...@@ -36,6 +45,11 @@ export default { ...@@ -36,6 +45,11 @@ export default {
menus: query.projectId === '1000' ? sofiaForm : kelleyForm menus: query.projectId === '1000' ? sofiaForm : kelleyForm
} }
}, },
computed: {
submenu() {
return this.menus[0].children
}
},
methods: { methods: {
handleChange(value) { handleChange(value) {
this.currentActive = value this.currentActive = value
......
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
}, },
methods: { methods: {
init() { init() {
this.form.get && this.getData() this.get && this.getData()
}, },
// 获取 // 获取
getData() { getData() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论