diff --git a/sf-ui/.env.development b/sf-ui/.env.development index 18b2a3e..f74459f 100644 --- a/sf-ui/.env.development +++ b/sf-ui/.env.development @@ -1,11 +1,12 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = SAC管理系统 # 开发环境配置 ENV = 'development' -# 若依管理系统/开发环境 +# SAC管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' - +# SAC管理系统/开发环境上传 +VUE_APP_BASE_API_ = '/' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/sf-ui/.env.production b/sf-ui/.env.production index cb064ec..cbbe0e4 100644 --- a/sf-ui/.env.production +++ b/sf-ui/.env.production @@ -1,8 +1,8 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = SAC管理系统 # 生产环境配置 ENV = 'production' -# 若依管理系统/生产环境 +# SAC管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/sf-ui/.env.staging b/sf-ui/.env.staging index a47af9a..b55b86d 100644 --- a/sf-ui/.env.staging +++ b/sf-ui/.env.staging @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 若依管理系统 +VUE_APP_TITLE = SAC管理系统 NODE_ENV = production # 测试环境配置 ENV = 'staging' -# 若依管理系统/测试环境 +# SAC管理系统/测试环境 VUE_APP_BASE_API = '/stage-api' diff --git a/sf-ui/.gitignore b/sf-ui/.gitignore new file mode 100644 index 0000000..b2d59d1 --- /dev/null +++ b/sf-ui/.gitignore @@ -0,0 +1,2 @@ +/node_modules +/dist \ No newline at end of file diff --git a/sf-ui/package.json b/sf-ui/package.json index 255259d..060a9b0 100644 --- a/sf-ui/package.json +++ b/sf-ui/package.json @@ -1,8 +1,8 @@ { "name": "ruoyi", "version": "3.8.6", - "description": "若依管理系统", - "author": "若依", + "description": "SAC管理系统", + "author": "SAC", "license": "MIT", "scripts": { "dev": "vue-cli-service serve", diff --git a/sf-ui/src/api/FDS/installList.js b/sf-ui/src/api/FDS/installList.js new file mode 100644 index 0000000..b544121 --- /dev/null +++ b/sf-ui/src/api/FDS/installList.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询安装包管理(新)列表 +export function listINFO(query) { + return request({ + url: '/deploy/INFO/list', + method: 'get', + params: query + }) +} + +// 查询安装包管理(新)详细 +export function getINFO(id) { + return request({ + url: '/deploy/INFO/' + id, + method: 'get' + }) +} + +// 新增安装包管理(新) +export function addINFO(data) { + return request({ + url: '/deploy/INFO', + method: 'post', + data: data + }) +} + +// 修改安装包管理(新) +export function updateINFO(data) { + return request({ + url: '/deploy/INFO', + method: 'put', + data: data + }) +} + +// 删除安装包管理(新) +export function delINFO(id) { + return request({ + url: '/deploy/INFO/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/FDS/whiteList.js b/sf-ui/src/api/FDS/whiteList.js new file mode 100644 index 0000000..96b925c --- /dev/null +++ b/sf-ui/src/api/FDS/whiteList.js @@ -0,0 +1,13 @@ +import request from '@/utils/request' + + + +export function Document11691998078000list(query) { + return request({ + url: '/forms/api/router/get/Document11691998078000list', + method: 'get', + params: query + }) +} + + diff --git a/sf-ui/src/api/deploy/INFO.js b/sf-ui/src/api/deploy/INFO.js new file mode 100644 index 0000000..b544121 --- /dev/null +++ b/sf-ui/src/api/deploy/INFO.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询安装包管理(新)列表 +export function listINFO(query) { + return request({ + url: '/deploy/INFO/list', + method: 'get', + params: query + }) +} + +// 查询安装包管理(新)详细 +export function getINFO(id) { + return request({ + url: '/deploy/INFO/' + id, + method: 'get' + }) +} + +// 新增安装包管理(新) +export function addINFO(data) { + return request({ + url: '/deploy/INFO', + method: 'post', + data: data + }) +} + +// 修改安装包管理(新) +export function updateINFO(data) { + return request({ + url: '/deploy/INFO', + method: 'put', + data: data + }) +} + +// 删除安装包管理(新) +export function delINFO(id) { + return request({ + url: '/deploy/INFO/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/gateway/interface.js b/sf-ui/src/api/gateway/interface.js new file mode 100644 index 0000000..d3c849a --- /dev/null +++ b/sf-ui/src/api/gateway/interface.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询接口管理列表 +export function listInterface(query) { + return request({ + url: '/gateway/interface/list', + method: 'get', + params: query + }) +} + +// 查询接口管理详细 +export function getInterface(id) { + return request({ + url: '/gateway/interface/' + id, + method: 'get' + }) +} + +// 新增接口管理 +export function addInterface(data) { + return request({ + url: '/gateway/interface', + method: 'post', + data: data + }) +} + +// 修改接口管理 +export function updateInterface(data) { + return request({ + url: '/gateway/interface', + method: 'put', + data: data + }) +} + +// 删除接口管理 +export function delInterface(id) { + return request({ + url: '/gateway/interface/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/gateway/route.js b/sf-ui/src/api/gateway/route.js new file mode 100644 index 0000000..a2bdf24 --- /dev/null +++ b/sf-ui/src/api/gateway/route.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询路由管理列表 +export function listRoute(query) { + return request({ + url: '/gateway/route/list', + method: 'get', + params: query + }) +} + +// 查询路由管理详细 +export function getRoute(id) { + return request({ + url: '/gateway/route/' + id, + method: 'get' + }) +} + +// 新增路由管理 +export function addRoute(data) { + return request({ + url: '/gateway/route', + method: 'post', + data: data + }) +} + +// 修改路由管理 +export function updateRoute(data) { + return request({ + url: '/gateway/route', + method: 'put', + data: data + }) +} + +// 删除路由管理 +export function delRoute(id) { + return request({ + url: '/gateway/route/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/gateway/server.js b/sf-ui/src/api/gateway/server.js new file mode 100644 index 0000000..8a716da --- /dev/null +++ b/sf-ui/src/api/gateway/server.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询服务管理列表 +export function listServer(query) { + return request({ + url: '/gateway/server/list', + method: 'get', + params: query + }) +} + +// 查询服务管理详细 +export function getServer(id) { + return request({ + url: '/gateway/server/' + id, + method: 'get' + }) +} + +// 新增服务管理 +export function addServer(data) { + return request({ + url: '/gateway/server', + method: 'post', + data: data + }) +} + +// 修改服务管理 +export function updateServer(data) { + return request({ + url: '/gateway/server', + method: 'put', + data: data + }) +} + +// 删除服务管理 +export function delServer(id) { + return request({ + url: '/gateway/server/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/gateway/strategy.js b/sf-ui/src/api/gateway/strategy.js new file mode 100644 index 0000000..3a5f3ee --- /dev/null +++ b/sf-ui/src/api/gateway/strategy.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询策略管理列表 +export function listStrategy(query) { + return request({ + url: '/gateway/strategy/list', + method: 'get', + params: query + }) +} + +// 查询策略管理详细 +export function getStrategy(id) { + return request({ + url: '/gateway/strategy/' + id, + method: 'get' + }) +} + +// 新增策略管理 +export function addStrategy(data) { + return request({ + url: '/gateway/strategy', + method: 'post', + data: data + }) +} + +// 修改策略管理 +export function updateStrategy(data) { + return request({ + url: '/gateway/strategy', + method: 'put', + data: data + }) +} + +// 删除策略管理 +export function delStrategy(id) { + return request({ + url: '/gateway/strategy/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/index/list.js b/sf-ui/src/api/index/list.js new file mode 100644 index 0000000..e9c13c3 --- /dev/null +++ b/sf-ui/src/api/index/list.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询应用列列表 +export function listList(query) { + return request({ + url: '/index/list/list', + method: 'get', + params: query + }) +} + +// 查询应用列详细 +export function getList(id) { + return request({ + url: '/index/list/' + id, + method: 'get' + }) +} + +// 新增应用列 +export function addList(data) { + return request({ + url: '/index/list', + method: 'post', + data: data + }) +} + +// 修改应用列 +export function updateList(data) { + return request({ + url: '/index/list', + method: 'put', + data: data + }) +} + +// 删除应用列 +export function delList(id) { + return request({ + url: '/index/list/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/service/goods.js b/sf-ui/src/api/service/goods.js new file mode 100644 index 0000000..ce3cca2 --- /dev/null +++ b/sf-ui/src/api/service/goods.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询商品信息列表 +export function listGoods(query) { + return request({ + url: '/service/goods/list', + method: 'get', + params: query + }) +} + +// 查询商品信息详细 +export function getGoods(id) { + return request({ + url: '/service/goods/' + id, + method: 'get' + }) +} + +// 新增商品信息 +export function addGoods(data) { + return request({ + url: '/service/goods', + method: 'post', + data: data + }) +} + +// 修改商品信息 +export function updateGoods(data) { + return request({ + url: '/service/goods', + method: 'put', + data: data + }) +} + +// 删除商品信息 +export function delGoods(id) { + return request({ + url: '/service/goods/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/api/system/application.js b/sf-ui/src/api/system/application.js new file mode 100644 index 0000000..75137bf --- /dev/null +++ b/sf-ui/src/api/system/application.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询应用列列表 +export function getListApi(query) { + return request({ + url: '/index/list/list', + method: 'get', + params: query + }) +} + +// 查询应用列详细 +export function getListDetail(id) { + return request({ + url: '/index/list/' + id, + method: 'get' + }) +} + +// 新增应用列 +export function addList(data) { + return request({ + url: '/index/list', + method: 'post', + data: data + }) +} + +// 修改应用列 +export function updateList(data) { + return request({ + url: '/index/list', + method: 'put', + data: data + }) +} + +// 删除应用列 +export function delList(id) { + return request({ + url: '/index/list/' + id, + method: 'delete' + }) +} diff --git a/sf-ui/src/assets/images/code.png b/sf-ui/src/assets/images/code.png new file mode 100644 index 0000000..9111a07 Binary files /dev/null and b/sf-ui/src/assets/images/code.png differ diff --git a/sf-ui/src/components/FileUpload/index.vue b/sf-ui/src/components/FileUpload/index.vue index 6c583cf..a691dbe 100644 --- a/sf-ui/src/components/FileUpload/index.vue +++ b/sf-ui/src/components/FileUpload/index.vue @@ -1,38 +1,38 @@ - diff --git a/sf-ui/src/layout/components/Settings/index.vue b/sf-ui/src/layout/components/Settings/index.vue index 6759446..068acbf 100644 --- a/sf-ui/src/layout/components/Settings/index.vue +++ b/sf-ui/src/layout/components/Settings/index.vue @@ -111,7 +111,7 @@ export default { value: val }) if (!val) { - this.$store.dispatch('app/toggleSideBarHide', false); + // this.$store.dispatch('app/toggleSideBarHide', false); this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes); } } diff --git a/sf-ui/src/permission.js b/sf-ui/src/permission.js index 609d215..73fd6bf 100644 --- a/sf-ui/src/permission.js +++ b/sf-ui/src/permission.js @@ -5,10 +5,12 @@ import NProgress from 'nprogress' import 'nprogress/nprogress.css' import { getToken } from '@/utils/auth' import { isRelogin } from '@/utils/request' +import { getApplicationId } from './utils/application' NProgress.configure({ showSpinner: false }) const whiteList = ['/login', '/register'] +const needApplicationList = ['/build/installationList', '/build/whiteListManagement', '/build/publish'] router.beforeEach((to, from, next) => { NProgress.start() @@ -24,11 +26,17 @@ router.beforeEach((to, from, next) => { // 判断当前用户是否已拉取完user_info信息 store.dispatch('GetInfo').then(() => { isRelogin.show = false - store.dispatch('GenerateRoutes').then(accessRoutes => { - // 根据roles权限生成可访问的路由表 - router.addRoutes(accessRoutes) // 动态添加可访问路由表 - next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 - }) + if (to.path === '/index') { + next(); + } else if (checkApplication(to.path)) { + next({ path: '/' }) + } else { + store.dispatch('GenerateRoutes').then(accessRoutes => { + // 根据roles权限生成可访问的路由表 + router.addRoutes(accessRoutes) // 动态添加可访问路由表 + next({ ...to, replace: true }) // hack方法 确保addRoutes已完成 + }) + } }).catch(err => { store.dispatch('LogOut').then(() => { Message.error(err) @@ -36,7 +44,12 @@ router.beforeEach((to, from, next) => { }) }) } else { - next() + if (checkApplication(to.path)) { + next({ path: '/' }) + NProgress.done() + } else { + next() + } } } } else { @@ -51,6 +64,10 @@ router.beforeEach((to, from, next) => { } }) +function checkApplication(path) { + return needApplicationList.includes(path) && !getApplicationId(); +} + router.afterEach(() => { NProgress.done() }) diff --git a/sf-ui/src/router/index.js b/sf-ui/src/router/index.js index 71907b6..800e525 100644 --- a/sf-ui/src/router/index.js +++ b/sf-ui/src/router/index.js @@ -1,11 +1,10 @@ import Vue from 'vue' import Router from 'vue-router' - -Vue.use(Router) - /* Layout */ import Layout from '@/layout' +Vue.use(Router) + /** * Note: 路由配置项 * @@ -68,7 +67,7 @@ export const constantRoutes = [ children: [ { path: 'index', - component: () => import('@/views/index'), + component: () => import('@/views/indexNew'), name: 'Index', meta: { title: '首页', icon: 'dashboard', affix: true } } @@ -87,7 +86,23 @@ export const constantRoutes = [ meta: { title: '个人中心', icon: 'user' } } ] - } + }, + // 本地测试----------- + { + path: '/gateway', + component: Layout, + hidden: true, + redirect: 'service-config', + children: [ + { + path: 'service-config', + component: () => import('@/views/gateway/serviceManage/config'), + name: 'ServiceConfigAdd', + meta: { title: '新增服务配置', breadcrumb: false, } + } + ] + }, + // 本地测试----------- ] // 动态路由,基于用户权限动态去加载 @@ -161,12 +176,146 @@ export const dynamicRoutes = [ meta: { title: '修改生成配置', activeMenu: '/tool/gen' } } ] + }, + { + path: '/build/install', + component: Layout, + hidden: true, + permissions: ['build:install:add'], + children: [ + { + path: 'add', + component: () => import('@/views/FDS/installationList/add'), + name: 'InstallAdd', + meta: { title: '新增安装包', activeMenu: '/build/installationList' } + } + ] + }, + + { + path: '/build/install', + component: Layout, + hidden: true, + permissions: ['build:install:edit'], + children: [ + { + path: 'edit', + component: () => import('@/views/FDS/installationList/edit'), + name: 'InstallEdit', + meta: { title: '编辑安装包', activeMenu: '/build/installationList' } + } + ] + }, + + { + path: '/build/install', + component: Layout, + hidden: true, + permissions: ['build:install:detail'], + children: [ + { + path: 'detail', + component: () => import('@/views/FDS/installationList/detail'), + name: 'InstallDetail', + meta: { title: '安装包详情', activeMenu: '/build/installationList' } + } + ] + }, + + { + path: '/build/publishList', + component: Layout, + hidden: true, + permissions: ['build:publishList:add'], + children: [ + { + path: 'add', + component: () => import('@/views/FDS/publishList/add'), + name: 'PublishAdd', + meta: { title: '新增发布', activeMenu: '/build/publish' } + } + ] + }, + { + path: '/build/publishList', + component: Layout, + hidden: true, + permissions: ['build:publishList:detail'], + children: [ + { + path: 'detail', + component: () => import('@/views/FDS/publishList/detail'), + name: 'PublishDetail', + meta: { title: '发布详情', activeMenu: '/build/publish' } + } + ] + }, + + { + path: '/build/whiteList', + component: Layout, + hidden: true, + permissions: ['build:whiteListManagement:add'], + children: [ + { + path: 'add', + component: () => import('@/views/FDS/whiteListManagement/add'), + name: 'WhiteListManagementAdd', + meta: { title: '新增白名单', activeMenu: '/build/whiteListManagement' } + } + ] + }, + + { + path: '/build/whiteList', + component: Layout, + hidden: true, + permissions: ['build:whiteListManagement:detail'], + children: [ + { + path: 'detail', + component: () => import('@/views/FDS/whiteListManagement/detail'), + name: 'WhiteListManagementDetail', + meta: { title: '白名单详情', activeMenu: '/build/whiteListManagement' } + } + ] + }, + + { + path: '/build/whiteList', + component: Layout, + hidden: true, + permissions: ['build:whiteListManagement:equepDetail'], + children: [ + { + path: 'equepDetail', + component: () => import('@/views/FDS/whiteListManagement/equepDetail'), + name: 'WhiteListManagementEquepDetail', + meta: { title: '白名单设备详情', activeMenu: '/build/whiteListManagement' } + } + ] + }, + + { + path: '/build/whiteList', + component: Layout, + hidden: true, + permissions: ['build:whiteListManagement:addConfig'], + children: [ + { + path: 'addConfig', + component: () => import('@/views/FDS/whiteListManagement/addConfig'), + name: 'WhiteListManagementConfigAdd', + meta: { title: '新增白名单配置', activeMenu: '/build/whiteListManagement' } + } + ] } + ] // 防止连续点击多次路由报错 -let routerPush = Router.prototype.push; -let routerReplace = Router.prototype.replace; +let routerPush = Router.prototype.push +let routerReplace = Router.prototype.replace // push Router.prototype.push = function push(location) { return routerPush.call(this, location).catch(err => err) diff --git a/sf-ui/src/store/getters.js b/sf-ui/src/store/getters.js index 5920c6e..46e2bee 100644 --- a/sf-ui/src/store/getters.js +++ b/sf-ui/src/store/getters.js @@ -11,6 +11,7 @@ const getters = { introduction: state => state.user.introduction, roles: state => state.user.roles, permissions: state => state.user.permissions, + applicationId: state => state.user.applicationId, permission_routes: state => state.permission.routes, topbarRouters:state => state.permission.topbarRouters, defaultRoutes:state => state.permission.defaultRoutes, diff --git a/sf-ui/src/store/modules/permission.js b/sf-ui/src/store/modules/permission.js index e3ce028..3577229 100644 --- a/sf-ui/src/store/modules/permission.js +++ b/sf-ui/src/store/modules/permission.js @@ -126,7 +126,8 @@ export const loadView = (view) => { return (resolve) => require([`@/views/${view}`], resolve) } else { // 使用 import 实现生产环境的路由懒加载 - return () => import(`@/views/${view}`) + //return () => require([`@/views/${view}`], resolve) + return (resolve) => require([`@/views/${view}`], resolve) } } diff --git a/sf-ui/src/store/modules/user.js b/sf-ui/src/store/modules/user.js index 75c0c57..aa8451f 100644 --- a/sf-ui/src/store/modules/user.js +++ b/sf-ui/src/store/modules/user.js @@ -1,5 +1,6 @@ import { login, logout, getInfo } from '@/api/login' import { getToken, setToken, removeToken } from '@/utils/auth' +import { getApplicationId, setApplicationId, removeApplicationId } from '@/utils/application' const user = { state: { @@ -7,7 +8,9 @@ const user = { name: '', avatar: '', roles: [], - permissions: [] + permissions: [], + applicationId: getApplicationId(), + applicationInfo: {}, // 用户选中的项目/应用 }, mutations: { @@ -25,7 +28,12 @@ const user = { }, SET_PERMISSIONS: (state, permissions) => { state.permissions = permissions - } + }, + SET_APPLICATION: (state, applicationInfo) => { + const { id } = applicationInfo; + state.applicationId = id || ''; + state.applicationInfo = applicationInfo; + }, }, actions: { @@ -74,6 +82,8 @@ const user = { commit('SET_TOKEN', '') commit('SET_ROLES', []) commit('SET_PERMISSIONS', []) + commit('SET_APPLICATION', {}) + removeApplicationId() removeToken() resolve() }).catch(error => { @@ -86,9 +96,22 @@ const user = { FedLogOut({ commit }) { return new Promise(resolve => { commit('SET_TOKEN', '') + commit('SET_APPLICATION', {}) + removeApplicationId() removeToken() resolve() }) + }, + + // 设置选中的项目应用信息 + SetApplication({ commit }, applicationInfo) { + commit('SET_APPLICATION', applicationInfo) + const { appCode } = applicationInfo || {}; + if (appCode) { + setApplicationId(applicationInfo.appCode); + } else { + removeApplicationId(); + } } } } diff --git a/sf-ui/src/utils/application.js b/sf-ui/src/utils/application.js new file mode 100644 index 0000000..250e16d --- /dev/null +++ b/sf-ui/src/utils/application.js @@ -0,0 +1,30 @@ +import Cookies from "js-cookie"; + +const ApplicationKey = "Admin-Application-Id"; + +/** + * 获取应用项目ID + * 该函数从Cookie中检索与应用项目相关的关键信息。 + * @returns {string} 返回从Cookie中获取的应用项目ID。 + */ +export function getApplicationId() { + return Cookies.get(ApplicationKey); +} + +/** + * 设置应用项目ID到Cookie中 + * @param {string} ApplicationId - 需要设置的应用项目ID。 + * @return {boolean|Object} 返回Cookie设置的结果。成功则返回true,失败则返回设置失败的对象。 + */ +export function setApplicationId(ApplicationId) { + return Cookies.set(ApplicationKey, ApplicationId); +} + +/** + * 移除应用ID的Cookie + * 本函数用于删除与应用相关的ID Cookie。 + * @returns {boolean} 返回删除操作的结果。如果删除成功,则返回true;如果删除失败,则返回false。 + */ +export function removeApplicationId() { + return Cookies.remove(ApplicationKey); +} \ No newline at end of file diff --git a/sf-ui/src/utils/request.js b/sf-ui/src/utils/request.js index 8797e3f..4ba429a 100644 --- a/sf-ui/src/utils/request.js +++ b/sf-ui/src/utils/request.js @@ -2,6 +2,7 @@ import axios from 'axios' import { Notification, MessageBox, Message, Loading } from 'element-ui' import store from '@/store' import { getToken } from '@/utils/auth' +import { getApplicationId } from '@/utils/application' import errorCode from '@/utils/errorCode' import { tansParams, blobValidate } from "@/utils/ruoyi"; import cache from '@/plugins/cache' @@ -29,6 +30,9 @@ service.interceptors.request.use(config => { if (getToken() && !isToken) { config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改 } + if (getApplicationId()) { + config.headers['appCode'] = getApplicationId() + } // get请求映射params参数 if (config.method === 'get' && config.params) { let url = config.url + '?' + tansParams(config.params); diff --git a/sf-ui/src/views/FDS/appManagement/add.vue b/sf-ui/src/views/FDS/appManagement/add.vue new file mode 100644 index 0000000..b415f0d --- /dev/null +++ b/sf-ui/src/views/FDS/appManagement/add.vue @@ -0,0 +1,120 @@ + + + diff --git a/sf-ui/src/views/FDS/appManagement/index.vue b/sf-ui/src/views/FDS/appManagement/index.vue new file mode 100644 index 0000000..67b220c --- /dev/null +++ b/sf-ui/src/views/FDS/appManagement/index.vue @@ -0,0 +1,207 @@ + + diff --git a/sf-ui/src/views/FDS/channelManagement/add.vue b/sf-ui/src/views/FDS/channelManagement/add.vue new file mode 100644 index 0000000..d80ce25 --- /dev/null +++ b/sf-ui/src/views/FDS/channelManagement/add.vue @@ -0,0 +1,120 @@ + + + diff --git a/sf-ui/src/views/FDS/channelManagement/index.vue b/sf-ui/src/views/FDS/channelManagement/index.vue new file mode 100644 index 0000000..9cc325b --- /dev/null +++ b/sf-ui/src/views/FDS/channelManagement/index.vue @@ -0,0 +1,210 @@ + + diff --git a/sf-ui/src/views/FDS/hotfix/add.vue b/sf-ui/src/views/FDS/hotfix/add.vue new file mode 100644 index 0000000..41785d8 --- /dev/null +++ b/sf-ui/src/views/FDS/hotfix/add.vue @@ -0,0 +1,439 @@ + + + diff --git a/sf-ui/src/views/FDS/installationList/add.vue b/sf-ui/src/views/FDS/installationList/add.vue new file mode 100644 index 0000000..7e26b9c --- /dev/null +++ b/sf-ui/src/views/FDS/installationList/add.vue @@ -0,0 +1,152 @@ + + + diff --git a/sf-ui/src/views/FDS/installationList/detail.vue b/sf-ui/src/views/FDS/installationList/detail.vue new file mode 100644 index 0000000..2213aa4 --- /dev/null +++ b/sf-ui/src/views/FDS/installationList/detail.vue @@ -0,0 +1,103 @@ + + + diff --git a/sf-ui/src/views/FDS/installationList/edit.vue b/sf-ui/src/views/FDS/installationList/edit.vue new file mode 100644 index 0000000..ba121da --- /dev/null +++ b/sf-ui/src/views/FDS/installationList/edit.vue @@ -0,0 +1,173 @@ + + + diff --git a/sf-ui/src/views/FDS/installationList/index.vue b/sf-ui/src/views/FDS/installationList/index.vue new file mode 100644 index 0000000..1ac9418 --- /dev/null +++ b/sf-ui/src/views/FDS/installationList/index.vue @@ -0,0 +1,328 @@ + + diff --git a/sf-ui/src/views/FDS/publishList/add.vue b/sf-ui/src/views/FDS/publishList/add.vue new file mode 100644 index 0000000..44f8626 --- /dev/null +++ b/sf-ui/src/views/FDS/publishList/add.vue @@ -0,0 +1,301 @@ + + + diff --git a/sf-ui/src/views/FDS/publishList/components/addPack.vue b/sf-ui/src/views/FDS/publishList/components/addPack.vue new file mode 100644 index 0000000..713d6b6 --- /dev/null +++ b/sf-ui/src/views/FDS/publishList/components/addPack.vue @@ -0,0 +1,121 @@ + + diff --git a/sf-ui/src/views/FDS/publishList/detail.vue b/sf-ui/src/views/FDS/publishList/detail.vue new file mode 100644 index 0000000..089cf50 --- /dev/null +++ b/sf-ui/src/views/FDS/publishList/detail.vue @@ -0,0 +1,144 @@ + + + diff --git a/sf-ui/src/views/FDS/publishList/index.vue b/sf-ui/src/views/FDS/publishList/index.vue new file mode 100644 index 0000000..dc6b1c7 --- /dev/null +++ b/sf-ui/src/views/FDS/publishList/index.vue @@ -0,0 +1,366 @@ + + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/add.vue b/sf-ui/src/views/FDS/whiteListManagement/add.vue new file mode 100644 index 0000000..a2c8b61 --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/add.vue @@ -0,0 +1,142 @@ + + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/addConfig.vue b/sf-ui/src/views/FDS/whiteListManagement/addConfig.vue new file mode 100644 index 0000000..917089a --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/addConfig.vue @@ -0,0 +1,168 @@ +、 + + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/components/editWhiteList.vue b/sf-ui/src/views/FDS/whiteListManagement/components/editWhiteList.vue new file mode 100644 index 0000000..6c312fb --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/components/editWhiteList.vue @@ -0,0 +1,80 @@ + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/detail.vue b/sf-ui/src/views/FDS/whiteListManagement/detail.vue new file mode 100644 index 0000000..f1d7586 --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/detail.vue @@ -0,0 +1,177 @@ + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/edit.vue b/sf-ui/src/views/FDS/whiteListManagement/edit.vue new file mode 100644 index 0000000..1762ca7 --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/edit.vue @@ -0,0 +1,140 @@ + + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/equepDetail.vue b/sf-ui/src/views/FDS/whiteListManagement/equepDetail.vue new file mode 100644 index 0000000..4cd8978 --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/equepDetail.vue @@ -0,0 +1,184 @@ + + diff --git a/sf-ui/src/views/FDS/whiteListManagement/index.vue b/sf-ui/src/views/FDS/whiteListManagement/index.vue new file mode 100644 index 0000000..be35cbe --- /dev/null +++ b/sf-ui/src/views/FDS/whiteListManagement/index.vue @@ -0,0 +1,340 @@ + + diff --git a/sf-ui/src/views/components/home/card.vue b/sf-ui/src/views/components/home/card.vue new file mode 100644 index 0000000..cf925aa --- /dev/null +++ b/sf-ui/src/views/components/home/card.vue @@ -0,0 +1,116 @@ + + + + + \ No newline at end of file diff --git a/sf-ui/src/views/components/home/list.vue b/sf-ui/src/views/components/home/list.vue new file mode 100644 index 0000000..f70c78a --- /dev/null +++ b/sf-ui/src/views/components/home/list.vue @@ -0,0 +1,60 @@ + + + + + \ No newline at end of file diff --git a/sf-ui/src/views/deploy/INFO/add.vue b/sf-ui/src/views/deploy/INFO/add.vue new file mode 100644 index 0000000..008f803 --- /dev/null +++ b/sf-ui/src/views/deploy/INFO/add.vue @@ -0,0 +1,195 @@ + + + diff --git a/sf-ui/src/views/deploy/INFO/index.vue b/sf-ui/src/views/deploy/INFO/index.vue new file mode 100644 index 0000000..606fb32 --- /dev/null +++ b/sf-ui/src/views/deploy/INFO/index.vue @@ -0,0 +1,337 @@ + + diff --git a/sf-ui/src/views/gateway/interface/index.vue b/sf-ui/src/views/gateway/interface/index.vue new file mode 100644 index 0000000..f2b5ace --- /dev/null +++ b/sf-ui/src/views/gateway/interface/index.vue @@ -0,0 +1,336 @@ + + + diff --git a/sf-ui/src/views/gateway/route/index.vue b/sf-ui/src/views/gateway/route/index.vue new file mode 100644 index 0000000..41afc4b --- /dev/null +++ b/sf-ui/src/views/gateway/route/index.vue @@ -0,0 +1,336 @@ + + + diff --git a/sf-ui/src/views/gateway/server/index.vue b/sf-ui/src/views/gateway/server/index.vue new file mode 100644 index 0000000..522b64d --- /dev/null +++ b/sf-ui/src/views/gateway/server/index.vue @@ -0,0 +1,342 @@ + + + diff --git a/sf-ui/src/views/gateway/strategy/index.vue b/sf-ui/src/views/gateway/strategy/index.vue new file mode 100644 index 0000000..88cc837 --- /dev/null +++ b/sf-ui/src/views/gateway/strategy/index.vue @@ -0,0 +1,394 @@ + + + diff --git a/sf-ui/src/views/index.vue b/sf-ui/src/views/index.vue index caa90af..784e888 100644 --- a/sf-ui/src/views/index.vue +++ b/sf-ui/src/views/index.vue @@ -1,963 +1,26 @@ - \ No newline at end of file diff --git a/sf-ui/src/views/login.vue b/sf-ui/src/views/login.vue index cdae8dc..d0b13af 100644 --- a/sf-ui/src/views/login.vue +++ b/sf-ui/src/views/login.vue @@ -1,7 +1,7 @@