Browse Source

修改bug

QuKatie 3 years ago
parent
commit
93052d9b7a

+ 30 - 0
src/views/salaryManagement/highSchool/detailsPage.vue

@@ -2287,6 +2287,36 @@ export default {
               "excelFile"
             ).disabled = false;
             break;
+               case "28":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/maternityPay";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/maternityPay";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "29":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/woChenGeld";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/woChenGeld";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "30":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/customWorkload";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/customWorkload";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
           default:
             this.findObject(
               this.excelOption.column,

+ 30 - 0
src/views/salaryManagement/juniorhighSchool/detailsPage.vue

@@ -2287,6 +2287,36 @@ export default {
               "excelFile"
             ).disabled = false;
             break;
+               case "28":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/maternityPay";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/maternityPay";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "29":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/woChenGeld";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/woChenGeld";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "30":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/customWorkload";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/customWorkload";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
           default:
             this.findObject(
               this.excelOption.column,

+ 30 - 0
src/views/salaryManagement/logisticsDepartment/detailsPage.vue

@@ -2287,6 +2287,36 @@ export default {
               "excelFile"
             ).disabled = false;
             break;
+               case "28":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/maternityPay";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/maternityPay";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "29":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/woChenGeld";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/woChenGeld";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
+          case "30":
+            this.exportUrl =
+              "/api/blade-school/salaryitem/export/customWorkload";
+            this.findObject(this.excelOption.column, "excelFile").action =
+              "/api/blade-school/salaryitem/import/customWorkload";
+            this.findObject(
+              this.excelOption.column,
+              "excelFile"
+            ).disabled = false;
+            break;
           default:
             this.findObject(
               this.excelOption.column,