code init
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<!-- 流程基础信息详情 -->
|
||||
<template>
|
||||
<div class="prc-detail">
|
||||
<components :is="component"></components>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ruKu from './ruku'
|
||||
export default {
|
||||
name: 'prcDetail',
|
||||
mixins: [],
|
||||
components: {
|
||||
ruKu
|
||||
},
|
||||
data() {
|
||||
return {}
|
||||
},
|
||||
methods: {},
|
||||
computed: {
|
||||
prcType() {
|
||||
return this.$route.query.prcType
|
||||
},
|
||||
component() {
|
||||
switch (this.prcType) {
|
||||
case '1':
|
||||
return 'ruKu'
|
||||
default:
|
||||
this.$message.warning('流程参数获取失败,请正确操作')
|
||||
return '404'
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
mounted() {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.prc-detail {
|
||||
}
|
||||
</style>
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user