Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
b135f26a
Commit
b135f26a
authored
Mar 14, 2023
by
Luochenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
电子档案传输修改
parent
481f04e0
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
280 additions
and
99 deletions
+280
-99
voucher_ass_template.lview
...webapp/modules/efile/EFILE1010/voucher_ass_template.lview
+2
-2
efile_att_json_lov.lview
...n/webapp/modules/efile/EFILE1030/efile_att_json_lov.lview
+24
-14
efile_post_stru_json_lov.lview
...pp/modules/efile/EFILE1030/efile_post_stru_json_lov.lview
+12
-1
efile_doc_import.lsc
src/main/webapp/modules/efile/EFILE1040/efile_doc_import.lsc
+242
-82
No files found.
src/main/webapp/modules/efile/EFILE1010/voucher_ass_template.lview
View file @
b135f26a
...
...
@@ -132,8 +132,8 @@
</a:screenTopToolbar>
<a:grid
id=
"je_template_ds_id"
bindTarget=
"je_template_ds"
height=
"300"
width=
"380"
navBar=
"true"
>
<a:columns>
<a:column
name=
"je_template_code"
editor=
"voucherconBasicClauseParaDs_grid_lov"
prompt=
"凭证
模板
代码"
width=
"170"
/>
<a:column
name=
"je_template_name"
editor=
"voucher_text_ed"
prompt=
"凭证
模板
描述"
width=
"170"
/>
<a:column
name=
"je_template_code"
editor=
"voucherconBasicClauseParaDs_grid_lov"
prompt=
"凭证
事务
代码"
width=
"170"
/>
<a:column
name=
"je_template_name"
editor=
"voucher_text_ed"
prompt=
"凭证
事务
描述"
width=
"170"
/>
</a:columns>
<a:editors>
<a:textField
id=
"voucher_text_ed"
/>
...
...
src/main/webapp/modules/efile/EFILE1030/efile_att_json_lov.lview
View file @
b135f26a
...
...
@@ -22,8 +22,13 @@
para.sql_content = sql_content;
}
//println(sql_content);
var obj;
var dataSet_id='att_json_ds';
var obj = JSON.parse(sql_content).attachmentList;
if(sql_content.length>
2){
obj = JSON.parse(sql_content).attachmentList;
}else{
obj='';
}
var config = $config();
var dataSets = CompositeUtil.findChild(config, 'dataSets');
var dataSet = CompositeUtil.findChild(dataSets, 'dataSet', 'id', dataSet_id);
...
...
@@ -42,6 +47,7 @@
// dataSets.addChild(dataSet.getData());
// var datas = newMap("datas");
// dataSet.addChild(datas.getData());
if(obj.length>0){
for (var k in obj) {
// if (obj[k] instanceof Object) {
var datasRecord = newMap("record");
...
...
@@ -55,6 +61,10 @@
// println("2222"+obj[k].fieldCode);
//}
}
}else{
var datasRecord = newMap("record");
datas.addChild(datasRecord.getData());
}
...
...
src/main/webapp/modules/efile/EFILE1030/efile_post_stru_json_lov.lview
View file @
b135f26a
...
...
@@ -23,7 +23,11 @@
}
//println(sql_content);
var dataSet_id='post_stur_json_ds';
var obj = JSON.parse(sql_content).fieldValueList;
if(sql_content.length>
2){
obj = JSON.parse(sql_content).fieldValueList;
}else{
obj='';
}
var config = $config();
var dataSets = CompositeUtil.findChild(config, 'dataSets');
var dataSet = CompositeUtil.findChild(dataSets, 'dataSet', 'id', dataSet_id);
...
...
@@ -42,6 +46,7 @@
// dataSets.addChild(dataSet.getData());
// var datas = newMap("datas");
// dataSet.addChild(datas.getData());
if(obj.length>0){
for (var k in obj) {
// if (obj[k] instanceof Object) {
var datasRecord = newMap("record");
...
...
@@ -54,6 +59,12 @@
//}
}
}else{
var datasRecord = newMap("record");
datas.addChild(datasRecord.getData());
}
]]>
</s:server-script>
...
...
src/main/webapp/modules/efile/EFILE1040/efile_doc_import.lsc
View file @
b135f26a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment