Browse Source

06/01 10:43

创建课时申诉
mo 5 years ago
parent
commit
62588a56b0

+ 5 - 2
src/router/index.js

@@ -136,8 +136,10 @@ export const asyncRoutes = {
   journal: () => import('@/views/workBenchManager/journal/index'),
   // 课酬确认
   classFeesIsOk: () => import('@/views/workBenchManager/classFeesIsOk'),
-  // 申述处理
+  // 课酬申诉
   requestProcessing: () => import('@/views/workBenchManager/requestProcessing'),
+  // 课时申诉
+  payAppeal: () => import('@/views/workBenchManager/payAppeal'),
   // 乐团管理
   teamDetail: () => import('@/views/teamDetail/teamList'),
   teamBuild: () => import('@/views/teamBuild/index'),
@@ -298,6 +300,7 @@ export const asyncRoutes = {
   // 学生缴费金额设置
   studentPayBase: () => import('@/views/resetTeaming/components/studentPayBase'),
   // 考情列表
-  recodeList: () => import('@/views/recodeManager/recodeList')
+  recodeList: () => import('@/views/recodeManager/recodeList'),
+
 }
 export default router

+ 0 - 2
src/templateList.vue

@@ -82,8 +82,6 @@ export default {
   },
   methods: {
     init () {
-      this.isInit = true;
-      this.isInit = false;
     },
     getList () { }
   }

+ 91 - 0
src/views/workBenchManager/payAppeal.vue

@@ -0,0 +1,91 @@
+<!--  -->
+<template>
+  <div class="m-container">
+    <h2>
+      <div class="squrt"></div>课时申诉
+    </h2>
+    <div class="m-core">
+      <el-form :inline="true"
+               :model="searchForm">
+        <el-form-item>
+          <el-input v-model.trim="searchForm.search"
+                    @keyup.enter.native="search"
+                    placeholder></el-input>
+        </el-form-item>
+      </el-form>
+      <div class="tableWrap">
+        <el-table style="width: 100%"
+                  :header-cell-style="{background:'#EDEEF0',color:'#444'}"
+                  :data="tableList">
+          <el-table-column align="center"
+                           prop="studentId"
+                           label="分部"></el-table-column>
+        </el-table>
+        <pagination :total="rules.total"
+                    :page.sync="rules.page"
+                    :limit.sync="rules.limit"
+                    :page-sizes="rules.page_size"
+                    @pagination="getList" />
+      </div>
+    </div>
+  </div>
+</template>
+
+<script>
+import axios from "axios";
+import { getToken } from "@/utils/auth";
+import pagination from "@/components/Pagination/index";
+import load from "@/utils/loading";
+import { getTeacher, getEmployeeOrgan } from "@/api/buildTeam";
+
+export default {
+  components: { pagination },
+  data () {
+    return {
+      searchForm: {
+        search: null
+      },
+      teacherList: [],
+      tableList: [],
+      organList: [],
+      rules: {
+        // 分页规则
+        limit: 10, // 限制显示条数
+        page: 1, // 当前页
+        total: 0, // 总条数
+        page_size: [10, 20, 40, 50] // 选择限制显示条数
+      },
+    };
+  },
+  //生命周期 - 创建完成(可以访问当前this实例)
+  created () { },
+  //生命周期 - 挂载完成(可以访问DOM元素)
+  mounted () {
+    getTeacher().then(res => {
+      if (res.code == 200) {
+        this.teacherList = res.data;
+      }
+    });
+    getEmployeeOrgan().then(res => {
+      if (res.code == 200) {
+        this.organList = res.data;
+      }
+    });
+    // 获取分部
+
+    this.init();
+
+
+  },
+  activated () {
+    this.init();
+  },
+  methods: {
+    init () {
+    },
+    getList () { }
+  }
+};
+</script>
+<style lang='scss' scoped>
+</style>

+ 4 - 4
src/views/workBenchManager/requestProcessing.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="m-container">
     <h2>
-      <div class="squrt"></div>申述处理
+      <div class="squrt"></div>课酬申诉
     </h2>
     <div class="m-core">
       <el-form :inline="true"
@@ -98,7 +98,7 @@
           </el-table-column>
           <el-table-column align="center"
                            prop="operatorRealName"
-                           label="申处理者"></el-table-column>
+                           label="申处理者"></el-table-column>
           <!-- <el-table-column align="center" prop="reason" width="400" label="备注"></el-table-column> -->
           <el-table-column align="center"
                            prop="courseScheduleId"
@@ -120,7 +120,7 @@
                     @pagination="getList" />
       </div>
     </div>
-    <el-dialog title="申述处理"
+    <el-dialog title="课酬申诉"
                :visible.sync="dialogVisible"
                width="400px">
       <div>
@@ -295,7 +295,7 @@ export default {
                     nowTime.getHours() +
                     "" +
                     nowTime.getMinutes();
-                  let fname = ymd + "申述处理";
+                  let fname = ymd + "课酬申诉";
                   link.href = objectUrl;
                   link.setAttribute("download", fname);
                   document.body.appendChild(link);