|  | @@ -1,6 +1,7 @@
 | 
											
												
													
														|  |  <template >
 |  |  <template >
 | 
											
												
													
														|  |    <div class="m-container">
 |  |    <div class="m-container">
 | 
											
												
													
														|  | -    <h2><div class="squrt"></div>vip活动方案 
 |  | 
 | 
											
												
													
														|  | 
 |  | +    <h2>
 | 
											
												
													
														|  | 
 |  | +      <div class="squrt"></div>vip活动方案
 | 
											
												
													
														|  |      </h2>
 |  |      </h2>
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      <div class="m-core">
 |  |      <div class="m-core">
 | 
											
										
											
												
													
														|  | @@ -74,7 +75,7 @@
 | 
											
												
													
														|  |                             :formatter="fommatterEnable">
 |  |                             :formatter="fommatterEnable">
 | 
											
												
													
														|  |            </el-table-column>
 |  |            </el-table-column>
 | 
											
												
													
														|  |            <el-table-column align='center'
 |  |            <el-table-column align='center'
 | 
											
												
													
														|  | -                           width="180px"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                           width="130px"
 | 
											
												
													
														|  |                             label="活动持续时间">
 |  |                             label="活动持续时间">
 | 
											
												
													
														|  |              <template slot-scope="scope">
 |  |              <template slot-scope="scope">
 | 
											
												
													
														|  |                <div>
 |  |                <div>
 | 
											
										
											
												
													
														|  | @@ -84,7 +85,7 @@
 | 
											
												
													
														|  |              </template>
 |  |              </template>
 | 
											
												
													
														|  |            </el-table-column>
 |  |            </el-table-column>
 | 
											
												
													
														|  |            <el-table-column align='center'
 |  |            <el-table-column align='center'
 | 
											
												
													
														|  | -                           width="180px"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                           width="130px"
 | 
											
												
													
														|  |                             label="课程安排时间">
 |  |                             label="课程安排时间">
 | 
											
												
													
														|  |              <template slot-scope="scope">
 |  |              <template slot-scope="scope">
 | 
											
												
													
														|  |                <div>
 |  |                <div>
 | 
											
										
											
												
													
														|  | @@ -129,6 +130,7 @@
 | 
											
												
													
														|  |        </div>
 |  |        </div>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |      <el-dialog title='提示'
 |  |      <el-dialog title='提示'
 | 
											
												
													
														|  | 
 |  | +               width="60%"
 | 
											
												
													
														|  |                 :visible.sync="dialogVisible">
 |  |                 :visible.sync="dialogVisible">
 | 
											
												
													
														|  |        <div>
 |  |        <div>
 | 
											
												
													
														|  |          <el-form :label-position="labelPosition"
 |  |          <el-form :label-position="labelPosition"
 | 
											
										
											
												
													
														|  | @@ -238,7 +240,7 @@
 | 
											
												
													
														|  |          </div>
 |  |          </div>
 | 
											
												
													
														|  |          <div class="activeType">
 |  |          <div class="activeType">
 | 
											
												
													
														|  |            <div class="left">
 |  |            <div class="left">
 | 
											
												
													
														|  | -            <p>活动类型</p>
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <p style='width:60px;'>活动类型</p>
 | 
											
												
													
														|  |            </div>
 |  |            </div>
 | 
											
												
													
														|  |            <div class="right">
 |  |            <div class="right">
 | 
											
												
													
														|  |              <div>
 |  |              <div>
 | 
											
										
											
												
													
														|  | @@ -501,16 +503,24 @@ export default {
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  |      // 点击列表修改同步状态
 |  |      // 点击列表修改同步状态
 | 
											
												
													
														|  |      reset (row) {
 |  |      reset (row) {
 | 
											
												
													
														|  | 
 |  | +      console.log(row);
 | 
											
												
													
														|  |        this.activeId = row.id;
 |  |        this.activeId = row.id;
 | 
											
												
													
														|  |        this.dialogVisible = true;
 |  |        this.dialogVisible = true;
 | 
											
												
													
														|  |        this.resetForm.name = row.name;
 |  |        this.resetForm.name = row.name;
 | 
											
												
													
														|  |        this.resetForm.desc = row.description;
 |  |        this.resetForm.desc = row.description;
 | 
											
												
													
														|  | -      this.resetForm.stauts = row.vipGroupCategoryIdList.split(',').map(res => {
 |  | 
 | 
											
												
													
														|  | -        return parseInt(res);
 |  | 
 | 
											
												
													
														|  | -      });
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (row.vipGroupCategoryIdList) {
 | 
											
												
													
														|  | 
 |  | +        this.resetForm.stauts = row.vipGroupCategoryIdList.split(',').map(res => {
 | 
											
												
													
														|  | 
 |  | +          return parseInt(res);
 | 
											
												
													
														|  | 
 |  | +        });
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |        // 同步活动时间
 |  |        // 同步活动时间
 | 
											
												
													
														|  | -      this.resetForm.activeTime = [row.startTime, row.endTime];
 |  | 
 | 
											
												
													
														|  | -      this.resetForm.courseTime = [row.coursesStartTime, row.coursesEndTime];
 |  | 
 | 
											
												
													
														|  | 
 |  | +      if (row.startTime && row.endTime) {
 | 
											
												
													
														|  | 
 |  | +        this.resetForm.activeTime = [row.startTime, row.endTime];
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +      if (row.coursesStartTime && row.coursesEndTime) {
 | 
											
												
													
														|  | 
 |  | +        this.resetForm.courseTime = [row.coursesStartTime, row.coursesEndTime];
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  |        // 同步适用范围
 |  |        // 同步适用范围
 | 
											
												
													
														|  |        let obj = JSON.parse(row.salarySettlementJson);
 |  |        let obj = JSON.parse(row.salarySettlementJson);
 | 
											
												
													
														|  |        // 同步线上课状态
 |  |        // 同步线上课状态
 | 
											
										
											
												
													
														|  | @@ -553,7 +563,9 @@ export default {
 | 
											
												
													
														|  |            let endTime = this.resetForm.activeTime[1];
 |  |            let endTime = this.resetForm.activeTime[1];
 | 
											
												
													
														|  |            let organId = this.resetForm.organ.join(',');
 |  |            let organId = this.resetForm.organ.join(',');
 | 
											
												
													
														|  |            let type = this.activeType;
 |  |            let type = this.activeType;
 | 
											
												
													
														|  | -          let vipGroupCategoryIdList = this.resetForm.stauts.join(',')
 |  | 
 | 
											
												
													
														|  | 
 |  | +          if (vipGroupCategoryIdList) {
 | 
											
												
													
														|  | 
 |  | +            let vipGroupCategoryIdList = this.resetForm.stauts.join(',')
 | 
											
												
													
														|  | 
 |  | +          }
 | 
											
												
													
														|  |            let onlineSalarySettlement;
 |  |            let onlineSalarySettlement;
 | 
											
												
													
														|  |            let offlineSalarySettlement;
 |  |            let offlineSalarySettlement;
 | 
											
												
													
														|  |            if (this.online) {
 |  |            if (this.online) {
 | 
											
										
											
												
													
														|  | @@ -703,10 +715,12 @@ export default {
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | -.el-select {
 |  | 
 | 
											
												
													
														|  | -  width: 400px !important;
 |  | 
 | 
											
												
													
														|  | -  .el-input__inner {
 |  | 
 | 
											
												
													
														|  | -    width: 400px;
 |  | 
 | 
											
												
													
														|  | 
 |  | +.vipform {
 | 
											
												
													
														|  | 
 |  | +  .el-select {
 | 
											
												
													
														|  | 
 |  | +    width: 400px !important;
 | 
											
												
													
														|  | 
 |  | +    .el-input__inner {
 | 
											
												
													
														|  | 
 |  | +      width: 400px;
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |