wolyshaw 4 năm trước cách đây
mục cha
commit
3350426129
53 tập tin đã thay đổi với 160 bổ sung26 xóa
  1. 0 0
      dist/index.html
  2. 1 0
      dist/static/css/chunk-1851af68.a56c9b49.css
  3. 0 0
      dist/static/css/chunk-3498618d.8f37548e.css
  4. 0 0
      dist/static/css/chunk-453eaa74.4f4fbaeb.css
  5. 0 0
      dist/static/css/chunk-7ab8a073.8b965ef4.css
  6. 0 0
      dist/static/css/chunk-a3906c32.0c9433fb.css
  7. 0 0
      dist/static/css/chunk-c54c3800.06cf64cd.css
  8. 0 0
      dist/static/js/app.94492f8f.js
  9. 0 0
      dist/static/js/chunk-0174893d.27a9783e.js
  10. 0 0
      dist/static/js/chunk-05ffe0fa.a2955258.js
  11. 0 0
      dist/static/js/chunk-0a7f29ae.1ee4bc3c.js
  12. 0 0
      dist/static/js/chunk-1815843d.e773a150.js
  13. 0 0
      dist/static/js/chunk-1851af68.8a102e27.js
  14. 0 0
      dist/static/js/chunk-1ee4ba0a.0d90a0ed.js
  15. 0 0
      dist/static/js/chunk-2138c99a.ca45a28a.js
  16. 0 0
      dist/static/js/chunk-2ba1af38.27631967.js
  17. 0 0
      dist/static/js/chunk-2ed70ae6.148e41b2.js
  18. 0 0
      dist/static/js/chunk-2f7453d4.f5ed7e3d.js
  19. 0 0
      dist/static/js/chunk-3498618d.003027cc.js
  20. 0 0
      dist/static/js/chunk-38a32091.822a8db6.js
  21. 0 0
      dist/static/js/chunk-38d0e891.8a6b861f.js
  22. 0 0
      dist/static/js/chunk-3be84a5c.79c13a17.js
  23. 0 0
      dist/static/js/chunk-453eaa74.8a437cbb.js
  24. 0 0
      dist/static/js/chunk-457658a9.ae59fe78.js
  25. 0 0
      dist/static/js/chunk-466448b1.5005dcd2.js
  26. 0 0
      dist/static/js/chunk-54c0711a.b4ed9785.js
  27. 0 0
      dist/static/js/chunk-5f5ffb00.b70c6b08.js
  28. 0 0
      dist/static/js/chunk-64749b76.ee7bb341.js
  29. 0 0
      dist/static/js/chunk-6578dcfe.40ad178c.js
  30. 0 0
      dist/static/js/chunk-6c1f1cfb.9fb63175.js
  31. 0 0
      dist/static/js/chunk-6c31664d.4063625f.js
  32. 0 0
      dist/static/js/chunk-6c520f7e.6d88935c.js
  33. 0 0
      dist/static/js/chunk-71820c9a.e52e9e84.js
  34. 0 0
      dist/static/js/chunk-739fed81.7e5bf264.js
  35. 0 0
      dist/static/js/chunk-750a728a.9a372d9a.js
  36. 0 0
      dist/static/js/chunk-76fe77e0.e7497f4c.js
  37. 0 0
      dist/static/js/chunk-78cdb885.fe99acd1.js
  38. 0 0
      dist/static/js/chunk-7ab8a073.c5ac2d59.js
  39. 0 0
      dist/static/js/chunk-8533a718.c2d3f87e.js
  40. 0 0
      dist/static/js/chunk-88027f02.19e14d4f.js
  41. 0 0
      dist/static/js/chunk-a3906c32.dab6df6a.js
  42. 0 0
      dist/static/js/chunk-b5ac83b4.aaa45e86.js
  43. 0 0
      dist/static/js/chunk-c54c3800.4c9b6e9f.js
  44. 0 0
      dist/static/js/chunk-c7f5974e.92615e21.js
  45. 0 0
      dist/static/js/chunk-e6c3ed9c.58c77bf0.js
  46. 0 0
      dist/static/js/chunk-f4a6e8b2.471079e3.js
  47. 0 0
      dist/static/js/chunk-fb41c584.4e7c8cfc.js
  48. 10 4
      src/components/statistic/index.vue
  49. 7 0
      src/views/resetTeaming/api.js
  50. 55 17
      src/views/resetTeaming/components/strudentPayInfo.vue
  51. 22 4
      src/views/resetTeaming/modals/pay-items.vue
  52. 49 0
      src/views/teamDetail/components/modals/school-location.vue
  53. 16 1
      src/views/teamDetail/teamCourseList.vue

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/index.html


+ 1 - 0
dist/static/css/chunk-1851af68.a56c9b49.css

