Ver Fonte

提交异常提交

1
mo há 3 anos atrás
pai
commit
dcf41a028a
27 ficheiros alterados com 83 adições e 67 exclusões
  1. 1 1
      src/views/HumanResources/form.vue
  2. 2 2
      src/views/HumanResources/index.vue
  3. 2 2
      src/views/auditList/index.vue
  4. 1 1
      src/views/baseRulesClassSetting/practiceRules.vue
  5. 1 1
      src/views/buildVip/index.vue
  6. 0 1
      src/views/businessManager/orderManager/financeManager-taoqi.vue
  7. 1 1
      src/views/businessManager/orderManager/financeManager.vue
  8. 2 1
      src/views/businessManager/shopManager/purchase-llist.vue
  9. 1 1
      src/views/businessManager/shopManager/shopList.vue
  10. 1 1
      src/views/categroyManager/insideSetting/staffManager.vue
  11. 1 1
      src/views/categroyManager/insideSetting/staffPlatManager.vue
  12. 15 8
      src/views/categroyManager/specialSetup/chargesList.vue
  13. 32 23
      src/views/categroyManager/specialSetup/musicCourseFee.vue
  14. 1 1
      src/views/resetTeaming/components/resetPayList.vue
  15. 3 3
      src/views/resetTeaming/components/resetPayListSchool.vue
  16. 1 2
      src/views/resetTeaming/components/strudentPayInfo.vue
  17. 2 1
      src/views/returnVisitManager/returnVisitList.vue
  18. 0 1
      src/views/serverDetail/index.vue
  19. 2 2
      src/views/teamBuild/forecastName.vue
  20. 1 1
      src/views/teamBuild/initiationList.vue
  21. 3 3
      src/views/teamBuild/signupList.vue
  22. 1 1
      src/views/teamDetail/componentCourse/compoundClass.vue
  23. 1 1
      src/views/teamDetail/components/modals/class-pay-list-item.vue
  24. 1 1
      src/views/teamDetail/components/modals/classList-item.vue
  25. 1 1
      src/views/teamDetail/components/modals/member-class-setting.vue
  26. 4 3
      src/views/teamDetail/components/resetClass.vue
  27. 2 2
      src/views/teamDetail/components/studentList.vue

+ 1 - 1
src/views/HumanResources/form.vue

@@ -575,10 +575,10 @@
     <el-dialog
     <el-dialog
       title="新增沟通记录"
       title="新增沟通记录"
       :visible.sync="recordStatus"
       :visible.sync="recordStatus"
-      destroy-on-close
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       width="500px"
       width="500px"
       append-to-body
       append-to-body
+      v-if="recordStatus"
     >
     >
       <create-record
       <create-record
         v-if="recordStatus"
         v-if="recordStatus"

+ 2 - 2
src/views/HumanResources/index.vue

@@ -426,7 +426,7 @@
     <el-dialog
     <el-dialog
       :title="formTitle[formActionTitle]"
       :title="formTitle[formActionTitle]"
       :visible.sync="typeStatus"
       :visible.sync="typeStatus"
-      destroy-on-close
+      v-if="typeStatus"
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       @close="onFormClose('ruleForm')"
       @close="onFormClose('ruleForm')"
       width="1150px"
       width="1150px"
@@ -445,7 +445,7 @@
     <el-dialog
     <el-dialog
       title="查看学历信息"
       title="查看学历信息"
       :visible.sync="educationVisible"
       :visible.sync="educationVisible"
-      destroy-on-close
+      v-if="educationVisible"
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       @close="educationVisible = false"
       @close="educationVisible = false"
       width="600px"
       width="600px"

+ 2 - 2
src/views/auditList/index.vue

@@ -247,7 +247,7 @@
       title="申请详情"
       title="申请详情"
       width="900px"
       width="900px"
       :visible.sync="typeStatus"
       :visible.sync="typeStatus"
-      destroy-on-close
+      v-if="typeStatus"
     >
     >
       <review :detail="detail" @close="close" />
       <review :detail="detail" @close="close" />
     </el-dialog>
     </el-dialog>
