Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
26d757f6
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1423
Star
161
Fork
130
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
26d757f6
编写于
6月 30, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 布局操作新增打开方式
上级
ad2cc2e1
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
2 deletion
+11
-2
base-server/src/main/resources/template/js/operate/writeOperate.js
...er/src/main/resources/template/js/operate/writeOperate.js
+8
-0
web/src/main/resources/bootstrap.yml
web/src/main/resources/bootstrap.yml
+2
-2
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+1
-0
未找到文件。
base-server/src/main/resources/template/js/operate/writeOperate.js
浏览文件 @
26d757f6
...
...
@@ -29,6 +29,11 @@ layui.config({
<input type="text" id="openPageName" name="openPageName" win-verify="required" placeholder="请输入新开页面名称" class="layui-input" maxlength="200"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">打开方式<i class="red">*</i></label>
<div class="layui-input-block winui-radio" id="openType">
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">页面类型<i class="red">*</i></label>
<div class="layui-input-block winui-radio">
...
...
@@ -87,6 +92,7 @@ layui.config({
$
(
"
#openPageName
"
).
val
(
operateOpenPage
.
name
);
var
type
=
operateOpenPage
.
type
?
"
1
"
:
"
2
"
;
$
(
"
input:radio[name=type][value=
"
+
type
+
"
]
"
).
attr
(
"
checked
"
,
true
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
pageOpenType
"
,
'
radio
'
,
"
openType
"
,
operateOpenPage
.
openType
,
form
);
if
(
type
==
1
)
{
$
(
'
#typeChangeBox
'
).
html
(
commonHtml
[
'
customPageUrl
'
]);
$
(
"
#pageUrl
"
).
val
(
operateOpenPage
.
pageUrl
);
...
...
@@ -148,6 +154,7 @@ layui.config({
// 新开页面
$
(
'
#eventTypeChangeBox
'
).
html
(
_html
[
'
operateOpenPage
'
]);
$
(
'
#typeChangeBox
'
).
html
(
commonHtml
[
'
customPageUrl
'
]);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
pageOpenType
"
,
'
radio
'
,
"
openType
"
,
''
,
form
);
loadParamsTable
(
'
pageParams
'
);
}
form
.
render
();
...
...
@@ -216,6 +223,7 @@ layui.config({
name
:
$
(
"
#openPageName
"
).
val
(),
type
:
type
==
1
?
true
:
false
,
pageUrl
:
type
==
1
?
$
(
"
#pageUrl
"
).
val
()
:
dsFormUtil
.
dsFormChooseMation
.
id
,
openType
:
dataShowType
.
getData
(
'
openType
'
),
params
:
pageParams
};
params
.
operateOpenPage
=
JSON
.
stringify
(
operateOpenPage
);
...
...
web/src/main/resources/bootstrap.yml
浏览文件 @
26d757f6
...
...
@@ -10,9 +10,9 @@ spring:
cloud
:
nacos
:
discovery
:
server-addr
:
172.18.92.40
:9000
# 配置服务注册nacos地址
server-addr
:
localhost
:9000
# 配置服务注册nacos地址
config
:
# 指定nacos server的地址
server-addr
:
172.18.92.40
:9000
server-addr
:
localhost
:9000
file-extension
:
yml
namespace
:
dev
\ No newline at end of file
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
26d757f6
...
...
@@ -17,6 +17,7 @@
"applicableObjectsType"
:
{
"name"
:
"适用对象类型"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.ApplicableObjectsType"
},
"checkDayType"
:
{
"name"
:
"日程插件上的类型(包含日程的)"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.CheckDayType"
},
"userStaffType"
:
{
"name"
:
"员工类型"
,
"className"
:
"skyeye-pro#com.skyeye.personnel.classenum.UserStaffType"
},
"pageOpenType"
:
{
"name"
:
"页面布局打开方式"
,
"className"
:
"skyeye-pro#com.skyeye.operate.classenum.PageOpenType"
},
"menuType"
:
{
"name"
:
"APP菜单类型"
,
"className"
:
"skyeye-pro#com.skyeye.menu.classenum.MenuType"
},
"urlType"
:
{
"name"
:
"APP菜单URL类型"
,
"className"
:
"skyeye-pro#com.skyeye.menu.classenum.UrlType"
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录