|
@ -160,7 +160,7 @@ |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
|
|
|
|
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<div v-if=" formType!=='detail'"> |
|
|
<el-form-item label="通知渠道" |
|
|
<el-form-item label="通知渠道" |
|
|
prop="isSelChannel" |
|
|
prop="isSelChannel" |
|
|
label-width="150px" |
|
|
label-width="150px" |
|
@ -193,7 +193,7 @@ |
|
|
placeholder="请输入通知内容" |
|
|
placeholder="请输入通知内容" |
|
|
v-model="formData.content"></el-input> |
|
|
v-model="formData.content"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
</div> |
|
|
</el-form> |
|
|
</el-form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
@ -378,15 +378,17 @@ export default { |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
const { data, code, msg } = await requestPost(url, params) |
|
|
if (code === 0) { |
|
|
if (code === 0) { |
|
|
this.formData = data |
|
|
this.formData = data |
|
|
if (data.channel && data.channel.length > 0) { |
|
|
|
|
|
this.$set(this.formData, 'isSelChannel', true) |
|
|
|
|
|
// this.formData.isSelChannel = true |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$set(this.formData, 'isSelChannel', false) |
|
|
|
|
|
// this.formData.isSelChannel = false |
|
|
|
|
|
this.formData.channel = [] |
|
|
this.formData.channel = [] |
|
|
this.formData.content = '' |
|
|
this.formData.content = '' |
|
|
} |
|
|
// if (data.channel && data.channel.length > 0) { |
|
|
|
|
|
// this.$set(this.formData, 'isSelChannel', true) |
|
|
|
|
|
// // this.formData.isSelChannel = true |
|
|
|
|
|
// } else { |
|
|
|
|
|
// this.$set(this.formData, 'isSelChannel', false) |
|
|
|
|
|
// // this.formData.isSelChannel = false |
|
|
|
|
|
// this.formData.channel = [] |
|
|
|
|
|
// this.formData.content = '' |
|
|
|
|
|
// } |
|
|
console.log(this.formData.isSelChannel) |
|
|
console.log(this.formData.isSelChannel) |
|
|
|
|
|
|
|
|
this.formData.icNatId = this.icNatId |
|
|
this.formData.icNatId = this.icNatId |
|
|