@@ -255,7 +255,7 @@
       title="批量审核"
       title="批量审核"
       width="700px"
       width="700px"
       :visible.sync="typesStatus"
       :visible.sync="typesStatus"
-      destroy-on-close
+      v-if="typesStatus"
     >
     >
       <audit
       <audit
         :selList="selList"
         :selList="selList"

+ 1 - 1
src/views/baseRulesClassSetting/practiceRules.vue

@@ -96,8 +96,8 @@
     <emptyPage @submit="addPrice" title='网管课收费设置' btnTitle='新建网管课收费设置' :context='context' v-if="!(tableList.length>0 || pageInfo.page>1)&&contextFlag" />
     <emptyPage @submit="addPrice" title='网管课收费设置' btnTitle='新建网管课收费设置' :context='context' v-if="!(tableList.length>0 || pageInfo.page>1)&&contextFlag" />
     <el-dialog
     <el-dialog
       :title="activeRow ? '修改' : '新建'"
       :title="activeRow ? '修改' : '新建'"
-      destroy-on-close
       :visible.sync="newVisiable"
       :visible.sync="newVisiable"
+      v-if="newVisiable"
       width="600px"
       width="600px"
     >
     >
       <el-form :model="createForm" class="createForm" ref="ruleForm">
       <el-form :model="createForm" class="createForm" ref="ruleForm">

+ 1 - 1
src/views/buildVip/index.vue

@@ -556,7 +556,7 @@
       title="排课"
       title="排课"
       ref="maskForm"
       ref="maskForm"
       width="500px"
       width="500px"
-      destroy-on-close
+      v-if="dialogFormVisible"
       :visible.sync="dialogFormVisible"
       :visible.sync="dialogFormVisible"
     >
     >
       <el-form :model="maskForm" label-position="right" label-width="150px">
       <el-form :model="maskForm" label-position="right" label-width="150px">

+ 0 - 1
src/views/businessManager/orderManager/financeManager-taoqi.vue

@@ -388,7 +388,6 @@
 
 
       <el-dialog
       <el-dialog
         :title="isAdd ? '添加订单' : '查看'"
         :title="isAdd ? '添加订单' : '查看'"
-        destroy-on-close
         :visible.sync="routeOrderStatus"
         :visible.sync="routeOrderStatus"
         v-if="routeOrderStatus"
         v-if="routeOrderStatus"
         @close="onFormClose('ruleForm')"
         @close="onFormClose('ruleForm')"

+ 1 - 1
src/views/businessManager/orderManager/financeManager.vue

@@ -389,7 +389,7 @@
 
 
       <el-dialog
       <el-dialog
         :title="isAdd ? '添加订单' : '查看'"
         :title="isAdd ? '添加订单' : '查看'"
-        destroy-on-close
+        v-if="routeOrderStatus"
         :visible.sync="routeOrderStatus"
         :visible.sync="routeOrderStatus"
         @close="onFormClose('ruleForm')"
         @close="onFormClose('ruleForm')"
         width="600px"
         width="600px"

+ 2 - 1
src/views/businessManager/shopManager/purchase-llist.vue

@@ -105,7 +105,8 @@
                width="500px"
                width="500px"
                :visible.sync="editVisible"
                :visible.sync="editVisible"
                @close="editVisible = false"
                @close="editVisible = false"
-               destroy-on-close>
+               v-if="editVisible"
+               >
       <purchaseForm @submited="getList"
       <purchaseForm @submited="getList"
                     @close="closeEdit"
                     @close="closeEdit"
                     :goodsId="goodsId" />
                     :goodsId="goodsId" />

+ 1 - 1
src/views/businessManager/shopManager/shopList.vue

@@ -494,7 +494,7 @@
 
 
     <el-dialog
     <el-dialog
       :title="addString[addType] + '组合商品'"
       :title="addString[addType] + '组合商品'"
