Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
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
angular
mySkill-x
Commits
7792eb25
Commit
7792eb25
authored
Mar 28, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Primary Key
parent
18faf9dd
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
89 additions
and
59 deletions
+89
-59
role-permission-config.component.html
...e-permission-config/role-permission-config.component.html
+6
-4
role-permission-config.component.ts
...ole-permission-config/role-permission-config.component.ts
+5
-0
user-settings.component.html
...count-settings/user-settings/user-settings.component.html
+12
-6
user-settings.component.ts
...account-settings/user-settings/user-settings.component.ts
+4
-0
sub-employee-registration.component.html
...yee-registration/sub-employee-registration.component.html
+7
-3
sub-employee-registration.component.ts
...loyee-registration/sub-employee-registration.component.ts
+11
-7
position-unit.component.html
...nts/job-description/position/position-unit.component.html
+1
-1
import-data.component.html
...-detail-management/import-data/import-data.component.html
+7
-4
import-data.component.ts
...ob-detail-management/import-data/import-data.component.ts
+36
-34
No files found.
src/app/components/company-components/account-settings/role-permission-config/role-permission-config.component.html
View file @
7792eb25
...
...
@@ -186,8 +186,10 @@
</div>
</div>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสระดับ
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสระดับ
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
รหัสระดับซ้ำ
</ng-container></span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
ngClass
]="{'!
bg-input-readonly
'
:currentModal=
='edit'}"
[
readonly
]="
currentModal=
='edit'"
[(
ngModel
)]="
configPermission
.
select
.
userLevel
"
>
...
...
@@ -206,8 +208,8 @@
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#role-permission-config-alert-modal"
[
class
.
ti-btn-disabled
]="!
configPermission
.
select
.
userLevel
||!
configPermission
.
select
.
tdesc
"
[
disabled
]="!
configPermission
.
select
.
userLevel
||!
configPermission
.
select
.
tdesc
"
>
[
class
.
ti-btn-disabled
]="!
configPermission
.
select
.
userLevel
||!
configPermission
.
select
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
configPermission
.
select
.
userLevel
||!
configPermission
.
select
.
tdesc
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
</button>
</div>
...
...
src/app/components/company-components/account-settings/role-permission-config/role-permission-config.component.ts
View file @
7792eb25
...
...
@@ -182,4 +182,9 @@ export class RolePermissionConfigComponent {
this
.
cdr
.
detectChanges
()
})
}
checkPrimary
()
{
return
this
.
configPermission
.
dataList
.
find
(
x
=>
x
.
data
.
userLevel
==
this
.
configPermission
.
select
.
userLevel
)
}
}
src/app/components/company-components/account-settings/user-settings/user-settings.component.html
View file @
7792eb25
...
...
@@ -106,8 +106,8 @@
*
ngFor=
"let item of userListFilter() | slice:((currentPage-1) * 10) : (((currentPage-1) * 10) + 10);let i = index"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.usernameId}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
id=
"checkbox-{{item.data.usernameId}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
</td>
<td
class=
"text-center"
>
<label
for=
"checkbox-{{item.data.usernameId}}"
>
{{item.data.usernameId}}
</label>
...
...
@@ -212,7 +212,12 @@
</div>
</div>
<div
class=
"ti-modal-body padding-16px pt-0 overflow-y-0"
>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อล็อกอิน
<span
class=
"text-danger"
>
*
</span></label>
<label
class=
"ti-form-label mt-2rem"
>
ชื่อล็อกอิน
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"currentModal=='add'&&checkPrimary()"
>
ชื่อล็อกอินซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
class=
"ti-form-input"
oninput=
"this.value = this.value.replace(/[\u0E00-\u0E7F]/g, '')"
[
ngClass
]="{'
bg-input-readonly
'
:currentModal=
='edit'}"
[
readonly
]="
currentModal=
='edit'"
...
...
@@ -281,8 +286,8 @@
ย้อนกลับ
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#user-setting-alert-modal"
[
class
.
ti-btn-disabled
]="!
user
.
select
.
usernameId
||!
user
.
select
.
employee
.
employeeId
||!
user
.
select
.
role
.
roleId
||!
user
.
select
.
level
.
userLevel
"
[
disabled
]="!
user
.
select
.
usernameId
||!
user
.
select
.
employee
.
employeeId
||!
user
.
select
.
role
.
roleId
||!
user
.
select
.
level
.
userLevel
"
>
[
class
.
ti-btn-disabled
]="!
user
.
select
.
usernameId
||!
user
.
select
.
employee
.
employeeId
||!
user
.
select
.
role
.
roleId
||!
user
.
select
.
level
.
userLevel
||(
currentModal=
='add'&&checkPrimary())
"
[
disabled
]="!
user
.
select
.
usernameId
||!
user
.
select
.
employee
.
employeeId
||!
user
.
select
.
role
.
roleId
||!
user
.
select
.
level
.
userLevel
||(
currentModal=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
</button>
</div>
...
...
@@ -789,7 +794,8 @@
ย้อนกลับ
</button>
<a
class=
"ti-btn ti-btn-danger"
href=
"javascript:void(0);"
data-hs-overlay=
"#user-setting-alert-modal"
(
click
)="
updateUser
('
delete
')"
*
ngIf=
"numDataListChecked"
>
data-hs-overlay=
"#user-setting-alert-modal"
(
click
)="
updateUser
('
delete
')"
*
ngIf=
"numDataListChecked"
>
ลบข้อมูล
</a>
</ng-container>
...
...
src/app/components/company-components/account-settings/user-settings/user-settings.component.ts
View file @
7792eb25
...
...
@@ -316,4 +316,8 @@ export class UserSettingsComponent {
this
.
numDataListChecked
=
this
.
user
.
dataList
.
filter
(
x
=>
x
.
check
).
length
;
this
.
isDataListChecked
=
Boolean
(
this
.
numDataListChecked
)
}
checkPrimary
()
{
return
this
.
user
.
dataList
.
find
(
x
=>
x
.
data
.
usernameId
==
this
.
user
.
select
.
usernameId
)
}
}
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.html
View file @
7792eb25
...
...
@@ -177,7 +177,11 @@
<div
class=
"space-y-3"
>
<div
class=
"grid grid-cols-12 gap-x-6"
>
<label
class=
"col-span-3 ti-form-label text-primary mt-2 align-center"
>
รหัสพนักงาน
<span
class=
"text-danger"
>
*
</span></label>
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"(modalType=='add')&&checkPrimary()"
>
<br>
รหัสพนักงานซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
class=
"col-span-6 ti-form-input"
[
ngClass
]="{'
bg-input-readonly
'
:modalType=
='update'}"
oninput=
"this.value = this.value.replace(/[^a-zA-Z0-9\u0E00-\uFFFF]/g, '')"
maxlength=
"15"
[
readonly
]="
modalType=
='update'"
[(
ngModel
)]="
employee
.
select
.
employeeId
"
>
...
...
@@ -586,8 +590,8 @@
ย้อนกลับ
</button>
<button
type=
"button"
class=
"ti-btn ti-btn-success"
data-hs-overlay=
"#sub-employee-registration-alert-add-modal"
[
class
.
ti-btn-disabled
]="
checkEmployeeModel
()"
[
disabled
]="
checkEmployeeModel
()"
>
data-hs-overlay=
"#sub-employee-registration-alert-add-modal"
[
class
.
ti-btn-disabled
]="
checkEmployeeModel
()
||(
modalType=
='add'&&checkPrimary())
"
[
disabled
]="
checkEmployeeModel
()
||(
modalType=
='add'&&checkPrimary())
"
>
บันทึกข้อมูล
</button>
</div>
...
...
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.ts
View file @
7792eb25
...
...
@@ -284,7 +284,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu1
.
loading
=
false
this
.
bu1Service
.
getList
().
subscribe
({
next
:
response
=>
{
this
.
bu1
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu1Model
(
x
))
this
.
bu1
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu1Model
(
x
))
||
[]
this
.
bu1
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -318,7 +318,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu2
.
loading
=
false
this
.
bu2Service
.
getListByParent
(
this
.
employee
.
select
.
bu1
.
bu1id
).
subscribe
({
next
:
response
=>
{
this
.
bu2
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu2Model
(
x
))
this
.
bu2
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu2Model
(
x
))
||
[]
this
.
bu2
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -351,7 +351,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu3
.
loading
=
false
this
.
bu3Service
.
getListByParent
(
this
.
employee
.
select
.
bu2
.
bu2id
).
subscribe
({
next
:
response
=>
{
this
.
bu3
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu3Model
(
x
))
this
.
bu3
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu3Model
(
x
))
||
[]
this
.
bu3
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -383,7 +383,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu4
.
loading
=
false
this
.
bu4Service
.
getListByParent
(
this
.
employee
.
select
.
bu3
.
bu3id
).
subscribe
({
next
:
response
=>
{
this
.
bu4
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu4Model
(
x
))
this
.
bu4
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu4Model
(
x
))
||
[]
this
.
bu4
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -414,7 +414,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu5
.
loading
=
false
this
.
bu5Service
.
getListByParent
(
this
.
employee
.
select
.
bu4
.
bu4id
).
subscribe
({
next
:
response
=>
{
this
.
bu5
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu5Model
(
x
))
this
.
bu5
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu5Model
(
x
))
||
[]
this
.
bu5
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -444,7 +444,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu6
.
loading
=
false
this
.
bu6Service
.
getListByParent
(
this
.
employee
.
select
.
bu5
.
bu5id
).
subscribe
({
next
:
response
=>
{
this
.
bu6
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu6Model
(
x
))
this
.
bu6
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu6Model
(
x
))
||
[]
this
.
bu6
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -473,7 +473,7 @@ export class SubEmployeeRegistrationComponent {
this
.
bu7
.
loading
=
false
this
.
bu7Service
.
getListByParent
(
this
.
employee
.
select
.
bu6
.
bu6id
).
subscribe
({
next
:
response
=>
{
this
.
bu7
.
dataList
=
response
.
map
((
x
:
any
)
=>
new
MyBu7Model
(
x
))
this
.
bu7
.
dataList
=
response
?.
map
((
x
:
any
)
=>
new
MyBu7Model
(
x
))
||
[]
this
.
bu7
.
loading
=
false
this
.
searchChange
()
this
.
cdr
.
detectChanges
()
...
...
@@ -694,4 +694,8 @@ export class SubEmployeeRegistrationComponent {
}).
join
(
''
));
return
JSON
.
parse
(
jsonPayload
);
}
checkPrimary
()
{
return
this
.
employee
.
dataList
.
find
(
x
=>
x
.
data
.
employeeId
==
this
.
employee
.
select
.
employeeId
)
}
}
src/app/components/company-components/job-description/position/position-unit.component.html
View file @
7792eb25
...
...
@@ -171,7 +171,7 @@
<div
class=
"ti-modal-body "
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
<span
class=
"text-danger"
>
*
รหัสตำแหน่ง
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสตำแหน่งซ้ำ
</ng-container>
...
...
src/app/components/job-detail-components/job-detail-management/import-data/import-data.component.html
View file @
7792eb25
...
...
@@ -146,12 +146,15 @@
</div>
</div>
<div
class=
"ti-modal-body"
style=
"padding-top: 0px;"
>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-1rem"
>
รหัสงาน
<span
class=
"text-danger"
>
*
<ng-container
*
ngIf=
"modalStatus=='add'&&checkPrimary()"
>
รหัสงานซ้ำ
</ng-container>
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input {{modalStatus == 'edit' ? 'bg-input-readonly' : ''}}"
[
attr
.
readonly
]="
modalStatus =
=
'
edit
'
?
true
:
null
"
[(
ngModel
)]="
selectJob
.
jobcodeId
"
(
ngModelChange
)="
checkJodid
()"
>
<span
*
ngIf=
"checkJobCodeId&&modalStatus=='add'"
class=
"text-danger"
>
รหัสงานซ้ำ
</span>
<label
for=
"detail_th"
class=
"ti-form-label mt-1rem"
>
ชื่อลักษณะงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input "
[(
ngModel
)]="
selectJob
.
tdesc
"
>
...
...
@@ -223,8 +226,8 @@
ย้อนกลับ
</button>
<button
class=
"ti-btn ti-btn-success {{checkJobCodeId&&modalStatus=='add'||!selectJob.jobcodeId||!selectJob.tdesc ? 'ti-btn-disabled' : ''}}"
[
disabled
]="
checkJobCodeId
&&
modalStatus=
='add'||!selectJob.jobcodeId||!selectJob.tdesc"
class=
"ti-btn ti-btn-success {{checkJobCodeId&&modalStatus=='add'||!selectJob.jobcodeId||!selectJob.tdesc
||(modalStatus=='add'&&checkPrimary())
? 'ti-btn-disabled' : ''}}"
[
disabled
]="
checkJobCodeId
&&
modalStatus=
='add'||!selectJob.jobcodeId||!selectJob.tdesc
||(modalStatus=='add'&&checkPrimary())
"
data-hs-overlay=
"#company-registration-page-alert-modal"
>
บันทึกข้อมูล
</button>
...
...
src/app/components/job-detail-components/job-detail-management/import-data/import-data.component.ts
View file @
7792eb25
...
...
@@ -41,8 +41,8 @@ export class ImportDataComponent {
selectJob
:
JobCodeModel
=
new
MyJobCodeModel
({})
modalStatus
=
''
positionList
:
PositionModel
[]
=
[]
positionId
=
''
positionList
:
PositionModel
[]
=
[]
positionId
=
''
bu1List
:
Bu1Model
[]
=
[]
bu1Id
=
''
...
...
@@ -64,10 +64,10 @@ export class ImportDataComponent {
bu7List
:
Bu7Model
[]
=
[]
bu7Id
=
''
supervisorPositionId
=
''
employeeList
:
EmployeeModel
[]
=
[]
checkJobCodeId
=
false
supervisorPositionId
=
''
employeeList
:
EmployeeModel
[]
=
[]
checkJobCodeId
=
false
constructor
(
private
toastr
:
ToastrService
,
private
fileService
:
FileService
,
...
...
@@ -81,7 +81,7 @@ export class ImportDataComponent {
private
bu5Service
:
Bu5Service
,
private
bu6Service
:
Bu6Service
,
private
bu7Service
:
Bu7Service
,
private
employeeService
:
EmployeeService
private
employeeService
:
EmployeeService
)
{
}
ngOnInit
():
void
{
this
.
getListJob
();
...
...
@@ -96,18 +96,18 @@ export class ImportDataComponent {
this
.
getBu7List
();
// this.getEmployeeList();
}
getEmployeeList
()
{
this
.
employeeService
.
getList
().
subscribe
({
next
:
response
=>
{
this
.
employeeList
=
response
.
map
((
x
:
any
)
=>
new
MyEmployeeModel
(
x
))
this
.
cdr
.
detectChanges
()
},
error
:
error
=>
{
this
.
cdr
.
detectChanges
()
}
})
}
getEmployeeList
()
{
this
.
employeeService
.
getList
().
subscribe
({
next
:
response
=>
{
this
.
employeeList
=
response
.
map
((
x
:
any
)
=>
new
MyEmployeeModel
(
x
))
this
.
cdr
.
detectChanges
()
},
error
:
error
=>
{
this
.
cdr
.
detectChanges
()
}
})
}
getListJob
()
{
this
.
loading
=
false
this
.
jobcodeService
.
getList
().
subscribe
({
...
...
@@ -123,10 +123,10 @@ export class ImportDataComponent {
}
})
}
checkJodid
(){
checkJodid
()
{
let
check
=
this
.
jobCodeList
.
some
(
x
=>
x
.
jobcodeId
==
this
.
selectJob
.
jobcodeId
)
this
.
checkJobCodeId
=
check
}
edit
(
item
:
JobCodeModel
)
{
this
.
selectJob
=
new
MyJobCodeModel
({})
...
...
@@ -143,7 +143,7 @@ export class ImportDataComponent {
this
.
bu7Id
=
item
.
bu7
.
bu7id
console
.
log
(
"🚀 ~ ImportDataComponent ~ edit ~ this.selectJob:"
,
this
.
selectJob
)
}
add
(){
add
()
{
this
.
selectJob
=
new
MyJobCodeModel
({})
this
.
checkJobCodeId
=
false
this
.
positionId
=
''
...
...
@@ -277,7 +277,7 @@ export class ImportDataComponent {
positionClass
:
'toast-top-right'
,
})
}
getPositionList
()
{
this
.
positionService
.
getList
().
subscribe
({
next
:
response
=>
{
...
...
@@ -285,14 +285,14 @@ export class ImportDataComponent {
this
.
cdr
.
detectChanges
();
},
error
:
error
=>
{
this
.
cdr
.
detectChanges
()
}
})
}
})
}
changPosition
()
{
let
value
=
this
.
positionList
.
find
(
x
=>
x
.
positionId
==
this
.
positionId
);
if
(
value
)
{
this
.
selectJob
.
position
=
value
}
else
{
}
else
{
this
.
selectJob
.
position
=
new
MyPositionModel
({})
}
}
...
...
@@ -300,7 +300,7 @@ export class ImportDataComponent {
let
value
=
this
.
positionList
.
find
(
x
=>
x
.
positionId
==
this
.
supervisorPositionId
);
if
(
value
)
{
this
.
selectJob
.
supervisorPosition
=
value
}
else
{
}
else
{
this
.
selectJob
.
supervisorPosition
=
new
MyPositionModel
({})
}
}
...
...
@@ -319,7 +319,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu1List
.
find
(
x
=>
x
.
bu1id
==
this
.
bu1Id
);
if
(
value
)
{
this
.
selectJob
.
bu1
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu1
=
new
MyBu1Model
({})
}
}
...
...
@@ -338,7 +338,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu2List
.
find
(
x
=>
x
.
bu2id
==
this
.
bu2Id
);
if
(
value
)
{
this
.
selectJob
.
bu2
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu2
=
new
MyBu2Model
({})
}
}
...
...
@@ -357,7 +357,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu3List
.
find
(
x
=>
x
.
bu3id
==
this
.
bu3Id
);
if
(
value
)
{
this
.
selectJob
.
bu3
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu3
=
new
MyBu3Model
({})
}
}
...
...
@@ -376,7 +376,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu4List
.
find
(
x
=>
x
.
bu4id
==
this
.
bu4Id
);
if
(
value
)
{
this
.
selectJob
.
bu4
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu4
=
new
MyBu4Model
({})
}
}
...
...
@@ -394,7 +394,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu5List
.
find
(
x
=>
x
.
bu5id
==
this
.
bu5Id
);
if
(
value
)
{
this
.
selectJob
.
bu5
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu5
=
new
MyBu5Model
({})
}
}
...
...
@@ -413,7 +413,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu6List
.
find
(
x
=>
x
.
bu6id
==
this
.
bu6Id
);
if
(
value
)
{
this
.
selectJob
.
bu6
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu6
=
new
MyBu6Model
({})
}
}
...
...
@@ -431,7 +431,7 @@ export class ImportDataComponent {
let
value
=
this
.
bu7List
.
find
(
x
=>
x
.
bu7id
==
this
.
bu7Id
);
if
(
value
)
{
this
.
selectJob
.
bu7
=
value
}
else
{
}
else
{
this
.
selectJob
.
bu7
=
new
MyBu7Model
({})
}
}
...
...
@@ -441,5 +441,7 @@ export class ImportDataComponent {
modal
.
classList
.
add
(
"hidden"
);
// ซ่อน Modal
}
}
checkPrimary
()
{
return
this
.
jobCodeList
.
find
(
x
=>
x
.
jobcodeId
==
this
.
selectJob
.
jobcodeId
)
}
}
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