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
e8612992
Commit
e8612992
authored
Jun 25, 2023
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同工作流按钮隐藏
parent
ac67a3d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
2 deletions
+20
-2
contract_approval.lwm
.../webapp/WEB-INF/classes/cont/CON505/contract_approval.lwm
+7
-0
con_contract_modify.lview
...main/webapp/modules/cont/CON505/con_contract_modify.lview
+1
-1
prj_project_lease_import_details.lview
...odules/prj/PRJ501N/prj_project_lease_import_details.lview
+12
-1
No files found.
src/main/webapp/WEB-INF/classes/cont/CON505/contract_approval.lwm
View file @
e8612992
...
...
@@ -27,5 +27,12 @@
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select is_constru_unit
from con_contract_sign_lv t1
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/cont/CON505/con_contract_modify.lview
View file @
e8612992
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/webapp/modules/prj/PRJ501N/prj_project_lease_import_details.lview
View file @
e8612992
...
...
@@ -19,11 +19,22 @@
Leaf.onReady(function() {
var status='${/parameter/@project_status}';
if (('${/parameter/@hide_flag}' == 'Y' || status=='APPROVING' || status=='CLOSED' || status=='CONTRACT_CREATED')) {
if (('${/parameter/@hide_flag}' == 'Y' || status=='APPROVING' ) && ("${/model/role_info/record/@role_code}"!="0019")) {
console.log("${/model/role_info/record/@role_code}");
$('PROJECT_LEASE_IMPORT_user_button1').hide();
$('PROJECT_LEASE_IMPORT_user_button2').hide();
$('PROJECT_LEASE_IMPORT_user_button4').hide();
}
else if( status=='CLOSED' || status=='CONTRACT_CREATED'){
$('PROJECT_LEASE_IMPORT_user_button1').hide();
$('PROJECT_LEASE_IMPORT_user_button2').hide();
$('PROJECT_LEASE_IMPORT_user_button4').hide();
}
// if (('${/parameter/@hide_flag}' == 'Y' || status=='APPROVING' ||status=='CLOSED' || status=='CONTRACT_CREATED') && ("${/model/role_info/record/@role_code}"!="0019")) {
// $('PROJECT_LEASE_IMPORT_user_button1').hide();
// $('PROJECT_LEASE_IMPORT_user_button2').hide();
// $('PROJECT_LEASE_IMPORT_user_button4').hide();
// }
});
...
...
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