Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
ee76eb4a
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1420
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看板
提交
ee76eb4a
编写于
2月 11, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
表单布局新增操作关联信息
上级
de32b367
变更
6
展开全部
隐藏空白更改
内联
并排
Showing
6 changed file
with
23 addition
and
5 deletion
+23
-5
common/src/main/resources/template/js/dsFormPage/editPageContent.js
.../main/resources/template/js/dsFormPage/editPageContent.js
+1
-1
common/src/main/resources/template/js/dsFormPage/writePage.js
...on/src/main/resources/template/js/dsFormPage/writePage.js
+12
-1
common/src/main/resources/template/tpl/dsFormPage/writePage.html
...src/main/resources/template/tpl/dsFormPage/writePage.html
+7
-1
web/src/main/resources/template/assets/lib/layui/customer/skyeye/skyeyeClassEnumUtil.js
...e/assets/lib/layui/customer/skyeye/skyeyeClassEnumUtil.js
+1
-1
web/src/main/resources/template/assets/lib/layui/lay/modules/xm-select/xm-select.js
...plate/assets/lib/layui/lay/modules/xm-select/xm-select.js
+1
-1
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+1
-0
未找到文件。
common/src/main/resources/template/js/dsFormPage/editPageContent.js
浏览文件 @
ee76eb4a
...
@@ -55,7 +55,7 @@ layui.config({
...
@@ -55,7 +55,7 @@ layui.config({
$
(
"
#width
"
).
val
(
data
.
width
);
$
(
"
#width
"
).
val
(
data
.
width
);
// 属性的限制条件
// 属性的限制条件
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
verificationParams
"
,
'
verificationSelect
'
,
"
require
"
,
data
.
require
,
form
,
'
formerRequirement
'
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
verificationParams
"
,
'
verificationSelect
'
,
"
require
"
,
data
.
require
,
form
,
null
,
'
formerRequirement
'
);
matchingLanguage
();
matchingLanguage
();
form
.
render
();
form
.
render
();
...
...
common/src/main/resources/template/js/dsFormPage/writePage.js
浏览文件 @
ee76eb4a
...
@@ -23,10 +23,20 @@ layui.config({
...
@@ -23,10 +23,20 @@ layui.config({
$
(
"
#serviceStr
"
).
val
(
businessApi
.
serviceStr
);
$
(
"
#serviceStr
"
).
val
(
businessApi
.
serviceStr
);
$
(
"
#api
"
).
val
(
businessApi
.
api
);
$
(
"
#api
"
).
val
(
businessApi
.
api
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
httpMethodEnum
"
,
'
select
'
,
"
method
"
,
businessApi
.
method
,
form
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
httpMethodEnum
"
,
'
select
'
,
"
method
"
,
businessApi
.
method
,
form
);
loadOperate
(
json
.
bean
.
operateIdList
);
}});
}});
}
else
{
}
else
{
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
dsFormPageType
"
,
'
select
'
,
"
type
"
,
''
,
form
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
dsFormPageType
"
,
'
select
'
,
"
type
"
,
''
,
form
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
httpMethodEnum
"
,
'
select
'
,
"
method
"
,
''
,
form
);
skyeyeClassEnumUtil
.
showEnumDataListByClassName
(
"
httpMethodEnum
"
,
'
select
'
,
"
method
"
,
''
,
form
);
loadOperate
(
null
);
}
function
loadOperate
(
defaultValue
)
{
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
queryOperateList
"
,
params
:
{
className
:
parent
.
objectId
},
type
:
'
json
'
,
method
:
'
POST
'
,
callback
:
function
(
json
)
{
var
value
=
isNull
(
defaultValue
)
?
''
:
defaultValue
.
toString
();
dataShowType
.
showData
(
json
,
'
verificationSelect
'
,
'
operateIdList
'
,
value
,
form
);
}});
}
}
matchingLanguage
();
matchingLanguage
();
...
@@ -38,7 +48,8 @@ layui.config({
...
@@ -38,7 +48,8 @@ layui.config({
name
:
$
(
"
#name
"
).
val
(),
name
:
$
(
"
#name
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
remark
:
$
(
"
#remark
"
).
val
(),
type
:
$
(
"
#type
"
).
val
(),
type
:
$
(
"
#type
"
).
val
(),
className
:
parent
.
objectId
className
:
parent
.
objectId
,
operateIdList
:
isNull
(
$
(
'
#operateIdList
'
).
attr
(
'
value
'
))
?
[]
:
$
(
'
#operateIdList
'
).
attr
(
'
value
'
)
};
};
var
businessApi
=
{
var
businessApi
=
{
serviceStr
:
$
(
"
#serviceStr
"
).
val
(),
serviceStr
:
$
(
"
#serviceStr
"
).
val
(),
...
...
common/src/main/resources/template/tpl/dsFormPage/writePage.html
浏览文件 @
ee76eb4a
...
@@ -19,12 +19,18 @@
...
@@ -19,12 +19,18 @@
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs6"
>
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
布局类型
</label>
<label
class=
"layui-form-label"
>
布局类型
<
i
class=
"red"
>
*
</i><
/label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
<select
lay-filter=
"type"
lay-search=
""
win-verify=
"required"
id=
"type"
name=
"type"
>
<select
lay-filter=
"type"
lay-search=
""
win-verify=
"required"
id=
"type"
name=
"type"
>
</select>
</select>
</div>
</div>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
关联操作
</label>
<div
class=
"layui-input-block"
id=
"operateIdList"
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
>
<div
class=
"layui-form-item layui-col-xs12"
>
<label
class=
"layui-form-label"
>
简介
</label>
<label
class=
"layui-form-label"
>
简介
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
...
...
web/src/main/resources/template/assets/lib/layui/customer/skyeye/skyeyeClassEnumUtil.js
浏览文件 @
ee76eb4a
...
@@ -17,7 +17,7 @@ var skyeyeClassEnumUtil = {
...
@@ -17,7 +17,7 @@ var skyeyeClassEnumUtil = {
*/
*/
showEnumDataListByClassName
:
function
(
code
,
showType
,
showBoxId
,
defaultId
,
form
,
callback
,
valueKey
)
{
showEnumDataListByClassName
:
function
(
code
,
showType
,
showBoxId
,
defaultId
,
form
,
callback
,
valueKey
)
{
var
json
=
skyeyeClassEnumUtil
.
getEnumDataListByClassName
(
code
);
var
json
=
skyeyeClassEnumUtil
.
getEnumDataListByClassName
(
code
);
dataShowType
.
showData
(
json
,
showType
,
showBoxId
,
defaultId
,
form
,
callback
,
valueKey
);
dataShowType
.
showData
(
json
,
showType
,
showBoxId
,
defaultId
,
form
,
callback
,
null
,
valueKey
);
},
},
getEnumDataNameByClassName
:
function
(
code
,
key
,
value
,
getKey
)
{
getEnumDataNameByClassName
:
function
(
code
,
key
,
value
,
getKey
)
{
...
...
web/src/main/resources/template/assets/lib/layui/lay/modules/xm-select/xm-select.js
浏览文件 @
ee76eb4a
此差异已折叠。
点击以展开。
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
ee76eb4a
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
"httpMethodEnum"
:
{
"name"
:
"http请求方式"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.HttpMethodEnum"
},
"httpMethodEnum"
:
{
"name"
:
"http请求方式"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.HttpMethodEnum"
},
"verificationParams"
:
{
"name"
:
"字段校验枚举"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.VerificationParamsEnum"
},
"verificationParams"
:
{
"name"
:
"字段校验枚举"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.VerificationParamsEnum"
},
"isUsed"
:
{
"name"
:
"是否使用的枚举"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.IsUsedEnum"
},
"isUsed"
:
{
"name"
:
"是否使用的枚举"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.IsUsedEnum"
},
"whetherEnum"
:
{
"name"
:
"是否的枚举"
,
"className"
:
"skyeye-pro#com.skyeye.common.enumeration.WhetherEnum"
},
"bossInterviewArrangementState"
:
{
"name"
:
"面试安排状态枚举类"
,
"className"
:
"skyeye-flowable#com.skyeye.service.enumclass.BossInterviewArrangementState"
},
"bossInterviewArrangementState"
:
{
"name"
:
"面试安排状态枚举类"
,
"className"
:
"skyeye-flowable#com.skyeye.service.enumclass.BossInterviewArrangementState"
},
"bossInterviewArrangementState1"
:
{
"bossInterviewArrangementState1"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录