|  | @@ -9,7 +9,10 @@
 | 
											
												
													
														|  |          </p> -->
 |  |          </p> -->
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <div class="btnList">
 |  |      <div class="btnList">
 | 
											
												
													
														|  | -      <auth :auths="['musicGroup/sendParentMeetingNotice']" v-if="isedit || $route.query.team_status=='DRAFT'">
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <auth
 | 
											
												
													
														|  | 
 |  | +        :auths="['musicGroup/sendParentMeetingNotice']"
 | 
											
												
													
														|  | 
 |  | +        v-if="isedit || $route.query.team_status == 'DRAFT'"
 | 
											
												
													
														|  | 
 |  | +      >
 | 
											
												
													
														|  |          <el-button type="primary" @click="extendPaymentStatus = true"
 |  |          <el-button type="primary" @click="extendPaymentStatus = true"
 | 
											
												
													
														|  |            >预报名家长会通知</el-button
 |  |            >预报名家长会通知</el-button
 | 
											
												
													
														|  |          >
 |  |          >
 | 
											
										
											
												
													
														|  | @@ -58,8 +61,8 @@
 | 
											
												
													
														|  |            <el-input
 |  |            <el-input
 | 
											
												
													
														|  |              v-model.trim="searchForm.name"
 |  |              v-model.trim="searchForm.name"
 | 
											
												
													
														|  |              clearable
 |  |              clearable
 | 
											
												
													
														|  | -                @keyup.enter.native="
 |  | 
 | 
											
												
													
														|  | -              (e) => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +            @keyup.enter.native="
 | 
											
												
													
														|  | 
 |  | +              e => {
 | 
											
												
													
														|  |                  e.target.blur();
 |  |                  e.target.blur();
 | 
											
												
													
														|  |                  $refs.searchForm.save();
 |  |                  $refs.searchForm.save();
 | 
											
												
													
														|  |                  search();
 |  |                  search();
 | 
											
										
											
												
													
														|  | @@ -355,7 +358,7 @@
 | 
											
												
													
														|  |      <el-dialog
 |  |      <el-dialog
 | 
											
												
													
														|  |        title="新增回访"
 |  |        title="新增回访"
 | 
											
												
													
														|  |        width="760px"
 |  |        width="760px"
 | 
											
												
													
														|  | -       v-if="visitVisible"
 |  | 
 | 
											
												
													
														|  | 
 |  | +      v-if="visitVisible"
 | 
											
												
													
														|  |        :close-on-click-modal="false"
 |  |        :close-on-click-modal="false"
 | 
											
												
													
														|  |        :visible.sync="visitVisible"
 |  |        :visible.sync="visitVisible"
 | 
											
												
													
														|  |      >
 |  |      >
 | 
											
										
											
												
													
														|  | @@ -396,6 +399,7 @@
 | 
											
												
													
														|  |  </template>
 |  |  </template>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  <script>
 |  |  <script>
 | 
											
												
													
														|  | 
 |  | +import { getMusicGroupAddr } from "../teamDetail/api";
 | 
											
												
													
														|  |  import pagination from "@/components/Pagination/index";
 |  |  import pagination from "@/components/Pagination/index";
 | 
											
												
													
														|  |  import qrCode from "@/components/QrCode/index";
 |  |  import qrCode from "@/components/QrCode/index";
 | 
											
												
													
														|  |  import { permission } from "@/utils/directivePage";
 |  |  import { permission } from "@/utils/directivePage";
 | 
											
										
											
												
													
														|  | @@ -403,16 +407,22 @@ import { vaildStudentUrl, vaildTeachingUrl } from "@/utils/validate";
 | 
											
												
													
														|  |  import { Export } from "@/utils/downLoadFile";
 |  |  import { Export } from "@/utils/downLoadFile";
 | 
											
												
													
														|  |  import visitModel from "@/views/withdrawal-application/modals/visit";
 |  |  import visitModel from "@/views/withdrawal-application/modals/visit";
 | 
											
												
													
														|  |  import intentionModel from "./modals/intention";
 |  |  import intentionModel from "./modals/intention";
 | 
											
												
													
														|  | -import parentsMeeting from './modals/parentsMeeting'
 |  | 
 | 
											
												
													
														|  | 
 |  | +import parentsMeeting from "./modals/parentsMeeting";
 | 
											
												
													
														|  |  import {
 |  |  import {
 | 
											
												
													
														|  |    queryPreApplyList,
 |  |    queryPreApplyList,
 | 
											
												
													
														|  |    finishPreApply,
 |  |    finishPreApply,
 | 
											
												
													
														|  |    sendParentMeetingNotice,
 |  |    sendParentMeetingNotice,
 | 
											
												
													
														|  | -  getSysMessageConfig,
 |  | 
 | 
											
												
													
														|  | 
 |  | +  getSysMessageConfig
 | 
											
												
													
														|  |  } from "./api";
 |  |  } from "./api";
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: "forecastName",
 |  |    name: "forecastName",
 | 
											
												
													
														|  | -  components: { pagination, qrCode, visitModel, intentionModel,parentsMeeting },
 |  | 
 | 
											
												
													
														|  | 
 |  | +  components: {
 | 
											
												
													
														|  | 
 |  | +    pagination,
 | 
											
												
													
														|  | 
 |  | +    qrCode,
 | 
											
												
													
														|  | 
 |  | +    visitModel,
 | 
											
												
													
														|  | 
 |  | +    intentionModel,
 | 
											
												
													
														|  | 
 |  | +    parentsMeeting
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  |    props: ["isedit"],
 |  |    props: ["isedit"],
 | 
											
												
													
														|  |    data() {
 |  |    data() {
 | 
											
												
													
														|  |      const query = this.$route.query;
 |  |      const query = this.$route.query;
 | 
											
										
											
												
													
														|  | @@ -432,7 +442,7 @@ export default {
 | 
											
												
													
														|  |          selectionSubjectId: null,
 |  |          selectionSubjectId: null,
 | 
											
												
													
														|  |          isAllowAdjust: null,
 |  |          isAllowAdjust: null,
 | 
											
												
													
														|  |          cloudTeacherMethod: null,
 |  |          cloudTeacherMethod: null,
 | 
											
												
													
														|  | -        kitPurchaseMethod: null,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        kitPurchaseMethod: null
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        tableList: [],
 |  |        tableList: [],
 | 
											
												
													
														|  |        pageInfo: {
 |  |        pageInfo: {
 | 
											
										
											
												
													
														|  | @@ -440,7 +450,7 @@ export default {
 | 
											
												
													
														|  |          limit: 10, // 限制显示条数
 |  |          limit: 10, // 限制显示条数
 | 
											
												
													
														|  |          page: 1, // 当前页
 |  |          page: 1, // 当前页
 | 
											
												
													
														|  |          total: 0, // 总条数
 |  |          total: 0, // 总条数
 | 
											
												
													
														|  | -        page_size: [10, 20, 40, 50], // 选择限制显示条数
 |  | 
 | 
											
												
													
														|  | 
 |  | +        page_size: [10, 20, 40, 50] // 选择限制显示条数
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        visitVisible: false,
 |  |        visitVisible: false,
 | 
											
												
													
														|  |        subjectVisible: false,
 |  |        subjectVisible: false,
 | 
											
										
											
												
													
														|  | @@ -448,33 +458,32 @@ export default {
 | 
											
												
													
														|  |        extendPaymentStatus: false,
 |  |        extendPaymentStatus: false,
 | 
											
												
													
														|  |        extendForm: {
 |  |        extendForm: {
 | 
											
												
													
														|  |          meetingDate: null,
 |  |          meetingDate: null,
 | 
											
												
													
														|  | -        address: null,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        address: null
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        extendRule: {
 |  |        extendRule: {
 | 
											
												
													
														|  |          meetingDate: [
 |  |          meetingDate: [
 | 
											
												
													
														|  | -          { required: true, message: "请选择家长会时间", trigger: "change" },
 |  | 
 | 
											
												
													
														|  | 
 |  | +          { required: true, message: "请选择家长会时间", trigger: "change" }
 | 
											
												
													
														|  |          ],
 |  |          ],
 | 
											
												
													
														|  |          address: [
 |  |          address: [
 | 
											
												
													
														|  | -          { required: true, message: "请输入家长会地址", trigger: "blur" },
 |  | 
 | 
											
												
													
														|  | -        ],
 |  | 
 | 
											
												
													
														|  | 
 |  | +          { required: true, message: "请输入家长会地址", trigger: "blur" }
 | 
											
												
													
														|  | 
 |  | +        ]
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |        preLookVisible: false,
 |  |        preLookVisible: false,
 | 
											
												
													
														|  |        sysMsg: "",
 |  |        sysMsg: "",
 | 
											
												
													
														|  |        subjectList: [],
 |  |        subjectList: [],
 | 
											
												
													
														|  | -      tenantId:null
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | 
 |  | +      tenantId: null
 | 
											
												
													
														|  |      };
 |  |      };
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    async mounted() {
 |  |    async mounted() {
 | 
											
												
													
														|  | -    this.tenantId=   this.$helpers.tenantId
 |  | 
 | 
											
												
													
														|  | 
 |  | +    this.tenantId = this.$helpers.tenantId;
 | 
											
												
													
														|  |      await this.$store.dispatch("setSubjects");
 |  |      await this.$store.dispatch("setSubjects");
 | 
											
												
													
														|  |      // 获取短信推送模板
 |  |      // 获取短信推送模板
 | 
											
												
													
														|  |      this.subjectList = [...this.selects.subjects];
 |  |      this.subjectList = [...this.selects.subjects];
 | 
											
												
													
														|  |      this.subjectList.push({ id: -1, name: "无" });
 |  |      this.subjectList.push({ id: -1, name: "无" });
 | 
											
												
													
														|  |      const rus = await getSysMessageConfig({
 |  |      const rus = await getSysMessageConfig({
 | 
											
												
													
														|  | -      type: "STUDENT_SMS_IM_MUSIC_GROUP_PARENT_MEETING_NOTICE",
 |  | 
 | 
											
												
													
														|  | 
 |  | +      type: "STUDENT_SMS_IM_MUSIC_GROUP_PARENT_MEETING_NOTICE"
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  | -    this.sysMsg = rus.data?.content||'';
 |  | 
 | 
											
												
													
														|  | 
 |  | +    this.sysMsg = rus.data?.content || "";
 | 
											
												
													
														|  |      this.getList();
 |  |      this.getList();
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    methods: {
 |  |    methods: {
 | 
											
										
											
												
													
														|  | @@ -499,9 +508,9 @@ export default {
 | 
											
												
													
														|  |            url: "/api-web/studentRegistration/preRegisterExport",
 |  |            url: "/api-web/studentRegistration/preRegisterExport",
 | 
											
												
													
														|  |            params: {
 |  |            params: {
 | 
											
												
													
														|  |              ...params,
 |  |              ...params,
 | 
											
												
													
														|  | -            musicGroupId: this.musicGroupId,
 |  | 
 | 
											
												
													
														|  | 
 |  | +            musicGroupId: this.musicGroupId
 | 
											
												
													
														|  |            },
 |  |            },
 | 
											
												
													
														|  | -          fileName: "预报名列表.xls",
 |  | 
 | 
											
												
													
														|  | 
 |  | +          fileName: "预报名列表.xls"
 | 
											
												
													
														|  |          },
 |  |          },
 | 
											
												
													
														|  |          "是否确认导出报表?"
 |  |          "是否确认导出报表?"
 | 
											
												
													
														|  |        );
 |  |        );
 | 
											
										
											
												
													
														|  | @@ -512,7 +521,7 @@ export default {
 | 
											
												
													
														|  |            ...this.searchForm,
 |  |            ...this.searchForm,
 | 
											
												
													
														|  |            musicGroupId: this.musicGroupId,
 |  |            musicGroupId: this.musicGroupId,
 | 
											
												
													
														|  |            page: this.pageInfo.page,
 |  |            page: this.pageInfo.page,
 | 
											
												
													
														|  | -          rows: this.pageInfo.limit,
 |  | 
 | 
											
												
													
														|  | 
 |  | +          rows: this.pageInfo.limit
 | 
											
												
													
														|  |          });
 |  |          });
 | 
											
												
													
														|  |          this.tableList = result.data.rows;
 |  |          this.tableList = result.data.rows;
 | 
											
												
													
														|  |          this.pageInfo.total = result.data.total;
 |  |          this.pageInfo.total = result.data.total;
 | 
											
										
											
												
													
														|  | @@ -520,20 +529,36 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      async onPaymentGroup(type) {
 |  |      async onPaymentGroup(type) {
 | 
											
												
													
														|  |        try {
 |  |        try {
 | 
											
												
													
														|  | -        this.$confirm("您是否确定开启乐团缴费?", "提示", {
 |  | 
 | 
											
												
													
														|  | -          confirmButtonText: "确定",
 |  | 
 | 
											
												
													
														|  | -          cancelButtonText: "取消",
 |  | 
 | 
											
												
													
														|  | -          type: "warning",
 |  | 
 | 
											
												
													
														|  | -        }).then(async () => {
 |  | 
 | 
											
												
													
														|  | -          const result = await finishPreApply({
 |  | 
 | 
											
												
													
														|  | -            isCheckStudentNum: type == 1 ? false : true,
 |  | 
 | 
											
												
													
														|  | -            musicGroupId: this.musicGroupId,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        const { data } = await getMusicGroupAddr({
 | 
											
												
													
														|  | 
 |  | +          musicGroupId: this.musicGroupId,
 | 
											
												
													
														|  | 
 |  | +          page: 1,
 | 
											
												
													
														|  | 
 |  | +          rows: 10
 | 
											
												
													
														|  | 
 |  | +        });
 | 
											
												
													
														|  | 
 |  | +        console.log(data, "data");
 | 
											
												
													
														|  | 
 |  | +        if (Array.isArray(data.rows) && data.rows.length > 0) {
 | 
											
												
													
														|  | 
 |  | +          this.$confirm("您是否确定开启乐团缴费?", "提示", {
 | 
											
												
													
														|  | 
 |  | +            confirmButtonText: "确定",
 | 
											
												
													
														|  | 
 |  | +            cancelButtonText: "取消",
 | 
											
												
													
														|  | 
 |  | +            type: "warning"
 | 
											
												
													
														|  | 
 |  | +          }).then(async () => {
 | 
											
												
													
														|  | 
 |  | +            const result = await finishPreApply({
 | 
											
												
													
														|  | 
 |  | +              isCheckStudentNum: type == 1 ? false : true,
 | 
											
												
													
														|  | 
 |  | +              musicGroupId: this.musicGroupId
 | 
											
												
													
														|  | 
 |  | +            });
 | 
											
												
													
														|  | 
 |  | +            this.$store.dispatch("delVisitedViews", this.$route);
 | 
											
												
													
														|  | 
 |  | +            this.$router.push({
 | 
											
												
													
														|  | 
 |  | +              path: "/teamList"
 | 
											
												
													
														|  | 
 |  | +            });
 | 
											
												
													
														|  |            });
 |  |            });
 | 
											
												
													
														|  | -          this.$store.dispatch("delVisitedViews", this.$route);
 |  | 
 | 
											
												
													
														|  | -          this.$router.push({
 |  | 
 | 
											
												
													
														|  | -            path: "/teamList",
 |  | 
 | 
											
												
													
														|  | 
 |  | +        } else {
 | 
											
												
													
														|  | 
 |  | +          this.$confirm("请先设置开团商品收货地址?", "提示", {
 | 
											
												
													
														|  | 
 |  | +            confirmButtonText: "去设置",
 | 
											
												
													
														|  | 
 |  | +            cancelButtonText: "取消",
 | 
											
												
													
														|  | 
 |  | +            type: "warning"
 | 
											
												
													
														|  | 
 |  | +          }).then(async () => {
 | 
											
												
													
														|  | 
 |  | +            this.$listeners.changeActive("10");
 | 
											
												
													
														|  |            });
 |  |            });
 | 
											
												
													
														|  | -        });
 |  | 
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |        } catch (error) {}
 |  |        } catch (error) {}
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      addVisited(rows) {
 |  |      addVisited(rows) {
 | 
											
										
											
												
													
														|  | @@ -548,32 +573,32 @@ export default {
 | 
											
												
													
														|  |          visitTime: "",
 |  |          visitTime: "",
 | 
											
												
													
														|  |          visitType: "",
 |  |          visitType: "",
 | 
											
												
													
														|  |          feedback: "",
 |  |          feedback: "",
 | 
											
												
													
														|  | -        realName: rows.userName,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        realName: rows.userName
 | 
											
												
													
														|  |        };
 |  |        };
 | 
											
												
													
														|  |        // this.visitDetail = rows
 |  |        // this.visitDetail = rows
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      onClose(formName) {
 |  |      onClose(formName) {
 | 
											
												
													
														|  | -        this.extendForm= {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.extendForm = {
 | 
											
												
													
														|  |          meetingDate: null,
 |  |          meetingDate: null,
 | 
											
												
													
														|  | -        address: null,
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -    //  this.$refs[formName].$refs[formName].resetFields();
 |  | 
 | 
											
												
													
														|  | 
 |  | +        address: null
 | 
											
												
													
														|  | 
 |  | +      };
 | 
											
												
													
														|  | 
 |  | +      //  this.$refs[formName].$refs[formName].resetFields();
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      onExtendPayment(formName) {
 |  |      onExtendPayment(formName) {
 | 
											
												
													
														|  |        // console.log(formName)
 |  |        // console.log(formName)
 | 
											
												
													
														|  |        // console.log(this.$refs)
 |  |        // console.log(this.$refs)
 | 
											
												
													
														|  |        // return
 |  |        // return
 | 
											
												
													
														|  | -      this.$refs[formName].$refs[formName].validate(async (valid) => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      this.$refs[formName].$refs[formName].validate(async valid => {
 | 
											
												
													
														|  |          if (valid) {
 |  |          if (valid) {
 | 
											
												
													
														|  |            try {
 |  |            try {
 | 
											
												
													
														|  |              await this.$confirm("您是否确定发送家长会通知?", "提示", {
 |  |              await this.$confirm("您是否确定发送家长会通知?", "提示", {
 | 
											
												
													
														|  |                confirmButtonText: "确定",
 |  |                confirmButtonText: "确定",
 | 
											
												
													
														|  |                cancelButtonText: "取消",
 |  |                cancelButtonText: "取消",
 | 
											
												
													
														|  | -              type: "warning",
 |  | 
 | 
											
												
													
														|  | 
 |  | +              type: "warning"
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |              await sendParentMeetingNotice({
 |  |              await sendParentMeetingNotice({
 | 
											
												
													
														|  |                ...this.extendForm,
 |  |                ...this.extendForm,
 | 
											
												
													
														|  | -              musicGroupId: this.musicGroupId,
 |  | 
 | 
											
												
													
														|  | 
 |  | +              musicGroupId: this.musicGroupId
 | 
											
												
													
														|  |              });
 |  |              });
 | 
											
												
													
														|  |              this.$message.success("家长会通知已发送");
 |  |              this.$message.success("家长会通知已发送");
 | 
											
												
													
														|  |              this.extendPaymentStatus = false;
 |  |              this.extendPaymentStatus = false;
 | 
											
										
											
												
													
														|  | @@ -591,12 +616,12 @@ export default {
 | 
											
												
													
														|  |              return time.getTime() + 86400000 < Date.now();
 |  |              return time.getTime() + 86400000 < Date.now();
 | 
											
												
													
														|  |              //开始时间不选时,结束时间最大值小于等于当天
 |  |              //开始时间不选时,结束时间最大值小于等于当天
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  | -        },
 |  | 
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  |        };
 |  |        };
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      preLook(val) {
 |  |      preLook(val) {
 | 
											
												
													
														|  |        this.preLookVisible = true;
 |  |        this.preLookVisible = true;
 | 
											
												
													
														|  | -    },
 |  | 
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    computed: {
 |  |    computed: {
 | 
											
												
													
														|  |      sysMsgStr() {
 |  |      sysMsgStr() {
 | 
											
										
											
												
													
														|  | @@ -612,10 +637,16 @@ export default {
 | 
											
												
													
														|  |          return ``;
 |  |          return ``;
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    detailUrl(){
 |  | 
 | 
											
												
													
														|  | -      return  vaildTeachingUrl() + "/#/preApplySubject?musicGroupId=" + this.$route.query.id+'&tenantId='+this.tenantId
 |  | 
 | 
											
												
													
														|  | 
 |  | +    detailUrl() {
 | 
											
												
													
														|  | 
 |  | +      return (
 | 
											
												
													
														|  | 
 |  | +        vaildTeachingUrl() +
 | 
											
												
													
														|  | 
 |  | +        "/#/preApplySubject?musicGroupId=" +
 | 
											
												
													
														|  | 
 |  | +        this.$route.query.id +
 | 
											
												
													
														|  | 
 |  | +        "&tenantId=" +
 | 
											
												
													
														|  | 
 |  | +        this.tenantId
 | 
											
												
													
														|  | 
 |  | +      );
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | -  },
 |  | 
 | 
											
												
													
														|  | 
 |  | +  }
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 | 
											
												
													
														|  |  
 |  |  
 |