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
1de72cde
Commit
1de72cde
authored
Nov 28, 2020
by
congzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[建机]电子合同开发 电子签约查询修改
parent
404f515e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
34 deletions
+92
-34
con_contract_content_v.lwm
...pp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
+1
-1
con_contract_query.lwm
...in/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
+22
-12
con_ele_contract_signer_query.lwm
...EB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
+15
-1
con_ele_content_create.lsc
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
+27
-10
con_ele_terminate_create.lsc
...main/webapp/modules/wx/WX100/con_ele_terminate_create.lsc
+27
-10
No files found.
src/main/webapp/WEB-INF/classes/cont/CON500/con_contract_content_v.lwm
View file @
1de72cde
...
...
@@ -194,6 +194,6 @@
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"t.contract_id=${@contract_id}"
/>
<bm:data-filter
enforceOperations=
"query"
expression=
"t.contract_id=${@contract_id}
and exists (select 1 from con_clause_templet ct where ct.templet_id = t.templet_id and ct.ele_content_flag != 'Y')
"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
View file @
1de72cde
...
...
@@ -60,12 +60,17 @@ select *
t1.lease_times, --期数
(NVL(t1.down_payment, 0) + NVL(t1.residual_value, 0) +
NVL(t1.total_rental, 0)) total_sign,
(SELECT cs.sign_url
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
and cs.id_no = ${@id_no}
and cs.id_type = ${@id_type}
and rownum = 1) sign_url,
(SELECT cs.sign_url
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
and ((${@account_type} = 'AG' and
cs.id_no =
(select hm.social_code
from hls_bp_master hm
where t1.bp_id_tenant = hm.bp_id)) or
(${@account_type} != 'AG' and
cs.id_no = ${@id_no}))
and rownum = 1) sign_url,
(SELECT nvl(cs.ec_sign_status, 'N')
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
...
...
@@ -146,12 +151,17 @@ select *
t1.lease_times, --期数
(NVL(t1.down_payment, 0) + NVL(t1.residual_value, 0) +
NVL(t1.total_rental, 0)) total_sign,
(SELECT cs.sign_url
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
and cs.id_no = ${@id_no}
and cs.id_type = ${@id_type}
and rownum = 1) sign_url,
(SELECT cs.sign_url
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
and ((${@account_type} = 'AG' and
cs.id_no =
(select hm.social_code
from hls_bp_master hm
where t1.bp_id_tenant = hm.bp_id)) or
(${@account_type} != 'AG' and
cs.id_no = ${@id_no}))
and rownum = 1) sign_url,
(SELECT nvl(cs.ec_sign_status, 'N')
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
View file @
1de72cde
...
...
@@ -16,6 +16,8 @@
<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"
>
...
...
@@ -29,7 +31,19 @@
cs.id_no,
cs.mobile,
hs.signer_category,
cs.esign_type
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
where cs.templet_signer_id = hs.templet_signer_id) t
#WHERE_CLAUSE#
...
...
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
View file @
1de72cde
...
...
@@ -181,19 +181,36 @@
signer_category:'TENANT_ORG_SIGN'
});
var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile;
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":agentName,
"legalIdNo":agentIdNo,
"agentType":"2"
});
//法人
var legalName = ele_org_signer_data[0].legal_person;
var legalIdNo = ele_org_signer_data[0].id_card_no_leg;
if (agentIdNo == legalIdNo){
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":legalName,
"legalIdNo":legalIdNo,
"agentType":"1"
});
}else{
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":legalName,
"legalIdNo":legalIdNo,
"agentType":"2"
});
}
}else if(signer_record_data.signer_category == 'GUARANTOR_ORG_SEAL'){
var ele_org_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id,
...
...
src/main/webapp/modules/wx/WX100/con_ele_terminate_create.lsc
View file @
1de72cde
...
...
@@ -183,19 +183,36 @@
signer_category:'TENANT_ORG_SIGN'
});
var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile;
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":agentName,
"legalIdNo":agentIdNo,
"agentType":"2"
});
//法人
var legalName = ele_org_signer_data[0].legal_person;
var legalIdNo = ele_org_signer_data[0].id_card_no_leg;
if (agentIdNo == legalIdNo){
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":legalName,
"legalIdNo":legalIdNo,
"agentType":"1"
});
}else{
userInfoList.push({
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentName":agentName,
"mobile":mobile,
"legalName":legalName,
"legalIdNo":legalIdNo,
"agentType":"2"
});
}
}
}
var ele_contract_signer_map = ele_contract_signer_bm.queryAsMap({
...
...
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