|
@@ -0,0 +1,72 @@
|
|
|
+<template>
|
|
|
+ <div class="flex h-full w-full flex-col">
|
|
|
+ <div
|
|
|
+ class="__hover flex items-center text-sm text-[var(--czr-main-color)]"
|
|
|
+ @click="toBack"
|
|
|
+ >
|
|
|
+ <SvgIcon
|
|
|
+ name="czr_arrow"
|
|
|
+ rotate="180"
|
|
|
+ size="13"
|
|
|
+ :active="true"
|
|
|
+ class="mr-1"
|
|
|
+ />应用中心
|
|
|
+ </div>
|
|
|
+ <div class="bm-main-box mt-4"></div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script setup lang="ts">
|
|
|
+import {
|
|
|
+ computed,
|
|
|
+ getCurrentInstance,
|
|
|
+ inject,
|
|
|
+ onMounted,
|
|
|
+ reactive,
|
|
|
+ ref,
|
|
|
+ watch,
|
|
|
+} from 'vue'
|
|
|
+import { useRoute, useRouter } from 'vue-router'
|
|
|
+import { ElMessage } from 'element-plus'
|
|
|
+import { useDictionaryStore } from '@/stores'
|
|
|
+import { Search } from '@element-plus/icons-vue'
|
|
|
+
|
|
|
+const DictionaryStore = useDictionaryStore()
|
|
|
+const route = useRoute()
|
|
|
+const router = useRouter()
|
|
|
+const emit = defineEmits([])
|
|
|
+const props = defineProps({})
|
|
|
+const { proxy }: any = getCurrentInstance()
|
|
|
+const state: any = reactive({
|
|
|
+ ID: route.params.id,
|
|
|
+})
|
|
|
+const initDetail = () => {
|
|
|
+ if (state.ID) {
|
|
|
+ state.detail = {}
|
|
|
+ // pluginDetail(state.ID)
|
|
|
+ // .then(({ data }: any) => {
|
|
|
+ // state.detail = data
|
|
|
+ // })
|
|
|
+ // .catch(() => {})
|
|
|
+ // .finally(() => {})
|
|
|
+ } else {
|
|
|
+ router.push({ name: 'd446bfb3-4605-477f-a0f4-b7a0a1aa78fe' })
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+const toBack = () => {
|
|
|
+ router.push({
|
|
|
+ name: 'd446bfb3-4605-477f-a0f4-b7a0a1aa78fe',
|
|
|
+ })
|
|
|
+}
|
|
|
+onMounted(() => {
|
|
|
+ initDictionary()
|
|
|
+ initDetail()
|
|
|
+})
|
|
|
+const initDictionary = () => {
|
|
|
+ // DictionaryStore.initModelProvides()
|
|
|
+ // DictionaryStore.initModelTypes()
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped></style>
|