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
8285c6ee
Commit
8285c6ee
authored
Oct 08, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]合同文本生成优化
parent
79559852
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
27 deletions
+33
-27
con_contract_content_v.lwm
...pp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
+1
-1
con_contract_content_save.lwm
...WEB-INF/classes/cont/CON505/con_contract_content_save.lwm
+10
-0
contract_print_path.js
src/main/webapp/WEB-INF/server-script/contract_print_path.js
+15
-16
con_contract_content_save.lsc
.../webapp/modules/cont/CON505/con_contract_content_save.lsc
+7
-10
No files found.
src/main/webapp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
View file @
8285c6ee
...
...
@@ -186,7 +186,7 @@
CON_CONTRACT_CONTENT_V t1
WHERE
t1.templet_code !='GH_WITHHOLD_AGREE'
UNION ALL
UNION ALL
SELECT
t1.content_id,
t1.contract_id,
...
...
src/main/webapp/WEB-INF/classes/cont/CON505/con_contract_content_save.lwm
View file @
8285c6ee
...
...
@@ -46,5 +46,15 @@
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"delete"
>
<bm:update-sql>
<![CDATA[
begin
con_contract_content_pkg.delete_contract_content(p_content_id=>
${@content_id},
p_user_id=>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/server-script/contract_print_path.js
View file @
8285c6ee
var
con_print_path
=
{
'con_print_path'
:
'/u01/hls_file/excel/'
,
'tomcat_source'
:
'hls_file'
//'con_print_path' : '//128.1.12.135/c/project/bcml_hls/print_save'
//'con_print_path' : '//128.1.18.17/bcml_hls/save_print'
};
function
print_insert_fnd_atm
(
type
)
{
var
guid_file_name_path
=
$ctx
.
get
(
'/model/guid_file_name_path'
)
.
getChildren
();
.
getChildren
();
var
contract_file_path
=
$ctx
.
get
(
'/model/contract_file_path'
)
.
getChildren
();
var
file_name
=
$ctx
.
parameter
.
file_name
+
'.'
+
type
;
var
file_path
=
con_print_path
[
'con_print_path'
]
+
guid_file_name_path
[
0
].
guid_file_name
;
var
file_path
=
contract_file_path
[
0
].
contract_file_path
+
encodeURI
(
$ctx
.
parameter
.
file_name
,
'utf-8'
)
+
'.'
+
type
;
;
$bm
(
'cont.CON500.con_sign_content_update'
).
update
(
{
table_name
:
'CON_CONTRACT_CONTENT'
,
content_id
:
$ctx
.
parameter
.
content_id
,
file_name
:
file_name
.
toString
(),
file_path
:
file_path
.
toString
()
});
}
\ No newline at end of file
}
var
con_print_path
=
{
'con_print_path'
:
'/u01/hls_file/excel/'
};
function
set_parameter_file_path
(
name
)
{
$ctx
.
parameter
.
file_path
=
'/u01/hls_file/excel/'
;
};
src/main/webapp/modules/cont/CON505/con_contract_content_save.lsc
View file @
8285c6ee
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: gaoyang
$Date: 2013-7-26 上午10:29:11
$Revision: 1.0
$Purpose:
-->
<a:service
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:p=
"uncertain.proc"
trace=
"true"
>
<a:init-procedure>
<a:batch-apply
sourcepath=
"/parameter"
>
<p:switch
test=
"@current_parameter/@_status"
>
<p:case
value=
"update"
>
<a:model-update
model=
"cont.CON505.con_contract_content_save"
/>
</p:case>
<p:case
value=
"insert"
>
<a:model-insert
model=
"cont.CON505.con_contract_content_save"
/>
</p:case>
</p:switch>
</a:batch-apply>
<a:model-batch-update
model=
"cont.CON505.con_contract_content_save"
/>
</a:init-procedure>
<a:service-output
output=
"/parameter"
/>
</a:service>
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