-      destroy-on-close
+      v-if="routeShopStatus"
       :visible.sync="routeShopStatus"
       :visible.sync="routeShopStatus"
       @close="onFormClose('ruleForm')"
       @close="onFormClose('ruleForm')"
       width="1000px"
       width="1000px"

+ 1 - 1
src/views/categroyManager/insideSetting/staffManager.vue

@@ -554,7 +554,7 @@
     <el-dialog
     <el-dialog
       title="教务交接"
       title="教务交接"
       width="400px"
       width="400px"
-      destroy-on-close
+    v-if="educationViseble"
       close-on-click-modal
       close-on-click-modal
       :visible.sync="educationViseble"
       :visible.sync="educationViseble"
     >
     >

+ 1 - 1
src/views/categroyManager/insideSetting/staffPlatManager.vue

@@ -498,8 +498,8 @@
     <el-dialog
     <el-dialog
       title="教务交接"
       title="教务交接"
       width="400px"
       width="400px"
-      destroy-on-close
       close-on-click-modal
       close-on-click-modal
+      v-if="educationViseble"
       :visible.sync="educationViseble"
       :visible.sync="educationViseble"
     >
     >
       <el-form :model="educationForm" :inline="true" ref="educationForm">
       <el-form :model="educationForm" :inline="true" ref="educationForm">

+ 15 - 8
src/views/categroyManager/specialSetup/chargesList.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div>
   <div>
     <!-- <h2>收费类型设置</h2> -->
     <!-- <h2>收费类型设置</h2> -->
-    <div v-if="(dataList.length > 0 || pageInfo.page > 1)&&contextFlag">
+    <div v-if="(dataList.length > 0 || pageInfo.page > 1) && contextFlag">
       <save-form
       <save-form
         :inline="true"
         :inline="true"
         @submit="search"
         @submit="search"
@@ -121,12 +121,18 @@
         />
         />
       </div>
       </div>
     </div>
     </div>
-     <emptyPage @submit="onChargeOperation('create')" title='乐团收费标准' btnTitle='新建乐团收费标准' :context='context' v-if="!(dataList.length > 0 || pageInfo.page > 1)&&contextFlag" />
+    <emptyPage
+      @submit="onChargeOperation('create')"
+      title="乐团收费标准"
+      btnTitle="新建乐团收费标准"
+      :context="context"
+      v-if="!(dataList.length > 0 || pageInfo.page > 1) && contextFlag"
+    />
     <el-dialog
     <el-dialog
       :title="formTitle[formActionTitle]"
       :title="formTitle[formActionTitle]"
       :visible.sync="chargeStatus"
       :visible.sync="chargeStatus"
       @close="closeModal"
       @close="closeModal"
-      destroy-on-close
+      v-if="chargeStatus"
       width="850px"
       width="850px"
     >
     >
       <chargesForm
       <chargesForm
@@ -153,12 +159,12 @@ import {
 } from "@/api/specialSetting";
 } from "@/api/specialSetting";
 import chargesForm from "./modals/chargesForm";
 import chargesForm from "./modals/chargesForm";
 import numeral from "numeral";
 import numeral from "numeral";
