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
56e493f4
Commit
56e493f4
authored
Feb 09, 2023
by
Luochenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件路径迁移 电子档案新增字段 代码规范 工作流定义判断逻辑修改add by 35022 luochenglong
parent
3de11544
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
234 additions
and
91 deletions
+234
-91
cloumn_code_query.lwm
...app/WEB-INF/classes/efile/EFILE1010/cloumn_code_query.lwm
+5
-5
elec_file_type.lwm
...webapp/WEB-INF/classes/efile/EFILE1010/elec_file_type.lwm
+4
-4
je_template_query.lwm
...app/WEB-INF/classes/efile/EFILE1010/je_template_query.lwm
+4
-4
cloumn_define.lview
src/main/webapp/modules/efile/EFILE1010/cloumn_define.lview
+13
-13
efile_atm_sql_lov.lview
...in/webapp/modules/efile/EFILE1010/efile_atm_sql_lov.lview
+45
-0
efile_je_source_sql_lov.lview
...app/modules/efile/EFILE1010/efile_je_source_sql_lov.lview
+45
-0
efile_stu_data_sql_lov.lview
...bapp/modules/efile/EFILE1010/efile_stu_data_sql_lov.lview
+45
-0
elec_type_define.lview
...ain/webapp/modules/efile/EFILE1010/elec_type_define.lview
+57
-49
voucher_ass_template.lview
...webapp/modules/efile/EFILE1010/voucher_ass_template.lview
+13
-13
zj_wfl_workflow.lview
src/main/webapp/modules/zjwfl/zj_wfl_workflow.lview
+3
-3
No files found.
src/main/webapp/WEB-INF/classes/e
lec/ELEC100
0/cloumn_code_query.lwm
→
src/main/webapp/WEB-INF/classes/e
file/EFILE101
0/cloumn_code_query.lwm
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
LR
$Date: 20
13-9-2 上午09:38:55
$Revision: 1.0
$Purpose:
$Author:
luochenglong
$Date: 20
23-02-07 下午2:03:31
$Revision: 1.0
$Purpose:
结构化字段bm
-->
<bm:model
xmlns:f=
"leaf.database.features"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
alias=
"t1"
baseTable=
"E_ARCHIVES_DEFINE_DATA"
defaultOrderBy=
"cloumn_code"
needAccessControl=
"false"
>
<bm:model
xmlns:f=
"leaf.database.features"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
alias=
"t1"
baseTable=
"E_ARCHIVES_DEFINE_DATA"
defaultOrderBy=
"cloumn_code"
needAccessControl=
"false"
>
<bm:fields>
<bm:field
name=
"base_archive_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"BASE_ARCHIVE_ID"
/>
<bm:field
name=
"sture_data_id"
databaseType=
"NUMBER"
datatype=
"java.lang.Long"
physicalName=
"STURE_DATA_ID"
/>
...
...
src/main/webapp/WEB-INF/classes/e
lec/ELEC100
0/elec_file_type.lwm
→
src/main/webapp/WEB-INF/classes/e
file/EFILE101
0/elec_file_type.lwm
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
LR
$Date: 20
13-9-2 上午09:38:55
$Revision: 1.0
$Purpose:
$Author:
luochenglong
$Date: 20
23-02-07 早上 11:03:31
$Revision: 1.0
$Purpose:
电子档案类型定义bm
-->
<bm:model
xmlns:f=
"leaf.database.features"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
alias=
"t1"
baseTable=
"E_ARCHIVES_DEFINE"
defaultOrderBy=
"base_archive_code"
>
<bm:fields>
...
...
src/main/webapp/WEB-INF/classes/e
lec/ELEC100
0/je_template_query.lwm
→
src/main/webapp/WEB-INF/classes/e
file/EFILE101
0/je_template_query.lwm
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
LR
$Date: 20
13-9-2 上午09:38:55
$Revision: 1.0
$Purpose:
$Author:
luochenglong
$Date: 20
23-02-07 下午3:03:31
$Revision: 1.0
$Purpose:
凭证模板bm
-->
<bm:model
xmlns:f=
"leaf.database.features"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
alias=
"t1"
baseTable=
"E_ARCHIVES_DEFINE_JE"
defaultOrderBy=
"je_template_code"
>
<bm:fields>
...
...
src/main/webapp/modules/e
lec/ELEC100
0/cloumn_define.lview
→
src/main/webapp/modules/e
file/EFILE101
0/cloumn_define.lview
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
wangwei
$Date: 20
15-5-21 下午4
:03:31
$Author:
luochenglong
$Date: 20
23-02-07 下午2
:03:31
$Revision: 1.0
$Purpose:
文件模板参数
定义
$Purpose:
结构化字段
定义
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<a:link
id=
"cloumn_code_save_link"
model=
"e
lec.ELEC100
0.cloumn_code_query"
modelaction=
"batch_update"
/>
<a:link
id=
"cloumn_code_delete_link"
model=
"e
lec.ELEC100
0.cloumn_code_query"
modelaction=
"batch_update"
/>
<a:link
id=
"cloumn_code_save_link"
model=
"e
file.EFILE101
0.cloumn_code_query"
modelaction=
"batch_update"
/>
<a:link
id=
"cloumn_code_delete_link"
model=
"e
file.EFILE101
0.cloumn_code_query"
modelaction=
"batch_update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function
elec_hls811
_add() {
function
cloumn_code
_add() {
var ds = $('cloumn_para_ds');
var record = ds.create(ds.currentIndex);
$('cloumn_para_ds_id').showEditorByRecord(record);
}
function
elec_hls811
_delete() {
function
cloumn_code
_delete() {
debugger;
var ds = $('cloumn_para_ds');
var records = ds.getSelected();
...
...
@@ -56,7 +56,7 @@
}
function
elec_hls811
_save() {
function
cloumn_code
_save() {
debugger;
var ds = $('cloumn_para_ds');
var records=ds.getAll();
...
...
@@ -109,7 +109,7 @@
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"cloumn_para_ds"
autoQuery=
"true"
model=
"e
lec.ELEC1000.cloumn_code_query"
queryUrl=
"${/request/@context_path}/autocrud/elec.ELEC100
0.cloumn_code_query/query?base_archive_id=${/parameter/@record_id}"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:dataSet
id=
"cloumn_para_ds"
autoQuery=
"true"
model=
"e
file.EFILE1010.cloumn_code_query"
queryUrl=
"${/request/@context_path}/autocrud/efile.EFILE101
0.cloumn_code_query/query?base_archive_id=${/parameter/@record_id}"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:fields>
<a:field
name=
"cloumn_code"
/>
<a:field
name=
"cloumn_name"
/>
...
...
@@ -123,9 +123,9 @@
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton
click=
"
elec_hls811
_add"
text=
"新增"
/>
<a:gridButton
click=
"
elec_hls811
_delete"
text=
"删除"
/>
-
<a:gridButton
click=
"
elec_hls811
_save"
text=
"HLS.SAVE"
/>
<a:gridButton
click=
"
cloumn_code
_add"
text=
"新增"
/>
<a:gridButton
click=
"
cloumn_code
_delete"
text=
"删除"
/>
-
<a:gridButton
click=
"
cloumn_code
_save"
text=
"HLS.SAVE"
/>
</a:screenTopToolbar>
<a:grid
id=
"cloumn_para_ds_id"
bindTarget=
"cloumn_para_ds"
marginHeight=
"200"
marginWidth=
"200"
navBar=
"true"
>
<a:columns>
...
...
@@ -137,7 +137,7 @@
<a:textField
id=
"elec_text_ed_up"
typeCase=
"upper"
/>
<a:checkBox
id=
"elec_checkbox_ed"
/>
<a:lov
id=
"elec_conBasicClauseParaDs_grid_lov"
/>
<a:comboBox
id=
"
elec_hls811
_comed"
/>
<a:comboBox
id=
"
cloumn_code
_comed"
/>
</a:editors>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/efile/EFILE1010/efile_atm_sql_lov.lview
0 → 100644
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: luochenglong
$Date: 2023-02-09 早上 10:03:31
$Revision: 1.0
$Purpose: 附件取值SQL
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
function okbtn() {
var record = $('para_lov_ds').getAt(0);
$('${/parameter/@lovid}').commit(record);
}
function returnok() {
$('${/parameter/@lovid}').win.close();
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"para_lov_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"lov_sql"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
<script
type=
"text/javascript"
>
<![CDATA[
function initSql(){
var sql=$('efile_type_ds').getCurrentRecord().get('atm_sql');
$('para_lov_ds').getAt(0).set('lov_sql',sql);
}
initSql();
]]>
</script>
<a:screenBody>
<a:form
column=
"1"
style=
"margin-top:10px;margin-left:10px;"
>
<a:textArea
name=
"lov_sql"
bindTarget=
"para_lov_ds"
height=
"320"
width=
"500"
/>
</a:form>
<a:hBox
style=
"margin-left:10px;margin-bottom:20px;"
>
<a:button
id=
"okbtnid"
click=
"okbtn"
text=
"PROMPT.OK"
/>
<a:button
click=
"returnok"
text=
"PROMPT.RETURN"
/>
</a:hBox>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/efile/EFILE1010/efile_je_source_sql_lov.lview
0 → 100644
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: luochenglong
$Date: 2023-02-09 早上 10:05:31
$Revision: 1.0
$Purpose: 凭证模板取值SQL
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
function okbtn() {
var record = $('para_lov_ds').getAt(0);
$('${/parameter/@lovid}').commit(record);
}
function returnok() {
$('${/parameter/@lovid}').win.close();
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"para_lov_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"lov_sql"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
<script
type=
"text/javascript"
>
<![CDATA[
function initSql(){
var sql=$('efile_type_ds').getCurrentRecord().get('je_source_sql');
$('para_lov_ds').getAt(0).set('lov_sql',sql);
}
initSql();
]]>
</script>
<a:screenBody>
<a:form
column=
"1"
style=
"margin-top:10px;margin-left:10px;"
>
<a:textArea
name=
"lov_sql"
bindTarget=
"para_lov_ds"
height=
"320"
width=
"500"
/>
</a:form>
<a:hBox
style=
"margin-left:10px;margin-bottom:20px;"
>
<a:button
id=
"okbtnid"
click=
"okbtn"
text=
"PROMPT.OK"
/>
<a:button
click=
"returnok"
text=
"PROMPT.RETURN"
/>
</a:hBox>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/efile/EFILE1010/efile_stu_data_sql_lov.lview
0 → 100644
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: luochenglong
$Date: 2023-02-09 早上 10:15:31
$Revision: 1.0
$Purpose: 结构化数据取值SQL
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<script
type=
"text/javascript"
>
<![CDATA[
function okbtn() {
var record = $('para_lov_ds').getAt(0);
$('${/parameter/@lovid}').commit(record);
}
function returnok() {
$('${/parameter/@lovid}').win.close();
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"para_lov_ds"
autoCreate=
"true"
>
<a:fields>
<a:field
name=
"lov_sql"
/>
</a:fields>
</a:dataSet>
</a:dataSets>
<script
type=
"text/javascript"
>
<![CDATA[
function initSql(){
var sql=$('efile_type_ds').getCurrentRecord().get('stru_data_sql');
$('para_lov_ds').getAt(0).set('lov_sql',sql);
}
initSql();
]]>
</script>
<a:screenBody>
<a:form
column=
"1"
style=
"margin-top:10px;margin-left:10px;"
>
<a:textArea
name=
"lov_sql"
bindTarget=
"para_lov_ds"
height=
"320"
width=
"500"
/>
</a:form>
<a:hBox
style=
"margin-left:10px;margin-bottom:20px;"
>
<a:button
id=
"okbtnid"
click=
"okbtn"
text=
"PROMPT.OK"
/>
<a:button
click=
"returnok"
text=
"PROMPT.RETURN"
/>
</a:hBox>
</a:screenBody>
</a:view>
</a:screen>
src/main/webapp/modules/e
lec/ELEC100
0/elec_type_define.lview
→
src/main/webapp/modules/e
file/EFILE101
0/elec_type_define.lview
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
wangwei
$Date: 20
15-5-21 下午4
:03:31
$Author:
luochenglong
$Date: 20
23-02-07 早上10
:03:31
$Revision: 1.0
$Purpose:
文件模板参数
定义
$Purpose:
电子档案类型
定义
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<a:link
id=
"hls_doc_file_para_table_list_link_id"
url=
"${/request/@context_path}/modules/hls/HLS811/hls_doc_file_para_table_list.lview"
/>
<a:link
id=
"cloumn_code_link_id"
url=
"${/request/@context_path}/modules/elec/ELEC1000/cloumn_define.lview"
/>
<a:link
id=
"je_template_link_id"
url=
"${/request/@context_path}/modules/elec/ELEC1000/voucher_ass_template.lview"
/>
<a:link
id=
"elec_file_save_link"
model=
"elec.ELEC1000.elec_file_type"
modelaction=
"batch_update"
/>
<a:link
id=
"elec_file_delete_link"
model=
"elec.ELEC1000.elec_file_type"
modelaction=
"batch_update"
/>
<a:link
id=
"cloumn_code_link_id"
url=
"${/request/@context_path}/modules/efile/EFILE1010/cloumn_define.lview"
/>
<a:link
id=
"je_template_link_id"
url=
"${/request/@context_path}/modules/efile/EFILE1010/voucher_ass_template.lview"
/>
<a:link
id=
"elec_file_save_link"
model=
"efile.EFILE1010.elec_file_type"
modelaction=
"batch_update"
/>
<a:link
id=
"elec_file_delete_link"
model=
"efile.EFILE1010.elec_file_type"
modelaction=
"batch_update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function bookmarkFunction(record, name) {
if (record.isNew) {
if (name == 'bookmark') {
return 'text_ed_up';
}
}
return '';
}
function hls811_add() {
var ds = $('doc_file_templet_para_ds');
function efile_type_add() {
var ds = $('efile_type_ds');
var record = ds.create(ds.currentIndex);
$('
doc_file_templet_para
_ds_id').showEditorByRecord(record);
$('
efile_type
_ds_id').showEditorByRecord(record);
}
function
hls811
_delete() {
var ds = $('
doc_file_templet_para
_ds');
function
efile_type
_delete() {
var ds = $('
efile_type
_ds');
var records = ds.getSelected();
if (records.length != 0) {
Leaf.showConfirm('${l:HLS.PROMPT}', '${l:HLS030.CONFIRM_DELETE}', function() {
...
...
@@ -40,8 +32,8 @@
}
function
hls811
_save() {
var ds = $('
doc_file_templet_para
_ds');
function
efile_type
_save() {
var ds = $('
efile_type
_ds');
var records=ds.getAll();
var paras = [];
var detail_mask = Ext.getBody();
...
...
@@ -76,27 +68,27 @@
}
function
hls811
_exit() {
function
efile_type
_exit() {
}
function
hls811
_query() {
$('
doc_file_templet_para
_ds').query();
function
efile_type
_query() {
$('
efile_type
_ds').query();
}
function hls_doc_table_list_renderer(value, record, name) {
if(name=='cloumn_name'){
return '<a href="javascript:
hls811
_cloumn_list(\'' + record.get('base_archive_id') + '\')">
结构化字段
</a>
';
return '<a href="javascript:
efile_type
_cloumn_list(\'' + record.get('base_archive_id') + '\')">
结构化字段
</a>
';
}
if(name=='je_template_code'){
return '
<a
href=
"javascript:
hls811
_template_list(\'' + record.get('base_archive_id') + '\')"
>
关联凭证模板
</a>
';
return '
<a
href=
"javascript:
efile_type
_template_list(\'' + record.get('base_archive_id') + '\')"
>
关联凭证模板
</a>
';
}
}
function
hls811
_cloumn_list(record_id) {
var record = $('
doc_file_templet_para
_ds').findById(record_id);
function
efile_type
_cloumn_list(record_id) {
var record = $('
efile_type
_ds').findById(record_id);
var url = $('cloumn_code_link_id').getUrl();
if (!Leaf.isEmpty(record_id)) {
var win = new Leaf.Window({
...
...
@@ -112,8 +104,8 @@
}
function
hls811
_template_list(record_id) {
var record = $('
doc_file_templet_para
_ds').findById(record_id);
function
efile_type
_template_list(record_id) {
var record = $('
efile_type
_ds').findById(record_id);
var url = $('je_template_link_id').getUrl();
if (!Leaf.isEmpty(record_id)) {
var win = new Leaf.Window({
...
...
@@ -134,7 +126,7 @@
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"
hls811
_bookmark_type_ds"
lookupCode=
"BOOKMARK_TYPE"
/>
<a:dataSet
id=
"
efile_type
_bookmark_type_ds"
lookupCode=
"BOOKMARK_TYPE"
/>
<a:dataSet
id=
"enable_flag_ds"
lookupCode=
"ENABLED_STATUS"
/>
<a:dataSet
id=
"yes_no_ds"
lookupCode=
"YES_NO"
/>
<a:dataSet
id=
"underline_ds"
lookupCode=
"UNDERLINE"
/>
...
...
@@ -151,7 +143,7 @@
<a:field
name=
"je_check_flag_desc"
displayField=
"code_value_name"
options=
"yes_no_ds"
returnField=
"je_check_flag"
valueField=
"code_value"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"
doc_file_templet_para_ds"
autoQuery=
"true"
model=
"elec.ELEC100
0.elec_file_type"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:dataSet
id=
"
efile_type_ds"
autoQuery=
"true"
model=
"efile.EFILE101
0.elec_file_type"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:fields>
<a:field
name=
"archive_type_desc"
displayField=
"code_value_name"
options=
"data_cf_ds"
returnField=
"archive_type"
valueField=
"code_value"
/>
<a:field
name=
"is_workflow_desc"
displayField=
"code_value_name"
options=
"yes_no_ds"
returnField=
"is_workflow"
valueField=
"code_value"
/>
...
...
@@ -160,9 +152,23 @@
<a:field
name=
"je_check_flag_desc"
displayField=
"code_value_name"
options=
"yes_no_ds"
returnField=
"je_check_flag"
valueField=
"code_value"
/>
<a:field
name=
"workflow_desc"
/>
<a:field
name=
"cloumn_name"
/>
<a:field
name=
"je_source_sql"
lovHeight=
"430"
lovUrl=
"${/request/@context_path}/modules/efile/EFILE1010/efile_je_source_sql_lov.lview"
lovWidth=
"580"
title=
"凭证取值SQL"
>
<a:mapping>
<a:map
from=
"lov_sql"
to=
"je_source_sql"
/>
</a:mapping>
</a:field>
<a:field
name=
"stru_data_sql"
lovHeight=
"430"
lovUrl=
"${/request/@context_path}/modules/efile/EFILE1010/efile_stu_data_sql_lov.lview"
lovWidth=
"580"
title=
"结构化数据取值sql"
>
<a:mapping>
<a:map
from=
"lov_sql"
to=
"stru_data_sql"
/>
</a:mapping>
</a:field>
<a:field
name=
"atm_sql"
lovHeight=
"430"
lovUrl=
"${/request/@context_path}/modules/efile/EFILE1010/efile_atm_sql_lov.lview"
lovWidth=
"580"
title=
"附件取值sql"
>
<a:mapping>
<a:map
from=
"lov_sql"
to=
"atm_sql"
/>
</a:mapping>
</a:field>
<a:field
name=
"base_archive_id"
/>
<a:field
name=
"je_template_code"
/>
<a:field
name=
"je_source_sql"
/>
<a:field
name=
"archive_type"
/>
<a:field
name=
"is_workflow"
/>
<a:field
name=
"post_stru_data_flag"
/>
...
...
@@ -176,12 +182,12 @@
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<
a:screenTitle/
>
<a:gridButton
click=
"
hls811
_exit"
text=
"退出"
/>
<!-- <a:gridButton click="
hls811
_add" text="新增"/>
<a:gridButton click="
hls811
_delete" text="删除"/>-->
<a:gridButton
click=
"
hls811
_query"
text=
"HLS.QUERY"
/>
<a:gridButton
click=
"
hls811
_save"
text=
"HLS.SAVE"
/>
<
!--<a:screenTitle/>--
>
<a:gridButton
click=
"
efile_type
_exit"
text=
"退出"
/>
<!-- <a:gridButton click="
efile_type
_add" text="新增"/>
<a:gridButton click="
efile_type
_delete" text="删除"/>-->
<a:gridButton
click=
"
efile_type
_query"
text=
"HLS.QUERY"
/>
<a:gridButton
click=
"
efile_type
_save"
text=
"HLS.SAVE"
/>
</a:screenTopToolbar>
<a:form
column=
"4"
marginWidth=
"200"
title=
"查询条件"
>
<a:comboBox
name=
"archive_type_desc"
bindTarget=
"for_query_ds"
prompt=
"资料分类"
/>
...
...
@@ -189,29 +195,31 @@
<a:comboBox
name=
"post_atm_flag_desc"
bindTarget=
"for_query_ds"
prompt=
"是否传递附件"
/>
<a:comboBox
name=
"je_check_flag_desc"
bindTarget=
"for_query_ds"
prompt=
"是否需要传递凭证号"
/>
</a:form>
<a:grid
id=
"
doc_file_templet_para_ds_id"
bindTarget=
"doc_file_templet_para
_ds"
marginHeight=
"200"
marginWidth=
"200"
navBar=
"true"
>
<a:grid
id=
"
efile_type_ds_id"
bindTarget=
"efile_type
_ds"
marginHeight=
"200"
marginWidth=
"200"
navBar=
"true"
>
<a:toolBar>
<a:button
type=
"add"
/>
<a:button
type=
"delete"
/>
<!-- <a:button type="save"/>-->
</a:toolBar>
<a:columns>
<a:column
name=
"archive_type_desc"
editor=
"
hls811
_comed"
prompt=
"资料分类"
width=
"120"
/>
<a:column
name=
"is_workflow_desc"
editor=
"
hls811
_comed"
prompt=
"是否关联工作流"
width=
"120"
/>
<a:column
name=
"archive_type_desc"
editor=
"
efile_type
_comed"
prompt=
"资料分类"
width=
"120"
/>
<a:column
name=
"is_workflow_desc"
editor=
"
efile_type
_comed"
prompt=
"是否关联工作流"
width=
"120"
/>
<a:column
name=
"workflow_desc"
editor=
"text_ed"
prompt=
"工作流描述"
width=
"130"
/>
<a:column
name=
"post_stru_data_flag_desc"
editor=
"
hls811
_comed"
prompt=
"是否传递结构化数据"
width=
"150"
/>
<a:column
name=
"post_stru_data_flag_desc"
editor=
"
efile_type
_comed"
prompt=
"是否传递结构化数据"
width=
"150"
/>
<a:column
name=
"cloumn_name"
align=
"center"
prompt=
"结构化字段"
renderer=
"hls_doc_table_list_renderer"
/>
<a:column
name=
"post_atm_flag_desc"
align=
"center"
editor=
"hls811_comed"
width=
"120"
prompt=
"是否传递附件"
/>
<a:column
name=
"stru_data_sql"
align=
"center"
editor=
"conBasicClauseParaDs_grid_lov"
width=
"300"
prompt=
"结构化数据取值sql"
/>
<a:column
name=
"post_atm_flag_desc"
align=
"center"
editor=
"efile_type_comed"
width=
"120"
prompt=
"是否传递附件"
/>
<a:column
name=
"atm_sql"
align=
"center"
editor=
"conBasicClauseParaDs_grid_lov"
width=
"330"
prompt=
"附件取值sql"
/>
<a:column
name=
"je_template_code"
align=
"center"
width=
"100"
renderer=
"hls_doc_table_list_renderer"
prompt=
"关联凭证模板"
/>
<a:column
name=
"je_check_flag_desc"
align=
"center"
editor=
"
hls811
_comed"
width=
"150"
prompt=
"是否需要传输凭证号"
/>
<a:column
name=
"je_source_sql"
editor=
"
text_ed
"
prompt=
"凭证取值SQL"
width=
"330"
/>
<a:column
name=
"je_check_flag_desc"
align=
"center"
editor=
"
efile_type
_comed"
width=
"150"
prompt=
"是否需要传输凭证号"
/>
<a:column
name=
"je_source_sql"
editor=
"
conBasicClauseParaDs_grid_lov
"
prompt=
"凭证取值SQL"
width=
"330"
/>
</a:columns>
<a:editors>
<a:textField
id=
"text_ed"
/>
<a:textField
id=
"text_ed_up"
typeCase=
"upper"
/>
<a:checkBox
id=
"checkbox_ed"
/>
<a:lov
id=
"conBasicClauseParaDs_grid_lov"
/>
<a:comboBox
id=
"
hls811
_comed"
/>
<a:comboBox
id=
"
efile_type
_comed"
/>
</a:editors>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/e
lec/ELEC100
0/voucher_ass_template.lview
→
src/main/webapp/modules/e
file/EFILE101
0/voucher_ass_template.lview
View file @
56e493f4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author:
wangwei
$Date: 20
15-5-21 下午4
:03:31
$Author:
luochenglong
$Date: 20
23-02-07 下午3
:03:31
$Revision: 1.0
$Purpose:
文件模板参数
定义
$Purpose:
凭证模板
定义
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
>
<a:view>
<a:link
id=
"je_template_save_link"
model=
"e
lec.ELEC100
0.je_template_query"
modelaction=
"batch_update"
/>
<a:link
id=
"je_template_delete_link"
model=
"e
lec.ELEC100
0.je_template_query"
modelaction=
"batch_update"
/>
<a:link
id=
"je_template_save_link"
model=
"e
file.EFILE101
0.je_template_query"
modelaction=
"batch_update"
/>
<a:link
id=
"je_template_delete_link"
model=
"e
file.EFILE101
0.je_template_query"
modelaction=
"batch_update"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function
voucher_hls811
_add() {
function
je_template
_add() {
var ds = $('je_template_ds');
var record = ds.create(ds.currentIndex);
$('je_template_ds_id').showEditorByRecord(record);
}
function
voucher_hls811
_delete() {
function
je_template
_delete() {
var ds = $('je_template_ds');
var records = ds.getSelected();
if(records.length<=0){
...
...
@@ -55,7 +55,7 @@
}
function
voucher_hls811
_save() {
function
je_template
_save() {
var ds = $('je_template_ds');
var records=ds.getAll();
var paras = [];
...
...
@@ -104,7 +104,7 @@
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"je_template_ds"
autoQuery=
"true"
model=
"e
lec.ELEC1000.je_template_query"
queryUrl=
"${/request/@context_path}/autocrud/elec.ELEC100
0.je_template_query/query?base_archive_id=${/parameter/@record_id}"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:dataSet
id=
"je_template_ds"
autoQuery=
"true"
model=
"e
file.EFILE1010.je_template_query"
queryUrl=
"${/request/@context_path}/autocrud/efile.EFILE101
0.je_template_query/query?base_archive_id=${/parameter/@record_id}"
queryDataSet=
"for_query_ds"
selectable=
"true"
>
<a:fields>
<a:field
name=
"je_template_code"
/>
<a:field
name=
"je_template_name"
/>
...
...
@@ -117,9 +117,9 @@
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton
click=
"
voucher_hls811
_add"
text=
"新增"
/>
<a:gridButton
click=
"
voucher_hls811
_delete"
text=
"删除"
/>
<a:gridButton
click=
"
voucher_hls811
_save"
text=
"HLS.SAVE"
/>
<a:gridButton
click=
"
je_template
_add"
text=
"新增"
/>
<a:gridButton
click=
"
je_template
_delete"
text=
"删除"
/>
<a:gridButton
click=
"
je_template
_save"
text=
"HLS.SAVE"
/>
</a:screenTopToolbar>
<a:grid
id=
"je_template_ds_id"
bindTarget=
"je_template_ds"
marginHeight=
"200"
marginWidth=
"200"
navBar=
"true"
>
<a:columns>
...
...
@@ -131,7 +131,7 @@
<a:textField
id=
"voucher_text_ed_up"
typeCase=
"upper"
/>
<a:checkBox
id=
"voucher_checkbox_ed"
/>
<a:lov
id=
"voucherconBasicClauseParaDs_grid_lov"
/>
<a:comboBox
id=
"
voucher_hls811
_comed"
/>
<a:comboBox
id=
"
je_template
_comed"
/>
</a:editors>
</a:grid>
</a:screenBody>
...
...
src/main/webapp/modules/zjwfl/zj_wfl_workflow.lview
View file @
56e493f4
...
...
@@ -72,9 +72,9 @@
{
record.set('can_cancel','N');
}
if(name=='is_archive
_desc
')
if(name=='is_archive')
{
if(value=='
是
'){
if(value=='
Y
'){
record.getMeta().getField('archive_type_desc').setRequired(true);
record.getMeta().getField('archive_type_desc').setReadOnly(false);
}else{
...
...
@@ -87,7 +87,7 @@
function onLoad_workflowDs(ds) {
var records=ds.getAll();
for (var u = 0;u
< ds.getAll
().length;u++)
{
if(records[u].get('is_archive
_desc')=='是
'){
if(records[u].get('is_archive
')=='Y
'){
records[u].getMeta().getField('archive_type_desc').setRequired(true);
records[u].getMeta().getField('archive_type_desc').setReadOnly(false);
}else{
...
...
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