@@ -0,0 +1 @@
+.number-input[data-v-5d883a23]{width:100%}.number-input[data-v-3c7aa9aa] .el-input__inner,.number-input[data-v-5d883a23] .el-input__inner{text-align:left}

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-3498618d.8f37548e.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-453eaa74.4f4fbaeb.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-7ab8a073.8b965ef4.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-a3906c32.0c9433fb.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/css/chunk-c54c3800.06cf64cd.css


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/app.94492f8f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-0174893d.27a9783e.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-05ffe0fa.a2955258.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-0a7f29ae.1ee4bc3c.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-1815843d.e773a150.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-1851af68.8a102e27.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-1ee4ba0a.0d90a0ed.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-2138c99a.ca45a28a.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-2ba1af38.27631967.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-2ed70ae6.148e41b2.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-2f7453d4.f5ed7e3d.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-3498618d.003027cc.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-38a32091.822a8db6.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-38d0e891.8a6b861f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-3be84a5c.79c13a17.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-453eaa74.8a437cbb.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-457658a9.ae59fe78.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-466448b1.5005dcd2.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-54c0711a.b4ed9785.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-5f5ffb00.b70c6b08.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-64749b76.ee7bb341.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-6578dcfe.40ad178c.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-6c1f1cfb.9fb63175.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-6c31664d.4063625f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-6c520f7e.6d88935c.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-71820c9a.e52e9e84.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-739fed81.7e5bf264.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-750a728a.9a372d9a.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-76fe77e0.e7497f4c.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-78cdb885.fe99acd1.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-7ab8a073.c5ac2d59.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-8533a718.c2d3f87e.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-88027f02.19e14d4f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-a3906c32.dab6df6a.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-b5ac83b4.aaa45e86.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-c54c3800.4c9b6e9f.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-c7f5974e.92615e21.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-e6c3ed9c.58c77bf0.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-f4a6e8b2.471079e3.js


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
dist/static/js/chunk-fb41c584.4e7c8cfc.js


+ 10 - 4
src/components/statistic/index.vue

@@ -1,7 +1,7 @@
 <template>
-  <el-row class="statistic">
+  <el-row :gutter="cols" class="statistic">
     <div v-for="(item, index) in tags" :key="index">
-      <el-col :span="(index + 1) % col === 0 ? colSpan : colSpan - 1">
+      <el-col :span="span ? span : (index + 1) % col === 0 ? colSpan : colSpan - 1">
         <statistic-content :item="item"></statistic-content>
       </el-col>
       <el-col :key="index" :span="1" v-if="(index + 1) % col !== 0 && (index + 1) < tags.length">
