抢单记录页面完成
This commit is contained in:
38
project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue
Normal file
38
project/xiushan/apps/financing/AppGrabLog/AppGrabLog.vue
Normal file
@@ -0,0 +1,38 @@
|
||||
<template>
|
||||
<section class="AppGrabLog">
|
||||
<component :is="currentComponent" :instance="instance" :dict="dict" :permissions="permissions"/>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import GrabDetail from "./grabDetail";
|
||||
import GrabList from "./grabList";
|
||||
|
||||
export default {
|
||||
name: "AppGrabLog",
|
||||
components: {GrabList, GrabDetail},
|
||||
label: "抢单记录",
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
permissions: Function
|
||||
},
|
||||
computed: {
|
||||
currentComponent() {
|
||||
return !!this.$route.query.id ? GrabDetail : GrabList
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
created() {
|
||||
this.dict.load("enterpriseName")
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppGrabLog {
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user