-import emptyPage from '@/components/emptyPage'
+import emptyPage from "@/components/emptyPage";
 export default {
 export default {
   components: {
   components: {
     pagination,
     pagination,
     chargesForm,
     chargesForm,
-    emptyPage
+    emptyPage,
   },
   },
   name: "chargesList",
   name: "chargesList",
   data() {
   data() {
@@ -203,8 +209,9 @@ export default {
         total: 0, // 总条数
         total: 0, // 总条数
         page_size: [10, 20, 40, 50], // 选择限制显示条数
         page_size: [10, 20, 40, 50], // 选择限制显示条数
       },
       },
-      context:'此处用于设置乐团训练的标准课程组合包,可根据不同分部不同的乐团模式创建不同的课程组合包及组合包的标准价格,创建完成后,在设置乐团报名、续费时可直接选择收费标准快速创建乐团课程缴费。',
-      contextFlag:false
+      context:
+        "此处用于设置乐团训练的标准课程组合包,可根据不同分部不同的乐团模式创建不同的课程组合包及组合包的标准价格,创建完成后,在设置乐团报名、续费时可直接选择收费标准快速创建乐团课程缴费。",
+      contextFlag: false,
     };
     };
   },
   },
   async mounted() {
   async mounted() {
@@ -326,7 +333,7 @@ export default {
         ...this.searchForm,
         ...this.searchForm,
       }).then((res) => {
       }).then((res) => {
         if (res.code == 200) {
         if (res.code == 200) {
-          this.contextFlag = true
+          this.contextFlag = true;
           this.dataList = res.data.rows;
           this.dataList = res.data.rows;
           this.pageInfo.total = res.data.total;
           this.pageInfo.total = res.data.total;
         }
         }

+ 32 - 23
src/views/categroyManager/specialSetup/musicCourseFee.vue

@@ -1,7 +1,7 @@
 <template>
 <template>
   <div>
   <div>
     <!-- <h2>折扣设置</h2> -->
     <!-- <h2>折扣设置</h2> -->
-    <div v-if="(tableList.length>0 || pageInfo.page>1)&&contextFlag">
+    <div v-if="(tableList.length > 0 || pageInfo.page > 1) && contextFlag">
       <save-form
       <save-form
         :inline="true"
         :inline="true"
         @submit="search"
         @submit="search"
@@ -31,7 +31,6 @@
             v-model="searchForm.courseScheduleType"
             v-model="searchForm.courseScheduleType"
             clearable
             clearable
             filterable
             filterable
-
           >
           >
             <el-option
             <el-option
               v-for="(item, index) in musicCourseType"
               v-for="(item, index) in musicCourseType"
@@ -109,11 +108,17 @@
         />
         />
       </div>
       </div>
     </div>
     </div>
- <emptyPage @submit="newVisiable = true" title='乐团课价格设置' btnTitle='新建乐团课价格设置' :context='context' v-if="!(tableList.length>0 || pageInfo.page>1)&&contextFlag" />
+    <emptyPage
+      @submit="newVisiable = true"
+      title="乐团课价格设置"
+      btnTitle="新建乐团课价格设置"
+      :context="context"
+      v-if="!(tableList.length > 0 || pageInfo.page > 1) && contextFlag"
+    />
     <el-dialog
     <el-dialog
       title="新建"
       title="新建"
-      destroy-on-close
       :visible.sync="newVisiable"
       :visible.sync="newVisiable"
+      v-if="newVisiable"
       width="600px"
       width="600px"
     >
     >
       <el-form :model="createForm" class="createForm" ref="ruleForm">
       <el-form :model="createForm" class="createForm" ref="ruleForm">
@@ -151,7 +156,7 @@
             filterable
             filterable
             placeholder="请选择课程类型"
             placeholder="请选择课程类型"
             @change="changeCourseScheduleType"
             @change="changeCourseScheduleType"
-             :disabled="!createForm.organId"
+            :disabled="!createForm.organId"
             clearable
             clearable
           >
           >
             <el-option
             <el-option
@@ -197,7 +202,7 @@
       title="修改"
       title="修改"
       :visible.sync="resetVisible"
       :visible.sync="resetVisible"
       width="500px"
       width="500px"
-      destroy-on-close
+      v-if="resetVisible"
     >
     >
       <el-form :model="resetForm" class="resetForm" ref="resetForm">
       <el-form :model="resetForm" class="resetForm" ref="resetForm">
         <el-form-item
         <el-form-item
@@ -277,7 +282,7 @@
 <script>
 <script>
 import pagination from "@/components/Pagination/index";
 import pagination from "@/components/Pagination/index";
 import { getEmployeeOrgan } from "@/api/buildTeam";
 import { getEmployeeOrgan } from "@/api/buildTeam";
-import emptyPage from '@/components/emptyPage'
+import emptyPage from "@/components/emptyPage";
 import {
 import {
   chargeTypeList,
   chargeTypeList,
   getOrganizationCourseUnitPriceSettings,
   getOrganizationCourseUnitPriceSettings,
@@ -290,7 +295,7 @@ import createDiscount from "./modals/create-discount";
 import { musicCourseType } from "@/utils/searchArray";
 import { musicCourseType } from "@/utils/searchArray";
 export default {
 export default {
   name: "typesManager",
   name: "typesManager",
-  components: { pagination, createDiscount,emptyPage },
+  components: { pagination, createDiscount, emptyPage },
   data() {
   data() {
     return {
     return {
       musicCourseType,
       musicCourseType,
@@ -323,8 +328,9 @@ export default {
       },
       },
       formLabelWidth: "120px",
       formLabelWidth: "120px",
       actvieRow: null,
       actvieRow: null,
-      context:'系统支持不同分部在不同的乐团模式中设置各课程类型的不同价格标准,该标准为具体课程类型每分钟的收费价格,在创建乐团课程组合包或乐团临时加课时,根据组合包中的课程时长或临时加课的课程时长计算应该向学员收费的标准费用。不以此标准价格创建学员缴费,则需要审核才可生效。',
-      contextFlag:false
+      context:
+        "系统支持不同分部在不同的乐团模式中设置各课程类型的不同价格标准,该标准为具体课程类型每分钟的收费价格,在创建乐团课程组合包或乐团临时加课时,根据组合包中的课程时长或临时加课的课程时长计算应该向学员收费的标准费用。不以此标准价格创建学员缴费,则需要审核才可生效。",
+      contextFlag: false,
     };
     };
   },
   },
   mounted() {
   mounted() {
@@ -335,7 +341,10 @@ export default {
       if (res.code == 200) {
       if (res.code == 200) {
         this.dataList = res.data.rows;
         this.dataList = res.data.rows;
         this.dataList.forEach((item) => {
         this.dataList.forEach((item) => {
-          this.$set(this.createForm.unitPriceJson, item.id, {price:null,id:null});
+          this.$set(this.createForm.unitPriceJson, item.id, {
+            price: null,
+            id: null,
+          });
         });
         });
         if (this.dataList.length <= 0) {
         if (this.dataList.length <= 0) {
           this.$bus.$emit("showguide", ["teamPayType"]);
           this.$bus.$emit("showguide", ["teamPayType"]);
@@ -377,7 +386,7 @@ export default {
         organId: this.searchForm.organId,
         organId: this.searchForm.organId,
         courseScheduleType: this.searchForm.courseScheduleType,
         courseScheduleType: this.searchForm.courseScheduleType,
       }).then((res) => {
       }).then((res) => {
-        this.contextFlag = true
+        this.contextFlag = true;
         let result = res.data;
         let result = res.data;
         this.tableList = result.rows;
         this.tableList = result.rows;
         this.pageInfo.total = result.total;
         this.pageInfo.total = result.total;
@@ -391,13 +400,13 @@ export default {
         for (const key in this.createForm.unitPriceJson) {
         for (const key in this.createForm.unitPriceJson) {
           if (this.createForm.unitPriceJson.hasOwnProperty(key)) {
           if (this.createForm.unitPriceJson.hasOwnProperty(key)) {
             const item = this.createForm.unitPriceJson[key].price;
             const item = this.createForm.unitPriceJson[key].price;
-            const id = this.createForm.unitPriceJson[key].id
+            const id = this.createForm.unitPriceJson[key].id;
             data.push({
             data.push({
               chargeTypeId: key,
               chargeTypeId: key,
               courseType: this.createForm.courseType,
               courseType: this.createForm.courseType,
               organId: this.createForm.organId,
               organId: this.createForm.organId,
               unitPrice: item,
               unitPrice: item,
-              id
+              id,
             });
             });
           }
           }
         }
         }
@@ -413,7 +422,10 @@ export default {
               unitPriceJson: {},
               unitPriceJson: {},
             };
             };
             this.dataList.forEach((item) => {
             this.dataList.forEach((item) => {
-              this.$set(this.createForm.unitPriceJson, item.id, {price:null,id:null});
+              this.$set(this.createForm.unitPriceJson, item.id, {
+                price: null,
+                id: null,
+              });
             });
             });
           } catch (error) {}
           } catch (error) {}
         }
         }
@@ -462,18 +474,16 @@ export default {
                     item.chargeTypeId
                     item.chargeTypeId
                   )
                   )
                 ) {
                 ) {
-                  this.$set(
-                    this.createForm.unitPriceJson,
-                    item.chargeTypeId,
-                    {price:item.unitPrice,id:item.id}
-                  );
+                  this.$set(this.createForm.unitPriceJson, item.chargeTypeId, {
+                    price: item.unitPrice,
+                    id: item.id,
+                  });
                 }
                 }
               });
               });
-               this.$forceUpdate();
+              this.$forceUpdate();
             } catch (e) {
             } catch (e) {
               console.log(e);
               console.log(e);
             }
             }
-
           }
           }
         });
         });
       }
       }