@@ -14,9 +14,16 @@
 export default {
   name: 'statistic',
   props: {
+    cols: {
+      type: Number,
+      default: 24
+    },
     col: {
       type: Number,
       default: 4
+    },
+    span: {
+      type: Number,
     }
   },
   components: {
@@ -26,7 +33,6 @@ export default {
         item: Object
       },
       render(h) {
-        console.log(this.item.children)
         return (
           <div class="statistic-content">
             {this.item.children}
@@ -37,7 +43,7 @@ export default {
   },
   computed: {
     colSpan() {
-      return 24 / this.col
+      return this.cols / this.col
     },
   },
   data() {

+ 7 - 0
src/views/resetTeaming/api.js

@@ -40,6 +40,13 @@ export const musicGroupPaymentCalenderDetailBatchUpdate = data => request2({
   method: 'post',
 })
 
+// musicGroupPaymentCalender/update
+export const musicGroupPaymentCalenderDetailDel = data => request2({
+  url: '/api-web/musicGroupPaymentCalender/del',
+  params: data,
+  method: 'post',
+})
+
 export const queryByMusicGroupOrganizationCourseSettingsId = data => request2({
   url: '/api-web/musicGroupOrganizationCourseSettingsDetail/queryByMusicGroupOrganizationCourseSettingsId',
   data: {},

+ 55 - 17
src/views/resetTeaming/components/strudentPayInfo.vue

@@ -11,7 +11,45 @@
             actualNum: res.data.calender.actualNum,
             sumActualAmount: res.data.sumActualAmount
           } -->
-    <div class="infoMsg">
+          <statistic :span="4" :col="5">
+            <statistic-item>
+              <span>状态</span>
+              <span>
+                <p class="status"
+                  style="color: #ff6a6a"
+                  v-if="info.paymentStatus == 'OPEN'">
+                  {{ "已开启" }}
+                </p>
+                <p class="status"
+                  style="color: #ff6a6a"
+                  v-if="info.paymentStatus == 'NO'">
+                  {{ "未开始" }}
+                </p>
+                <p class="status"
+                  style="color: #5ccdb8"
+                  v-if="info.paymentStatus == 'OVER'">
+                  {{ "已结束" }}
+                </p>
+              </span>
+            </statistic-item>
+            <statistic-item>
+              <span>预计缴费日期</span>
+              <span style="font-size: 16px">{{ info.startPaymentDate | formatTimer }} ~ {{ info.deadlinePaymentDate | formatTimer }}</span>
+            </statistic-item>
+            <statistic-item>
+              <span>预计缴费人数</span>
+              <span>{{ info.expectNum ? info.expectNum : 0 }}</span>
+            </statistic-item>
+            <statistic-item>
+              <span>实际缴费人数</span>
+              <span>{{ info.actualNum ? info.actualNum : 0 }}</span>
+            </statistic-item>
+            <statistic-item>
+              <span>收款金额</span>
+              <span>{{ info.sumActualAmount ? info.sumActualAmount : 0 }}</span>
+            </statistic-item>
+          </statistic>
+    <!-- <div class="infoMsg">
       <div class="left">
         <p class="title">状态</p>
 
@@ -55,7 +93,7 @@
           </p>
         </div>
       </div>
-    </div>
+    </div> -->
 
     <div class="m-core">
       <el-form :inline="true"
@@ -135,7 +173,7 @@
           v-permission="'musicGroupPaymentCalenderDetail/add'"
         >
           新增学员
-        </div>
+        </div> -->
         <div
           class="newBand"
           @click="delStudentBtn"
@@ -143,7 +181,7 @@
           v-permission="'musicGroupPaymentCalenderDetail/batchDel'"
         >
           删除学员
-        </div> -->
+        </div>
         <div class="newBand"
              v-permission="'export/musicGroupPaymentCalenderDetail'"
              @click="onMusicGroupPaymentCalenderDetail">
@@ -490,19 +528,19 @@ export default {
             calenderSettingsName: res.data.calenderSettingsName,
           };
           this.msgList = res.data.musicGroupPaymentCalenderCourseSettings
-          this.searchForm.id = this.id;
-          this.searchForm.page = this.rules.page;
-          this.searchForm.rows = this.rules.limit;
-          getmusicGroupPaymentCalenderDetail(this.searchForm).then(
-            (payment) => {
-              if (payment.code == 200) {
-                this.rules.total = payment.data.total;
-                this.tableList = payment.data.rows;
-              }
-            }
-          );
         }
       });
+      this.searchForm.id = this.id;
+      this.searchForm.page = this.rules.page;
+      this.searchForm.rows = this.rules.limit;
+      getmusicGroupPaymentCalenderDetail(this.searchForm).then(
+        (payment) => {
+          if (payment.code == 200) {
+            this.rules.total = payment.data.total;
+            this.tableList = payment.data.rows;
+          }
+        }
+      );
     },
     search () {
       this.rules.page = 1;
@@ -605,13 +643,13 @@ export default {
         type: "warning",
       })
         .then(() => {
-          let musicGroupPaymentCalenderIds = this.activeChiose
+          let musicGroupPaymentCalenderDetailIds = this.activeChiose
             .map((stu) => {
               return stu.id;
             })
             .join(",");
           delMusicGroupPaymentCalenderStudent({
-            musicGroupPaymentCalenderIds,
+            musicGroupPaymentCalenderDetailIds,
           }).then((res) => {
             if (res.code == 200) {
               this.$message.success(`删除成功`);

+ 22 - 4
src/views/resetTeaming/modals/pay-items.vue

@@ -20,7 +20,7 @@
           </div>
         </template>
       </el-table-column>
-      <el-table-column align="center" prop="status" label="缴费状态">
+      <el-table-column align="center" prop="status" width="120" label="缴费状态">
         <template slot-scope="scope">
           <div>
             {{ scope.row.status | payTypeStatus }}
@@ -57,12 +57,12 @@
           </div>
         </template>
       </el-table-column>
-      <el-table-column align="center" prop="memo" label="备注" width="200">
+      <el-table-column align="center" prop="memo" label="备注" width="200" class-name="table-btns">
         <template slot-scope="scope">
-          <overflow-text :text="scope.row.memo" width="200px"></overflow-text>
+          <overflow-text :text="scope.row.memo"></overflow-text>
         </template>
       </el-table-column>
-      <el-table-column label="操作" fixed="right" min-width="220px">
+      <el-table-column label="操作" fixed="right" width="200">
         <template slot-scope="scope">
           <div>
             <el-button
@@ -105,6 +105,10 @@
                          v-if="$listeners.onPreview && payUserType === 'STUDENT'"
                          v-permission="'musicGroup/findMusicGroupSubjectInfo/966'"
                          @click="$listeners.onPreview(scope.row)">预览</el-button>
+            <el-button type="text"
+                       v-if="removeIsShow(scope.row)"
+                       v-permission="'musicGroupPaymentCalender/del'"
+                       @click="remove(scope.row)">删除</el-button>
             <!-- <el-button type="text" v-if="!isNewGropu" @click="onCreateQRCode(scope.row)">续费二维码</el-button> -->
           </div>
         </template>
@@ -123,6 +127,7 @@
 </template>
 <script>
 import { addMusicGroupPaymentCalender, getMusicGroupPaymentCalender, resetMusicGroupPaymentCalender, delMusicGroupPaymentCalender, findMusicGroupSubjectInfo } from "@/api/buildTeam";
+import { musicGroupPaymentCalenderDetailDel } from '../api'
 import loading from '@/utils/loading'
 import pagination from "@/components/Pagination/index";
 export default {
@@ -161,6 +166,19 @@ export default {
       this.$nextTick(() => {
           this.$listeners.lookDetail(row)
       })
+    },
+    removeIsShow(row) {
+      return row.status === 'REJECT' || row.status === 'NO'
+    },
+    async remove (row) {
+      try {
+        await this.$confirm('是否删除缴费', '提示', {
+          type: 'warning',
+        })
+        await musicGroupPaymentCalenderDetailDel({id: row.id})
+        this.$message.success('删除成功')
+        this.getList()
+      } catch (error) {}
     }
   }
 };

+ 49 - 0
src/views/teamDetail/components/modals/school-location.vue

@@ -0,0 +1,49 @@
+<template>
+  <el-amap
+    :zoom="14"
+    ref="map"
+    vid="amapDemo"
+    style="height: 300px;"
+    :amap-manager="amapManager"
+    :center="center"
+    class="amap-demo"
+  >
+    <el-amap-marker
+      :position="center"
+      title="教学点"
+    ></el-amap-marker>
+    <el-amap-text
+      :text="address"
+      :position="center"
+      :offset="[0, 20]"
+    ></el-amap-text>
+  </el-amap>
+</template>
+<script>
+import VueAMap from "vue-amap";
+let amapManager = new VueAMap.AMapManager();
+VueAMap.initAMapApiLoader({
+  key: "b1e6ac2eb28902ce91a490edf194e000",
+  plugin: [
+    "Autocomplete",
+    "PlaceSearch",
+    "Scale",
+    "OverView",
+    "ToolBar",
+    "MapType",
+    "PolyEditor",
+    "AMap.CircleEditor",
+  ],
+  v: "1.4.4",
+});
+export default {
+  props: ['longitudeLatitude', 'address'],
+  data() {
+    console.log(this.address)
+    return {
+      amapManager,
+      center: (this.longitudeLatitude || '').split(',')
+    }
+  }
+};
+</script>

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

@@ -361,6 +361,12 @@
             </el-tooltip>
           </div>
         </el-form-item>
+        <el-form-item v-if="maskForm.school" label="教学点">
+          {{ maskForm.school.name }}
+          <el-tooltip content="查看教学点" :open-delay=".5">
+            <i @click="openLocation(maskForm.school)" class="el-icon-map-location" style="cursor: pointer;"></i>
+          </el-tooltip>
+        </el-form-item>
 
       </el-form>
       <!--  v-if="maskForm.status != 'NOT_START'" -->
@@ -420,6 +426,9 @@
                   @getList='getList'
                   :id='id' />
     </el-dialog>
+    <el-dialog title="查看教学点" :visible.sync="locationVisible">
+      <school-location v-if="maskForm.school" :longitudeLatitude="maskForm.school.longitudeLatitude" :address="maskForm.school.address"/>
+    </el-dialog>
     <addCompound :compoundList='compoundList' v-if="permission('courseSchedule/courseMerge')"
                  @clearCom='clearCom'
                  @getList='getList'
@@ -448,6 +457,7 @@ import { permission } from "@/utils/directivePage";
 import axios from "axios";
 import { getToken } from "@/utils/auth";
 import load from "@/utils/loading";
+import SchoolLocation from './components/modals/school-location'
 import resetClass from './componentCourse/resetClass'
 import teacherList from './componentCourse/teacherList'
 import addCompound from './componentCourse/addCompound'
@@ -481,6 +491,7 @@ export default {
       classVisible: false,
       timerVisible: false,
       courseVisible: false,
+      locationVisible: false,
       courseType: courseType,
       mergeCourseType,
       courseListType: courseListType,
@@ -513,7 +524,8 @@ export default {
     resetClass,
     teacherList,
     addCompound,
-    infoMsg
+    infoMsg,
+    SchoolLocation
   },
   activated () {
     this.init();
@@ -587,6 +599,9 @@ export default {
         ...getTimes(timer, ['startTime', 'endTime']),
       }
     },
+    openLocation(school) {
+      this.locationVisible = true
+    },
     onCourseExport () {
       // 课表导出
       let url = "/api-web/export/superFindCourseSchedules";

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác