diff --git a/src/components.d.ts b/src/components.d.ts
index 282705f..2452ee7 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -29,6 +29,8 @@ declare module '@vue/runtime-core' {
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElOption: typeof import('element-plus/es')['ElOption']
+ ElRadio: typeof import('element-plus/es')['ElRadio']
+ ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
ElSelect: typeof import('element-plus/es')['ElSelect']
diff --git a/src/layouts/components/AmsPosition.vue b/src/layouts/components/AmsPosition.vue
new file mode 100644
index 0000000..80eaa1c
--- /dev/null
+++ b/src/layouts/components/AmsPosition.vue
@@ -0,0 +1,59 @@
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
diff --git a/src/layouts/home.vue b/src/layouts/home.vue
index 7dbbd79..1172357 100644
--- a/src/layouts/home.vue
+++ b/src/layouts/home.vue
@@ -7,6 +7,7 @@
+
@@ -29,6 +30,7 @@ import Sidebar from './components/sidebar/Sidebar.vue'
import ThirdMenu from './components/ThirdMenu.vue'
import CommonHeader from './components/Header.vue'
import SystemTip from './components/SystemTip.vue'
+import AmsPosition from './components/AmsPosition.vue'
import useRouteItem from '@/hooks/useRouteItem'
// import startApp from '@/core/register'
@@ -37,7 +39,8 @@ export default {
CommonHeader,
SystemTip,
Sidebar,
- ThirdMenu
+ ThirdMenu,
+ AmsPosition
},
data() {
return {
@@ -136,7 +139,6 @@ export default {
basePath: computed(() => store.state.app.basePath),
expire: computed(() => store.state.app.expire),
isFontBig: computed(() => store.state.app.pageConfig.contentFontSize === 'big'),
- positionList: computed(() => store.state.position.positionList),
addRoutes,
menuData,
showSidebar,
diff --git a/src/services/index.js b/src/services/index.js
index 336f75e..92147c4 100644
--- a/src/services/index.js
+++ b/src/services/index.js
@@ -29,12 +29,19 @@ export function getDict(data) {
params: wrapperParams(data)
})
}
+export function getDictChildren(params) {
+ return request.get('/sms/v1/dictionaries/children', { params })
+}
+
export function getSysconf() {
return request.get('/sms/v1/configs')
}
export function getSysconfCode(params) {
return request.get('/sms/v1/configs', { params })
}
+export function getSysconfQueryByCode(params) {
+ return request.get('/sms/v1/configs/queryByCode', { params })
+}
export function modifySysconf(data) {
return request.put('/sms/v1/configs', wrapperParams(data))
}