@@ -497,7 +507,6 @@ export default {
                   );
                   );
                 }
                 }
               });
               });
-
             } catch (e) {
             } catch (e) {
               console.log(e);
               console.log(e);
             }
             }

+ 1 - 1
src/views/resetTeaming/components/resetPayList.vue

@@ -409,7 +409,7 @@
       title="查看"
       title="查看"
       :visible.sync="reviewVisible"
       :visible.sync="reviewVisible"
       width="900px"
       width="900px"
-      destroy-on-close
+      v-if="reviewVisible"
     >
     >
       <reviewDetail
       <reviewDetail
         @close="reviewVisible = false"
         @close="reviewVisible = false"

+ 3 - 3
src/views/resetTeaming/components/resetPayListSchool.vue

@@ -410,14 +410,14 @@
       title="查看"
       title="查看"
       :visible.sync="reviewVisible"
       :visible.sync="reviewVisible"
       width="900px"
       width="900px"
-      destroy-on-close
+
+      v-if="reviewVisible"
     >
     >
       <reviewDetail
       <reviewDetail
         @close="reviewVisible = false"
         @close="reviewVisible = false"
         @submited="getList"
         @submited="getList"
         :detail="viewDetail"
         :detail="viewDetail"
         :musicGroupId="$route.query.id"
         :musicGroupId="$route.query.id"
