|  | @@ -31,6 +31,7 @@
 | 
	
		
			
				|  |  |                          v-model.trim="scope.row.typeVisible"
 | 
	
		
			
				|  |  |                          v-if='scope.row.type == 1'>
 | 
	
		
			
				|  |  |                <el-button type="text"
 | 
	
		
			
				|  |  | +                         v-if="lookType!=='look'"
 | 
	
		
			
				|  |  |                           slot='reference'>
 | 
	
		
			
				|  |  |                  修改
 | 
	
		
			
				|  |  |                </el-button>
 | 
	
	
		
			
				|  | @@ -70,6 +71,7 @@
 | 
	
		
			
				|  |  |              <div style='white-space:pre'
 | 
	
		
			
				|  |  |                   v-if="scope.row.fangshi.length >0">{{scope.row.fangshi | fangshiFilter(scope.row)}}</div>
 | 
	
		
			
				|  |  |              <i class='el-icon-edit'
 | 
	
		
			
				|  |  | +               v-if="lookType!=='look'"
 | 
	
		
			
				|  |  |                 @click="setGiveMode(scope.row)">
 | 
	
		
			
				|  |  |              </i>
 | 
	
		
			
				|  |  |              <!-- <el-popover placement="bottom"
 | 
	
	
		
			
				|  | @@ -161,6 +163,7 @@
 | 
	
		
			
				|  |  |              </span>
 | 
	
		
			
				|  |  |              <i class='el-icon-edit'
 | 
	
		
			
				|  |  |                 slot='reference'
 | 
	
		
			
				|  |  | +               v-if="lookType!=='look'"
 | 
	
		
			
				|  |  |                 @click="chioseMark(scope.row)">
 | 
	
		
			
				|  |  |              </i>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -169,11 +172,13 @@
 | 
	
		
			
				|  |  |      </el-table>
 | 
	
		
			
				|  |  |      <!-- <div class="remove"
 | 
	
		
			
				|  |  |               @click="removeListItem">删除</div> -->
 | 
	
		
			
				|  |  | -    <div class="floor">
 | 
	
		
			
				|  |  | +    <div class="floor"
 | 
	
		
			
				|  |  | +         v-if="lookType!=='look'">
 | 
	
		
			
				|  |  |        <div class='add'
 | 
	
		
			
				|  |  |             @click="addListItem">添加</div>
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="btnWrap"
 | 
	
		
			
				|  |  | +         v-if="lookType!=='look'"
 | 
	
		
			
				|  |  |           style="margin-top:30px">
 | 
	
		
			
				|  |  |        <div class="closeBtn"
 | 
	
		
			
				|  |  |             @click="getSound">取消</div>
 | 
	
	
		
			
				|  | @@ -284,7 +289,8 @@
 | 
	
		
			
				|  |  |                          v-model.trim="item.mode.LEASE"></el-input>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <div class="item">
 | 
	
		
			
				|  |  | -              <el-input style="width:80%" disabled
 | 
	
		
			
				|  |  | +              <el-input style="width:80%"
 | 
	
		
			
				|  |  | +                        disabled
 | 
	
		
			
				|  |  |                          type="number"></el-input>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -308,7 +314,8 @@
 | 
	
		
			
				|  |  |                          disabled></el-input>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |              <div class="item">
 | 
	
		
			
				|  |  | -              <el-input style="width:80%" disabled
 | 
	
		
			
				|  |  | +              <el-input style="width:80%"
 | 
	
		
			
				|  |  | +                        disabled
 | 
	
		
			
				|  |  |                          type="number"></el-input>
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </div>
 | 
	
	
		
			
				|  | @@ -339,7 +346,8 @@ export default {
 | 
	
		
			
				|  |  |        multipleSelection: [], // 列表选择的集合
 | 
	
		
			
				|  |  |        soundList: [],
 | 
	
		
			
				|  |  |        soundLists: [], // 存储选中项的声部id 记录变量
 | 
	
		
			
				|  |  | -      editSound: null
 | 
	
		
			
				|  |  | +      editSound: null,
 | 
	
		
			
				|  |  | +      lookType: ''
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    mounted () {
 | 
	
	
		
			
				|  | @@ -353,7 +361,7 @@ export default {
 | 
	
		
			
				|  |  |      init () {
 | 
	
		
			
				|  |  |        // 获取声部信息
 | 
	
		
			
				|  |  |        this.teamid = this.$route.query.id
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +      this.lookType = this.$route.query.type
 | 
	
		
			
				|  |  |        sessionStorage.setItem('resetCode', '2');
 | 
	
		
			
				|  |  |        // 获取所有声部
 | 
	
		
			
				|  |  |        getSoundTree({ tenantId: 1 }).then(res => {
 | 
	
	
		
			
				|  | @@ -399,7 +407,7 @@ export default {
 | 
	
		
			
				|  |  |                      isGROUP = true
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -                if(sub.coursePurchaseTypeJson) {
 | 
	
		
			
				|  |  | +                if (sub.coursePurchaseTypeJson) {
 | 
	
		
			
				|  |  |                    let courseJson = JSON.parse(sub.coursePurchaseTypeJson)
 | 
	
		
			
				|  |  |                    if (courseJson && courseJson.hasOwnProperty("FREE")) {
 | 
	
		
			
				|  |  |                      courseFree = courseJson.FREE;
 | 
	
	
		
			
				|  | @@ -550,13 +558,13 @@ export default {
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                let courseTypes = {}
 | 
	
		
			
				|  |  | -              if(fs.mode.courseFree) {
 | 
	
		
			
				|  |  | +              if (fs.mode.courseFree) {
 | 
	
		
			
				|  |  |                  courseTypes.FREE = fs.mode.courseFree
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  | -              if(fs.mode.courseGroup) {
 | 
	
		
			
				|  |  | +              if (fs.mode.courseGroup) {
 | 
	
		
			
				|  |  |                  courseTypes.GROUP = fs.mode.courseGroup ? fs.mode.courseGroup : 0
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  | -              if(fs.mode.courseLease) {
 | 
	
		
			
				|  |  | +              if (fs.mode.courseLease) {
 | 
	
		
			
				|  |  |                  courseTypes.LEASE = fs.mode.courseLease
 | 
	
		
			
				|  |  |                }
 | 
	
		
			
				|  |  |                coursePurchaseTypeJson = JSON.stringify(courseTypes)
 | 
	
	
		
			
				|  | @@ -723,10 +731,10 @@ export default {
 | 
	
		
			
				|  |  |          item.mode.GROUP = item.mode.price
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    groupCourseInput(item) {
 | 
	
		
			
				|  |  | +    groupCourseInput (item) {
 | 
	
		
			
				|  |  |        console.log(item)
 | 
	
		
			
				|  |  |        let mode = item.mode
 | 
	
		
			
				|  |  | -      if(mode.yuji - mode.courseGroup < 0) {
 | 
	
		
			
				|  |  | +      if (mode.yuji - mode.courseGroup < 0) {
 | 
	
		
			
				|  |  |          mode.courseGroup = mode.yuji
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 |