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
Expand all
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
This diff is collapsed.
Click to expand it.
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