Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
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
Chanachai
BookingMyHrManagement
Commits
05949bf0
Commit
05949bf0
authored
Dec 13, 2021
by
Chanachai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update แก้code
parent
85dab53d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
28 deletions
+14
-28
admin-equirment.component.html
src/app/pages/admin-equirment/admin-equirment.component.html
+12
-26
equipment.component.html
src/app/pages/equipment/equipment.component.html
+2
-2
No files found.
src/app/pages/admin-equirment/admin-equirment.component.html
View file @
05949bf0
...
...
@@ -146,8 +146,7 @@
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelEquirment
.
eqName
"
value=
""
formControlName=
"eqName"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
Invalid
Equirment Name.
</div>
กรุณากรอกชื่อ
</div>
</div>
</div>
</div>
...
...
@@ -163,8 +162,7 @@
<option
value=
"5"
>
Company
</option>
</select>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
Invalid
Equirment Type.
</div>
กรุณากรอกหมวดหมู่.
</div>
</div>
</div>
</div>
...
...
@@ -176,8 +174,7 @@
placeholder=
"......"
[(
ngModel
)]="
modelEquirment
.
eqDesc
"
formControlName=
"eqDesc"
></textarea>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
Invalid
Equirment Desc.
</div>
กรุณากรอกรายละเอียด.
</div>
</div>
</div>
</div>
...
...
@@ -209,9 +206,7 @@
<label>
ชื่อ
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoom
.
rName
"
formControlName=
"rName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
Invalid
Name.
</div>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
กรุณากรอกชื่อ.
</div>
</div>
</div>
</div>
...
...
@@ -225,9 +220,7 @@
<option
value=
"1"
>
ห้อง
</option>
<option
value=
"2"
>
รถ
</option>
</select>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
Invalid
Type.
</div>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
กรุณากรอกประเภท
</div>
</div>
</div>
</div>
...
...
@@ -239,8 +232,7 @@
placeholder=
"......"
[(
ngModel
)]="
modelRoom
.
rDesc
"
formControlName=
"rDesc"
></textarea>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
Invalid
Desc.
</div>
กรุณากรอกรายละเอียด
</div>
</div>
</div>
</div>
...
...
@@ -271,24 +263,21 @@
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rName
"
formControlName=
"rName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
Invalid
Name.
</div>
กรุณากรอกชื่อ
</div>
</div>
<div
class=
" col-md-12"
>
<label>
ประเภท
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rType
"
formControlName=
"rType"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
Invalid
Type.
</div>
กรุณากรอกประเภท.
</div>
</div>
<div
class=
" col-md-12"
>
<label>
รายละเอียด
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rDesc
"
formControlName=
"rDesc"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
Invalid
Desc.
</div>
กรุณากรอกรายละเอียด.
</div>
</div>
</div>
</form>
...
...
@@ -316,22 +305,19 @@
<label>
ชื่ออุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqName
"
formControlName=
"eqName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
Invalid
Desc.
</div>
กรุณากรอกชื่ออุปกรณ์
</div>
</div>
<div
class=
" col-md-12"
>
<label>
ประเภทอุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqType
"
formControlName=
"eqType"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
Invalid
Desc.
</div>
กรุณากรอกประเภทอุปกรณ์
</div>
</div>
<div
class=
" col-md-12"
>
<label>
รายละเอียดอุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqDesc
"
formControlName=
"eqDesc"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
Invalid
Desc.
</div>
กรุณากรอกรายละเอียดอุปกรณ์
</div>
</div>
</div>
</form>
...
...
src/app/pages/equipment/equipment.component.html
View file @
05949bf0
...
...
@@ -289,14 +289,14 @@
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
ชื่อห้อง
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rName
"
<input
readonly
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rName
"
formControlName=
"rName"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียด
</label>
<input
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rDesc
"
<input
readonly
class=
"form-control"
type=
"text"
[(
ngModel
)]="
modelRoomDetail
.
room
.
rDesc
"
formControlName=
"rDesc"
>
</div>
</div>
...
...
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