Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
7100e1c9
Commit
7100e1c9
authored
Nov 08, 2022
by
NGO THI HONG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug event click operation
parent
15e918ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
6 deletions
+43
-6
abweb/html/pickup.html
+34
-5
abweb/js/pickup/pickup.js
+9
-1
No files found.
abweb/html/pickup.html
View file @
7100e1c9
...
...
@@ -25,11 +25,17 @@
<!-- main js -->
<script
type=
"text/javascript"
src=
"../js/
header/header
.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/
operationList/operationList
.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/dashboardSetting/dashboard-setting.js"
></script>
<script
type=
"text/javascript"
src=
"../js/dashboard/dashboard.js"
></script>
<script
src=
"/abweb/common/js/header.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../js/template/template.js"
></script>
<script
src=
"/abweb/js/topPage/topPage.js?__UPDATEID__"
></script>
<script
src=
"../common/js/app.js?__UPDATEID__"
defer
></script>
<script
type=
"text/javascript"
src=
"../js/pickup/pickup.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.jsdelivr.net/npm/gasparesganga-jquery-loading-overlay@2.1.7/dist/loadingoverlay.min.js"
></script>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
PICKUP
.
init
();
...
...
@@ -81,7 +87,15 @@
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuNewReport"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
id=
"count-NewReport"
></div>
<div
id=
"includedNewReportMenuDisplay"
></div>
<!-- view display type menu -->
<div
class=
"view"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</div>
</div>
</nav>
<!-- task list -->
...
...
@@ -94,7 +108,15 @@
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuContinuousWork"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
id=
"count-ContinuousWork"
></div>
<div
id=
"includedContinuousWorkMenuDisplay"
></div>
<!-- view display type menu -->
<div
class=
"view"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</div>
</div>
</nav>
<!-- task list -->
...
...
@@ -107,7 +129,15 @@
<nav
aria-label=
"view"
class=
"view-menu mt-2"
id=
"viewMenuReportWithWarnings"
>
<div
class=
"d-flex justify-content-between align-items-center"
>
<div
class=
"fs-9"
id=
"count-ReportWithWarnings"
></div>
<div
id=
"includedReportWithWarningsMenuDisplay"
></div>
<!-- view display type menu -->
<div
class=
"view"
>
<a
href=
"#"
class=
"text-decoration-none view-btn view-list-btn"
>
<img
src=
"../common/img/icon_view_list.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"listDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
<a
href=
"#"
class=
"text-decoration-none view-btn view-block-btn active"
>
<img
src=
"../common/img/icon_view_block.svg"
alt=
""
class=
"list-block-icon mx-1 lang"
lang=
"gridDisplay"
type=
"image"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
""
>
</a>
</div>
</div>
</nav>
<!-- task list -->
...
...
@@ -120,7 +150,6 @@
<!-- confirm -->
<div
id=
"includedConfirmModal"
></div>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/app.js?__UPDATEID__"
></script>
<script
type=
"text/javascript"
src=
"../common/js/newdash/common.js?__UPDATEID__"
></script>
</body>
...
...
abweb/js/pickup/pickup.js
View file @
7100e1c9
...
...
@@ -299,7 +299,15 @@ PICKUP.createNewReportList = function(operationListOld) {
break
;
}
let
messageli
=
$
(
"<li class='card mb-2' name = 'operationId_"
+
operationList
[
i
].
operationId
+
"' ></li>"
);
let
ahrefRequiredFlg
=
$
(
"<a href='report-list.html' class='h-100 d-block px-3 py-2 text-decoration-none text-dark position-relative'></a>"
);
let
ahrefRequiredFlg
=
$
(
"<a href=
\"
javascript:OL.sendOperation('"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
operationType
+
"', '"
+
operationList
[
i
].
reportType
+
"', '"
+
operationList
[
i
].
enableAddReport
+
"');
\"
class='h-100 d-block px-3 py-2 text-decoration-none text-dark position-relative'></a>"
);
let
divIcon
=
$
(
"<div class='position-absolute translate-middle top-50 left-0 ml-3'>"
+
"<div class='type-icon'>"
+
"<span class='"
+
classIcon
+
"'></span>"
...
...
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