Browse Source

(*)人资权限码生成

master
zmh 1 year ago
parent
commit
5f29341339
  1. 1
      doc/scripts/tools/v3.22.1_init_HRM_resource/Answer.txt
  2. 62
      doc/scripts/tools/v3.22.1_init_HRM_resource/AuthCode.txt
  3. 17
      doc/scripts/tools/v3.22.1_init_HRM_resource/index.js

1
doc/scripts/tools/v3.22.1_init_HRM_resource/Answer.txt

@ -0,0 +1 @@
{"人员档案管理":"PERSONNELFILEMANAGEMENT","人员档案":"PERSONNELFILES","新增档案":"ADDINGFILES","导入员工信息":"IMPORTEMPLOYEEINFORMATION","导出员工档案":"EXPORTEMPLOYEEPROFILE","编辑档案":"EDITPROFILE","删除档案":"DELETEFILES","员工信息":"EMPLOYEEINFORMATION","导出员工信息":"EXPORTEMPLOYEEINFORMATION","岗位评级":"JOBRATING","导入岗位评级":"IMPORTJOBRATINGS","部门档案管理":"DEPARTMENTARCHIVESMANAGEMENT","部门档案":"DEPARTMENTARCHIVES","假勤管理":"LEAVEMANAGEMENT","出勤统计":"ATTENDANCESTATISTICS","请假统计":"LEAVESTATISTICS","导出请假统计":"EXPORTLEAVESTATISTICS","加班统计":"OVERTIMESTATISTICS","导出加班统计":"EXPORTOVERTIMESTATISTICS","员工沟通":"EMPLOYEECOMMUNICATION","员工沟通统计":"EMPLOYEECOMMUNICATIONSTATISTICS","导出员工沟通统计":"EXPORTEMPLOYEECOMMUNICATIONSTATISTICS","招聘记录":"RECRUITMENTRECORDS","任用记录":"APPOINTMENTRECORD","销售统计":"SALESSTATISTICS","销售人员分布":"SALESPERSONNELDISTRIBUTION","新增销售人员":"ADDSALESPERSONNEL","导入销售人员分布":"IMPORTSALESPERSONNELDISTRIBUTION","培训档案":"TRAININGDOSSIER","培训资源储存库":"TRAININGRESOURCEREPOSITORY","文件夹管理":"FOLDERMANAGEMENT","上传培训资料":"UPLOADTRAININGMATERIALS","下载培训资料":"DOWNLOADTRAININGMATERIALS","删除培训资料":"DELETETRAININGMATERIALS","培训管理":"TRAININGMANAGEMENT","个人培训记录":"PERSONALTRAININGRECORDS","导入个人培训记录":"IMPORTPERSONALTRAININGRECORDS","部门培训记录":"DEPARTMENTTRAININGRECORDS","导入部门培训记录":"IMPORTDEPARTMENTTRAININGRECORDS","基本动作管理":"BASICACTIONMANAGEMENT","周报管理":"WEEKLYREPORTMANAGEMENT","导出周报":"EXPORTWEEKLYREPORT","销售日志":"SALESLOG","导出销售日志":"EXPORTSALESLOG","工程日志":"ENGINEERINGLOG","导出工程日志":"EXPORTENGINEERINGLOG","员工考核":"EMPLOYEEASSESSMENT","试用期员工考核":"EMPLOYEEASSESSMENTDURINGPROBATIONARYPERIOD","正式员工考核":"FORMALEMPLOYEEASSESSMENT","下载正式员工考核":"DOWNLOADOFFICIALEMPLOYEEASSESSMENT","中层考核":"MIDDLELEVELASSESSMENT","中层月度过程考核":"MIDDLELEVELMONTHLYPROCESSASSESSMENT","下载中层月度过程考核":"DOWNLOADMIDDLELEVELMONTHLYPROCESSASSESSMENT","中层季度考核":"MIDLEVELQUARTERLYASSESSMENT","下载中层季度考核":"DOWNLOADMIDLEVELQUARTERLYASSESSMENT","高层考核":"SENIORASSESSMENT","高层月度过程考核":"MONTHLYPROCESSASSESSMENTFORSENIORMANAGEMENT","下载高层月度过程考核":"DOWNLOADTHEMONTHLYPROCESSASSESSMENTFORSENIORMANAGEMENT","高层季度考核":"QUARTERLYASSESSMENTOFSENIORMANAGEMENT","下载高层季度考核":"DOWNLOADQUARTERLYASSESSMENTSFORSENIORMANAGEMENT","奖惩管理":"REWARDANDPUNISHMENTMANAGEMENT","奖惩信息":"REWARDANDPUNISHMENTINFORMATION"}

62
doc/scripts/tools/v3.22.1_init_HRM_resource/AuthCode.txt

