Преглед изворни кода

Update team (staff allocation), json

tags/Baseline_180220205_Frontend
cyril.tsui пре 8 месеци
родитељ
комит
1294944e62
7 измењених фајлова са 14 додато и 5 уклоњено
  1. +2
    -0
      src/components/CreateTeam/StaffAllocation.tsx
  2. +2
    -0
      src/components/EditTeam/Allocation.tsx
  3. +2
    -1
      src/i18n/en/projects.json
  4. +2
    -1
      src/i18n/en/team.json
  5. +2
    -1
      src/i18n/zh/projects.json
  6. +2
    -1
      src/i18n/zh/staff.json
  7. +2
    -1
      src/i18n/zh/team.json

+ 2
- 0
src/components/CreateTeam/StaffAllocation.tsx Прегледај датотеку

@@ -121,6 +121,7 @@ const StaffAllocation: React.FC<Props> = ({ allStaffs: staff }) => {
{ label: t("Staff Id"), name: "staffId" }, { label: t("Staff Id"), name: "staffId" },
{ label: t("Staff Name"), name: "name" }, { label: t("Staff Name"), name: "name" },
{ label: t("Position"), name: "currentPosition" }, { label: t("Position"), name: "currentPosition" },
{ label: t("Active"), name: "active", type: "checkbox" },
], ],
[addStaff, t] [addStaff, t]
); );
@@ -136,6 +137,7 @@ const StaffAllocation: React.FC<Props> = ({ allStaffs: staff }) => {
{ label: t("Staff Id"), name: "staffId" }, { label: t("Staff Id"), name: "staffId" },
{ label: t("Staff Name"), name: "name" }, { label: t("Staff Name"), name: "name" },
{ label: t("Position"), name: "currentPosition" }, { label: t("Position"), name: "currentPosition" },
{ label: t("Active"), name: "active", type: "checkbox" },
{ {
label: t("teamLead"), label: t("teamLead"),
name: "action", name: "action",


+ 2
- 0
src/components/EditTeam/Allocation.tsx Прегледај датотеку

@@ -131,6 +131,7 @@ const Allocation: React.FC<Props> = ({ allStaffs: staff, teamLead }) => {
{ label: t("Staff Id"), name: "staffId" }, { label: t("Staff Id"), name: "staffId" },
{ label: t("Staff Name"), name: "name" }, { label: t("Staff Name"), name: "name" },
{ label: t("Position"), name: "currentPosition" }, { label: t("Position"), name: "currentPosition" },
{ label: t("Active"), name: "active", type: "checkbox" },
], ],
[addStaff, t] [addStaff, t]
); );
@@ -146,6 +147,7 @@ const Allocation: React.FC<Props> = ({ allStaffs: staff, teamLead }) => {
{ label: t("Staff Id"), name: "staffId" }, { label: t("Staff Id"), name: "staffId" },
{ label: t("Staff Name"), name: "name" }, { label: t("Staff Name"), name: "name" },
{ label: t("Position"), name: "currentPosition" }, { label: t("Position"), name: "currentPosition" },
{ label: t("Active"), name: "active", type: "checkbox" },
{ {
label: t("teamLead"), label: t("teamLead"),
name: "action", name: "action",


+ 2
- 1
src/i18n/en/projects.json Прегледај датотеку

@@ -12,5 +12,6 @@
"Details": "Details", "Details": "Details",
"Awarded Project": "Awarded Project", "Awarded Project": "Awarded Project",
"Project to be bidded": "Project to be bidded", "Project to be bidded": "Project to be bidded",
"On-going": "On-going"
"On-going": "On-going",
"Active": "Active"
} }

+ 2
- 1
src/i18n/en/team.json Прегледај датотеку

@@ -21,5 +21,6 @@
"Staff Name": "Staff Name", "Staff Name": "Staff Name",
"Position": "Position", "Position": "Position",
"Search by Staff Id, Name or Position.": "Search by Staff Id, Name or Position.", "Search by Staff Id, Name or Position.": "Search by Staff Id, Name or Position.",
"An error has occurred. Please try again later.": "An error has occurred. Please try again later"
"An error has occurred. Please try again later.": "An error has occurred. Please try again later",
"Active": "Active"
} }

+ 2
- 1
src/i18n/zh/projects.json Прегледај датотеку

@@ -12,5 +12,6 @@
"Details": "詳細信息", "Details": "詳細信息",
"Awarded Project": "已獲得的項目", "Awarded Project": "已獲得的項目",
"Project to be bidded": "待投標項目", "Project to be bidded": "待投標項目",
"On-going": "進行中"
"On-going": "進行中",
"Active": "在職"
} }

+ 2
- 1
src/i18n/zh/staff.json Прегледај датотеку

@@ -29,5 +29,6 @@
"Confirm": "確認", "Confirm": "確認",
"Cancel": "取消", "Cancel": "取消",
"Save": "儲存", "Save": "儲存",
"Edit Salary": "編輯薪金點"
"Edit Salary": "編輯薪金點",
"Active": "在職"
} }

+ 2
- 1
src/i18n/zh/team.json Прегледај датотеку

@@ -21,5 +21,6 @@
"Staff Name": "員工名稱", "Staff Name": "員工名稱",
"Position": "職位", "Position": "職位",
"Search by Staff Id, Name or Position.": "按員工編號、姓名或職位搜索", "Search by Staff Id, Name or Position.": "按員工編號、姓名或職位搜索",
"An error has occurred. Please try again later.": "發生了錯誤。請稍後再試"
"An error has occurred. Please try again later.": "發生了錯誤。請稍後再試",
"Active": "在職"
} }

Loading…
Откажи
Сачувај