Pārlūkot izejas kodu

03/16 22:13

111
Xiao_Mo 5 gadi atpakaļ
vecāks
revīzija
23cd2443e3

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-193bb508.e5de35ad.css → dist/static/css/chunk-c2e44520.8d2989cf.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}.inputStyle[data-v-29a2e64d]{width:100px;text-align:center}.title[data-v-0eb05fc4]{margin-bottom:20px}.amap-demo[data-v-0eb05fc4]{height:300px}.inputStyle[data-v-63cd9bec]{width:100px;text-align:center}.work[data-v-63cd9bec]{margin-bottom:30px;font-size:16px}.visible[data-v-acdbc7ee]{visibility:hidden}.cl-container .topFrom[data-v-acdbc7ee]{margin:20px 30px 0}.cl-container .topFrom .classlist[data-v-acdbc7ee]{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:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cl-container .topFrom .classlist ul li[data-v-acdbc7ee]{list-style:none}.cl-container .searchForm[data-v-acdbc7ee]{margin:0 30px}.btnWraps[data-v-acdbc7ee]{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:start;-ms-flex-pack:start;justify-content:flex-start}.btnWraps div[data-v-acdbc7ee]{margin-right:20px}.inputStyle[data-v-acdbc7ee]{width:180px}.red[data-v-acdbc7ee]{color:red}.exportBtn[data-v-acdbc7ee]{background:#13817a}
+.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}.inputStyle[data-v-29a2e64d]{width:100px;text-align:center}.title[data-v-0eb05fc4]{margin-bottom:20px}.amap-demo[data-v-0eb05fc4]{height:300px}.inputStyle[data-v-63cd9bec]{width:100px;text-align:center}.work[data-v-63cd9bec]{margin-bottom:30px;font-size:16px}.visible[data-v-70e73162]{visibility:hidden}.cl-container .topFrom[data-v-70e73162]{margin:20px 30px 0}.cl-container .topFrom .classlist[data-v-70e73162]{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:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cl-container .topFrom .classlist ul li[data-v-70e73162]{list-style:none}.cl-container .searchForm[data-v-70e73162]{margin:0 30px}.btnWraps[data-v-70e73162]{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:start;-ms-flex-pack:start;justify-content:flex-start}.btnWraps div[data-v-70e73162]{margin-right:20px}.inputStyle[data-v-70e73162]{width:180px}.red[data-v-70e73162]{color:red}.exportBtn[data-v-70e73162]{background:#13817a}

+ 1 - 1
dist/static/css/chunk-0e07fc75.dca0e9f9.css → dist/static/css/chunk-e8cb49f4.feac4098.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}.wrap[data-v-664bd22c]{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:justify;-ms-flex-pack:justify;justify-content:space-between}.wrap .leftCell[data-v-664bd22c]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wrap .leftCell[data-v-664bd22c],.wrap .rightCell[data-v-664bd22c]{width:300px;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-align:center;-ms-flex-align:center;align-items:center;line-height:50px}.wrap .rightCell[data-v-664bd22c]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wrap .rightCell p[data-v-664bd22c]{margin-right:30px}[data-v-664bd22c] .el-tag{cursor:pointer}
+.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}.wrap[data-v-5914fae0]{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:justify;-ms-flex-pack:justify;justify-content:space-between}.wrap .leftCell[data-v-5914fae0]{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wrap .leftCell[data-v-5914fae0],.wrap .rightCell[data-v-5914fae0]{width:300px;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-align:center;-ms-flex-align:center;align-items:center;line-height:50px}.wrap .rightCell[data-v-5914fae0]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.wrap .rightCell p[data-v-5914fae0]{margin-right:30px}[data-v-5914fae0] .el-tag{cursor:pointer}

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/app.ab25d955.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-0e07fc75.817ce353.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-193bb508.9b53fcaf.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-c2e44520.fb277f5b.js


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
dist/static/js/chunk-e8cb49f4.ef1ddd2b.js


+ 88 - 57
src/views/evaluateManager/networkList.vue

@@ -31,12 +31,7 @@
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-select
-          v-model.trim="searchForm.eduTeacherId"
-          filterable
-          clearable
-          placeholder="教务老师"
-        >
+        <el-select v-model.trim="searchForm.eduTeacherId" filterable clearable placeholder="教务老师">
           <el-option
             v-for="(item,index) in educationList"
             :key="index"
@@ -63,9 +58,9 @@
         </el-select>
       </el-form-item>
       <el-form-item>
-        <el-select placeholder="完成评价" v-model="searchForm.hasReview" clearable>
-          <el-option label="完成" value="1"></el-option>
-          <el-option label="未完成" value="0"></el-option>
+        <el-select placeholder="老师评价" v-model="searchForm.hasReview" clearable>
+          <el-option label="评价" value="1"></el-option>
+          <el-option label="未评价" value="0"></el-option>
         </el-select>
       </el-form-item>
       <el-form-item>
@@ -79,9 +74,12 @@
         <el-date-picker
           :clearable="false"
           v-model="searchForm.month"
-          type="month"
-          value-format="yyyy-MM"
-          placeholder="选择年月"
+          type="datetimerange"
+           value-format="yyyy-MM-dd"
+           format="yyyy-MM-dd"
+          range-separator="至"
+          start-placeholder="开始日期"
+          end-placeholder="结束日期"
         ></el-date-picker>
       </el-form-item>
       <el-form-item>
@@ -112,9 +110,9 @@
             <div>{{ scope.row.studentReview | studentReviewFilter}}</div>
           </template>
         </el-table-column>
-        <el-table-column align="center" label="完成评价">
+        <el-table-column align="center" label="老师评价">
           <template slot-scope="scope">
-            <div>{{scope.row.evaluateStatus?'是':'否'}}</div>
+            <div>{{scope.row.reviewId>0?'是':'否'}}</div>
           </template>
         </el-table-column>
         <el-table-column align="center" label="提交作业">
@@ -182,23 +180,28 @@
           <div class="leftCell">
             <p>课程评价</p>
             <div class="chioseWrap">
-              <el-tag :type="mychiose =='好'?'danger':'info'" @click="courseScheduleReview.courseReview='好'">好</el-tag>
-              
               <el-tag
-                :type="mychiose == '中'?'danger':'info'" @click="courseScheduleReview.courseReview='中'"
+                :type="mychiose =='好'?'danger':'info'"
+                @click="courseScheduleReview.courseReview='好'"
+              >好</el-tag>
+
+              <el-tag
+                :type="mychiose == '中'?'danger':'info'"
+                @click="courseScheduleReview.courseReview='中'"
               >中</el-tag>
               <el-tag
-                :type="mychiose == '差'?'danger':'info'" @click="courseScheduleReview.courseReview='差'"
+                :type="mychiose == '差'?'danger':'info'"
+                @click="courseScheduleReview.courseReview='差'"
               >差</el-tag>
             </div>
           </div>
         </div>
         <div class="commitRight">
           <div v-if="courseScheduleComplaints">
-            <div class="rightCell"> 
+            <div class="rightCell">
               <p>学员评价</p>
               <div class="chioseWrap">
-                <el-rate v-model="courseScheduleComplaints.score" disabled text-color="#ff9900"></el-rate>
+                <el-rate v-model="courseScheduleComplaints[0].score" disabled text-color="#ff9900"></el-rate>
               </div>
             </div>
             <el-input type="textarea" v-model="courseScheduleComplaints.reason"></el-input>
@@ -274,7 +277,7 @@ export default {
         hasHandHomework: null,
         hasReview: null,
         courseReview: null,
-        month: null
+        month: []
       },
       organList: [],
       teacherList: [],
@@ -290,8 +293,8 @@ export default {
       value: null,
       teacherClassHeadInfo: null,
       courseScheduleReview: null,
-      courseScheduleComplaints:null,
-      activeId:null
+      courseScheduleComplaints: null,
+      activeId: null
     };
   },
   //生命周期 - 创建完成(可以访问当前this实例)
@@ -306,14 +309,26 @@ export default {
   methods: {
     init() {
       // 获取默认月份
-      if (!this.searchForm.month) {
+      if (this.searchForm.month.length<=0) {
         var now = new Date();
-        this.searchForm.month = new Date(
+
+        var startDate = new Date(
+          Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
+        )
+          .toISOString()
+          .slice(0, 10);
+        //  + " 00:00:00"  + " 23:59:59"
+        var endDate = new Date(
           Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
         )
           .toISOString()
-          .slice(0, 7);
+          .slice(0, 10);
+        this.searchForm.month = [];
+        this.searchForm.month.push(startDate);
+        this.searchForm.month.push(endDate);
+        console.log(this.searchForm.month)
       }
+
       // 获取指导老师
       getTeacher({}).then(res => {
         if (res.code == 200) {
@@ -332,7 +347,7 @@ export default {
           this.educationList = res.data;
         }
       });
-     
+
       this.getList();
     },
     getList() {
@@ -345,7 +360,11 @@ export default {
       obj.hasHandHomework = this.searchForm.hasHandHomework || null;
       obj.hasReview = this.searchForm.hasHandHomework || null;
       obj.courseReview = this.searchForm.courseReview || null;
-      obj.startTime = this.searchForm.month || null;
+      if(this.searchForm.month.length > 0){
+          obj.startTime = this.searchForm.month[0];
+          obj.endTime = this.searchForm.month[1];
+      }
+    
       obj.page = this.rules.page;
       obj.rows = this.rules.limit;
       getPracticeGroup(obj).then(res => {
@@ -357,34 +376,37 @@ export default {
     },
     lookDetail(row) {
       this.activeId = row.reviewId;
-      getReviewInfo({ id:this.activeId }).then(res => {
+      getReviewInfo({ id: this.activeId }).then(res => {
         if (res.code == 200) {
           this.teacherClassHeadInfo = res.data.teacherClassHeadInfo;
           this.courseScheduleReview = res.data.courseScheduleReview;
           this.courseScheduleComplaints = res.data.courseScheduleComplaints;
 
-           // 教务评价详情
-        //    eduCourseReviewGetReviewInfo({id}).then(res=>{
-        //        if(res.code == 200){
+          // 教务评价详情
+          //    eduCourseReviewGetReviewInfo({id}).then(res=>{
+          //        if(res.code == 200){
 
-        //        }
-        //    })
+          //        }
+          //    })
           this.netWorkVisible = true;
         }
       });
     },
-    submitNetwork(){
-        if(!this.courseScheduleReview.courseReview){
-            this.$message.error('请评价课程');
-            return
+    submitNetwork() {
+      if (!this.courseScheduleReview.courseReview) {
+        this.$message.error("请评价课程");
+        return;
+      }
+      updateReviewInfo({
+        id: this.activeId,
+        courseReview: this.courseScheduleReview.courseReview
+      }).then(res => {
+        if (res.code == 200) {
+          this.$message.success("评价成功");
+          this.netWorkVisible = false;
+          this.getList();
         }
-        updateReviewInfo({id:this.activeId,courseReview:this.courseScheduleReview.courseReview }).then(res=>{
-            if(res.code == 200){
-                this.$message.success('评价成功');
-                 this.netWorkVisible = false;
-                 this.getList()
-            }
-        })
+      });
     },
     search() {
       this.rules.page = 1;
@@ -404,12 +426,21 @@ export default {
         month: null
       };
       var now = new Date();
-      this.searchForm.month = new Date(
+
+      var startDate = new Date(
         Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
       )
         .toISOString()
-        .slice(0, 7);
-
+        .slice(0, 10);
+      //  + " 00:00:00"  + " 23:59:59"
+      var endDate = new Date(
+        Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())
+      )
+        .toISOString()
+        .slice(0, 10);
+      this.searchForm.month = [];
+      this.searchForm.month.push(startDate);
+      this.searchForm.month.push(endDate);
       this.getList();
     }
   },
@@ -427,18 +458,18 @@ export default {
       ) {
         return this.courseScheduleReview.teachingMaterial;
       } else {
-        return ""
+        return "";
       }
     },
-    mychiose(){
-        if(this.courseScheduleReview&&this.courseScheduleReview.courseReview){
-            return this.courseScheduleReview.courseReview
-        }else {
-            return ''
-        }
+    mychiose() {
+      if (this.courseScheduleReview && this.courseScheduleReview.courseReview) {
+        return this.courseScheduleReview.courseReview;
+      } else {
+        return "";
+      }
     }
   }
-}
+};
 </script>
 <style lang='scss' scoped>
 .wrap {
@@ -468,6 +499,6 @@ export default {
 }
 
 /deep/.el-tag {
-    cursor: pointer;
+  cursor: pointer;
 }
 </style>

+ 7 - 1
src/views/teamDetail/teamCourseList.vue

@@ -101,7 +101,13 @@
           </el-table-column>
           <el-table-column align="center" prop="groupName" label="乐团/VIP名"></el-table-column>
           <el-table-column align="center" prop="classGroupName" label="班级名称"></el-table-column>
-          <el-table-column align="center" prop="studentId" label="学生id"></el-table-column>
+          <el-table-column align="center" prop="studentId" label="学生id">
+            <template slot-scope="scope">
+              <div v-if="scope.row.groupType != 'MUSIC'">
+                {{scope.row.studentId}}
+              </div>
+            </template>
+          </el-table-column>
            <el-table-column align="center" prop="subjectName" label="声部"></el-table-column>
           <el-table-column align="center" prop="name" label="课程名称"></el-table-column>
           <el-table-column align="center" label="课程类型">

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels