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