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
57c63f2b
Commit
57c63f2b
authored
Nov 14, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]商业伙伴维护修改
parent
8e1a56d1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
31 deletions
+22
-31
user_agent_description.lwm
...pp/WEB-INF/classes/prj/PRJ500D/user_agent_description.lwm
+5
-15
hls_bp_master_modify.lview
...ain/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
+17
-16
No files found.
src/main/webapp/WEB-INF/classes/prj/PRJ500D/user_agent_description.lwm
View file @
57c63f2b
...
@@ -4,21 +4,11 @@
...
@@ -4,21 +4,11 @@
<bm:operations>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
<bm:query-sql>
<![CDATA[
select h.bp_name agent_name,h.bp_id agent_id
select h.bp_name, h.bp_code, h.bp_id
from hls_bp_master h
from exp_emp_assign_e_v ee, hls_bp_master h
where h.unit_id =
where ee.user_id = ${/session/@user_id}
(select eo.unit_id
and ee.unit_id = h.unit_id
from exp_org_position eo
and h.bp_category = 'AGENT'
where eo.position_id =
(select ee.POSITION_ID
from EXP_EMPLOYEE_ASSIGNS ee
where ee.EMPLOYEE_ID =
(select s.employee_id
from sys_user s
where ${/session/@user_id} = s.user_id))
and (select eou.parent_unit_id
from EXP_ORG_UNIT eou
where eou.unit_id = eo.unit_id) = 1544)
]]>
]]>
</bm:query-sql>
</bm:query-sql>
</bm:operation>
</bm:operation>
...
...
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
View file @
57c63f2b
...
@@ -388,13 +388,13 @@
...
@@ -388,13 +388,13 @@
}
}
if (name == 'id_card_no') {
if (name == 'id_card_no') {
//
if(record.get('id_type') == 'ID_CARD') {
if (!checkCard(value)) {
if (!checkCard(value)) {
Leaf.showMessage('提示', '基本信息中,请输入正确格式的身份证!');
Leaf.showMessage('提示', '基本信息中,请输入正确格式的身份证!');
return '请输入正确格式的身份证';
return '请输入正确格式的身份证';
} else if (value.length == 18) {
} else if (value.length == 18) {
//自动带出籍贯
//自动带出籍贯
record.set('resident_addres',get_native_place(value))
record.set('resident_addres', get_native_place(value));
record.set('date_of_birth', new Date(value.substr(6, 4) + '/' + value.substr(10, 2) + '/' + value.substr(12, 2)));
record.set('date_of_birth', new Date(value.substr(6, 4) + '/' + value.substr(10, 2) + '/' + value.substr(12, 2)));
record.set('age', new Date().getFullYear() - value.substr(6, 4));
record.set('age', new Date().getFullYear() - value.substr(6, 4));
if (value.substr(16, 1) % 2 == 1) {
if (value.substr(16, 1) % 2 == 1) {
...
@@ -407,6 +407,7 @@
...
@@ -407,6 +407,7 @@
}
}
}
}
}
if (name == 'id_no_sp') {
if (name == 'id_no_sp') {
//
//
...
...
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