|
@@ -1379,7 +1379,6 @@ export default {
|
|
|
if (this.detailData.id) {
|
|
|
this.getDetail(this.detailData.id);
|
|
|
}
|
|
|
- console.log(this.detailData);
|
|
|
if (this.detailData.status == 1) {
|
|
|
this.$set(this.option, "disabled", true);
|
|
|
}
|
|
@@ -1391,6 +1390,17 @@ export default {
|
|
|
this.annexOption.height = 450;
|
|
|
},
|
|
|
methods: {
|
|
|
+ // getOption() {
|
|
|
+ // let roleName = localStorage.getItem("roleName")
|
|
|
+ // ? localStorage.getItem("roleName").split(",")
|
|
|
+ // : [];
|
|
|
+ // if (roleName.find(el => el == "admin") == "XBKJ") {
|
|
|
+ // this.optionList.column.forEach(el => {
|
|
|
+ // el.disabled = true;
|
|
|
+ // });
|
|
|
+ // // this.findObject(this.option.column, "salaryWithdrawalStandard").disabled = false;
|
|
|
+ // }
|
|
|
+ // },
|
|
|
getTime() {
|
|
|
setInterval(() => {
|
|
|
this.time = dateFormat(new Date());
|
|
@@ -2448,6 +2458,379 @@ export default {
|
|
|
} else {
|
|
|
this.findObject(this.excelOption.column, "excelFile").disabled = true;
|
|
|
}
|
|
|
+ },
|
|
|
+ optionList: function() {
|
|
|
+ // if (localStorage.getItem("roleName") == "XXXBKJ") {
|
|
|
+ // this.optionList.column.forEach(el => {
|
|
|
+ // el.disabled = true;
|
|
|
+ // });
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "salaryWithdrawalStandard"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "rankWithdrawalStandard"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "performanceAwardName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "schoolAge").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "capitalIncreaseName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "salaryStandard"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "salaryBaseName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "workloadSalaryCritertion"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "virtualWorkloadSalary"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "doubleCease").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "virtualDoubleCease"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "dailyAssessmentCriteria"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "virtualDailyAssessmentCriteria"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "termPerformanceSalaryName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "leadingCadreSubsidyName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "assessLeadingCadreSubsidyName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "prepareLessonsName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "assessPrepareLessonsName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "teachingResearchName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "teachingResearch"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "assessTeachingResearchName"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "teacherSubsidy"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "classes").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "adjustTheBalance"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "payrollCredit"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "paid").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "teacherAssessSubsidy"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "wx").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "maternityLeaveSalary"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "inspectorFines"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "telephoneBill"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "learningPower"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "childbirthAllowance"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "androidIt").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "insuranceUnit"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "insurancePersonage"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "reservedFundsUnit"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "reservedFundsPersonage"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "personageTaxes"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "salaryRemark"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "pauseNoPayRemark"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "remarks").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "remarksOne").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "discipline").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "itemType").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "positiveTime"
|
|
|
+ // ).disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "position").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "cname").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "idNumber").disabled = false;
|
|
|
+ // this.findObject(this.optionList.column, "code").disabled = false;
|
|
|
+ // this.findObject(
|
|
|
+ // this.optionList.column,
|
|
|
+ // "enjoyOfficeTreatment"
|
|
|
+ // ).disabled = false;
|
|
|
+ // }
|
|
|
+ if (localStorage.getItem("roleName") == "XXGZGLY") {
|
|
|
+ this.optionList.column.forEach(el => {
|
|
|
+ el.disabled = true;
|
|
|
+ });
|
|
|
+ this.findObject(this.optionList.column, "discipline").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "itemType").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "positiveTime"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "position").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "cname").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "idNumber").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "code").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "enjoyOfficeTreatment"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "performanceAward"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "schoolAgeSalary"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "capitalIncrease"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "educationSalary"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "rankSalaryName"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "rankSalary").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "salaryBase").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "monthHour").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "monthPrice").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "custom").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customOne").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "doubleHour").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "doublePrice").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customThree").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customFour").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customFive").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customSix").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customSeven").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "dailyAssessmentCriteria"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "pauseNoPayTwo"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "performanceGrade"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customNine").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customize").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeOne"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeTwo"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeThree"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "customAward").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardOne"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardTwo"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardThree"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardFour"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardFive"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardSix"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardSeven"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardEight"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customAwardNine"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "leadingCadreSubsidy"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeFive"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "prepareLessons"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeSix"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "teachingResearch"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeSeven"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "classTeacherFee"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeEight"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "customizeNine"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbon").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "yearUpPerformance"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "yearDownPerformance"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "cadreAllowanceReservation"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "vacationOvertimePay"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "newPostTrain"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "winningPrize"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "classMinister"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "monthViceClassFee"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "safetyFees").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "reserveReplacement"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "attendance").disabled = false;
|
|
|
+ this.findObject(
|
|
|
+ this.optionList.column,
|
|
|
+ "dormitoryManagementFee"
|
|
|
+ ).disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonOne").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonTwo").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonThree").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonFour").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonFive").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonSix").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonSeven").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonEight").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "ribbonNine").disabled = false;
|
|
|
+ this.findObject(this.optionList.column, "pauseNoPay").disabled = false;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
computed: {
|