Compare commits
	
		
			2 Commits
		
	
	
		
			8c8ba399b7
			...
			c6e3d4e828
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								 | 
						c6e3d4e828 | |
| 
							
							
								 | 
						e38e5b1c28 | 
| 
						 | 
				
			
			@ -10,9 +10,9 @@
 | 
			
		|||
        <el-switch
 | 
			
		||||
          :value="pushPeople"
 | 
			
		||||
          active-text="开启"
 | 
			
		||||
          inactive-text="关闭"
 | 
			
		||||
          active-value="true"
 | 
			
		||||
          inactive-value="false"
 | 
			
		||||
          inactive-text="关闭"
 | 
			
		||||
          @change="pushPeopleHandle"
 | 
			
		||||
        />
 | 
			
		||||
      </el-form-item>
 | 
			
		||||
| 
						 | 
				
			
			@ -20,9 +20,9 @@
 | 
			
		|||
        <el-switch
 | 
			
		||||
          :value="pushAmount"
 | 
			
		||||
          active-text="开启"
 | 
			
		||||
          inactive-text="关闭"
 | 
			
		||||
          active-value="true"
 | 
			
		||||
          inactive-value="false"
 | 
			
		||||
          inactive-text="关闭"
 | 
			
		||||
          @change="pushAmountHandle"
 | 
			
		||||
        />
 | 
			
		||||
      </el-form-item>
 | 
			
		||||
| 
						 | 
				
			
			@ -73,14 +73,16 @@ export default {
 | 
			
		|||
    setMemberDirectPush(val) {
 | 
			
		||||
      setMemberDirectPush(val).then(res => {
 | 
			
		||||
        if (res.code === 200) {
 | 
			
		||||
          this.pushPeople = res.data
 | 
			
		||||
          this.$message.success('操作成功')
 | 
			
		||||
          this.pushPeople = val
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
    setMemberDirectPushAmount(val) {
 | 
			
		||||
      setMemberDirectPushAmount(val).then(res => {
 | 
			
		||||
        if (res.code === 200) {
 | 
			
		||||
          this.pushAmount = res.data
 | 
			
		||||
          this.$message.success('操作成功')
 | 
			
		||||
          this.pushAmount = val
 | 
			
		||||
        }
 | 
			
		||||
      })
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue