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
Show 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 @@
...
@@ -146,8 +146,7 @@
<input
class=
" form-control"
placeholder=
""
type=
"text"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelEquirment
.
eqName
"
value=
""
formControlName=
"eqName"
/>
[(
ngModel
)]="
modelEquirment
.
eqName
"
value=
""
formControlName=
"eqName"
/>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
Invalid
กรุณากรอกชื่อ
</div>
Equirment Name.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -163,8 +162,7 @@
...
@@ -163,8 +162,7 @@
<option
value=
"5"
>
Company
</option>
<option
value=
"5"
>
Company
</option>
</select>
</select>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
Invalid
กรุณากรอกหมวดหมู่.
</div>
Equirment Type.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -176,8 +174,7 @@
...
@@ -176,8 +174,7 @@
placeholder=
"......"
[(
ngModel
)]="
modelEquirment
.
eqDesc
"
placeholder=
"......"
[(
ngModel
)]="
modelEquirment
.
eqDesc
"
formControlName=
"eqDesc"
></textarea>
formControlName=
"eqDesc"
></textarea>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
Invalid
กรุณากรอกรายละเอียด.
</div>
Equirment Desc.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -209,9 +206,7 @@
...
@@ -209,9 +206,7 @@
<label>
ชื่อ
</label>
<label>
ชื่อ
</label>
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoom
.
rName
"
<input
class=
" form-control"
placeholder=
""
type=
"text"
[(
ngModel
)]="
modelRoom
.
rName
"
formControlName=
"rName"
>
formControlName=
"rName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
กรุณากรอกชื่อ.
</div>
Invalid
Name.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -225,9 +220,7 @@
...
@@ -225,9 +220,7 @@
<option
value=
"1"
>
ห้อง
</option>
<option
value=
"1"
>
ห้อง
</option>
<option
value=
"2"
>
รถ
</option>
<option
value=
"2"
>
รถ
</option>
</select>
</select>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
กรุณากรอกประเภท
</div>
Invalid
Type.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -239,8 +232,7 @@
...
@@ -239,8 +232,7 @@
placeholder=
"......"
[(
ngModel
)]="
modelRoom
.
rDesc
"
placeholder=
"......"
[(
ngModel
)]="
modelRoom
.
rDesc
"
formControlName=
"rDesc"
></textarea>
formControlName=
"rDesc"
></textarea>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
Invalid
กรุณากรอกรายละเอียด
</div>
Desc.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -271,24 +263,21 @@
...
@@ -271,24 +263,21 @@
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rName
"
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rName
"
formControlName=
"rName"
>
formControlName=
"rName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rName.status=='INVALID'"
>
Invalid
กรุณากรอกชื่อ
</div>
Name.
</div>
</div>
</div>
<div
class=
" col-md-12"
>
<div
class=
" col-md-12"
>
<label>
ประเภท
</label>
<label>
ประเภท
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rType
"
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rType
"
formControlName=
"rType"
>
formControlName=
"rType"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rType.status=='INVALID'"
>
Invalid
กรุณากรอกประเภท.
</div>
Type.
</div>
</div>
</div>
<div
class=
" col-md-12"
>
<div
class=
" col-md-12"
>
<label>
รายละเอียด
</label>
<label>
รายละเอียด
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rDesc
"
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listRoomModelEdit
.
rDesc
"
formControlName=
"rDesc"
>
formControlName=
"rDesc"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormRoom.controls.rDesc.status=='INVALID'"
>
Invalid
กรุณากรอกรายละเอียด.
</div>
Desc.
</div>
</div>
</div>
</div>
</div>
</form>
</form>
...
@@ -316,22 +305,19 @@
...
@@ -316,22 +305,19 @@
<label>
ชื่ออุปกรณ์
</label>
<label>
ชื่ออุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqName
"
formControlName=
"eqName"
>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqName
"
formControlName=
"eqName"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqName.status=='INVALID'"
>
Invalid
กรุณากรอกชื่ออุปกรณ์
</div>
Desc.
</div>
</div>
</div>
<div
class=
" col-md-12"
>
<div
class=
" col-md-12"
>
<label>
ประเภทอุปกรณ์
</label>
<label>
ประเภทอุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqType
"
formControlName=
"eqType"
>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqType
"
formControlName=
"eqType"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqType.status=='INVALID'"
>
Invalid
กรุณากรอกประเภทอุปกรณ์
</div>
Desc.
</div>
</div>
</div>
<div
class=
" col-md-12"
>
<div
class=
" col-md-12"
>
<label>
รายละเอียดอุปกรณ์
</label>
<label>
รายละเอียดอุปกรณ์
</label>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqDesc
"
formControlName=
"eqDesc"
>
<input
class=
" form-control"
type=
"text"
[(
ngModel
)]="
listEquirmentModelEdit
.
eqDesc
"
formControlName=
"eqDesc"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
<div
style=
"color: red;"
*
ngIf=
"myFormEquir.controls.eqDesc.status=='INVALID'"
>
Invalid
กรุณากรอกรายละเอียดอุปกรณ์
</div>
Desc.
</div>
</div>
</div>
</div>
</div>
</form>
</form>
...
...
src/app/pages/equipment/equipment.component.html
View file @
05949bf0
...
@@ -289,14 +289,14 @@
...
@@ -289,14 +289,14 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
ชื่อห้อง
</label>
<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"
>
formControlName=
"rName"
>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-sm-12 mb-1"
>
<div
class=
"col-sm-12 mb-1"
>
<label
for=
"exampleFormControlSelect1"
>
รายละเอียด
</label>
<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"
>
formControlName=
"rDesc"
>
</div>
</div>
</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