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
Show 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 @@
...
@@ -194,6 +194,6 @@
</bm:operation>
</bm:operation>
</bm:operations>
</bm:operations>
<bm:data-filters>
<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:data-filters>
</bm:model>
</bm:model>
src/main/webapp/WEB-INF/classes/wx/WX100/con_contract_query.lwm
View file @
1de72cde
...
@@ -63,8 +63,13 @@ select *
...
@@ -63,8 +63,13 @@ select *
(SELECT cs.sign_url
(SELECT cs.sign_url
from con_contract_ele_signer cs
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
where cs.contract_id = t1.contract_id
and cs.id_no = ${@id_no}
and ((${@account_type} = 'AG' and
and cs.id_type = ${@id_type}
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,
and rownum = 1) sign_url,
(SELECT nvl(cs.ec_sign_status, 'N')
(SELECT nvl(cs.ec_sign_status, 'N')
from con_contract_ele_signer cs
from con_contract_ele_signer cs
...
@@ -149,8 +154,13 @@ select *
...
@@ -149,8 +154,13 @@ select *
(SELECT cs.sign_url
(SELECT cs.sign_url
from con_contract_ele_signer cs
from con_contract_ele_signer cs
where cs.contract_id = t1.contract_id
where cs.contract_id = t1.contract_id
and cs.id_no = ${@id_no}
and ((${@account_type} = 'AG' and
and cs.id_type = ${@id_type}
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,
and rownum = 1) sign_url,
(SELECT nvl(cs.ec_sign_status, 'N')
(SELECT nvl(cs.ec_sign_status, 'N')
from con_contract_ele_signer cs
from con_contract_ele_signer cs
...
...
src/main/webapp/WEB-INF/classes/wx/WX100/con_ele_contract_signer_query.lwm
View file @
1de72cde
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
<bm:field
name=
"mobile"
/>
<bm:field
name=
"mobile"
/>
<bm:field
name=
"signer_category"
/>
<bm:field
name=
"signer_category"
/>
<bm:field
name=
"esign_type"
/>
<bm:field
name=
"esign_type"
/>
<bm:field
name=
"legal_person"
/>
<bm:field
name=
"id_card_no_leg"
/>
</bm:fields>
</bm:fields>
<bm:operations>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:operation
name=
"query"
>
...
@@ -29,7 +31,19 @@
...
@@ -29,7 +31,19 @@
cs.id_no,
cs.id_no,
cs.mobile,
cs.mobile,
hs.signer_category,
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
from con_contract_ele_signer cs, hls_doc_file_templet_signer hs
where cs.templet_signer_id = hs.templet_signer_id) t
where cs.templet_signer_id = hs.templet_signer_id) t
#WHERE_CLAUSE#
#WHERE_CLAUSE#
...
...
src/main/webapp/modules/wx/WX100/con_ele_content_create.lsc
View file @
1de72cde
...
@@ -181,19 +181,36 @@
...
@@ -181,19 +181,36 @@
signer_category:'TENANT_ORG_SIGN'
signer_category:'TENANT_ORG_SIGN'
});
});
var ele_org_signer_data = ele_org_signer_map.getChildren();
var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name;
var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no;
var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile;
var mobile = ele_org_signer_data[0].mobile;
//法人
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({
userInfoList.push({
"idNo":signer_record_data.id_no,
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentIdNo":agentIdNo,
"agentName":agentName,
"agentName":agentName,
"mobile":mobile,
"mobile":mobile,
"legalName":agentName,
"legalName":legalName,
"legalIdNo":agentIdNo,
"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"
"agentType":"2"
});
});
}
}else if(signer_record_data.signer_category == 'GUARANTOR_ORG_SEAL'){
}else if(signer_record_data.signer_category == 'GUARANTOR_ORG_SEAL'){
var ele_org_signer_map = ele_signer_bm.queryAsMap({
var ele_org_signer_map = ele_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id,
contract_id: $ctx.parameter.contract_id,
...
...
src/main/webapp/modules/wx/WX100/con_ele_terminate_create.lsc
View file @
1de72cde
...
@@ -183,21 +183,38 @@
...
@@ -183,21 +183,38 @@
signer_category:'TENANT_ORG_SIGN'
signer_category:'TENANT_ORG_SIGN'
});
});
var ele_org_signer_data = ele_org_signer_map.getChildren();
var ele_org_signer_data = ele_org_signer_map.getChildren();
//经办人
var agentName = ele_org_signer_data[0].bp_name;
var agentName = ele_org_signer_data[0].bp_name;
var agentIdNo = ele_org_signer_data[0].id_no;
var agentIdNo = ele_org_signer_data[0].id_no;
var mobile = ele_org_signer_data[0].mobile;
var mobile = ele_org_signer_data[0].mobile;
//法人
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({
userInfoList.push({
"idNo":signer_record_data.id_no,
"idNo":signer_record_data.id_no,
"name":signer_record_data.bp_name,
"name":signer_record_data.bp_name,
"agentIdNo":agentIdNo,
"agentIdNo":agentIdNo,
"agentName":agentName,
"agentName":agentName,
"mobile":mobile,
"mobile":mobile,
"legalName":agentName,
"legalName":legalName,
"legalIdNo":agentIdNo,
"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"
"agentType":"2"
});
});
}
}
}
}
}
var ele_contract_signer_map = ele_contract_signer_bm.queryAsMap({
var ele_contract_signer_map = ele_contract_signer_bm.queryAsMap({
contract_id: $ctx.parameter.contract_id
contract_id: $ctx.parameter.contract_id
});
});
...
...
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