|
|
@ -73,7 +73,7 @@ export default { |
|
|
|
btnDisable: false, |
|
|
|
|
|
|
|
formData: { |
|
|
|
origin: '1', |
|
|
|
origin: '', |
|
|
|
isSelChannel: false, |
|
|
|
channel: [], |
|
|
|
content: '', |
|
|
@ -92,10 +92,11 @@ export default { |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
async initForm (selectionAll) { |
|
|
|
async initForm (selectionAll, origin) { |
|
|
|
|
|
|
|
this.$refs['ref_form1'].resetFields(); |
|
|
|
this.formData.userList = selectionAll |
|
|
|
this.formData.origin = origin |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
@ -119,7 +120,7 @@ export default { |
|
|
|
} |
|
|
|
|
|
|
|
console.log(this.formData) |
|
|
|
return false |
|
|
|
// return false |
|
|
|
|
|
|
|
this.btnDisable = true |
|
|
|
setTimeout(() => { |
|
|
@ -128,8 +129,7 @@ export default { |
|
|
|
|
|
|
|
let url = '' |
|
|
|
|
|
|
|
url = '/epmetuser/icNotice/batchnotice' |
|
|
|
// url = "http://yapi.elinkservice.cn/mock/245/epmetuser/icNotice/batchnotice" |
|
|
|
url = '/epmetuser/icNotice/sendNotice' |
|
|
|
|
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, this.formData) |
|
|
|