Selaa lähdekoodia

Update team (staff allocation), json

tags/Baseline_180220205_Frontend
cyril.tsui 8 kuukautta sitten
vanhempi
commit
1294944e62
7 muutettua tiedostoa jossa 14 lisäystä ja 5 poistoa
  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 Näytä tiedosto

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


+ 2
- 0
src/components/EditTeam/Allocation.tsx Näytä tiedosto

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


+ 2
- 1
src/i18n/en/projects.json Näytä tiedosto

@@ -12,5 +12,6 @@
"Details": "Details",
"Awarded Project": "Awarded Project",
"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 Näytä tiedosto

@@ -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"
"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 Näytä tiedosto

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

+ 2
- 1
src/i18n/zh/staff.json Näytä tiedosto

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

+ 2
- 1
src/i18n/zh/team.json Näytä tiedosto

@@ -21,5 +21,6 @@
"Staff Name": "員工名稱",
"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": "在職"
}

Ladataan…
Peruuta
Tallenna