-        destroy-on-close
       />
       />
       <div slot="footer" class="dialog-footer">
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="reviewVisible = false"
         <el-button type="primary" @click="reviewVisible = false"
@@ -447,7 +447,7 @@
     <el-dialog
     <el-dialog
       title="学员选择"
       title="学员选择"
       :visible.sync="chioseStudentVisible"
       :visible.sync="chioseStudentVisible"
-      destroy-on-close
+      v-if="chioseStudentVisible"
       append-to-body
       append-to-body
       width="800px"
       width="800px"
     >
     >

+ 1 - 2
src/views/resetTeaming/components/strudentPayInfo.vue

@@ -497,13 +497,12 @@
         <el-button type="primary" @click="submitAddStudent">确 定</el-button>
         <el-button type="primary" @click="submitAddStudent">确 定</el-button>
       </div>
       </div>
     </el-dialog>
     </el-dialog>
-    <el-dialog width="900px" title="查看缴费详情" :visible.sync="detailVisible">
+    <el-dialog width="900px" title="查看缴费详情" :visible.sync="detailVisible" v-if="detailVisible">
       <reviewDetail
       <reviewDetail
         @close="detailVisible = false"
         @close="detailVisible = false"
         @submited="getList"
         @submited="getList"
         :detail="{ id: $route.query.paymentId }"
         :detail="{ id: $route.query.paymentId }"
         :musicGroupId="$route.query.id"
         :musicGroupId="$route.query.id"
-        destroy-on-close
       />
       />
       <div slot="footer" class="dialog-footer">
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="detailVisible = false"
         <el-button type="primary" @click="detailVisible = false"

