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
b280cdc4
Commit
b280cdc4
authored
Sep 10, 2019
by
homunculus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat](新增租赁物GPS管理页面)
parent
6497b2c6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
127 additions
and
121 deletions
+127
-121
hls_bp_master_create.lview
...ain/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
+74
-74
hls_bp_master_create_entrance.lview
...p/modules/hls/HLS213N/hls_bp_master_create_entrance.lview
+10
-10
hls_bp_master_modify.lview
...ain/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
+37
-37
hls_bp_master_modify_entrance.lview
...p/modules/hls/HLS214N/hls_bp_master_modify_entrance.lview
+6
-0
No files found.
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
View file @
b280cdc4
...
@@ -157,79 +157,79 @@
...
@@ -157,79 +157,79 @@
//由于中诚信测试环境只能测试张三,所以这里限定身份证号为张三的123456199001011233
//由于中诚信测试环境只能测试张三,所以这里限定身份证号为张三的123456199001011233
// if(value=='123456199001011233'){
// if(value=='123456199001011233'){
//
//
var url1 = $('identity_query_link').getUrl();
//
var url1 = $('identity_query_link').getUrl();
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
Leaf.request({
//
Leaf.request({
url: url1,
//
url: url1,
para: {
//
para: {
id_card_no: value,//身份证号码
//
id_card_no: value,//身份证号码
bp_name: bp_name
//
bp_name: bp_name
},
//
},
success: function (res) {
//
success: function (res) {
var resmsg_1 = res.result.resmsg_1;
//
var resmsg_1 = res.result.resmsg_1;
if (resmsg_1 == '1') {
//
if (resmsg_1 == '1') {
if (name == 'id_card_no') {
//
if (name == 'id_card_no') {
record.set('ccx_resmsg', '身份验证成功');
//
record.set('ccx_resmsg', '身份验证成功');
card_identity_flag = 'Y';
//
card_identity_flag = 'Y';
} else {
//
} else {
record.set('ccx_resmsg1', '身份验证成功');
//
record.set('ccx_resmsg1', '身份验证成功');
sp_identity_flag = 'Y';
//
sp_identity_flag = 'Y';
}
//
}
} else {
//
} else {
//个人身份验证
//
//个人身份验证
var url = $('Identity_ccx_link').getUrl();
//
var url = $('Identity_ccx_link').getUrl();
//
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
Leaf.request({
//
Leaf.request({
url: url,
//
url: url,
para: {
//
para: {
bp_name: bp_name,//姓名
//
bp_name: bp_name,//姓名
id_card_no: value//身份证号码
//
id_card_no: value//身份证号码
},
//
},
success: function (res) {
//
success: function (res) {
//
//
var resmsg = res.result.resmsg;
//
var resmsg = res.result.resmsg;
if (name == 'id_card_no') {
//
if (name == 'id_card_no') {
record.set('ccx_resmsg', resmsg);
//
record.set('ccx_resmsg', resmsg);
if (resmsg == '身份验证成功') {
//
if (resmsg == '身份验证成功') {
card_identity_flag = 'Y';
//
card_identity_flag = 'Y';
}
//
}
} else {
//
} else {
record.set('ccx_resmsg1', resmsg);
//
record.set('ccx_resmsg1', resmsg);
if (resmsg == '身份验证成功') {
//
if (resmsg == '身份验证成功') {
sp_identity_flag = 'Y';
//
sp_identity_flag = 'Y';
}
//
}
//
}
//
}
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
Leaf.SideBar.show({
//
Leaf.SideBar.show({
msg: '${l:HLS.SUBMIT_SUCCESS}',
//
msg: '${l:HLS.SUBMIT_SUCCESS}',
duration: 2000
//
duration: 2000
});
//
});
},
//
},
failure: function () {
//
failure: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
//
},
error: function () {
//
error: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
//
},
scope: this,
//
scope: this,
sync: true
//
sync: true
});
//
});
}
//
}
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
//
},
failure: function () {
//
failure: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
//
},
error: function () {
//
error: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
//
},
scope: this,
//
scope: this,
sync: true
//
sync: true
});
//
});
}
}
if (value.length == 18) {
if (value.length == 18) {
...
...
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create_entrance.lview
View file @
b280cdc4
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
View file @
b280cdc4
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<a:link
id=
"hls214N_cdd_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"hls214N_cdd_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"${/parameter/@layout_code}_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"${/parameter/@layout_code}_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"hls214_bp_master_save_link_id"
model=
"hls.HLS214.hls_bp_change_agent"
modelaction=
"update"
/>
<a:link
id=
"hls214_bp_master_save_link_id"
model=
"hls.HLS214.hls_bp_change_agent"
modelaction=
"update"
/>
<a:link
id=
"hls214_sap_eai_create_customer_link"
url=
"${/request/@context_path}/modules/interface/INTERFACE_EAI/hls_sap_eai_CrCustomer.lsc"
/
>
<!-- <a:link id="hls214_sap_eai_create_customer_link" url="${/request/@context_path}/modules/interface/INTERFACE_EAI/hls_sap_eai_CrCustomer.lsc"/>--
>
<a:link
id=
"hls214_sap_eai_create_vender_link"
url=
"${/request/@context_path}/modules/interface/INTERFACE_EAI/hls_sap_eai_CrVender.lsc"
/
>
<!-- <a:link id="hls214_sap_eai_create_vender_link" url="${/request/@context_path}/modules/interface/INTERFACE_EAI/hls_sap_eai_CrVender.lsc"/>--
>
<script
src=
"${/request/@context_path}/javascripts/identity_card_info_query.js"
<script
src=
"${/request/@context_path}/javascripts/identity_card_info_query.js"
type=
"text/javascript"
></script>
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
...
@@ -33,41 +33,41 @@
...
@@ -33,41 +33,41 @@
var bp_record = $(bp_ds_id).getCurrentRecord();
var bp_record = $(bp_ds_id).getCurrentRecord();
var bp_id = bp_record.get('bp_id');
var bp_id = bp_record.get('bp_id');
Leaf.request({
// Leaf.request({
url: $('hls214_sap_eai_create_customer_link').getUrl(),
// url: $('hls214_sap_eai_create_customer_link').getUrl(),
para: {
// para: {
bp_id: bp_id
// bp_id: bp_id
},
// },
scope: this,
// scope: this,
success: function () {
// success: function () {
Leaf.request({
// Leaf.request({
url: $('hls214_sap_eai_create_vender_link').getUrl(),
// url: $('hls214_sap_eai_create_vender_link').getUrl(),
para: {
// para: {
bp_id: bp_id
// bp_id: bp_id
},
// },
scope: this,
// scope: this,
success: function () {
// success: function () {
$(bp_ds_id).query();
// $(bp_ds_id).query();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
// },
failure: function () {
// failure: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
// },
error: function () {
// error: function () {
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// },
// sync: true
// });
// },
// failure: function () {
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// },
// error: function () {
// window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// },
// sync: true
// });
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
sync: true
});
},
failure: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error: function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
sync: true
});
};
};
function prj_check_bp_id(record) {
function prj_check_bp_id(record) {
...
...
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify_entrance.lview
View file @
b280cdc4
...
@@ -26,6 +26,12 @@
...
@@ -26,6 +26,12 @@
<script
src=
"${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js"
type=
"text/javascript"
/>
<script
src=
"${/request/@context_path}/javascripts/hap/dynamicStopAutoQuery.js"
type=
"text/javascript"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
//信息变更
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
}
stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
function open_bp_modify_win(ds_id, record_id) {
function open_bp_modify_win(ds_id, record_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