Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
d4505c1e
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1173
Star
154
Fork
127
代码
文件
提交
分支
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看板
提交
d4505c1e
编写于
1月 08, 2023
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除编码配置功能
上级
a0de3ad2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
6 addition
and
110 deletion
+6
-110
common/src/main/resources/template/js/codeRule/businessDataCodeRuleConfig.js
...ources/template/js/codeRule/businessDataCodeRuleConfig.js
+0
-56
common/src/main/resources/template/tpl/codeRule/businessDataCodeRuleConfig.html
...ces/template/tpl/codeRule/businessDataCodeRuleConfig.html
+0
-52
dsform/src/main/resources/template/js/dsFormPage/pageList.js
dsform/src/main/resources/template/js/dsFormPage/pageList.js
+6
-2
未找到文件。
common/src/main/resources/template/js/codeRule/businessDataCodeRuleConfig.js
已删除
100644 → 0
浏览文件 @
a0de3ad2
layui
.
config
({
base
:
basePath
,
version
:
skyeyeVersion
}).
extend
({
window
:
'
js/winui.window
'
}).
define
([
'
window
'
,
'
jquery
'
,
'
winui
'
,
'
form
'
],
function
(
exports
)
{
winui
.
renderColor
();
var
$
=
layui
.
$
,
form
=
layui
.
form
;
// 获取所有编码规则
var
codeRuleSelectHtml
=
''
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
getAllCodeRuleList
"
,
params
:
{},
type
:
'
json
'
,
method
:
"
GET
"
,
callback
:
function
(
json
)
{
codeRuleSelectHtml
=
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
json
);
},
async
:
false
});
// 获取需要配置编码规则的业务功能对象
showGrid
({
id
:
"
showForm
"
,
url
:
reqBasePath
+
"
queryClassCodeRuleList
"
,
params
:
{},
pagination
:
false
,
method
:
"
GET
"
,
template
:
$
(
"
#baseTemplate
"
).
html
(),
ajaxSendLoadBefore
:
function
(
hdb
,
json
)
{
$
.
each
(
json
.
bean
,
function
(
key
,
appIdValue
)
{
$
.
each
(
appIdValue
,
function
(
i
,
groupNameValue
)
{
$
.
each
(
groupNameValue
,
function
(
j
,
bean
)
{
bean
.
selectHtml
=
codeRuleSelectHtml
;
});
});
});
},
ajaxSendAfter
:
function
(
json
)
{
$
.
each
(
json
.
bean
,
function
(
key
,
appIdValue
)
{
$
.
each
(
appIdValue
,
function
(
i
,
groupNameValue
)
{
$
.
each
(
groupNameValue
,
function
(
j
,
bean
)
{
$
(
"
#
"
+
bean
.
id
).
val
(
bean
.
codeRuleId
);
})
});
});
form
.
render
();
form
.
on
(
'
select(codeRole)
'
,
function
(
data
)
{
var
cudeRuleId
=
data
.
value
;
var
id
=
data
.
elem
.
id
;
AjaxPostUtil
.
request
({
url
:
reqBasePath
+
"
editClassCodeRuleConfig
"
,
params
:
{
id
:
id
,
cudeRuleId
:
cudeRuleId
},
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
)
{
winui
.
window
.
msg
(
systemLanguage
[
"
com.skyeye.successfulOperation
"
][
languageType
],
{
icon
:
1
,
time
:
2000
});
}});
});
}
});
exports
(
'
businessDataCodeRuleConfig
'
,
{});
});
common/src/main/resources/template/tpl/codeRule/businessDataCodeRuleConfig.html
已删除
100644 → 0
浏览文件 @
a0de3ad2
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title></title>
<link
href=
"../../assets/lib/layui/css/layui.css"
rel=
"stylesheet"
/>
<link
href=
"../../assets/lib/winui/css/winui.css"
rel=
"stylesheet"
/>
</head>
<body>
<div
style=
"margin: 0 auto; padding: 20px;"
>
<form
class=
"layui-form"
action=
""
id=
"showForm"
autocomplete=
"off"
>
</form>
</div>
<script
type=
"text/x-handlebars-template"
id=
"baseTemplate"
>
{{
#
each
bean
}}
<
div
class
=
"
layui-col-md12
"
>
<
div
class
=
"
layui-card
"
>
<
div
class
=
"
layui-card-header
"
><
b
>
{{@
key
}}
<
/b></
div
>
<
div
class
=
"
layui-card-body layui-col-md12
"
style
=
"
display: inline-block;
"
>
{{
#
each
@
this
}}
<
div
class
=
"
layui-col-md12
"
>
<
div
class
=
"
layui-card
"
>
<
div
class
=
"
layui-card-header
"
><
b
>
{{@
key
}}
<
/b></
div
>
<
div
class
=
"
layui-card-body
"
style
=
"
display: flow-root;
"
>
{{
#
each
@
this
}}
<
blockquote
class
=
"
layui-elem-quote layui-quote-nm layui-col-md2
"
>
{{
serviceName
}}
<
select
lay
-
filter
=
"
codeRole
"
lay
-
search
=
""
id
=
"
{{id}}
"
win
-
verify
=
"
required
"
>
{{{
selectHtml
}}}
<
/select
>
<
/blockquote
>
{{
/
each
}}
<
/div
>
<
/div
>
<
/div
>
{{
/
each
}}
<
/div
>
<
/div
>
<
/div
>
{{
/
each
}}
</script>
<script
src=
"../../assets/lib/layui/layui.js"
></script>
<script
src=
"../../assets/lib/layui/custom.js"
></script>
<script
type=
"text/javascript"
>
layui
.
config
({
base
:
'
../../js/codeRule/
'
}).
use
(
'
businessDataCodeRuleConfig
'
);
</script>
</body>
</html>
\ No newline at end of file
dsform/src/main/resources/template/js/dsFormPage/pageList.js
浏览文件 @
d4505c1e
...
...
@@ -27,8 +27,12 @@ layui.config({
{
title
:
systemLanguage
[
"
com.skyeye.serialNumber
"
][
languageType
],
type
:
'
numbers
'
},
{
field
:
'
name
'
,
title
:
'
名称
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
remark
'
,
title
:
'
简介
'
,
align
:
'
left
'
,
width
:
350
},
{
field
:
'
numCode
'
,
title
:
'
编号
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
{
field
:
'
numCode
'
,
title
:
'
编号
'
,
width
:
150
},
{
field
:
'
createName
'
,
title
:
systemLanguage
[
"
com.skyeye.createName
"
][
languageType
],
width
:
120
},
{
field
:
'
createTime
'
,
title
:
systemLanguage
[
"
com.skyeye.createTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
field
:
'
lastUpdateName
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateName
"
][
languageType
],
align
:
'
left
'
,
width
:
120
},
{
field
:
'
lastUpdateTime
'
,
title
:
systemLanguage
[
"
com.skyeye.lastUpdateTime
"
][
languageType
],
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
]],
done
:
function
(
json
)
{
matchingLanguage
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录