+ 2 - 1
src/views/returnVisitManager/returnVisitList.vue

@@ -142,7 +142,8 @@
     <el-dialog
     <el-dialog
       title="回访详情"
       title="回访详情"
       width="700px"
       width="700px"
-      destroy-on-close
+
+      v-if="detailVisible"
       :visible.sync="detailVisible"
       :visible.sync="detailVisible"
     >
     >
       <descriptions :column="2" v-if="activeRow" class="returnDialog">
       <descriptions :column="2" v-if="activeRow" class="returnDialog">

+ 0 - 1
src/views/serverDetail/index.vue

@@ -314,7 +314,6 @@
       </div>
       </div>
       <el-dialog
       <el-dialog
         title="查看"
         title="查看"
-        destroy-on-close
         :close-on-click-modal="false"
         :close-on-click-modal="false"
         :visible.sync="lookVisible"
         :visible.sync="lookVisible"
         v-if="lookVisible"
         v-if="lookVisible"

+ 2 - 2
src/views/teamBuild/forecastName.vue

@@ -349,7 +349,7 @@
     <el-dialog
     <el-dialog
       title="新增回访"
       title="新增回访"
       width="600px"
       width="600px"
-      destroy-on-close
+       v-if="visitVisible"
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       :visible.sync="visitVisible"
       :visible.sync="visitVisible"
     >
     >
@@ -365,9 +365,9 @@
     <el-dialog
     <el-dialog
       title="意向统计"
       title="意向统计"
       width="600px"
       width="600px"
-      destroy-on-close
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       :visible.sync="subjectVisible"
       :visible.sync="subjectVisible"
+      v-if="subjectVisible"
     >
     >
       <intention-model v-if="subjectVisible" @close="subjectVisible = false" />
       <intention-model v-if="subjectVisible" @close="subjectVisible = false" />
     </el-dialog>
     </el-dialog>

+ 1 - 1
src/views/teamBuild/initiationList.vue

@@ -247,9 +247,9 @@
     <el-dialog
     <el-dialog
       title="启蒙课统计"
       title="启蒙课统计"
       width="600px"
       width="600px"
-      destroy-on-close
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       :visible.sync="subjectVisible"
       :visible.sync="subjectVisible"
+      v-if="subjectVisible"
     >
     >
       <intention-model v-if="subjectVisible" @close="subjectVisible = false" />
       <intention-model v-if="subjectVisible" @close="subjectVisible = false" />
     </el-dialog>
     </el-dialog>

+ 3 - 3
src/views/teamBuild/signupList.vue

@@ -902,7 +902,7 @@
     <el-dialog
     <el-dialog
       :title="!isPay ? '延长报名' : '延长缴费'"
       :title="!isPay ? '延长报名' : '延长缴费'"
       :visible.sync="extendPaymentStatus"
       :visible.sync="extendPaymentStatus"
-      destroy-on-close
+      v-if="extendPaymentStatus"
       width="400px"
       width="400px"
     >
     >
       <el-form :model="extendForm" ref="extendForm" :rules="extendRule">
       <el-form :model="extendForm" ref="extendForm" :rules="extendRule">
@@ -973,7 +973,7 @@
       title="开始缴费"
       title="开始缴费"
       :visible.sync="paymentStatus"
       :visible.sync="paymentStatus"
       width="400px"
       width="400px"
-      destroy-on-close
+     v-if="paymentStatus"
     >
     >
       <el-form
       <el-form
         ref="paymentForm"
         ref="paymentForm"
@@ -1044,7 +1044,7 @@
     <el-dialog
     <el-dialog
       title="新增回访"
       title="新增回访"
       width="500px"
       width="500px"
-      destroy-on-close
+      v-if="visitVisiable"
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       :visible.sync="visitVisiable"
       :visible.sync="visitVisiable"
     >
     >

+ 1 - 1
src/views/teamDetail/componentCourse/compoundClass.vue

@@ -221,7 +221,7 @@
       width="650px"
       width="650px"
       append-to-body
       append-to-body
       :visible.sync="studentListModalVisible"
       :visible.sync="studentListModalVisible"
