特征库对接
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user