Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
a6535e8b
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1428
Star
162
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看板
提交
a6535e8b
编写于
9月 03, 2023
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 表格匹配条件新增包含
上级
b9f354de
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
4 deletion
+13
-4
userauth/src/main/resources/template/js/sysEveMenuAuthPoint/sysEveMenuAuthPointEdit.js
...emplate/js/sysEveMenuAuthPoint/sysEveMenuAuthPointEdit.js
+1
-0
web/src/main/resources/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
...s/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
+9
-3
web/src/main/resources/template/json/skyeyeClassEnum.json
web/src/main/resources/template/json/skyeyeClassEnum.json
+3
-1
未找到文件。
userauth/src/main/resources/template/js/sysEveMenuAuthPoint/sysEveMenuAuthPointEdit.js
浏览文件 @
a6535e8b
...
...
@@ -21,6 +21,7 @@ layui.config({
}
else
if
(
type
==
3
)
{
// 如果为3,写需要编辑数据权限
$
(
"
#showForm
"
).
html
(
$
(
"
#dataAuthPointTemplate
"
).
html
());
$
(
"
#orderBy
"
).
val
(
json
.
bean
.
orderBy
);
}
$
(
"
#name
"
).
val
(
json
.
bean
.
name
);
$
(
"
#authMenu
"
).
val
(
json
.
bean
.
authMenu
);
...
...
web/src/main/resources/template/assets/lib/layui/customer/skyeye/dsFormUtil.js
浏览文件 @
a6535e8b
...
...
@@ -116,6 +116,7 @@ var dsFormUtil = {
$
.
each
(
dsFormUtil
.
pageMation
.
dsFormPageContents
,
function
(
i
,
dsFormContent
)
{
var
attrDefinition
=
dsFormContent
.
attrDefinition
;
dsFormContent
[
"
pageType
"
]
=
pageMation
.
type
;
dsFormContent
[
"
allValue
"
]
=
data
;
if
(
!
isNull
(
attrDefinition
)
&&
!
$
.
isEmptyObject
(
attrDefinition
))
{
var
dsFormComponent
=
dsFormContent
.
dsFormComponent
;
if
(
dsFormContent
.
isEdit
==
0
)
{
...
...
@@ -912,7 +913,12 @@ var dsFormTableUtil = {
}
var
condition
=
[];
$
.
each
(
item
.
showConditionList
,
function
(
i
,
bean
)
{
condition
.
push
(
`d.
${
bean
.
attrKey
}
${
bean
.
symbolsMark
}
${
bean
.
value
}
`
);
if
(
bean
.
symbolsMark
==
'
contain
'
)
{
var
array
=
bean
.
value
.
split
(
'
,
'
);
condition
.
push
(
`$.inArray(d.
${
bean
.
attrKey
}
, `
+
JSON
.
stringify
(
array
)
+
`) !== -1`
);
}
else
{
condition
.
push
(
`d.
${
bean
.
attrKey
}
${
bean
.
symbolsMark
}
${
bean
.
value
}
`
);
}
});
var
conditionStr
=
condition
.
join
(
'
&&
'
);
// 没有设置按钮显示的条件
...
...
@@ -1199,7 +1205,7 @@ var dsFormColumnUtil = {
_html
+=
`</select>`
;
return
_html
;
}},
{
field
:
'
value
'
,
title
:
'
值<i class="red">*</i>
'
,
align
:
'
left
'
,
width
:
16
0
,
templet
:
function
(
d
)
{
{
field
:
'
value
'
,
title
:
'
值<i class="red">*</i>
'
,
align
:
'
left
'
,
width
:
40
0
,
templet
:
function
(
d
)
{
return
`<div id="valueBox
${
d
.
id
}
">`
+
dsFormColumnUtil
.
getDomHtml
(
d
)
+
`</div>`
;
}},
]],
...
...
@@ -1240,7 +1246,7 @@ var dsFormColumnUtil = {
// 获取属性对应的组件编码---todo 后续根据编号加载对应的dom
var
numCode
=
dsFormColumnUtil
.
getAttrKeyNumCode
(
attrKey
);
if
(
isNull
(
numCode
))
{
return
`<input type="text" id="value
${
d
.
id
}
" placeholder="请输入值" cus-id="
${
d
.
id
}
" class="layui-input tableInput" win-verify="required" `
+
return
`<input type="text" id="value
${
d
.
id
}
" placeholder="请输入值
,如果有多个,请用英文逗号隔开
" cus-id="
${
d
.
id
}
" class="layui-input tableInput" win-verify="required" `
+
`value="`
+
(
isNull
(
displayValue
)
?
""
:
displayValue
)
+
`"/>`
}
else
{
if
(
numCode
==
'
enumCardSolt
'
||
numCode
==
'
dictDataCardSolt
'
)
{
...
...
web/src/main/resources/template/json/skyeyeClassEnum.json
浏览文件 @
a6535e8b
...
...
@@ -106,6 +106,8 @@
"studentType"
:
{
"name"
:
"学生类型"
,
"className"
:
"skyeye-school#com.skyeye.school.student.classenum.StudentType"
},
"productWarrantyType"
:
{
"name"
:
"售后工单质保类型"
,
"className"
:
"skyeye-seal-service#com.skyeye.afterseal.classenum.ProductWarrantyType"
},
"sealOrderType"
:
{
"name"
:
"售后工单工单类型"
,
"className"
:
"skyeye-seal-service#com.skyeye.afterseal.classenum.SealOrderType"
}
"sealOrderType"
:
{
"name"
:
"售后工单工单类型"
,
"className"
:
"skyeye-seal-service#com.skyeye.afterseal.classenum.SealOrderType"
},
"afterSealState"
:
{
"name"
:
"售后工单状态"
,
"className"
:
"skyeye-seal-service#com.skyeye.afterseal.classenum.AfterSealState"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录