-      destroy-on-close
+      v-if="studentListModalVisible"
     >
     >
       <viewStudentList
       <viewStudentList
         :list="studentListModal"
         :list="studentListModal"

+ 1 - 1
src/views/teamDetail/components/modals/class-pay-list-item.vue

@@ -79,7 +79,7 @@
       width="700px"
       width="700px"
       :visible.sync="studentListModalVisible"
       :visible.sync="studentListModalVisible"
       append-to-body
       append-to-body
-      destroy-on-close
+      v-if="studentListModalVisible"
     >
     >
       <viewStudentList
       <viewStudentList
         :list="item.studentList"
         :list="item.studentList"

+ 1 - 1
src/views/teamDetail/components/modals/classList-item.vue

@@ -65,7 +65,7 @@
       width="700px"
       width="700px"
       :visible.sync="studentListModalVisible"
       :visible.sync="studentListModalVisible"
       append-to-body
       append-to-body
-      destroy-on-close
+      v-if="studentListModalVisible"
     >
     >
       <viewStudentList
       <viewStudentList
         :list="studentList"
         :list="studentList"

+ 1 - 1
src/views/teamDetail/components/modals/member-class-setting.vue

@@ -91,7 +91,7 @@
       width="700px"
       width="700px"
       :visible.sync="studentListModalVisible"
       :visible.sync="studentListModalVisible"
       append-to-body
       append-to-body
-      destroy-on-close
+      v-if="studentListModalVisible"
     >
     >
       <viewStudentList
       <viewStudentList
         :list="studentList"
         :list="studentList"

+ 4 - 3
src/views/teamDetail/components/resetClass.vue

@@ -263,7 +263,8 @@
       title="老师调整"
       title="老师调整"
       width="750px"
       width="750px"
       :visible.sync="teacherVisible"
       :visible.sync="teacherVisible"
-      destroy-on-close
+
+      v-if="teacherVisible"
     >
     >
       <changeTeacher
       <changeTeacher
         v-if="teacherVisible && teacherDetail"
         v-if="teacherVisible && teacherDetail"
@@ -281,7 +282,7 @@
       :title="isOnlyChangeUser ? '学员调整' : '新建班级'"
       :title="isOnlyChangeUser ? '学员调整' : '新建班级'"
       width="750px"
       width="750px"
       :visible.sync="studentVisible"
       :visible.sync="studentVisible"
-      destroy-on-close
+      v-if="studentVisible"
     >
     >
       <selectStudent
       <selectStudent
         :activeListStudent="activeListStudent"
         :activeListStudent="activeListStudent"
@@ -631,7 +632,7 @@
     <el-dialog
     <el-dialog
       title="学员列表"
       title="学员列表"
       :visible.sync="studentListModalVisible"
       :visible.sync="studentListModalVisible"
-      destroy-on-close
+      v-if="studentListModalVisible"
     >
     >
       <viewStudentList
       <viewStudentList
         :list="studentListModal"
         :list="studentListModal"

+ 2 - 2
src/views/teamDetail/components/studentList.vue

@@ -853,9 +853,9 @@
     <el-dialog
     <el-dialog
       title="新增回访"
       title="新增回访"
       width="500px"
       width="500px"
-      destroy-on-close
       :close-on-click-modal="false"
       :close-on-click-modal="false"
       :visible.sync="visitVisiable"
       :visible.sync="visitVisiable"
+      v-if="visitVisiable"
     >
     >
       <visit
       <visit
         v-if="visitVisiable && detail"
         v-if="visitVisiable && detail"
@@ -866,7 +866,7 @@
     </el-dialog>
     </el-dialog>
     <el-dialog
     <el-dialog
       title="选择班级"
       title="选择班级"
-      destroy-on-close
+      v-if="createUserPayVisible"
       width="830px"
       width="830px"
       :visible.sync="createUserPayVisible"
       :visible.sync="createUserPayVisible"
     >
     >