Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
dsk-cr20g
Commits
6fe2fe89
Commit
6fe2fe89
authored
May 11, 2023
by
远方不远
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.60.201/root/dsk-operate-sys
parents
91c380a0
147b3677
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
37 additions
and
44 deletions
+37
-44
.env.development
dsk-operate-ui/.env.development
+2
-2
.env.production
dsk-operate-ui/.env.production
+2
-2
.env.staging
dsk-operate-ui/.env.staging
+2
-2
README.md
dsk-operate-ui/README.md
+14
-21
package.json
dsk-operate-ui/package.json
+1
-1
401.gif
dsk-operate-ui/src/assets/images/401/401.gif
+0
-0
404.png
dsk-operate-ui/src/assets/images/404/404.png
+0
-0
404_cloud.png
dsk-operate-ui/src/assets/images/404/404_cloud.png
+0
-0
login_background.jpg
dsk-operate-ui/src/assets/images/login_background.jpg
+0
-0
logo.png
dsk-operate-ui/src/assets/images/logo/logo.png
+0
-0
Logo.vue
dsk-operate-ui/src/layout/components/Sidebar/Logo.vue
+2
-2
401.vue
dsk-operate-ui/src/views/error/401.vue
+1
-1
404.vue
dsk-operate-ui/src/views/error/404.vue
+4
-4
index.vue
dsk-operate-ui/src/views/index.vue
+4
-4
login.vue
dsk-operate-ui/src/views/login.vue
+1
-1
register.vue
dsk-operate-ui/src/views/register.vue
+1
-1
index.vue
dsk-operate-ui/src/views/tool/build/index.vue
+1
-1
vue.config.js
dsk-operate-ui/vue.config.js
+2
-2
No files found.
dsk-operate-ui/.env.development
View file @
6fe2fe89
# 页面标题
VUE_APP_TITLE =
若依管理
系统
VUE_APP_TITLE =
央企经营
系统
# 开发环境配置
ENV = 'development'
#
若依管理
系统/开发环境
#
央企经营
系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
...
...
dsk-operate-ui/.env.production
View file @
6fe2fe89
# 页面标题
VUE_APP_TITLE =
若依管理
系统
VUE_APP_TITLE =
央企经营
系统
# 生产环境配置
ENV = 'production'
#
若依管理
系统/生产环境
#
央企经营
系统/生产环境
VUE_APP_BASE_API = '/prod-api'
dsk-operate-ui/.env.staging
View file @
6fe2fe89
# 页面标题
VUE_APP_TITLE =
若依管理
系统
VUE_APP_TITLE =
央企经营
系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
#
若依管理
系统/测试环境
#
央企经营
系统/测试环境
VUE_APP_BASE_API = '/stage-api'
dsk-operate-ui/README.md
View file @
6fe2fe89
##
开发
##
央企数字化经营管理系统
```
bash
# 克隆项目
git clone https://gitee.com/y_project/RuoYi-Vue
## 安装依赖
npm install
#
进入项目目录
cd
ruoyi-ui
#
# 启动测试开发环境
npm run dev
# 安装依赖
npm
install
## 页面
### http://localhost:8088/login 登录页面
### http://localhost:8088/index 首页
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm
install
--registry
=
https://registry.npmmirror.com
# 启动服务
npm run dev
```
## 开发规范及注意事项
1
*
页面引入的接口文件均放在src/api文件夹下,且名字一样;如enterpriseData引入的接口文件是enterpriseData.js;不要在调用的地方直接写接口地址,统一管理。
浏览器访问 http://localhost:80
2
*
所有图片文件均放在src/assets/images文件夹下,图片命名规范:(1)直接小写(2)驼峰命名(3)带下划线,三种均可。公用图片直接放在images下,单独栏目板块下的图片要单独建文件夹存放。
## 发布
3
*
svg栏目图标统一存放位置:src/icons/svg。
```
bash
# 构建测试环境
npm run build:stage
4
*
组件引用:公用组件存放目录src/components;单独引用的组件存放目录可在页面同级目录下建component文件夹存。
# 构建生产环境
npm run build:prod
```
\ No newline at end of file
5
*
表格小样例:src/views/macro/nationalEconomies/index.vue
\ No newline at end of file
dsk-operate-ui/package.json
View file @
6fe2fe89
{
"name"
:
"ruoyi"
,
"version"
:
"3.8.5"
,
"description"
:
"
若依管理
系统"
,
"description"
:
"
央企经营
系统"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
"scripts"
:
{
...
...
dsk-operate-ui/src/assets/
401_images
/401.gif
→
dsk-operate-ui/src/assets/
images/401
/401.gif
View file @
6fe2fe89
File moved
dsk-operate-ui/src/assets/
404_images
/404.png
→
dsk-operate-ui/src/assets/
images/404
/404.png
View file @
6fe2fe89
File moved
dsk-operate-ui/src/assets/
404_images
/404_cloud.png
→
dsk-operate-ui/src/assets/
images/404
/404_cloud.png
View file @
6fe2fe89
File moved
dsk-operate-ui/src/assets/images/login
-
background.jpg
→
dsk-operate-ui/src/assets/images/login
_
background.jpg
View file @
6fe2fe89
File moved
dsk-operate-ui/src/assets/logo/logo.png
→
dsk-operate-ui/src/assets/
images/
logo/logo.png
View file @
6fe2fe89
File moved
dsk-operate-ui/src/layout/components/Sidebar/Logo.vue
View file @
6fe2fe89
...
...
@@ -14,7 +14,7 @@
</
template
>
<
script
>
import
logoImg
from
'@/assets/logo/logo.png'
import
logoImg
from
'@/assets/
images/
logo/logo.png'
import
variables
from
'@/assets/styles/variables.scss'
export
default
{
...
...
@@ -35,7 +35,7 @@ export default {
},
data
()
{
return
{
title
:
'
若依管理
系统'
,
title
:
'
央企经营
系统'
,
logo
:
logoImg
}
}
...
...
dsk-operate-ui/src/views/error/401.vue
View file @
6fe2fe89
...
...
@@ -26,7 +26,7 @@
</
template
>
<
script
>
import
errGif
from
'@/assets/
401_images
/401.gif'
import
errGif
from
'@/assets/
images/401
/401.gif'
export
default
{
name
:
'Page401'
,
...
...
dsk-operate-ui/src/views/error/404.vue
View file @
6fe2fe89
...
...
@@ -2,10 +2,10 @@
<div
class=
"wscn-http404-container"
>
<div
class=
"wscn-http404"
>
<div
class=
"pic-404"
>
<img
class=
"pic-404__parent"
src=
"@/assets/
404_images
/404.png"
alt=
"404"
>
<img
class=
"pic-404__child left"
src=
"@/assets/
404_images
/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child mid"
src=
"@/assets/
404_images
/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child right"
src=
"@/assets/
404_images
/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__parent"
src=
"@/assets/
images/404
/404.png"
alt=
"404"
>
<img
class=
"pic-404__child left"
src=
"@/assets/
images/404
/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child mid"
src=
"@/assets/
images/404
/404_cloud.png"
alt=
"404"
>
<img
class=
"pic-404__child right"
src=
"@/assets/
images/404
/404_cloud.png"
alt=
"404"
>
</div>
<div
class=
"bullshit"
>
<div
class=
"bullshit__oops"
>
...
...
dsk-operate-ui/src/views/index.vue
View file @
6fe2fe89
...
...
@@ -39,9 +39,9 @@
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:sm=
"24"
:lg=
"12"
style=
"padding-left: 20px"
>
<h2>
若依后台
管理框架
</h2>
<h2>
央企后台经营
管理框架
</h2>
<p>
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了
若依管理
系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了
央企经营
系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。
</p>
<p>
<b>
当前版本:
</b>
<span>
v
{{
version
}}
</span>
...
...
dsk-operate-ui/src/views/login.vue
View file @
6fe2fe89
...
...
@@ -161,7 +161,7 @@ export default {
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-image
:
url("../assets/images/login
-
background.jpg")
;
background-image
:
url("../assets/images/login
_
background.jpg")
;
background-size
:
cover
;
}
.title
{
...
...
dsk-operate-ui/src/views/register.vue
View file @
6fe2fe89
...
...
@@ -151,7 +151,7 @@ export default {
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-image
:
url("../assets/images/login
-
background.jpg")
;
background-image
:
url("../assets/images/login
_
background.jpg")
;
background-size
:
cover
;
}
.title
{
...
...
dsk-operate-ui/src/views/tool/build/index.vue
View file @
6fe2fe89
...
...
@@ -147,7 +147,7 @@ import { makeUpHtml, vueTemplate, vueScript, cssStyle } from '@/utils/generator/
import
{
makeUpJs
}
from
'@/utils/generator/js'
import
{
makeUpCss
}
from
'@/utils/generator/css'
import
drawingDefault
from
'@/utils/generator/drawingDefault'
import
logo
from
'@/assets/logo/logo.png'
import
logo
from
'@/assets/
images/
logo/logo.png'
import
CodeTypeDialog
from
'./CodeTypeDialog'
import
DraggableItem
from
'./DraggableItem'
...
...
dsk-operate-ui/vue.config.js
View file @
6fe2fe89
...
...
@@ -7,7 +7,7 @@ function resolve(dir) {
const
CompressionPlugin
=
require
(
'compression-webpack-plugin'
)
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
若依管理
系统'
// 网页标题
const
name
=
process
.
env
.
VUE_APP_TITLE
||
'
央企经营
系统'
// 网页标题
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
80
// 端口
// vue.config.js 配置说明
...
...
@@ -34,7 +34,7 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://
localhost
:8080`
,
target
:
`http://
192.168.60.58
:8080`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment