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
79559852
Commit
79559852
authored
Oct 08, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]合同文本生成
parent
bfebc603
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
692 additions
and
10 deletions
+692
-10
hl_con_contract_content_pkg.pck
src/main/database/Package/hl_con_contract_content_pkg.pck
+324
-0
con_contract_content_v.lwm
...pp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
+5
-3
con_doc_file_templet_get_atm.lwm
...-INF/classes/cont/CON500/con_doc_file_templet_get_atm.lwm
+1
-1
con_contract_create_content.lwm
...B-INF/classes/cont/CON505/con_contract_create_content.lwm
+6
-3
con_contract_update_print_word.lview
.../modules/cont/CON311/con_contract_update_print_word.lview
+100
-0
con_contract_update_print_word_detail.lview
...s/cont/CON311/con_contract_update_print_word_detail.lview
+228
-0
con_re_print_entrance.lview
...in/webapp/modules/cont/CON311/con_re_print_entrance.lview
+27
-2
con_doc_batch_create.lsc
src/main/webapp/modules/cont/CON500/con_doc_batch_create.lsc
+1
-1
No files found.
src/main/database/Package/hl_con_contract_content_pkg.pck
0 → 100644
View file @
79559852
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
View file @
79559852
...
...
@@ -50,7 +50,7 @@
<bm:field
name=
"status"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"status_desc"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"download_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"print_date"
databaseType=
"DATE"
datatype=
"java.util.Date"
/>
<bm:field
name=
"agent_content_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"agent_content_flag_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"download_content_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
...
...
@@ -180,7 +180,8 @@
t1.agent_content_flag,
t1.download_content_flag,
t1.agent_content_flag_name,
t1.download_content_flag_name
t1.download_content_flag_name,
t1.print_date
FROM
CON_CONTRACT_CONTENT_V t1
WHERE
...
...
@@ -296,7 +297,8 @@
t1.agent_content_flag,
t1.download_content_flag,
t1.agent_content_flag_name,
t1.download_content_flag_name
t1.download_content_flag_name,
t1.print_date
FROM
CON_CONTRACT_CONTENT_V t1
WHERE
...
...
src/main/webapp/WEB-INF/classes/cont/CON500/con_doc_file_templet_get_atm.lwm
View file @
79559852
...
...
@@ -48,7 +48,7 @@
m.table_name = 'HLS_DOC_FILE_TEMPLET' AND
m.table_pk_value = lt.templet_id AND
lt.templet_id = t.doc_template_id AND
t.doc_plugin_flag = 'Y' AND
t.doc_plugin_flag = 'Y' AND
t.templet_id = cc.templet_id AND
(
cc.content_id =${/parameter/@content_id} OR
...
...
src/main/webapp/WEB-INF/classes/cont/CON505/con_contract_create_content.lwm
View file @
79559852
...
...
@@ -10,9 +10,12 @@
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
con_contract_content_pkg.contract_content_create(
p_contract_id =>
${@contract_id},
p_user_id =>${/session/@user_id}
hl_con_contract_content_pkg.contract_content_create(
p_contract_id =>
${@contract_id},
p_content_id =>${@content_id},
p_user_id =>${/session/@user_id},
p_templet_usage =>${@templet_usage},
p_content_type =>${@content_type}
);
end;
...
...
src/main/webapp/modules/cont/CON311/con_contract_update_print_word.lview
0 → 100644
View file @
79559852
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cont/CON311/con_contract_update_print_word_detail.lview
0 → 100644
View file @
79559852
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cont/CON311/con_re_print_entrance.lview
View file @
79559852
...
...
@@ -14,6 +14,7 @@
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"car_modify_special_link"
url=
"${/request/@context_path}/modules/prj/PRJ500N/prj_project_create_special.lview"
/>
<a:link
id=
"con_contract_update_print_detail_link_id"
url=
"${/request/@context_path}/modules/cont/CON311/con_contract_update_print_word_detail.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function open_contract_win(ds_id, record_id) {
var record = $(ds_id).findById(record_id);
...
...
@@ -104,7 +105,7 @@
});
};
//合同文本打印
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
/*
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract');
var records = $(ds_id).getSelected();
for (var i = 0;i
< records.length
;i++)
{
...
...
@@ -124,7 +125,31 @@
param['url_title']
=
'${l:CON301.CONTRACT_DETAIL}';
hls_doc_get_layout_code('con_contract_get_layout_code_link_id',
param,
'con_contract_modify_link',
ds_id);
}
};
};*/
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click']
=
function()
{
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'con_contract');
var
records =
$(ds_id).getSelected();
if
(records.length
!=
1)
{
Leaf.showMessage('${l:PROMPT}','${l:HLS.SELECT_RECORD}');
return;
}
var
record=
records[0];
new
Leaf.Window({
id:
'con_contract_update_print_detail_winid',
params:
{
contract_id:
record.get('contract_id'),
document_category:record.get('document_category'),
business_type
:record.get('business_type'),
winid:
'con_contract_update_print_detail_winid',
content_type
:
'NORMAL'
},
url:
$('con_contract_update_print_detail_link_id').getUrl(),
title:
'${l:CON505.CON_CONTENT_PRINT}',
width:1000,
height:450
});
}
]]
></script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&function_code=CON501"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
...
...
src/main/webapp/modules/cont/CON500/con_doc_batch_create.lsc
View file @
79559852
...
...
@@ -22,7 +22,7 @@
for (var i = 0;i < from_file_data.length;i++) {
var to_file_path = $ctx.parameter.file_path;
var record_data = from_file_data[i];
if (record_data.file_exists_flag != 'Y') {
var to_file_name = record_data.to_file_name + '.' + record_data.file_type_code || 'doc';
var from_file_path = record_data.file_path;
...
...
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