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
c34468e8
Commit
c34468e8
authored
Nov 02, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev_50269' into feature/1.0_check_web_dev_50270
parents
cac12896
5d8e489a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
11 deletions
+31
-11
abvw/html/operation-select.html
+1
-1
abvw/js/dashboard/dashboard.js
+0
-10
abvw/js/operationSelect/operation-select.js
+30
-0
No files found.
abvw/html/operation-select.html
View file @
c34468e8
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</ul>
</ul>
</div>
</div>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-primary lang"
lang=
"selection"
></button>
<button
type=
"button"
class=
"btn btn-primary lang"
lang=
"selection"
onclick=
"OperationSelect.onClickSelect();"
></button>
<button
type=
"button"
class=
"btn btn-tertiary lang"
lang=
"dspCancel"
data-dismiss=
"modal"
></button>
<button
type=
"button"
class=
"btn btn-tertiary lang"
lang=
"dspCancel"
data-dismiss=
"modal"
></button>
</div>
</div>
</div>
</div>
...
...
abvw/js/dashboard/dashboard.js
View file @
c34468e8
...
@@ -142,16 +142,6 @@ DASHBOARD.updateDataCommunications = function(dataDashboard) {
...
@@ -142,16 +142,6 @@ DASHBOARD.updateDataCommunications = function(dataDashboard) {
item
.
count
=
dataDashboard
[
'pushMesage'
];
item
.
count
=
dataDashboard
[
'pushMesage'
];
}
}
}
}
// if (item.id == 'chat') {
// if(ClientData.serviceOpt_chat_function() == 'Y' )
// {
// item.enabled = true;
// }
// else
// {
// item.enabled = false;
// }
// }
});
});
}
}
...
...
abvw/js/operationSelect/operation-select.js
View file @
c34468e8
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
* @since 1.0 check web
* @since 1.0 check web
*/
*/
var
OperationSelect
=
{};
var
OperationSelect
=
{};
OperationSelect
.
changeSelectCallback
=
function
()
{};
OperationSelect
.
operationIdSelected
=
""
;
OperationSelect
.
operationIdSelected
=
""
;
OperationSelect
.
operationNameSelected
=
""
;
OperationSelect
.
operationNameSelected
=
""
;
...
@@ -77,3 +78,31 @@ OperationSelect.init = function () {
...
@@ -77,3 +78,31 @@ OperationSelect.init = function () {
$
(
"#operationSelectList :first-child"
).
addClass
(
"selected"
);
$
(
"#operationSelectList :first-child"
).
addClass
(
"selected"
);
}
}
/**
* handle click event of select button
*/
OperationSelect
.
onClickSelect
=
function
()
{
OperationSelect
.
chooseOperationSelect
();
};
/**
* Get operation select and call back function in main page
*/
OperationSelect
.
chooseOperationSelect
=
function
()
{
let
param
=
{};
param
.
operationIdSelected
=
OperationSelect
.
operationIdSelected
;
param
.
operationNameSelected
=
OperationSelect
.
operationNameSelected
;
OperationSelect
.
closeModal
();
if
(
OperationSelect
.
changeSelectCallback
&&
typeof
OperationSelect
.
changeSelectCallback
===
'function'
)
{
OperationSelect
.
changeSelectCallback
(
param
);
}
};
/**
* close setting dialog
*/
OperationSelect
.
closeModal
=
function
()
{
$
(
'#task-list-modal .close'
).
click
();
};
\ No newline at end of file
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