Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
f9cd60fa
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1431
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看板
提交
f9cd60fa
编写于
11月 13, 2018
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式标签逻辑修改
上级
436446ad
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
25 addition
and
4 deletion
+25
-4
skyeye-web/src/main/resources/dbmapper/RmPropertyMapper.xml
skyeye-web/src/main/resources/dbmapper/RmPropertyMapper.xml
+6
-4
skyeye-web/src/main/resources/mapping/reqmapping.xml
skyeye-web/src/main/resources/mapping/reqmapping.xml
+2
-0
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyadd.js
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyadd.js
+1
-0
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyedit.js
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyedit.js
+1
-0
skyeye-web/src/main/webapp/js/rmproperty/rmpropertylist.js
skyeye-web/src/main/webapp/js/rmproperty/rmpropertylist.js
+1
-0
skyeye-web/src/main/webapp/tpl/rmproperty/rmpropertyadd.html
skyeye-web/src/main/webapp/tpl/rmproperty/rmpropertyadd.html
+7
-0
skyeye-web/src/main/webapp/tpl/rmproperty/rmpropertyeditTemplate.tpl
...src/main/webapp/tpl/rmproperty/rmpropertyeditTemplate.tpl
+7
-0
未找到文件。
skyeye-web/src/main/resources/dbmapper/RmPropertyMapper.xml
浏览文件 @
f9cd60fa
...
...
@@ -12,6 +12,7 @@
a.html_content htmlContent,
a.js_content jsContent,
a.js_rely_on jsRelyOn,
a.property_unit propertyUnit,
CONVERT(a.create_time, char) createTime
FROM
rm_property a
...
...
@@ -38,14 +39,13 @@
rm_property a
WHERE
a.title = #{title}
OR a.property_tag = #{propertyTag}
</select>
<insert
id=
"insertRmPropertyMation"
parameterType=
"java.util.Map"
>
INSERT into rm_property
(id, title, property_tag, property_out, ds_form_content_id, html_content, js_content, js_rely_on, create_id, create_time)
(id, title, property_tag, property_out,
property_unit,
ds_form_content_id, html_content, js_content, js_rely_on, create_id, create_time)
VALUES
(#{id}, #{title}, #{propertyTag}, #{propertyOut}, #{dsFormContentId}, #{htmlContent}, #{jsContent}, #{jsRelyOn}, #{createId}, #{createTime})
(#{id}, #{title}, #{propertyTag}, #{propertyOut}, #{
propertyUnit}, #{
dsFormContentId}, #{htmlContent}, #{jsContent}, #{jsRelyOn}, #{createId}, #{createTime})
</insert>
<delete
id=
"deleteRmPropertyMationById"
parameterType=
"java.util.Map"
>
...
...
@@ -66,6 +66,7 @@
a.html_content htmlContent,
a.js_content jsContent,
a.js_rely_on jsRelyOn,
a.property_unit propertyUnit,
b.html_content htmlModelContent,
b.js_content jsModelContent
FROM
...
...
@@ -82,7 +83,7 @@
FROM
rm_property a
WHERE a.id != #{id}
AND
(a.title = #{title} OR a.property_tag = #{propertyTag})
AND
a.title = #{title}
</select>
<update
id=
"editRmPropertyMationById"
parameterType=
"java.util.Map"
>
...
...
@@ -105,6 +106,7 @@
</if>
js_content = #{jsContent},
js_rely_on = #{jsRelyOn},
property_unit = #{propertyUnit},
</set>
WHERE id = #{id}
</update>
...
...
skyeye-web/src/main/resources/mapping/reqmapping.xml
浏览文件 @
f9cd60fa
...
...
@@ -341,6 +341,7 @@
<property
id=
"htmlContent"
name=
"htmlContent"
ref=
"required"
var=
"html内容"
/>
<property
id=
"jsContent"
name=
"jsContent"
ref=
""
var=
"js内容"
/>
<property
id=
"jsRelyOn"
name=
"jsRelyOn"
ref=
""
var=
"js依赖的js包"
/>
<property
id=
"propertyUnit"
name=
"propertyUnit"
ref=
""
var=
"样式属性单位"
/>
</url>
<url
id=
"rmproperty003"
path=
"/post/RmPropertyController/deleteRmPropertyMationById"
val=
"删除小程序样式属性信息"
allUse=
"1"
>
<property
id=
"rowId"
name=
"id"
ref=
"required"
var=
"小程序样式属性id"
/>
...
...
@@ -357,6 +358,7 @@
<property
id=
"htmlContent"
name=
"htmlContent"
ref=
"required"
var=
"html内容"
/>
<property
id=
"jsContent"
name=
"jsContent"
ref=
""
var=
"js内容"
/>
<property
id=
"jsRelyOn"
name=
"jsRelyOn"
ref=
""
var=
"js依赖的js包"
/>
<property
id=
"propertyUnit"
name=
"propertyUnit"
ref=
""
var=
"样式属性单位"
/>
</url>
<!-- 小程序系列结束 -->
...
...
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyadd.js
浏览文件 @
f9cd60fa
...
...
@@ -109,6 +109,7 @@ layui.config({
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
propertyUnit
:
encodeURI
(
$
(
"
#propertyUnit
"
).
val
()),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
(),
propertyOut
:
data
.
field
.
propertyOut
,
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
...
...
skyeye-web/src/main/webapp/js/rmproperty/rmpropertyedit.js
浏览文件 @
f9cd60fa
...
...
@@ -123,6 +123,7 @@ layui.config({
var
params
=
{
title
:
$
(
"
#title
"
).
val
(),
propertyTag
:
$
(
"
#propertyTag
"
).
val
(),
propertyUnit
:
encodeURI
(
$
(
"
#propertyUnit
"
).
val
()),
dsFormContentId
:
$
(
"
#dsFormContentId
"
).
val
(),
propertyOut
:
data
.
field
.
propertyOut
,
htmlContent
:
encodeURI
(
htmlContent
.
getValue
().
replace
(
/
\+
/g
,
"
%2B
"
).
replace
(
/
\&
/g
,
"
%26
"
)),
...
...
skyeye-web/src/main/webapp/js/rmproperty/rmpropertylist.js
浏览文件 @
f9cd60fa
...
...
@@ -27,6 +27,7 @@ layui.config({
{
title
:
'
序号
'
,
type
:
'
numbers
'
},
{
field
:
'
title
'
,
title
:
'
属性别名
'
,
width
:
180
},
{
field
:
'
propertyTag
'
,
title
:
'
属性标签
'
,
width
:
180
},
{
field
:
'
propertyUnit
'
,
title
:
'
属性单位
'
,
width
:
180
},
{
field
:
'
propertyOut
'
,
title
:
'
外部属性
'
,
width
:
150
},
{
field
:
'
contentName
'
,
title
:
'
展现形式
'
,
width
:
180
},
{
field
:
'
id
'
,
title
:
'
HTML内容
'
,
width
:
180
,
templet
:
function
(
d
){
...
...
skyeye-web/src/main/webapp/tpl/rmproperty/rmpropertyadd.html
浏览文件 @
f9cd60fa
...
...
@@ -22,6 +22,13 @@
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyTag"
name=
"propertyTag"
win-verify=
"required"
placeholder=
"请输入属性标签"
class=
"layui-input"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
属性单位
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyUnit"
name=
"propertyUnit"
placeholder=
"请输入属性单位"
class=
"layui-input"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width:100%;单位为:%
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
外部属性
<i
class=
"red"
>
*
</i></label>
...
...
skyeye-web/src/main/webapp/tpl/rmproperty/rmpropertyeditTemplate.tpl
浏览文件 @
f9cd60fa
...
...
@@ -10,6 +10,13 @@
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyTag"
name=
"propertyTag"
win-verify=
"required"
placeholder=
"请输入属性标签"
class=
"layui-input"
value=
"{
{
propertyTag
}
}"
/>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
属性单位
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
id=
"propertyUnit"
name=
"propertyUnit"
placeholder=
"请输入属性单位"
class=
"layui-input"
value=
"{
{
propertyUnit
}
}"
/>
<div
class=
"layui-form-mid layui-word-aux"
>
例如:width:100%;单位为:%
</div>
</div>
</div>
<div
class=
"layui-form-item"
>
<label
class=
"layui-form-label"
>
外部属性
<i
class=
"red"
>
*
</i></label>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录