特征库对接

This commit is contained in:
aixianling
2023-08-23 16:55:51 +08:00
parent 9038477862
commit a90f9be052
4 changed files with 193 additions and 75 deletions

View File

@@ -1,6 +1,6 @@
<template>
<section class="AppWorkOrder">
<component ref="component" :is="currentPage" @change="onChange" :params="params" :instance="instance" :dict="dict" :menuName="menuName" />
<component ref="component" :is="currentPage" @change="onChange" v-bind="$props"/>
</section>
</template>
@@ -8,6 +8,7 @@
import List from './components/List'
import Detail from './components/Detail'
import Setting from './components/Setting'
import settingDetail from "./components/settingDetail";
export default {
name: 'AppWorkOrder',
@@ -29,7 +30,8 @@ export default {
currentPage() {
let {hash, query: {id}} = this.$route
return hash == "#Setting" ? Setting :
!!id ? Detail : List
hash == "#sd" ? settingDetail :
!!id ? Detail : List
}
},
components: {