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
fafc3ad0
Commit
fafc3ad0
authored
Mar 27, 2023
by
Luochenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
凭证取值调整
parent
d06892e9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
69 additions
and
76 deletions
+69
-76
efile_archive_pool.lview
...n/webapp/modules/efile/EFILE1030/efile_archive_pool.lview
+4
-4
efile_att_json_lov.lview
...n/webapp/modules/efile/EFILE1030/efile_att_json_lov.lview
+3
-3
efile_post_stru_json_lov.lview
...pp/modules/efile/EFILE1030/efile_post_stru_json_lov.lview
+2
-2
efile_doc_import.lsc
src/main/webapp/modules/efile/EFILE1040/efile_doc_import.lsc
+60
-67
No files found.
src/main/webapp/modules/efile/EFILE1030/efile_archive_pool.lview
View file @
fafc3ad0
...
...
@@ -111,8 +111,8 @@
params: {
record_id: record_id
},
height:
35
0,
width:
7
00
height:
20
0,
width:
11
00
});
}
...
...
@@ -128,8 +128,8 @@
params: {
record_id: record_id
},
height:
3
50,
width:
7
00
height:
5
50,
width:
8
00
});
}
...
...
src/main/webapp/modules/efile/EFILE1030/efile_att_json_lov.lview
View file @
fafc3ad0
...
...
@@ -91,11 +91,11 @@
<a:dataSets>
</a:dataSets>
<a:screenBody>
<a:grid
id=
"att_para_ds_id"
bindTarget=
"att_json_ds"
height=
"180"
width=
"
76
0"
navBar=
"true"
>
<a:grid
id=
"att_para_ds_id"
bindTarget=
"att_json_ds"
height=
"180"
width=
"
105
0"
navBar=
"true"
>
<a:columns>
<a:column
name=
"action_type"
prompt=
"附件类型"
width=
"150"
/>
<a:column
name=
"code_value"
prompt=
"附件地址"
width=
"
40
0"
/>
<a:column
name=
"code_value_name"
prompt=
"附件名称"
width=
"2
0
0"
/>
<a:column
name=
"code_value"
prompt=
"附件地址"
width=
"
65
0"
/>
<a:column
name=
"code_value_name"
prompt=
"附件名称"
width=
"2
5
0"
/>
</a:columns>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/efile/EFILE1030/efile_post_stru_json_lov.lview
View file @
fafc3ad0
...
...
@@ -76,10 +76,10 @@
<a:dataSets
>
</a:dataSets>
<a:screenBody>
<a:grid
id=
"post_stru_para_ds_id"
bindTarget=
"post_stur_json_ds"
marginHeight=
"
200"
width=
"355
"
navBar=
"true"
>
<a:grid
id=
"post_stru_para_ds_id"
bindTarget=
"post_stur_json_ds"
marginHeight=
"
480"
width=
"740
"
navBar=
"true"
>
<a:columns>
<a:column
name=
"code_value"
prompt=
"字段代码"
width=
"150"
/>
<a:column
name=
"code_value_name"
prompt=
"值内容"
width=
"
200
"
/>
<a:column
name=
"code_value_name"
prompt=
"值内容"
width=
"
589
"
/>
</a:columns>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/efile/EFILE1040/efile_doc_import.lsc
View file @
fafc3ad0
...
...
@@ -43,7 +43,7 @@
var checkTokenQuery = check_token_valid_bm.queryAsMap();
var is_valid = checkTokenQuery.getChildren()[0].is_valid;
var fieldValueList_bm=$bm('efile.EFILE1040.efile_doc_import_query');
var je_data_json_bm=$bm('efile.EFILE1040.efile_journal_clob_query');
//
var je_data_json_bm=$bm('efile.EFILE1040.efile_journal_clob_query');
var record=[];
var doc_data=[];
var batch_num=0;
...
...
@@ -52,22 +52,22 @@
var fieldValueList_data = fieldValueList_bm.queryAsMap({
pool_id: batch_data[i].pool_id
});
var je_data_json_data;
var je_json_data_result;
var je_json_data;
var je_json_data1;
var je_json_data2;
if(batch_data[i].je_check_flag=='Y'){
je_data_json_data = je_data_json_bm.queryAsMap({
e_archives_id: batch_data[i].e_archives_id,
document_id: batch_data[i].document_id,
workflow_id: batch_data[i].workflow_id
});
je_json_data=je_data_json_data.getChildren()[0].je_data_json;
je_json_data_result=JSON.parse(je_json_data);
je_json_data1=je_json_data_result[0];
je_json_data2=je_json_data_result[1];
}
//
var je_data_json_data;
//
var je_json_data_result;
//
var je_json_data;
//
var je_json_data1;
//
var je_json_data2;
//
if(batch_data[i].je_check_flag=='Y'){
//
je_data_json_data = je_data_json_bm.queryAsMap({
//
e_archives_id: batch_data[i].e_archives_id,
//
document_id: batch_data[i].document_id,
//
workflow_id: batch_data[i].workflow_id
//
});
//
je_json_data=je_data_json_data.getChildren()[0].je_data_json;
//
je_json_data_result=JSON.parse(je_json_data);
//
je_json_data1=je_json_data_result[0];
//
je_json_data2=je_json_data_result[1];
//
}
var companyCode='HL';
var documentTypeCode=batch_data[i].base_archive_code;
...
...
@@ -85,21 +85,21 @@
if(typeof(fieldValueList)=="undefined"){
fieldValueList=[];
if(batch_data[i].je_check_flag=='Y'){
fieldValueList.push(je_json_data1);
fieldValueList.push(je_json_data2);
fieldValueList=JSON.stringify(fieldValueList);
filelist.push(fieldValueList);
}else{
//
if(batch_data[i].je_check_flag=='Y'){
//
fieldValueList.push(je_json_data1);
//
fieldValueList.push(je_json_data2);
//
fieldValueList=JSON.stringify(fieldValueList);
//
filelist.push(fieldValueList);
//
}else{
filelist='[]' ;
}
//
}
}else{
fieldValueList=fieldValueList.substring(17);
fieldValueList=JSON.parse(fieldValueList);
if(batch_data[i].je_check_flag=='Y'){
fieldValueList.push(je_json_data1);
fieldValueList.push(je_json_data2);
}
//
if(batch_data[i].je_check_flag=='Y'){
//
fieldValueList.push(je_json_data1);
//
fieldValueList.push(je_json_data2);
//
}
fieldValueList=JSON.stringify(fieldValueList);
filelist.push(fieldValueList);
}
...
...
@@ -133,7 +133,6 @@
doc_data.push(fils);
}else{
attachmentList=attachmentList.substring(17);
logger.info(attachmentList);
attachmentList=JSON.parse(attachmentList);
attachmentList=JSON.stringify(attachmentList);
attlist.push(attachmentList);
...
...
@@ -166,7 +165,7 @@
if(doc_data.length==100||doc_data.length==batch_data.length){
batch_num++;
if (is_valid ==
'true') {
if (is_valid =='true') {
var SystokenQuery = token_savelogs_bm.queryAsMap();
var access_token = SystokenQuery.getChildren()[0].access_token;
var doc_data=JSON.stringify(doc_data);
...
...
@@ -312,32 +311,28 @@
}else{
for(var i=0;i<req_date.length;i++){
var fieldValueList_data = fieldValueList_bm.queryAsMap({
pool_id: req_date[i].pool_id
});
var je_data_json_data;
var je_json_data_result;
var je_json_data;
var je_json_data1;
var je_json_data2;
if(req_date[i].je_check_flag=='Y'){
je_data_json_data = je_data_json_bm.queryAsMap({
e_archives_id: req_date[i].e_archives_id,
document_id: req_date[i].document_id,
workflow_id: req_date[i].workflow_id
});
je_json_data=je_data_json_data.getChildren()[0].je_data_json;
logger.info(je_json_data);
je_json_data_result=JSON.parse(je_json_data);
logger.info(je_json_data_result[0]);
je_json_data1=je_json_data_result[0];
logger.info(je_json_data_result[1]);
je_json_data2=je_json_data_result[1];
}
// var je_data_json_data;
// var je_json_data_result;
// var je_json_data;
// var je_json_data1;
// var je_json_data2;
// if(req_date[i].je_check_flag=='Y'){
// je_data_json_data = je_data_json_bm.queryAsMap({
// e_archives_id: req_date[i].e_archives_id,
// document_id: req_date[i].document_id,
// workflow_id: req_date[i].workflow_id
// });
// je_json_data=je_data_json_data.getChildren()[0].je_data_json;
// je_json_data_result=JSON.parse(je_json_data);
// je_json_data1=je_json_data_result[0];
// je_json_data2=je_json_data_result[1];
// }
var companyCode='HL';
var documentTypeCode=req_date[i].base_archive_code;
...
...
@@ -354,24 +349,23 @@
if(typeof(fieldValueList)=="undefined"){
fieldValueList=[];
if(req_date[i].je_check_flag=='Y'){
fieldValueList.push(je_json_data1);
fieldValueList.push(je_json_data2);
fieldValueList=JSON.stringify(fieldValueList);
filelist.push(fieldValueList);
}else{
//
if(req_date[i].je_check_flag=='Y'){
//
fieldValueList.push(je_json_data1);
//
fieldValueList.push(je_json_data2);
//
fieldValueList=JSON.stringify(fieldValueList);
//
filelist.push(fieldValueList);
//
}else{
filelist='[]' ;
}
//
}
}else{
fieldValueList=fieldValueList.substring(17);
fieldValueList=JSON.parse(fieldValueList);
if(req_date[i].je_check_flag=='Y'){
fieldValueList.push(je_json_data1);
fieldValueList.push(je_json_data2);
}
//
if(req_date[i].je_check_flag=='Y'){
//
fieldValueList.push(je_json_data1);
//
fieldValueList.push(je_json_data2);
//
}
fieldValueList=JSON.stringify(fieldValueList);
filelist.push(fieldValueList);
logger.info(filelist);
}
...
...
@@ -508,7 +502,6 @@
var json_data = JSON.parse(data_result);
var statusCode =json_data.statusCode;
var message =json_data.message;
logger.info(statusCode);
var doc_import_return_bm = $bm('efile.EFILE1040.doc_import_return');
if(statusCode=='0000'){
...
...
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