@ -0,0 +1,62 @@
人员档案管理 : 功能 : PERSONNELFILEMANAGEMENT [1]
人员档案 : 功能 : PERSONNELFILES [1]
新增档案 : 按钮 : ADDINGFILES [1];
导入员工信息 : 按钮 : IMPORTEMPLOYEEINFORMATION [2];
导出员工档案 : 按钮 : EXPORTEMPLOYEEPROFILE [3];
编辑档案 : 按钮 : EDITPROFILE [4];
删除档案 : 按钮 : DELETEFILES [5];
员工信息 : 功能 : EMPLOYEEINFORMATION [2]
导出员工信息 : 按钮 : EXPORTEMPLOYEEINFORMATION [1];
岗位评级 : 功能 : JOBRATING [3]
导入岗位评级 : 按钮 : IMPORTJOBRATINGS [1];
部门档案管理 : 功能 : DEPARTMENTARCHIVESMANAGEMENT [2]
部门档案 : 功能 : DEPARTMENTARCHIVES [1];
假勤管理 : 功能 : LEAVEMANAGEMENT [3]
出勤统计 : 功能 : ATTENDANCESTATISTICS [1];
请假统计 : 功能 : LEAVESTATISTICS [2]
导出请假统计 : 按钮 : EXPORTLEAVESTATISTICS [1];
加班统计 : 功能 : OVERTIMESTATISTICS [3]
导出加班统计 : 按钮 : EXPORTOVERTIMESTATISTICS [1];
员工沟通 : 功能 : EMPLOYEECOMMUNICATION [4]
员工沟通统计 : 功能 : EMPLOYEECOMMUNICATIONSTATISTICS [1]
导出员工沟通统计 : 按钮 : EXPORTEMPLOYEECOMMUNICATIONSTATISTICS [1];
招聘记录 : 功能 : RECRUITMENTRECORDS [5]
任用记录 : 功能 : APPOINTMENTRECORD [1];
销售统计 : 功能 : SALESSTATISTICS [6]
销售人员分布 : 功能 : SALESPERSONNELDISTRIBUTION [1]
新增销售人员 : 按钮 : ADDSALESPERSONNEL [1];
导入销售人员分布 : 按钮 : IMPORTSALESPERSONNELDISTRIBUTION [2];
培训档案 : 功能 : TRAININGDOSSIER [7]
培训资源储存库 : 功能 : TRAININGRESOURCEREPOSITORY [1]
文件夹管理 : 按钮 : FOLDERMANAGEMENT [1];
上传培训资料 : 按钮 : UPLOADTRAININGMATERIALS [2];
下载培训资料 : 按钮 : DOWNLOADTRAININGMATERIALS [3];
删除培训资料 : 按钮 : DELETETRAININGMATERIALS [4];
培训管理 : 功能 : TRAININGMANAGEMENT [8]
个人培训记录 : 功能 : PERSONALTRAININGRECORDS [1]
导入个人培训记录 : 按钮 : IMPORTPERSONALTRAININGRECORDS [1];
部门培训记录 : 功能 : DEPARTMENTTRAININGRECORDS [2]
导入部门培训记录 : 按钮 : IMPORTDEPARTMENTTRAININGRECORDS [1];
基本动作管理 : 功能 : BASICACTIONMANAGEMENT [9]
周报管理 : 功能 : WEEKLYREPORTMANAGEMENT [1]
导出周报 : 按钮 : EXPORTWEEKLYREPORT [1];
销售日志 : 功能 : SALESLOG [2]
导出销售日志 : 按钮 : EXPORTSALESLOG [1];
工程日志 : 功能 : ENGINEERINGLOG [3]
导出工程日志 : 按钮 : EXPORTENGINEERINGLOG [1];
员工考核 : 功能 : EMPLOYEEASSESSMENT [10]
试用期员工考核 : 功能 : EMPLOYEEASSESSMENTDURINGPROBATIONARYPERIOD [1];
正式员工考核 : 功能 : FORMALEMPLOYEEASSESSMENT [2]
下载正式员工考核 : 按钮 : DOWNLOADOFFICIALEMPLOYEEASSESSMENT [1];
中层考核 : 功能 : MIDDLELEVELASSESSMENT [11]
中层月度过程考核 : 功能 : MIDDLELEVELMONTHLYPROCESSASSESSMENT [1]
下载中层月度过程考核 : 按钮 : DOWNLOADMIDDLELEVELMONTHLYPROCESSASSESSMENT [1];
中层季度考核 : 功能 : MIDLEVELQUARTERLYASSESSMENT [2]
下载中层季度考核 : 按钮 : DOWNLOADMIDLEVELQUARTERLYASSESSMENT [1];
高层考核 : 功能 : SENIORASSESSMENT [12]
高层月度过程考核 : 功能 : MONTHLYPROCESSASSESSMENTFORSENIORMANAGEMENT [1]
下载高层月度过程考核 : 按钮 : DOWNLOADTHEMONTHLYPROCESSASSESSMENTFORSENIORMANAGEMENT [1];
高层季度考核 : 功能 : QUARTERLYASSESSMENTOFSENIORMANAGEMENT [2]
下载高层季度考核 : 按钮 : DOWNLOADQUARTERLYASSESSMENTSFORSENIORMANAGEMENT [1];
奖惩管理 : 功能 : REWARDANDPUNISHMENTMANAGEMENT [13]
奖惩信息 : 功能 : REWARDANDPUNISHMENTINFORMATION [1];

17
doc/scripts/tools/v3.22.1_init_HRM_resource/index.js

@ -35,7 +35,7 @@ try {
} else {//研发
poolSetting = PRO_POOL;
//对权限初始变动时,readAnswer需设为false,其他数据库执行更新时设为true
readAnswer = false;
// readAnswer = false;
console.log("poolSetting:PRO_POOL");
}
const pool = new Pool(poolSetting);
@ -137,19 +137,10 @@ try {
child: [{
show: '培训资源储存库',
child: [{
btn: '新增文件夹'
btn: '文件夹管理'
}, {
btn: '编辑文件夹'
}, {
btn: '删除文件夹'
}, {
btn: '新增子文件夹'
}, {
btn: '编辑子文件夹'
}, {
btn: '删除子文件夹'
}, {
btn: '上传文件'
btn: '上传文件',
alias: '上传培训资料'
}, {
btn: '下载',
alias: '下载培训资料'

Loading…
Cancel
Save