Przeglądaj źródła

04/07 13:35

导出提测
Xiao_Mo 5 lat temu
rodzic
commit
a7f3cbe45d

Plik diff jest za duży
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-35ad8cf5.56f2fd55.css → dist/static/css/chunk-29713af4.cf044398.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.schoolCell[data-v-136d7aac]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-136d7aac] .el-textarea.is-disabled .el-textarea__inner{color:#333}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.schoolCell[data-v-5042bbf2]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-5042bbf2] .el-textarea.is-disabled .el-textarea__inner{color:#333}

+ 1 - 1
dist/static/css/chunk-06ea765c.e9a3af3a.css → dist/static/css/chunk-3ec1f363.dc502684.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.schoolCell[data-v-13f37de1]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-13f37de1] .el-textarea.is-disabled .el-textarea__inner{color:#333}.schoolCell[data-v-136d7aac]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-136d7aac] .el-textarea.is-disabled .el-textarea__inner{color:#333}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.schoolCell[data-v-13f37de1]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-13f37de1] .el-textarea.is-disabled .el-textarea__inner{color:#333}.schoolCell[data-v-5042bbf2]{width:400px;color:#333;background-color:#f5f7fa;border-color:#e4e7ed;height:40px;line-height:40px;outline:0;padding:0 15px;border-radius:4px;border:1px solid #dcdfe6;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}[data-v-5042bbf2] .el-textarea.is-disabled .el-textarea__inner{color:#333}

Plik diff jest za duży
+ 0 - 0
dist/static/js/app.ce982df9.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-06ea765c.727a866f.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-29713af4.81f74759.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-35ad8cf5.14c1be0c.js


Plik diff jest za duży
+ 0 - 0
dist/static/js/chunk-3ec1f363.6dcd8c1f.js


+ 30 - 49
src/views/afterSchoolManager/afterWorkList.vue

@@ -76,7 +76,7 @@
         <el-form-item>
           <el-button type="danger" @click="search">搜索</el-button>
           <el-button @click="onReSet" type="primary">重置</el-button>
-          <el-button @click="onExport" type="primary" style=" background: #14928a; border:1px solid #14928a;">导出</el-button>
+          <el-button @click="onExport" type="primary" v-permission="'export/extraExercisesReplys'" style=" background: #14928a; border:1px solid #14928a;">导出</el-button>
         </el-form-item>
       </el-form>
       <div class="tableWrap">
@@ -278,30 +278,7 @@ export default {
     },
     getList() {
       // assignStartTime  assignEndTime page search teacherId title
-      let obj = {};
-      if (this.searchForm.timer && this.searchForm.timer.length > 0) {
-        obj.submitStartTime = this.searchForm.timer[0];
-        obj.submitEndTime = this.searchForm.timer[1];
-      }
-      if(this.searchForm.expireDate && this.searchForm.expireDate.length>0){
-        obj.expireStartDate = this.searchForm.expireDate[0]
-         obj.expireEndDate = this.searchForm.expireDate[1]
-      }
-      obj.page = this.rules.page;
-      (obj.rows = this.rules.limit),
-        this.searchForm.teacherId
-          ? (obj.teacherId = this.searchForm.teacherId)
-          : null;
-      this.searchForm.search ? (obj.search = this.searchForm.search) : null;
-      this.searchForm.status ? (obj.status = this.searchForm.status) : null;
-      this.searchForm.isReplied
-        ? (obj.isReplied = this.searchForm.isReplied)
-        : null;
-      this.searchForm.isView ? (obj.isView = this.searchForm.isView) : null;
-      this.extracurricularExercisesId
-        ? (obj.extracurricularExercisesId = this.extracurricularExercisesId)
-        : null;
-      this.searchForm.organId ? (obj.organId = this.searchForm.organId) : null;
+      let obj = this.getDate();
       extracurricularExercisesReply(obj).then(res => {
         if (res.code == 200) {
           this.tableList = res.data.rows;
@@ -316,30 +293,7 @@ export default {
     // 导出 
     onExport(){
        let url = "/api-web/export/extraExercisesReplys";
-     let obj = {};
-      if (this.searchForm.timer && this.searchForm.timer.length > 0) {
-        obj.submitStartTime = this.searchForm.timer[0];
-        obj.submitEndTime = this.searchForm.timer[1];
-      }
-      if(this.searchForm.expireDate && this.searchForm.expireDate.length>0){
-        obj.expireStartDate = this.searchForm.expireDate[0]
-         obj.expireEndDate = this.searchForm.expireDate[1]
-      }
-      obj.page = this.rules.page;
-      (obj.rows = this.rules.limit),
-        this.searchForm.teacherId
-          ? (obj.teacherId = this.searchForm.teacherId)
-          : null;
-      this.searchForm.search ? (obj.search = this.searchForm.search) : null;
-      this.searchForm.status ? (obj.status = this.searchForm.status) : null;
-      this.searchForm.isReplied
-        ? (obj.isReplied = this.searchForm.isReplied)
-        : null;
-      this.searchForm.isView ? (obj.isView = this.searchForm.isView) : null;
-      this.extracurricularExercisesId
-        ? (obj.extracurricularExercisesId = this.extracurricularExercisesId)
-        : null;
-      this.searchForm.organId ? (obj.organId = this.searchForm.organId) : null;
+      let obj = this.getDate()
       const options = {
         method: "get",
         headers: {
@@ -377,6 +331,33 @@ export default {
         })
         .catch(() => {});
     },
+    getDate(){
+       let obj = {};
+      if (this.searchForm.timer && this.searchForm.timer.length > 0) {
+        obj.submitStartTime = this.searchForm.timer[0];
+        obj.submitEndTime = this.searchForm.timer[1];
+      }
+      if(this.searchForm.expireDate && this.searchForm.expireDate.length>0){
+        obj.expireStartDate = this.searchForm.expireDate[0]
+         obj.expireEndDate = this.searchForm.expireDate[1]
+      }
+      obj.page = this.rules.page;
+      (obj.rows = this.rules.limit),
+        this.searchForm.teacherId
+          ? (obj.teacherId = this.searchForm.teacherId)
+          : null;
+      this.searchForm.search ? (obj.search = this.searchForm.search) : null;
+      this.searchForm.status ? (obj.status = this.searchForm.status) : null;
+      this.searchForm.isReplied
+        ? (obj.isReplied = this.searchForm.isReplied)
+        : null;
+      this.searchForm.isView ? (obj.isView = this.searchForm.isView) : null;
+      this.extracurricularExercisesId
+        ? (obj.extracurricularExercisesId = this.extracurricularExercisesId)
+        : null;
+      this.searchForm.organId ? (obj.organId = this.searchForm.organId) : null;
+      return obj
+    },
     onReSet() {
       this.searchForm = {
         search: null,

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików