Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
16c79bbc
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
9 个月 前同步成功
通知
324
Star
18154
Fork
5505
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
16c79bbc
编写于
8月 06, 2023
作者:
P
piexlMax
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
增加部分功能视频教程快速链接
上级
6b9df87f
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
50 addition
and
18 deletion
+50
-18
web/src/utils/doc.js
web/src/utils/doc.js
+3
-0
web/src/view/init/index.vue
web/src/view/init/index.vue
+1
-1
web/src/view/superAdmin/api/api.vue
web/src/view/superAdmin/api/api.vue
+6
-1
web/src/view/superAdmin/authority/authority.vue
web/src/view/superAdmin/authority/authority.vue
+4
-1
web/src/view/superAdmin/dictionary/sysDictionary.vue
web/src/view/superAdmin/dictionary/sysDictionary.vue
+4
-1
web/src/view/superAdmin/menu/menu.vue
web/src/view/superAdmin/menu/menu.vue
+25
-12
web/src/view/systemTools/autoPkg/autoPkg.vue
web/src/view/systemTools/autoPkg/autoPkg.vue
+4
-1
web/src/view/systemTools/autoPlug/autoPlug.vue
web/src/view/systemTools/autoPlug/autoPlug.vue
+3
-1
未找到文件。
web/src/utils/doc.js
0 → 100644
浏览文件 @
16c79bbc
export
const
toDoc
=
(
url
)
=>
{
window
.
open
(
url
,
'
_blank
'
)
}
web/src/view/init/index.vue
浏览文件 @
16c79bbc
...
...
@@ -7,7 +7,7 @@
<div
class=
"font-sans text-4xl font-bold text-center mb-4"
>
GIN-VUE-ADMIN
</div>
<p
class=
"text-gray-600 mb-2"
>
初始化须知
</p>
<p
class=
"text-gray-600 mb-2"
>
1.您需有用一定的VUE和GOLANG基础
</p>
<p
class=
"text-gray-600 mb-2"
>
2.请您确认是否已经阅读过
<a
class=
"text-blue-600 font-bold"
href=
"https://www.gin-vue-admin.com"
>
官方文档
</a></p>
<p
class=
"text-gray-600 mb-2"
>
2.请您确认是否已经阅读过
<a
class=
"text-blue-600 font-bold"
href=
"https://www.gin-vue-admin.com"
target=
"_blank"
>
官方文档
</a>
<a
class=
"text-blue-600 font-bold"
href=
"https://www.bilibili.com/video/BV1kv4y1g7nT?p=2"
target=
"_blank"
>
初始化视频
</a></p>
<p
class=
"text-gray-600 mb-2"
>
3.请您确认是否了解后续的配置流程
</p>
<p
class=
"text-gray-600 mb-2"
>
4.如果您使用mysql数据库,请确认数据库引擎为
<span
class=
"text-red-600 font-bold text-3xl ml-2 "
>
innoDB
</span></p>
<p
class=
"text-gray-600 mb-2"
>
注:开发组不为文档中书写过的内容提供无偿服务
</p>
...
...
web/src/view/superAdmin/api/api.vue
浏览文件 @
16c79bbc
...
...
@@ -29,7 +29,10 @@
</div>
<div
class=
"gva-table-box"
>
<div
class=
"gva-btn-list"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"openDialog('addApi')"
>
新增
</el-button>
<div
class=
"gva-btn-list flex items-center gap-3"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"openDialog('addApi')"
>
新增
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=7&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-popover
v-model=
"deleteVisible"
placement=
"top"
width=
"160"
>
<p>
确定要删除吗?
</p>
<div
style=
"text-align: right; margin-top: 8px;"
>
...
...
@@ -154,6 +157,8 @@ import { toSQLLine } from '@/utils/stringFun'
import
WarningBar
from
'
@/components/warningBar/warningBar.vue
'
import
{
ref
}
from
'
vue
'
import
{
ElMessage
,
ElMessageBox
}
from
'
element-plus
'
import
{
VideoCameraFilled
}
from
"
@element-plus/icons-vue
"
;
import
{
toDoc
}
from
'
@/utils/doc
'
const
methodFilter
=
(
value
)
=>
{
const
target
=
methodOptions
.
value
.
filter
(
item
=>
item
.
value
===
value
)[
0
]
...
...
web/src/view/superAdmin/authority/authority.vue
浏览文件 @
16c79bbc
...
...
@@ -2,8 +2,9 @@
<div
class=
"authority"
>
<warning-bar
title=
"注:右上角头像下拉可切换角色"
/>
<div
class=
"gva-table-box"
>
<div
class=
"gva-btn-list"
>
<div
class=
"gva-btn-list
flex items-center gap-3
"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"addAuthority(0)"
>
新增角色
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=8&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-table
:data=
"tableData"
...
...
@@ -115,6 +116,8 @@ import WarningBar from '@/components/warningBar/warningBar.vue'
import
{
ref
}
from
'
vue
'
import
{
ElMessage
,
ElMessageBox
}
from
'
element-plus
'
import
{
toDoc
}
from
"
@/utils/doc
"
;
import
{
VideoCameraFilled
}
from
"
@element-plus/icons-vue
"
;
const
mustUint
=
(
rule
,
value
,
callback
)
=>
{
if
(
!
/^
[
0-9
]
*
[
1-9
][
0-9
]
*$/
.
test
(
value
))
{
...
...
web/src/view/superAdmin/dictionary/sysDictionary.vue
浏览文件 @
16c79bbc
...
...
@@ -36,13 +36,14 @@
</el-form>
</div>
<div
class=
"gva-table-box"
>
<div
class=
"gva-btn-list"
>
<div
class=
"gva-btn-list
flex items-center gap-3
"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"openDialog"
>
新增
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=12&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-table
ref=
"multipleTable"
...
...
@@ -218,6 +219,8 @@ import { ref } from 'vue'
import
{
useRouter
}
from
'
vue-router
'
import
{
ElMessage
}
from
'
element-plus
'
import
{
formatBoolean
,
formatDate
}
from
'
@/utils/format
'
import
{
toDoc
}
from
"
@/utils/doc
"
;
import
{
VideoCameraFilled
}
from
"
@element-plus/icons-vue
"
;
const
router
=
useRouter
()
...
...
web/src/view/superAdmin/menu/menu.vue
浏览文件 @
16c79bbc
<
template
>
<div>
<div
class=
"gva-table-box"
>
<div
class=
"gva-btn-list"
>
<div
class=
"gva-btn-list
flex items-center gap-3
"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"addMenu('0')"
>
新增根菜单
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT/?p=4&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<!-- 由于此处菜单跟左侧列表一一对应所以不需要分页 pageSize默认999 -->
...
...
@@ -162,11 +163,14 @@
</el-form-item>
</el-form>
<div>
<el-button
type=
"primary"
icon=
"edit"
@
click=
"addParameter(form)"
>
新增菜单参数
</el-button>
<div
class=
"flex items-center gap-2"
>
<el-button
type=
"primary"
icon=
"edit"
@
click=
"addParameter(form)"
>
新增菜单参数
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=9&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-table
:data=
"form.parameters"
style=
"width: 100%;margin-top: 12px;"
>
<el-table-column
align=
"left"
prop=
"type"
label=
"参数类型"
width=
"180"
>
<
template
#default=
"scope"
>
...
...
@@ -204,12 +208,18 @@
</el-table-column>
</el-table>
<el-button
style=
"margin-top:12px"
type=
"primary"
icon=
"edit"
@
click=
"addBtn(form)"
>
新增可控按钮
</el-button>
<div
class=
"flex items-center gap-2 mt-3"
>
<el-button
type=
"primary"
icon=
"edit"
@
click=
"addBtn(form)"
>
新增可控按钮
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.gin-vue-admin.com/guide/web/button-auth.html')"
><QuestionFilled
/></el-icon>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=11&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-table
:data=
"form.menuBtn"
style=
"width: 100%;margin-top: 12px;"
>
<el-table-column
align=
"left"
prop=
"name"
label=
"按钮名称"
width=
"180"
>
<
template
#default=
"scope"
>
...
...
@@ -262,6 +272,9 @@ import WarningBar from '@/components/warningBar/warningBar.vue'
import
{
canRemoveAuthorityBtnApi
}
from
'
@/api/authorityBtn
'
import
{
reactive
,
ref
}
from
'
vue
'
import
{
ElMessage
,
ElMessageBox
}
from
'
element-plus
'
import
{
QuestionFilled
,
VideoCameraFilled
}
from
"
@element-plus/icons-vue
"
;
import
{
toDoc
}
from
'
@/utils/doc
'
const
rules
=
reactive
({
path
:
[{
required
:
true
,
message
:
'
请输入菜单name
'
,
trigger
:
'
blur
'
}],
...
...
web/src/view/systemTools/autoPkg/autoPkg.vue
浏览文件 @
16c79bbc
...
...
@@ -2,8 +2,9 @@
<div>
<warning-bar
href=
"https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"
title=
"此功能为开发环境使用,不建议发布到生产,具体使用效果请看视频https://www.bilibili.com/video/BV1kv4y1g7nT?p=3"
/>
<div
class=
"gva-table-box"
>
<div
class=
"gva-btn-list"
>
<div
class=
"gva-btn-list
gap-3 flex items-center
"
>
<el-button
type=
"primary"
icon=
"plus"
@
click=
"openDialog('addApi')"
>
新增
</el-button>
<el-icon
class=
"cursor-pointer"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=3&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</div>
<el-table
:data=
"tableData"
>
<el-table-column
align=
"left"
label=
"id"
width=
"60"
prop=
"ID"
/>
...
...
@@ -64,6 +65,8 @@ import {
import
{
ref
}
from
'
vue
'
import
WarningBar
from
'
@/components/warningBar/warningBar.vue
'
import
{
ElMessage
,
ElMessageBox
}
from
'
element-plus
'
import
{
toDoc
}
from
"
@/utils/doc
"
;
import
{
VideoCameraFilled
}
from
"
@element-plus/icons-vue
"
;
const
form
=
ref
({
packageName
:
''
,
...
...
web/src/view/systemTools/autoPlug/autoPlug.vue
浏览文件 @
16c79bbc
...
...
@@ -94,6 +94,7 @@
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"createPlug"
>
创建
</el-button>
<el-icon
class=
"cursor-pointer ml-3"
@
click=
"toDoc('https://www.bilibili.com/video/BV1kv4y1g7nT?p=13&vd_source=f2640257c21e3b547a790461ed94875e')"
><VideoCameraFilled
/></el-icon>
</el-form-item>
</el-form>
...
...
@@ -106,13 +107,14 @@ import { toUpperCase } from '@/utils/stringFun'
import
{
Plus
,
Minus
Minus
,
VideoCameraFilled
}
from
'
@element-plus/icons-vue
'
import
{
ElMessage
,
ElMessageBox
}
from
'
element-plus
'
import
{
createPlugApi
}
from
'
@/api/autoCode.js
'
import
{
reactive
}
from
'
vue
'
import
{
toDoc
}
from
"
@/utils/doc
"
;
const
form
=
reactive
({
plugName
:
''
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录