彭刘杨
This commit is contained in:
2
project/pengliuyang/apps.import.json
Normal file
2
project/pengliuyang/apps.import.json
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
<template>
|
||||||
|
<keep-alive include="resourceMap">
|
||||||
|
<component :is="currentPage" v-bind="$props" @change="onChange"/>
|
||||||
|
</keep-alive>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import resourceMap from "./components/resourceMap.vue"
|
||||||
|
import resourceManagement from "./components/resourceManagement.vue"
|
||||||
|
import resourceClassification from './components/resourceClassification.vue'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'communityResource',
|
||||||
|
label: "社会资源",
|
||||||
|
|
||||||
|
props: {
|
||||||
|
instance: Function,
|
||||||
|
dict: Object,
|
||||||
|
permissions: Function,
|
||||||
|
},
|
||||||
|
|
||||||
|
computed: {
|
||||||
|
currentPage() {
|
||||||
|
let { hash } = this.$route
|
||||||
|
return hash == "#resourceMap" ? resourceMap :
|
||||||
|
hash == "#resourceManagement" ? resourceManagement : resourceClassification
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
resourceMap,
|
||||||
|
resourceManagement,
|
||||||
|
resourceClassification,
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
onChange(data) {
|
||||||
|
let {type, params: query} = data,
|
||||||
|
hash = ["resourceMap", "resourceManagement","resourceClassification"].includes(type) ? "" : "#" + type
|
||||||
|
this.$router.push({hash, query})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.communityResource {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>资源分类</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>资源管理</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<template>
|
||||||
|
<div>资源地图</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
9
project/pengliuyang/core.import.json
Normal file
9
project/pengliuyang/core.import.json
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"AppAccount": "账号管理",
|
||||||
|
"AppDictionary": "数据字典",
|
||||||
|
"AppQyWxConfig": "企业微信配置",
|
||||||
|
"AppUserInfo": "个人中心",
|
||||||
|
"AppRightsManager": "权限管理",
|
||||||
|
"AppAccountRole": "账号角色",
|
||||||
|
"AppMenuManager": "菜单管理"
|
||||||
|
}
|
||||||
15
project/pengliuyang/package.json
Normal file
15
project/pengliuyang/package.json
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "dvcp-apps-pengliuyang",
|
||||||
|
"description": "彭刘杨版本",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "dist/dvcp-apps-pengliuyang.common.js",
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "http://192.168.1.87:4873/"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"dvcp-ui": "^1.42.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user