Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
多鱼的夏天
RuoYi-Cloud-Docker
提交
82779f3c
R
RuoYi-Cloud-Docker
项目概览
多鱼的夏天
/
RuoYi-Cloud-Docker
通知
209
Star
7
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
RuoYi-Cloud-Docker
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
82779f3c
编写于
12月 02, 2021
作者:
R
RuoYi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化提示信息
上级
b1bc3ceb
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
17 addition
and
39 deletion
+17
-39
ruoyi-ui/src/api/system/role.js
ruoyi-ui/src/api/system/role.js
+1
-0
ruoyi-ui/src/directive/permission/index.js
ruoyi-ui/src/directive/permission/index.js
+0
-15
ruoyi-ui/src/layout/components/AppMain.vue
ruoyi-ui/src/layout/components/AppMain.vue
+1
-1
ruoyi-ui/src/plugins/modal.js
ruoyi-ui/src/plugins/modal.js
+8
-0
ruoyi-ui/src/utils/errorCode.js
ruoyi-ui/src/utils/errorCode.js
+1
-1
ruoyi-ui/src/views/monitor/druid/index.vue
ruoyi-ui/src/views/monitor/druid/index.vue
+0
-15
ruoyi-ui/src/views/monitor/online/index.vue
ruoyi-ui/src/views/monitor/online/index.vue
+1
-1
ruoyi-ui/src/views/system/user/index.vue
ruoyi-ui/src/views/system/user/index.vue
+1
-1
ruoyi-ui/src/views/tool/gen/basicInfoForm.vue
ruoyi-ui/src/views/tool/gen/basicInfoForm.vue
+1
-2
ruoyi-ui/src/views/tool/gen/editTable.vue
ruoyi-ui/src/views/tool/gen/editTable.vue
+1
-0
ruoyi-ui/src/views/tool/gen/genInfoForm.vue
ruoyi-ui/src/views/tool/gen/genInfoForm.vue
+1
-2
ruoyi-ui/vue.config.js
ruoyi-ui/vue.config.js
+1
-1
未找到文件。
ruoyi-ui/src/api/system/role.js
浏览文件 @
82779f3c
...
...
@@ -64,6 +64,7 @@ export function delRole(roleId) {
method
:
'
delete
'
})
}
// 查询角色已授权用户列表
export
function
allocatedUserList
(
query
)
{
return
request
({
...
...
ruoyi-ui/src/directive/permission/index.js
已删除
100644 → 0
浏览文件 @
b1bc3ceb
import
hasRole
from
'
./hasRole
'
import
hasPermi
from
'
./hasPermi
'
const
install
=
function
(
Vue
)
{
Vue
.
directive
(
'
hasRole
'
,
hasRole
)
Vue
.
directive
(
'
hasPermi
'
,
hasPermi
)
}
if
(
window
.
Vue
)
{
window
[
'
hasRole
'
]
=
hasRole
window
[
'
hasPermi
'
]
=
hasPermi
Vue
.
use
(
install
);
// eslint-disable-line
}
export
default
install
ruoyi-ui/src/layout/components/AppMain.vue
浏览文件 @
82779f3c
...
...
@@ -51,7 +51,7 @@ export default {
// fix css style bug in open el-dialog
.el-popup-parent--hidden
{
.fixed-header
{
padding-right
:
1
5
px
;
padding-right
:
1
7
px
;
}
}
</
style
>
ruoyi-ui/src/plugins/modal.js
浏览文件 @
82779f3c
...
...
@@ -59,6 +59,14 @@ export default {
type
:
"
warning
"
,
})
},
// 提交内容
prompt
(
content
)
{
return
MessageBox
.
prompt
(
content
,
"
系统提示
"
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
"
warning
"
,
})
},
// 打开遮罩层
loading
(
content
)
{
loadingInstance
=
Loading
.
service
({
...
...
ruoyi-ui/src/utils/errorCode.js
浏览文件 @
82779f3c
...
...
@@ -2,5 +2,5 @@ export default {
'
401
'
:
'
认证失败,无法访问系统资源
'
,
'
403
'
:
'
当前操作没有权限
'
,
'
404
'
:
'
访问资源不存在
'
,
'
default
'
:
'
系统未知错误
,
请反馈给管理员
'
'
default
'
:
'
系统未知错误
,
请反馈给管理员
'
}
ruoyi-ui/src/views/monitor/druid/index.vue
已删除
100644 → 0
浏览文件 @
b1bc3ceb
<
template
>
<i-frame
:src=
"url"
/>
</
template
>
<
script
>
import
iFrame
from
"
@/components/iFrame/index
"
;
export
default
{
name
:
"
Druid
"
,
components
:
{
iFrame
},
data
()
{
return
{
url
:
process
.
env
.
VUE_APP_BASE_API
+
"
/druid/login.html
"
};
},
};
</
script
>
ruoyi-ui/src/views/monitor/online/index.vue
浏览文件 @
82779f3c
...
...
@@ -107,7 +107,7 @@ export default {
},
/** 强退按钮操作 */
handleForceLogout
(
row
)
{
this
.
$modal
.
confirm
(
'
是否确认强退名称为"
'
+
row
.
userName
+
'
"的
数据项
?
'
).
then
(
function
()
{
this
.
$modal
.
confirm
(
'
是否确认强退名称为"
'
+
row
.
userName
+
'
"的
用户
?
'
).
then
(
function
()
{
return
forceLogout
(
row
.
tokenId
);
}).
then
(()
=>
{
this
.
getList
();
...
...
ruoyi-ui/src/views/system/user/index.vue
浏览文件 @
82779f3c
...
...
@@ -596,7 +596,7 @@ export default {
cancelButtonText
:
"
取消
"
,
closeOnClickModal
:
false
,
inputPattern
:
/^.
{5,20}
$/
,
inputErrorMessage
:
"
用户密码长度必须介于 5 和 20 之间
"
,
inputErrorMessage
:
"
用户密码长度必须介于 5 和 20 之间
"
}).
then
(({
value
})
=>
{
resetUserPwd
(
row
.
userId
,
value
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"
修改成功,新密码是:
"
+
value
);
...
...
ruoyi-ui/src/views/tool/gen/basicInfoForm.vue
浏览文件 @
82779f3c
...
...
@@ -11,7 +11,6 @@
<el-input
placeholder=
"请输入"
v-model=
"info.tableComment"
/>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实体类名称"
prop=
"className"
>
<el-input
placeholder=
"请输入"
v-model=
"info.className"
/>
...
...
@@ -30,9 +29,9 @@
</el-row>
</el-form>
</
template
>
<
script
>
export
default
{
name
:
"
BasicInfoForm
"
,
props
:
{
info
:
{
type
:
Object
,
...
...
ruoyi-ui/src/views/tool/gen/editTable.vue
浏览文件 @
82779f3c
...
...
@@ -124,6 +124,7 @@
</el-form>
</el-card>
</template>
<
script
>
import
{
getGenTable
,
updateGenTable
}
from
"
@/api/tool/gen
"
;
import
{
optionselect
as
getDictOptionselect
}
from
"
@/api/system/dict/type
"
;
...
...
ruoyi-ui/src/views/tool/gen/genInfoForm.vue
浏览文件 @
82779f3c
...
...
@@ -11,7 +11,6 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
prop=
"packageName"
>
<span
slot=
"label"
>
...
...
@@ -213,12 +212,12 @@
</el-row>
</el-form>
</
template
>
<
script
>
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
"
@riophae/vue-treeselect/dist/vue-treeselect.css
"
;
export
default
{
name
:
"
BasicInfoForm
"
,
components
:
{
Treeselect
},
props
:
{
info
:
{
...
...
ruoyi-ui/vue.config.js
浏览文件 @
82779f3c
...
...
@@ -109,7 +109,7 @@ module.exports = {
config
.
optimization
.
runtimeChunk
(
'
single
'
),
{
from
:
path
.
resolve
(
__dirname
,
'
./public/robots.txt
'
),
//防爬虫文件
to
:
'
./
'
,
//到根目录下
to
:
'
./
'
//到根目录下
}
}
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录