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
ea2688bb
Commit
ea2688bb
authored
Dec 07, 2020
by
congzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[建机]电子合同开发 合同签约流程校验添加和调整
parent
cc6e1098
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
88 additions
and
19 deletions
+88
-19
con_contract_query.lwm
...in/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
+1
-1
con_ele_agent_contract_signer_query.lwm
.../classes/wx/WX100/con_ele_agent_contract_signer_query.lwm
+62
-0
con_ele_contract_signer_query.lwm
...EB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
+6
-2
con_ele_flow_update.lwm
...n/webapp/WEB-INF/classes/wx/WX100/con_ele_flow_update.lwm
+5
-5
con_ele_agent_content_create.lsc
.../webapp/modules/wx/WX100/con_ele_agent_content_create.lsc
+3
-3
con_ele_content_create.lsc
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
+3
-3
con_ele_file_download.lsc
src/main/webapp/modules/wx/WX100/con_ele_file_download.lsc
+1
-1
con_ele_terminate_create.lsc
...main/webapp/modules/wx/WX100/con_ele_terminate_create.lsc
+5
-2
wx_con_ele_atm_dl.lsc
src/main/webapp/modules/wx/WX100/wx_con_ele_atm_dl.lsc
+2
-2
No files found.
src/main/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
View file @
ea2688bb
...
...
@@ -85,7 +85,7 @@ select *
and cs.id_type = ${@id_type}
and rownum = 1) userSignStatus
from con_contract t1
where t1.data_class
= 'NORMAL'
where t1.data_class
in ('NORMAL','CHANGE_REQ')
and t1.ec_sign_type in ('INITIATE', 'SIGNING')
and t1.sign_type = 'ELE_SIGN'
and ((${@account_type} = 'PE' and exists
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_agent_contract_signer_query.lwm
0 → 100644
View file @
ea2688bb
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: zc
$Date: 2020年11月9日 10点35分
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:fields>
<bm:field
name=
"contract_id"
/>
<bm:field
name=
"contract_number"
/>
<bm:field
name=
"bp_id"
/>
<bm:field
name=
"bp_name"
/>
<bm:field
name=
"id_type"
/>
<bm:field
name=
"id_no"
/>
<bm:field
name=
"mobile"
/>
<bm:field
name=
"signer_category"
/>
<bm:field
name=
"esign_type"
/>
<bm:field
name=
"legal_person"
/>
<bm:field
name=
"id_card_no_leg"
/>
</bm:fields>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select distinct t.* from (select
cs.contract_id,
(select c.contract_number from con_contract c where c.contract_id = cs.contract_id) contract_number,
cs.bp_id,
cs.bp_name,
cs.id_type,
cs.id_no,
cs.mobile,
hs.signer_category,
cs.esign_type,
(select hm.legal_person
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and cb.bp_category = 'TENANT'
and cb.bp_class = 'ORG') legal_person,
(select hm.id_card_no_leg
from con_contract_bp cb, hls_bp_master hm
where cb.bp_id = hm.bp_id
and cb.contract_id = cs.contract_id
and cb.bp_category = 'TENANT'
and cb.bp_class = 'ORG') id_card_no_leg
from con_contract_ele_signer cs, hls_doc_file_templet_signer hs,con_contract_content cc,con_clause_templet ct
where cs.templet_signer_id = hs.templet_signer_id
and ct.doc_template_id = hs.templet_id
and ct.templet_id = cc.templet_id
and cs.contract_id = cc.contract_id
and cc.clause_usage = 'AGENT_CONTRACT') t
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:query-fields>
<bm:query-field
name=
"contract_id"
queryExpression=
"t.contract_id= ${@contract_id}"
/>
<bm:query-field
name=
"signer_category"
queryExpression=
"t.signer_category= ${@signer_category}"
/>
<bm:query-field
name=
"esign_type"
queryExpression=
"t.esign_type= ${@esign_type}"
/>
</bm:query-fields>
</bm:model>
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
View file @
ea2688bb
...
...
@@ -44,8 +44,12 @@
and cb.contract_id = cs.contract_id
and cb.bp_category = 'TENANT'
and cb.bp_class = 'ORG') id_card_no_leg
from con_contract_ele_signer cs, hls_doc_file_templet_signer hs
where cs.templet_signer_id = hs.templet_signer_id) t
from con_contract_ele_signer cs, hls_doc_file_templet_signer hs,con_contract_content cc,con_clause_templet ct
where cs.templet_signer_id = hs.templet_signer_id
and ct.doc_template_id = hs.templet_id
and ct.templet_id = cc.templet_id
and cs.contract_id = cc.contract_id
and cc.clause_usage != 'AGENT_CONTRACT') t
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_flow_update.lwm
View file @
ea2688bb
...
...
@@ -5,13 +5,13 @@
</bm:fields>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<bm:query-sql>
<![CDATA[
select count(cf.ele_flow_id) ce_num
from con_contract_ele_flow cf
where cf.contract_id = ${@contract_id}
and cf.ele_flow_type = 'CE'
and cf.ele_flow_id is not null
</bm:query-sql>
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
...
...
@@ -38,16 +38,16 @@
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<bm:update-sql>
<![CDATA[
BEGIN
UPDATE CON_CONTRACT c
SET c.ec_sign_type = 'INITIATE',
c.sign_
contract_status = 'SIGNING
',
c.sign_
type = 'ELE_SIGN
',
c.last_updated_by = nvl(${/session/@user_id},1),
c.last_update_date = sysdate
WHERE c.contract_id = ${@contract_id};
end;
</bm:update-sql>
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/wx/WX100/con_ele_agent_content_create.lsc
View file @
ea2688bb
...
...
@@ -113,13 +113,13 @@
var con_ele_unsigned_file_data = con_ele_unsigned_file_map.getChildren();
for (var n = 0; n < con_ele_unsigned_file_data.length; n++){
conFileList.push({
"fileUrl": con_ele_unsigned_file_data[n].file_path,
"fileUrl": con_ele_unsigned_file_data[n].file_path
.replace('X:','/mnt')
,
"fileName": con_ele_unsigned_file_data[n].file_name,
"fileSize": con_ele_unsigned_file_data[n].file_size
});
}
//合同签署人信息
var ele_signer_bm = $bm('wx.WX100.con_ele_contract_signer_query');
var ele_signer_bm = $bm('wx.WX100.con_ele_
agent_
contract_signer_query');
var ele_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id,
esign_type:'CE'
...
...
@@ -168,7 +168,7 @@
for (var h = 0; h < ele_signer_file_data.length; h++){
signerFileList.push({
"fileName":ele_signer_file_data[h].file_name,
"fileUrl":ele_signer_file_data[h].file_path,
"fileUrl":ele_signer_file_data[h].file_path
.replace('X:','/mnt')
,
"fileSize":ele_signer_file_data[h].file_size
});
}
...
...
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
View file @
ea2688bb
...
...
@@ -111,7 +111,7 @@
var to_file_path = $ctx.parameter.file_path;
var record_data = from_file_data[i];
if (record_data.file_exists_flag != 'Y') {
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;
var guid_file_name_path = $bm('cont.CON500.con_contract_get_guid_file_name').queryAsMap();
...
...
@@ -156,7 +156,7 @@
var con_ele_unsigned_file_data = con_ele_unsigned_file_map.getChildren();
for (var n = 0; n < con_ele_unsigned_file_data.length; n++) {
conFileList.push({
"fileUrl": con_ele_unsigned_file_data[n].file_path,
"fileUrl": con_ele_unsigned_file_data[n].file_path
.replace('X:','/mnt')
,
"fileName": con_ele_unsigned_file_data[n].file_name,
"fileSize": con_ele_unsigned_file_data[n].file_size
});
...
...
@@ -272,7 +272,7 @@
for (var h = 0; h < ele_signer_file_data.length; h++) {
signerFileList.push({
"fileName": ele_signer_file_data[h].file_name,
"fileUrl": ele_signer_file_data[h].file_path,
"fileUrl": ele_signer_file_data[h].file_path
.replace('X:','/mnt')
,
"fileSize": ele_signer_file_data[h].file_size
});
}
...
...
src/main/webapp/modules/wx/WX100/con_ele_file_download.lsc
View file @
ea2688bb
...
...
@@ -63,7 +63,7 @@
con_ele_file_dl_bm.update({
contract_id: con_ele_file_dl_data[i].contract_id,
file_name: docs_list[j].fileName,
file_url: docs_list[j].fileUrl,
file_url: docs_list[j].fileUrl
.replace('/mnt','X:')
,
file_size:docs_list[j].fileSize
})
}
...
...
src/main/webapp/modules/wx/WX100/con_ele_terminate_create.lsc
View file @
ea2688bb
...
...
@@ -156,7 +156,7 @@
var con_ele_unsigned_file_data = con_ele_unsigned_file_map.getChildren();
for (var n = 0; n < con_ele_unsigned_file_data.length; n++){
conFileList.push({
"fileUrl": con_ele_unsigned_file_data[n].file_path,
"fileUrl": con_ele_unsigned_file_data[n].file_path
.replace('X:','/mnt')
,
"fileName": con_ele_unsigned_file_data[n].file_name,
"fileSize": con_ele_unsigned_file_data[n].file_size
});
...
...
@@ -234,7 +234,7 @@
for (var h = 0; h < ele_signer_file_data.length; h++){
signerFileList.push({
"fileName":ele_signer_file_data[h].file_name,
"fileUrl":ele_signer_file_data[h].file_path,
"fileUrl":ele_signer_file_data[h].file_path
.replace('X:','/mnt')
,
"fileSize":ele_signer_file_data[h].file_size
});
}
...
...
@@ -290,6 +290,9 @@
flow_id: flow_id,
esign_type: 'ET'
})
flow_update_bm.execute({
contract_id: $ctx.parameter.contract_id
})
var sign_url_list = result_ob.signUrlList;
var ele_con_info_bm = $bm('wx.WX100.con_ele_con_info_update');
for(var i = 0 ; i < sign_url_list.length; i++){
...
...
src/main/webapp/modules/wx/WX100/wx_con_ele_atm_dl.lsc
View file @
ea2688bb
...
...
@@ -92,7 +92,7 @@
}
}
zos.close();
file_url = tranfer_file_path;
file_url = tranfer_file_path
.toString().replace('X:','/mnt')
;
file_name = zip_filename;
file_size = get_file_length(tranfer_file_path);
} else if ($ctx.parameter.type == 'SIN' && $ctx.parameter.atmId) {
...
...
@@ -101,7 +101,7 @@
attachment_id: $ctx.parameter.atmId
});
var result_data = result.getChildren()[0];
file_url = result_data.file_path;
file_url = result_data.file_path
.replace('X:','/mnt')
;
file_name = result_data.file_name;
file_size = result_data.file_size;
}
...
...
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