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
04f11195
Commit
04f11195
authored
Dec 30, 2019
by
Darming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat]商业伙伴评分
parent
45c3f50c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
244 additions
and
104 deletions
+244
-104
fnd_sc_score_query.lwm
.../webapp/WEB-INF/classes/fnd/FND714/fnd_sc_score_query.lwm
+1
-1
fnd_sc_score_result_dtl_query.lwm
...-INF/classes/fnd/FND714/fnd_sc_score_result_dtl_query.lwm
+96
-58
bp_tenant_detail_exists_query.lwm
...INF/classes/prj/PRJ500D/bp_tenant_detail_exists_query.lwm
+15
-0
bp_tenant_old_r_query.lwm
...app/WEB-INF/classes/prj/PRJ500D/bp_tenant_old_r_query.lwm
+24
-0
prj_project_maintain.lview
...ain/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
+104
-44
prj_project_score_result_detail.lview
.../modules/prj/PRJ902/prj_project_score_result_detail.lview
+4
-1
No files found.
src/main/webapp/WEB-INF/classes/fnd/FND714/fnd_sc_score_query.lwm
View file @
04f11195
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
from prj_project prj
from prj_project prj
where prj.project_id = sc.object_id),
where prj.project_id = sc.object_id),
'PD',
'PD',
(select
bp.bp_name
(select
decode(bp.bp_class,'NP',bp.bp_name,'ORG',bp.legal_person)
from hls_bp_master bp
from hls_bp_master bp
where bp.bp_id = sc.object_id),
where bp.bp_id = sc.object_id),
'') object_name,
'') object_name,
...
...
src/main/webapp/WEB-INF/classes/fnd/FND714/fnd_sc_score_result_dtl_query.lwm
View file @
04f11195
...
@@ -3,76 +3,114 @@
...
@@ -3,76 +3,114 @@
<bm:operations>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
<bm:query-sql>
<![CDATA[
select fsd.result_detail_id,
SELECT fsd.result_detail_id,
decode(${@template_type},'LGD',fsd.result_detail_id,'PD',fsd.score_template_line_id) tree_id_feild,
decode('PD',
fsd.result_id,
'LGD',
fsd.score_template_line_id,
fsd.result_detail_id,
decode(${@template_type},'LGD',fsd.parent_result_detail_id,'PD',fst.parent_line_id) tree_parent_field,
'PD',
fsd.target_value,
fsd.score_template_line_id) tree_id_feild,
case when fst.target_value_type='CHAR' then
fsd.result_id,
(select t.description from fnd_score_target_values t where t.score_target_id=fst.score_target_id and t.fixed_target_value=fsd.target_value)
fsd.score_template_line_id,
else fsd.target_value
decode('PD',
end target_value_desc,
'LGD',
fsd.target_score,
fsd.parent_result_detail_id,
fsd.target_score_original,
'PD',
fsd.note,
fst.parent_line_id) tree_parent_field,
fst.score_target_code,
fsd.target_value,
fst.score_target_name||
CASE
(select '('|| decode(fsd.object_type,
WHEN fst.target_value_type = 'CHAR' THEN
'RRG',
(SELECT t.description
(select prj.bp_name
FROM fnd_score_target_values t
from prj_project_bp prj
WHERE t.score_target_id = fst.score_target_id
where prj.prj_bp_id=fsd.object_id
AND t.fixed_target_value = fsd.target_value)
and prj.bp_category='GUARANTOR'),
ELSE
'RRB',
fsd.target_value
(select prj.bp_name
END target_value_desc,
from prj_project_bp prj where prj.prj_bp_id=fsd.object_id
CASE
and prj.bp_category='TENANT'),
WHEN fst.score_target_code IN
'RRL',
('HL_CM_04', 'HL_CM_12', 'HL_CM_18', 'HL_CM_27') THEN --日常信用 健康状况 借款情况 工程合同真实性
(select prj.full_name
CASE
from prj_project_lease_item prj
WHEN fsd.target_value IN ('BAD', 'N') THEN
where prj.project_lease_item_id=fsd.object_id),
'DQ'
'RRC',
ELSE
(select prj.mortgage_name
to_char(fsd.target_score, 'FM9999')
from prj_project_mortgage prj
END
where prj.prj_mortgage_id=fsd.object_id),
WHEN fst.score_target_code IN ('HL_CM_21', 'HL_CM_08') THEN --是否为他人担保
'') ||')' from dual where ${@template_type}='LGD' and fst.multiple_flag='Y' and fsd.parent_result_detail_id is null)
DECODE(fsd.target_value, 'Y', 'DQ', 'CRIMINAL', 'DQ', to_char(fsd.target_score, 'FM9999'))
score_target_name,
ELSE
fst.score_value,
to_char(fsd.target_score, 'FM9999')
fst.data_value_from,
END target_score,
fst.display_flag,
fsd.target_score_original,
fst.summary_flag,
fsd.note,
'Y' expand_flag,
fst.score_target_code,
fst.target_value_type
fst.score_target_name ||
FROM
(SELECT '(' || decode(fsd.object_type,
fnd_sc_score_result_dtl fsd,
'RRG',
fnd_score_template_all_v fst
(SELECT prj.bp_name
#WHERE_CLAUSE#
FROM prj_project_bp prj
order by fst.score_target_code asc
WHERE prj.prj_bp_id = fsd.object_id
]]>
</bm:query-sql>
AND prj.bp_category = 'GUARANTOR'),
'RRB',
(SELECT prj.bp_name
FROM prj_project_bp prj
WHERE prj.prj_bp_id = fsd.object_id
AND prj.bp_category = 'TENANT'),
'RRL',
(SELECT prj.full_name
FROM prj_project_lease_item prj
WHERE prj.project_lease_item_id = fsd.object_id),
'RRC',
(SELECT prj.mortgage_name
FROM prj_project_mortgage prj
WHERE prj.prj_mortgage_id = fsd.object_id),
'') || ')'
FROM dual
WHERE 'PD' = 'LGD'
AND fst.multiple_flag = 'Y'
AND fsd.parent_result_detail_id IS NULL) score_target_name,
fst.score_value,
fst.data_value_from,
fst.display_flag,
fst.summary_flag,
'Y' expand_flag,
fst.target_value_type
FROM fnd_sc_score_result_dtl fsd,
fnd_score_template_all_v fst #WHERE_CLAUSE#
order by fst.score_target_code asc
]]>
</bm:query-sql>
</bm:operation>
</bm:operation>
</bm:operations>
</bm:operations>
<bm:fields>
<bm:fields>
<bm:field
name=
"target_value_type"
/>
<bm:field
name=
"target_value_type"
/>
<bm:field
name=
"result_detail_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"RESULT_DETAIL_ID"
required=
"true"
/>
<bm:field
name=
"result_detail_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
<bm:field
name=
"result_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"RESULT_ID"
required=
"true"
/>
physicalName=
"RESULT_DETAIL_ID"
required=
"true"
/>
<bm:field
name=
"score_template_line_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"SCORE_TEMPLATE_LINE_ID"
required=
"true"
/>
<bm:field
name=
"result_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"RESULT_ID"
required=
"true"
/>
<bm:field
name=
"score_template_line_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"SCORE_TEMPLATE_LINE_ID"
required=
"true"
/>
<bm:field
name=
"target_value"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"TARGET_VALUE"
/>
<bm:field
name=
"target_value"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"TARGET_VALUE"
/>
<bm:field
name=
"target_value_desc"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"TARGET_VALUE_DESC"
/>
<bm:field
name=
"target_value_desc"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
<bm:field
name=
"target_score"
databaseType=
"NUMBER"
datatype=
"java.lang.Double"
physicalName=
"TARGET_SCORE"
/>
physicalName=
"TARGET_VALUE_DESC"
/>
<bm:field
name=
"target_score_original"
databaseType=
"NUMBER"
datatype=
"java.lang.Double"
physicalName=
"TARGET_SCORE_ORIGINAL"
/>
<bm:field
name=
"target_score"
physicalName=
"TARGET_SCORE"
/>
<bm:field
name=
"target_score_original"
databaseType=
"NUMBER"
datatype=
"java.lang.Double"
physicalName=
"TARGET_SCORE_ORIGINAL"
/>
<bm:field
name=
"note"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"NOTE"
/>
<bm:field
name=
"note"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"NOTE"
/>
<bm:field
name=
"tree_parent_field"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"PARENT_LINE_ID"
/>
<bm:field
name=
"tree_parent_field"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"PARENT_LINE_ID"
/>
<bm:field
name=
"tree_id_feild"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"tree_id_feild"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
/>
<bm:field
name=
"score_target_code"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SCORE_TARGET_CODE"
/>
<bm:field
name=
"score_target_code"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
<bm:field
name=
"score_target_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SCORE_TARGET_NAME"
/>
physicalName=
"SCORE_TARGET_CODE"
/>
<bm:field
name=
"score_target_name"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SCORE_TARGET_NAME"
/>
<bm:field
name=
"score_value"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SCORE_VALUE"
/>
<bm:field
name=
"score_value"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SCORE_VALUE"
/>
<bm:field
name=
"data_value_from"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DATA_VALUE_FROM"
/>
<bm:field
name=
"data_value_from"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DATA_VALUE_FROM"
/>
<bm:field
name=
"display_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DISPLAY_FLAG"
/>
<bm:field
name=
"display_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"DISPLAY_FLAG"
/>
<bm:field
name=
"summary_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SUMMARY_FLAG"
/>
<bm:field
name=
"summary_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"SUMMARY_FLAG"
/>
<bm:field
name=
"expand_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"EXPAND_FLAG"
/>
<bm:field
name=
"expand_flag"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
physicalName=
"EXPAND_FLAG"
/>
</bm:fields>
</bm:fields>
<bm:data-filters>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"fsd.score_template_line_id = fst.score_template_line_id and fsd.result_id=${@result_id}"
/>
<bm:data-filter
enforceOperations=
"query"
expression=
"fsd.score_template_line_id = fst.score_template_line_id and fsd.result_id=${@result_id}"
/>
</bm:data-filters>
</bm:data-filters>
</bm:model>
</bm:model>
src/main/webapp/WEB-INF/classes/prj/PRJ500D/bp_tenant_detail_exists_query.lwm
0 → 100644
View file @
04f11195
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT count(1) list_count
FROM bp_tenant_rate_detail_v t1
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
name=
"query"
expression=
"(rownum = 1)"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/WEB-INF/classes/prj/PRJ500D/bp_tenant_old_r_query.lwm
0 → 100644
View file @
04f11195
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT *
FROM (
SELECT bp.*, fsr.object_id bp_id
FROM bp_tenant_rate_detail_v bp,
fnd_sc_score fss,
fnd_sc_score_result fsr,
fnd_score_template fst
WHERE bp.project_id = fss.project_id
AND fss.sc_score_id = fsr.sc_score_id
AND fsr.score_template_id = fst.score_template_id
AND fst.score_template_code = 'HL_CM_NP' order by bp.BP_DETAIL_ID desc) t1
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:data-filters>
<bm:data-filter
name=
"query"
expression=
"(rownum = 1)"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/modules/prj/PRJ501N/prj_project_maintain.lview
View file @
04f11195
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
$ctx.parameter.tomcat_source = con_print_path['tomcat_source'];
$ctx.parameter.tomcat_source = con_print_path['tomcat_source'];
]]>
]]>
</s:server-script>
</s:server-script>
<a:model-query
model=
"prj.PRJ500D.bp_tenant_detail_exists_query"
defaultWhereClause=
"t1.project_id=${/parameter/@project_id}"
rootPath=
"bp_tenant_detail_exists"
/>
<a:model-query
model=
"prj.PRJ500D.bp_tenant_old_r_query"
defaultWhereClause=
"t1.bp_id=${/parameter/@bp_id_tenant}"
rootPath=
"bp_tenant_detail_path"
/>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}get_special_fields_link_id"
<a:link
id=
"${/parameter/@layout_code}${/parameter/@pre_layout}get_special_fields_link_id"
...
@@ -614,15 +618,28 @@
...
@@ -614,15 +618,28 @@
});
});
}
}
if
(
name =
=
'bp_birth')
{
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
debugger;
if
(
score_ds_id =
=
ds.id)
{
if(jsGetAge(value.format('yyyy-mm-dd').toString())
==
-1){
if
(
name =
=
'bp_birth')
{
Leaf.showInfoMessage("提示","出生日期不能大于当前日期");
if
(jsGetAge(value.format('yyyy-mm-dd').toString())
==
-1)
{
setTimeout(function(){
Leaf.showInfoMessage("提示",
"出生日期不能大于当前日期");
record.set('bp_birth',old_value);
setTimeout(function
()
{
},0);
record.set('bp_birth',
old_value);
}else{
},
0);
record.set('bp_age',jsGetAge(value.format('yyyy-mm-dd').toString()));
}
else
{
record.set('bp_age',
jsGetAge(value.format('yyyy-mm-dd').toString()));
}
}
}
var
device_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_SCORE_DEVICE',
'bp_tenant_rate_item');
if
(
device_ds_id =
=
ds.id)
{
if
(
name =
=
'quantity')
{
if
(value
<=
0)
{
Leaf.showInfoMessage("提示",
"数量必须大于等于0");
setTimeout(function
()
{
record.set('quantity',
old_value);
},
0);
}
}
}
}
}
};
};
...
@@ -647,6 +664,16 @@
...
@@ -647,6 +664,16 @@
};
};
function
arrToObject(arr)
{
var
strJs =
'({'
;
for
(var
i =
0;
i
<
arr.length;
i
+=
1)
{
var
as =
arr[i].split("=");
strJs =
strJs
+
as[0]
+
':'
+
'"'
+
as[1]
+
'"'
+
',';
}
strJs =
strJs.substr(0,
strJs.length
-
1)
+
'})';
return
eval(strJs);
}
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load']
=
function
(ds,
record,
config_records,
bp_seq)
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load']
=
function
(ds,
record,
config_records,
bp_seq)
{
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
if
(
ds_id =
=
ds.id
&&
ds_id)
{
if
(
ds_id =
=
ds.id
&&
ds_id)
{
...
@@ -657,14 +684,30 @@
...
@@ -657,14 +684,30 @@
record.getField('bank_account_id_n').setRequired(false);
record.getField('bank_account_id_n').setRequired(false);
}
}
}
}
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
if
(
score_ds_id =
=
ds.id){
if
(
score_ds_id =
=
ds.id)
{
if
(!record.get('score_name'))
{
if
(!record.get('score_name'))
{
if
($(ds_id).getCurrentRecord())
{
if
($(ds_id).getCurrentRecord())
{
var
score_name =
$(ds_id).getCurrentRecord().get('legal_person')
||
$(ds_id).getCurrentRecord().get('bp_id_tenant_n');
var
score_name =
$(ds_id).getCurrentRecord().get('legal_person')
||
$(ds_id).getCurrentRecord().get('bp_id_tenant_n');
record.set('score_name',score_name);
record.set('score_name',
score_name);
}
}
}
}
var
str_r =
String('${/model/bp_tenant_detail_path/record}').replace('{','').replace('}','');
if('${/model/bp_tenant_detail_exists/record/@list_count}'
==
0){
var
obj =
JSON.parse('{'
+
str_r.replace(/(\w+)=/g,
'"$1":').replace(/:([^,]*)/g,':"$1"')
+
'}');
for(var
key
in
record.data){
if
(key
!=
'bp_detail_id'
&&
key
!=
'score_name')
{
var
vl =
obj[key];
if(
key =
=
'bp_birth'){
vl =
new
Date(obj[key].toString());
}
if(vl
!=
"null"){
record.set(key,vl);
}
}
}
}
}
}
};
};
...
@@ -723,6 +766,25 @@
...
@@ -723,6 +766,25 @@
record.set('lease_item_seq',
rk_value);
record.set('lease_item_seq',
rk_value);
}
}
var
device_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_SCORE_DEVICE',
'bp_tenant_rate_item');
var
traffic_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'G_SCORE_TRAFFIC',
'bp_tenant_rate_item');
if
((
device_ds_id =
=
ds.id
&&
device_ds_id)
||
(
traffic_ds_id =
=
ds.id
&&
traffic_ds_id))
{
//设置序号
var
rs =
ds.getAll(),
seq_num =
0;
if
(rs.length)
{
for
(var
j =
0;
j
<
rs.length;
j++)
{
var
r =
rs[j],
rk =
r.get('seq_num');
if
(seq_num
<=
rk)
{
seq_num =
rk;
}
}
}
var
rk_value =
seq_num
+
1;
record.set('seq_num',
rk_value);
}
};
};
//indexchange事件(grid,attach,gridbox,table)
//indexchange事件(grid,attach,gridbox,table)
...
@@ -743,37 +805,35 @@
...
@@ -743,37 +805,35 @@
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
record =
$(ds_id).getCurrentRecord();
var
record =
$(ds_id).getCurrentRecord();
var
param =
record.data;
if
(record)
{
if
(record.get('project_id'))
{
var
param =
record.data;
if
(record.get('project_id'))
{
//
if(record.get('project_status')=='NEW'||record.get('project_status')=='APPROVE_RETURN'||record.get('project_status')=='REJECT'){
param['project_id']
=
record.get('project_id');
//
param['function_code']
=
'PRJ501TENANT';
param['winid']
=
'hl_tenant_score_rate_win_id';
//
param['function_usage']
=
'UPDATE';
param['url_title']
=
'客户评分明细';
//
}else{
var
score_ds_id =
get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'F_TENANT_SCORE_INFO',
'bp_tenant_rate_detail');
//
param['function_code']
=
'PRJ501TENANT';
var
r =
$(score_ds_id).getCurrentRecord();
//
param['function_usage']
=
'QUERY';
if
(r.dirty)
{
//
}
Leaf.showInfoMessage('提示',
'评分数据发生修改,请先保存再进行评分');
//
return;
param['project_id']
=
record.get('project_id');
}
param['winid']
=
'hl_tenant_score_rate_win_id';
if
($(ds_id).validate())
{
param['url_title']
=
'客户评分明细';
var
win =
new
Leaf.Window({
//
hls_doc_get_layout_code('${/parameter/@layout_code}_get_layout_code_link_id',
param,
'${/parameter/@layout_code}_tenant_rate_query_link',
'${/parameter/@layout_code}');
id:
param['winid'],
var
win =
new
Leaf.Window({
params:
param,
id:
param['winid'],
url:
$('${/parameter/@layout_code}_tenant_rate_query_link').getUrl(),
params:
param,
title:
param['url_title'],
url:
$('${/parameter/@layout_code}_tenant_rate_query_link').getUrl(),
fullScreen:
true,
title:
param['url_title'],
draggable:
true
fullScreen:
true,
});
draggable:
true
}
});
}
else
{
Leaf.showMessage('${l:PROMPT}',
'请先保存');
}
else
{
return;
Leaf.showMessage('${l:PROMPT}',
'请先保存');
}
return;
}
}
};
}
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click']
=
function
()
{
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click']
=
function
()
{
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project');
var
lease_item_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project_lease_item');
var
lease_item_ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'prj_project_lease_item');
...
...
src/main/webapp/modules/prj/PRJ902/prj_project_score_result_detail.lview
View file @
04f11195
...
@@ -48,6 +48,9 @@
...
@@ -48,6 +48,9 @@
if (record.get('summary_flag') == 'Y') {
if (record.get('summary_flag') == 'Y') {
return '';
return '';
}
}
if (value == 'DQ'){
return '
<font
color=
red
>
'+ value + '
</font>
';
}
return value;
return value;
}
}
...
@@ -298,7 +301,7 @@
...
@@ -298,7 +301,7 @@
<a:column
name=
"target_value_name"
prompt=
"指标值"
width=
"250"
/>
<a:column
name=
"target_value_name"
prompt=
"指标值"
width=
"250"
/>
<!-- <a:column name="score_value" prompt="权重" renderer="fnd714_sc_score_result_dtl_render_score_value" width="80"/> -->
<!-- <a:column name="score_value" prompt="权重" renderer="fnd714_sc_score_result_dtl_render_score_value" width="80"/> -->
<!-- <a:column name="target_score" editorFunction="fnd714_sc_score_result_dtl_grid_editorFunc" prompt="FND714.TARGET_SCORE" renderer="fnd714_sc_score_result_dtl_render_target_score"/> -->
<!-- <a:column name="target_score" editorFunction="fnd714_sc_score_result_dtl_grid_editorFunc" prompt="FND714.TARGET_SCORE" renderer="fnd714_sc_score_result_dtl_render_target_score"/> -->
<a:column
name=
"target_score"
prompt=
"得分"
renderer=
"fnd714_sc_score_result_dtl_render_target_score"
width=
"80"
/>
<a:column
name=
"target_score"
prompt=
"得分"
align=
"right"
renderer=
"fnd714_sc_score_result_dtl_render_target_score"
width=
"80"
/>
<a:placeHolder
id=
"fnd714_dynamicColumns"
/>
<a:placeHolder
id=
"fnd714_dynamicColumns"
/>
<a:column
name=
"target_score_sum"
prompt=
"小计"
renderer=
"fnd714_sc_score_result_dtl_render_target_score_sum"
width=
"80"
/>
<a:column
name=
"target_score_sum"
prompt=
"小计"
renderer=
"fnd714_sc_score_result_dtl_render_target_score_sum"
width=
"80"
/>
</a:columns>
</a:columns>
...
...
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