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
c6c34692
Commit
c6c34692
authored
Jun 17, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
แก้ไขข้อมูลพนักงาน แก้ช่องที่เกินมา
parent
6cd17680
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
36 deletions
+1
-36
sub-employee-registration.component.html
...yee-registration/sub-employee-registration.component.html
+0
-21
sub-employee-registration.component.ts
...loyee-registration/sub-employee-registration.component.ts
+1
-15
No files found.
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.html
View file @
c6c34692
...
...
@@ -57,27 +57,6 @@
</div>
<mat-dialog-content>
<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">*
<ng-container *ngIf="(currentModal=='add')&&checkPrimary()">
<br>รหัสพนักงานซ้ำ
</ng-container>
</span></label>
<input type="text" class="col-span-6 ti-form-input" [ngClass]="{'bg-input-readonly':currentModal=='update'}"
oninput="this.value = this.value.replace(/[^a-zA-Z0-9\u0E00-\uFFFF]/g, '')" maxlength="15"
[readonly]="currentModal=='update'" [(ngModel)]="employee.select.employeeId">
</div> -->
<!-- <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>
<div class="col-span-4 ">
<input type="text" class="ti-form-input" [(ngModel)]="employee.select.fname">
</div>
<div class="col-span-4">
<input type="text" class="ti-form-input" [(ngModel)]="employee.select.lname">
</div>
</div> -->
<div
class=
"ti-modal-body mt-5"
>
<div
class=
"space-y-3"
>
<div
class=
"grid grid-cols-12 gap-x-6"
>
...
...
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.ts
View file @
c6c34692
...
...
@@ -870,21 +870,7 @@ export class SubEmployeeRegistrationComponent {
onSelectItemChange
(
arg
:
any
)
{
this
.
selectedItems
=
arg
}
url1
=
''
onSelectFile1
(
event
:
any
)
{
if
(
event
.
target
&&
event
.
target
.
files
&&
event
.
target
.
files
[
0
])
{
const
reader
=
new
FileReader
();
reader
.
readAsDataURL
(
event
.
target
.
files
[
0
]);
// read file as data URL
reader
.
onload
=
(
event
:
any
)
=>
{
// called once readAsDataURL is completed
this
.
url1
=
event
.
target
.
result
;
};
}
}
onImgSelected
(
event
:
any
)
{
this
.
selectedImg
=
event
.
target
.
files
.
length
>
0
?
event
.
target
.
files
[
0
]
:
null
;
this
.
uploadImg
()
...
...
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