Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_54624550
gin-vue-admin
提交
daad4c32
G
gin-vue-admin
项目概览
weixin_54624550
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
3
Star
0
Fork
0
代码
文件
提交
分支
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,发现更多精彩内容 >>
未验证
提交
daad4c32
编写于
6月 07, 2020
作者:
Mr.奇淼(
提交者:
GitHub
6月 07, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #111 from 957651480/master
数据表操作美化按钮
上级
69b2ee1c
3410b1c5
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
22 addition
and
15 deletion
+22
-15
README-zh_CN.md
README-zh_CN.md
+4
-0
README.md
README.md
+3
-0
server/resource/template/fe/table.vue.tpl
server/resource/template/fe/table.vue.tpl
+1
-1
web/src/view/example/customer/customer.vue
web/src/view/example/customer/customer.vue
+1
-1
web/src/view/superAdmin/api/api.vue
web/src/view/superAdmin/api/api.vue
+2
-2
web/src/view/superAdmin/authority/authority.vue
web/src/view/superAdmin/authority/authority.vue
+5
-5
web/src/view/superAdmin/menu/menu.vue
web/src/view/superAdmin/menu/menu.vue
+3
-3
web/src/view/superAdmin/user/user.vue
web/src/view/superAdmin/user/user.vue
+1
-1
web/src/view/systemTools/autoCode/index.vue
web/src/view/systemTools/autoCode/index.vue
+2
-2
未找到文件。
README-zh_CN.md
浏览文件 @
daad4c32
...
...
@@ -258,3 +258,7 @@ swag init
## 9. 捐赠
如果你觉得这个项目对你有帮助,你可以请作者喝饮料 :tropical_drink:
## 10. 商用注意事项
如果您将此项目用于商业用途,请遵守apatch2.0协议并保留作者技术支持声明。
README.md
浏览文件 @
daad4c32
...
...
@@ -263,3 +263,6 @@ backend code file: model\dnModel\api.go
If you find this project useful, you can buy author a glass of juice :tropical_drink:
## 10. Commercial considerations
If you use this project for commercial purposes, please comply with the apatch2.0 agreement and retain the author's technical support statement.
server/resource/template/fe/table.vue.tpl
浏览文件 @
daad4c32
...
...
@@ -32,7 +32,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"scope.row.visible = false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"delete{{.StructName}}(scope.row)"
>
确定
</el-button>
</div>
<el-button
type=
"
text
"
size=
"mini"
slot=
"reference"
>
删除
</el-button>
<el-button
type=
"
danger"
icon=
"el-icon-delete
"
size=
"mini"
slot=
"reference"
>
删除
</el-button>
</el-popover>
</template>
</el-table-column>
...
...
web/src/view/example/customer/customer.vue
浏览文件 @
daad4c32
...
...
@@ -31,7 +31,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"scope.row.visible = false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"deleteCustomer(scope.row)"
>
确定
</el-button>
</div>
<el-button
type=
"
text
"
size=
"mini"
slot=
"reference"
>
删除
</el-button>
<el-button
type=
"
danger"
icon=
"el-icon-delete
"
size=
"mini"
slot=
"reference"
>
删除
</el-button>
</el-popover>
</
template
>
</el-table-column>
...
...
web/src/view/superAdmin/api/api.vue
浏览文件 @
daad4c32
...
...
@@ -51,8 +51,8 @@
<el-table-column
fixed=
"right"
label=
"操作"
width=
"200"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"editApi(scope.row)"
size=
"small"
type=
"
tex
t"
>
编辑
</el-button>
<el-button
@
click=
"deleteApi(scope.row)"
size=
"small"
type=
"
text
"
>
删除
</el-button>
<el-button
@
click=
"editApi(scope.row)"
size=
"small"
type=
"
primary"
icon=
"el-icon-edi
t"
>
编辑
</el-button>
<el-button
@
click=
"deleteApi(scope.row)"
size=
"small"
type=
"
danger"
icon=
"el-icon-delete
"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
web/src/view/superAdmin/authority/authority.vue
浏览文件 @
daad4c32
...
...
@@ -15,11 +15,11 @@
<el-table-column
label=
"角色名称"
min-width=
"180"
prop=
"authorityName"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"460"
>
<template
slot-scope=
"scope"
>
<el-button
@
click=
"opdendrawer(scope.row)"
size=
"small"
type=
"
text
"
>
设置权限
</el-button>
<el-button
@
click=
"addAuthority(scope.row.authorityId)"
size=
"small"
type=
"
text
"
>
新增子角色
</el-button>
<el-button
@
click=
"copyAuthority(scope.row)"
size=
"small"
type=
"
text"
>
拷贝角色
</el-button>
<el-button
@
click=
"editAuthority(scope.row)"
size=
"small"
type=
"
text"
>
编辑角色
</el-button>
<el-button
@
click=
"deleteAuth(scope.row)"
size=
"small"
type=
"
text"
>
删除角色
</el-button>
<el-button
@
click=
"opdendrawer(scope.row)"
size=
"small"
type=
"
primary
"
>
设置权限
</el-button>
<el-button
@
click=
"addAuthority(scope.row.authorityId)"
size=
"small"
type=
"
primary"
icon=
"el-icon-plus
"
>
新增子角色
</el-button>
<el-button
@
click=
"copyAuthority(scope.row)"
size=
"small"
type=
"
primary"
icon=
"el-icon-copy-document"
>
拷贝
</el-button>
<el-button
@
click=
"editAuthority(scope.row)"
size=
"small"
type=
"
primary"
icon=
"el-icon-edit"
>
编辑
</el-button>
<el-button
@
click=
"deleteAuth(scope.row)"
size=
"small"
type=
"
danger"
icon=
"el-icon-delete"
>
删除
</el-button>
</
template
>
</el-table-column>
...
...
web/src/view/superAdmin/menu/menu.vue
浏览文件 @
daad4c32
...
...
@@ -30,9 +30,9 @@
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"300"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"
deleteMenu(scope.row.ID)"
size=
"small"
type=
"text"
>
删除
菜单
</el-button>
<el-button
@
click=
"editMenu(scope.row.ID)"
size=
"small"
type=
"
text"
>
编辑菜单
</el-button>
<el-button
@
click=
"
addMenu(scope.row.ID)"
size=
"small"
type=
"text"
>
添加子菜单
</el-button>
<el-button
@
click=
"
addMenu(scope.row.ID)"
size=
"small"
type=
"primary"
icon=
"el-icon-edit"
>
添加子
菜单
</el-button>
<el-button
@
click=
"editMenu(scope.row.ID)"
size=
"small"
type=
"
primary"
icon=
"el-icon-edit"
>
编辑
</el-button>
<el-button
@
click=
"
deleteMenu(scope.row.ID)"
size=
"small"
type=
"danger"
icon=
"el-icon-delete"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
web/src/view/superAdmin/user/user.vue
浏览文件 @
daad4c32
...
...
@@ -34,7 +34,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"scope.row.visible = false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"deleteUser(scope.row)"
>
确定
</el-button>
</div>
<el-button
type=
"
text
"
size=
"small"
slot=
"reference"
>
删除
</el-button>
<el-button
type=
"
danger"
icon=
"el-icon-delete
"
size=
"small"
slot=
"reference"
>
删除
</el-button>
</el-popover>
</
template
>
</el-table-column>
...
...
web/src/view/systemTools/autoCode/index.vue
浏览文件 @
daad4c32
...
...
@@ -32,7 +32,7 @@
</el-table-column>
<el-table-column
label=
"操作"
width=
"250"
>
<template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"
tex
t"
@
click=
"editAndAddField(scope.row)"
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"
primary"
icon=
"el-icon-edi
t"
@
click=
"editAndAddField(scope.row)"
>
编辑
</el-button>
<el-button
size=
"mini"
type=
"text"
:disabled=
"scope.$index == 0"
@
click=
"moveUpField(scope.$index)"
>
上移
</el-button>
<el-button
size=
"mini"
type=
"text"
:disabled=
"(scope.$index + 1) == form.fields.length"
@
click=
"moveDownField(scope.$index)"
>
下移
</el-button>
<el-popover
placement=
"top"
v-model=
"scope.row.visible"
>
...
...
@@ -41,7 +41,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"scope.row.visible = false"
>
取消
</el-button>
<el-button
type=
"primary"
size=
"mini"
@
click=
"deleteField(scope.$index)"
>
确定
</el-button>
</div>
<el-button
size=
"mini"
type=
"
text
"
slot=
"reference"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"
danger"
icon=
"el-icon-delete
"
slot=
"reference"
>
删除
</el-button>
</el-popover>
</
template
>
</el-table-column>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录