Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
21345738
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1432
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看板
提交
21345738
编写于
7月 03, 2024
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 文字模型优化
上级
2b3c33af
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
8 deletion
+9
-8
report/src/main/resources/template/assets/report/js/skyeyeReportDesigner.js
...sources/template/assets/report/js/skyeyeReportDesigner.js
+6
-6
report/src/main/resources/template/js/reportWordModel/reportWordModelWrite.js
...urces/template/js/reportWordModel/reportWordModelWrite.js
+2
-1
report/src/main/resources/template/tpl/reportProperty/reportPropertyWrite.html
...rces/template/tpl/reportProperty/reportPropertyWrite.html
+1
-1
未找到文件。
report/src/main/resources/template/assets/report/js/skyeyeReportDesigner.js
浏览文件 @
21345738
...
...
@@ -405,20 +405,20 @@ layui.define(["jquery", 'form', 'element'], function(exports) {
// 显示在编辑框
let
optional
=
item
.
propertyMation
.
optional
;
let
value
=
optional
==
0
?
item
.
propertyMation
.
defaultValue
:
''
;
let
editorChoose
Value
=
""
;
let
optional
Value
=
""
;
if
(
optional
==
1
)
{
// 属性值可选
editorChoose
Value
=
[];
optional
Value
=
[];
item
.
propertyMation
.
propertyValueList
.
forEach
(
function
(
bean
)
{
if
(
value
.
defaultChoose
==
1
)
{
if
(
bean
.
defaultChoose
==
1
)
{
value
=
bean
.
value
;
}
editorChoose
Value
.
push
({
optional
Value
.
push
({
id
:
bean
.
value
,
name
:
bean
.
name
});
});
editorChooseValue
=
JSON
.
stringify
(
editorChoose
Value
);
optionalValue
=
JSON
.
stringify
(
optional
Value
);
}
wordStyleMation
.
attr
[
item
.
propertyMation
.
attrCode
]
=
{
"
defaultValue
"
:
value
,
...
...
@@ -426,7 +426,7 @@ layui.define(["jquery", 'form', 'element'], function(exports) {
"
remark
"
:
item
.
propertyMation
.
name
,
"
name
"
:
item
.
propertyMation
.
name
,
"
editorType
"
:
item
.
propertyMation
.
editorType
,
"
editorChooseValue
"
:
editorChoose
Value
,
"
optionalValue
"
:
optional
Value
,
"
typeName
"
:
"
Style属性
"
}
}
...
...
report/src/main/resources/template/js/reportWordModel/reportWordModelWrite.js
浏览文件 @
21345738
...
...
@@ -64,7 +64,8 @@ layui.config({
tableData
.
push
({
propertyId
:
choosePropertyList
[
trId
].
id
,
editor
:
dataShowType
.
getData
(
'
editor
'
+
rowNum
),
showToEditor
:
dataShowType
.
getData
(
'
whetherShow
'
+
rowNum
)
showToEditor
:
dataShowType
.
getData
(
'
whetherShow
'
+
rowNum
),
orderBy
:
i
+
1
});
});
if
(
tableData
.
length
==
0
)
{
...
...
report/src/main/resources/template/tpl/reportProperty/reportPropertyWrite.html
浏览文件 @
21345738
...
...
@@ -44,7 +44,7 @@
<div
class=
"layui-form-item layui-col-xs12"
id=
"canNotChoose"
>
<label
class=
"layui-form-label"
>
默认值
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block"
>
<
input
type=
"text"
id=
"defaultValue"
name=
"defaultValue"
placeholder=
"请输入默认值"
class=
"layui-input"
maxlength=
"300"
/
>
<
textarea
id=
"defaultValue"
name=
"defaultValue"
placeholder=
"请输入默认值"
class=
"layui-textarea"
style=
"height: 100px;"
></textarea
>
</div>
</div>
<div
class=
"layui-form-item layui-col-xs12"
style=
"display: none"
id=
"canChoose"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录