diff --git a/src/api/org/api.org.ts b/src/api/org/api.org.ts index 66a0632..1eb55c9 100644 --- a/src/api/org/api.org.ts +++ b/src/api/org/api.org.ts @@ -8,16 +8,14 @@ export default { searchCommander: `${org}/profile/search/commander`, - proFileType:`${profileOrg}/type`, + proFileType: `${profileOrg}/type`, dataUserInformation: `${profileOrg}/user`, dataUserChangeName: `${profileOrg}/changeName/user`, dataUserAddress: `${profileOrg}/address/user`, - dataUserFamily:(type:string)=> `${profileOrg}/family/${type}/user`, + dataUserFamily: (type: string) => `${profileOrg}/family/${type}/user`, dataUserEducations: `${profileOrg}/educations/user`, dataUserAbility: `${profileOrg}/ability/user`, - - dataUserGovernment: `${profileOrg}/government/user`, dataUserDiscipline: `${profileOrg}/discipline/user`, dataUserLeave: `${profileOrg}/leave/user`, @@ -26,37 +24,46 @@ export default { dataUserSalary: `${profileOrg}/salary/user`, dataUserNopaid: `${profileOrg}/nopaid/user`, - dataUserCertificate:(type:string) => `${profileOrg}/${type}/user`, + dataUserCertificate: (type: string) => `${profileOrg}/${type}/user`, - dataUserOther:`${profileOrg}/other/user`, + dataUserOther: `${profileOrg}/other/user`, profileReportId: (profileId: string) => `${report}kk1/${profileId}`, profileKp7ShortId: (profileId: string) => `${report}kp7-short/${profileId}`, - + /** history */ - dataUserInformatioHistory:(type:string)=> `${profileOrg}${type}/history/user`, + dataUserInformatioHistory: (type: string) => + `${profileOrg}${type}/history/user`, dataUserChangeNameHistory: `${profileOrg}/changeName/history`, - dataUserHistory:(type:string)=> `${profileOrg}${type}/address/history/user`, - dataUserFamilyHistory:(type:string,emType:string,id:string)=> `${profileOrg}${emType}/family/${type}/history/${id}`, - dataUserEducationsHistory:(id:string)=> `${profileOrg}/educations/history/${id}`, - dataUserAbilityHistory:(id:string)=> `${profileOrg}/ability/history/${id}`, + dataUserHistory: (type: string) => + `${profileOrg}${type}/address/history/user`, + dataUserFamilyHistory: (type: string, emType: string, id: string) => + `${profileOrg}${emType}/family/${type}/history/${id}`, + dataUserEducationsHistory: (id: string) => + `${profileOrg}/educations/history/${id}`, + dataUserAbilityHistory: (id: string) => `${profileOrg}/ability/history/${id}`, - dataUserGovernmentHistory:(type:string)=> `${profileOrg}${type}/government/history/user`, - dataUserDisciplineHistory:(id:string)=> `${profileOrg}/discipline/history/${id}`, - dataUserLeaveHistory: (id:string)=>`${profileOrg}/leave/history/${id}`, - dataUserDutyHistory:(id:string)=> `${profileOrg}/duty/history/${id}`, + dataUserGovernmentHistory: (type: string) => + `${profileOrg}${type}/government/history/user`, + dataUserDisciplineHistory: (id: string) => + `${profileOrg}/discipline/history/${id}`, + dataUserLeaveHistory: (id: string) => `${profileOrg}/leave/history/${id}`, + dataUserDutyHistory: (id: string) => `${profileOrg}/duty/history/${id}`, - dataUserSalaryHistory: (id:string)=>`${profileOrg}/salary/history/${id}`, - dataUserSalaryNopaidHistory: (id:string)=>`${profileOrg}/nopaid/history/${id}`, + dataUserSalaryHistory: (id: string) => `${profileOrg}/salary/history/${id}`, + dataUserSalaryNopaidHistory: (id: string) => + `${profileOrg}/nopaid/history/${id}`, - dataUserCertificateHistory:(type:string,id:string) => `${profileOrg}/${type}/history/${id}`, - dataUserHonorHistory:(type:string,emType:string,id:string) => `${profileOrg}${emType}/${type}/history/${id}`, - dataUserOtherHistory:(id:string)=>`${profileOrg}/other/history/${id}`, + dataUserCertificateHistory: (type: string, id: string) => + `${profileOrg}/${type}/history/${id}`, + dataUserHonorHistory: (type: string, emType: string, id: string) => + `${profileOrg}${emType}/${type}/history/${id}`, + dataUserOtherHistory: (id: string) => `${profileOrg}/other/history/${id}`, + orgCheckAvatar: (id: string) => `${profileOrg}/avatar/profileId/${id}`, - - orgActive:`${org}/active`, - /** struct-chart*/ - orgStructChart: (id: string, type: string) => - `${org}/struct-chart/${id}/${type}`, + orgActive: `${org}/active`, + /** struct-chart*/ + orgStructChart: (id: string, type: string) => + `${org}/struct-chart/${id}/${type}`, }; diff --git a/src/modules/08_KPI/components/Evaluator/01_TabAll.vue b/src/modules/08_KPI/components/Evaluator/01_TabAll.vue index f114fa1..7c4c213 100644 --- a/src/modules/08_KPI/components/Evaluator/01_TabAll.vue +++ b/src/modules/08_KPI/components/Evaluator/01_TabAll.vue @@ -1,11 +1,13 @@