修改短信发送bug
This commit is contained in:
parent
05a3485907
commit
2d339d2eac
@ -96,7 +96,7 @@
|
|||||||
v-model="singlesmsvisible"
|
v-model="singlesmsvisible"
|
||||||
title="发送短信"
|
title="发送短信"
|
||||||
trigger="click">
|
trigger="click">
|
||||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
<singlesmsPopover :caseId="caseId" :sendPhone="(baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR')).phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||||
<span slot="reference" class="flex-row align-items-center cursor-pointer">
|
<span slot="reference" class="flex-row align-items-center cursor-pointer">
|
||||||
<div class="f32 color-FF7D00 mr-8"><i class="el-icon-message"></i></div>
|
<div class="f32 color-FF7D00 mr-8"><i class="el-icon-message"></i></div>
|
||||||
<div>发送短信</div>
|
<div>发送短信</div>
|
||||||
|
|||||||
@ -25,7 +25,7 @@
|
|||||||
v-model="singlesmsvisible"
|
v-model="singlesmsvisible"
|
||||||
title="发送短信"
|
title="发送短信"
|
||||||
trigger="click">
|
trigger="click">
|
||||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
<singlesmsPopover :caseId="caseId" :sendPhone="(baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR')).phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||||
<el-button slot="reference" type="warning" icon="el-icon-message" circle></el-button>
|
<el-button slot="reference" type="warning" icon="el-icon-message" circle></el-button>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
|
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
v-model="singlesmsvisible"
|
v-model="singlesmsvisible"
|
||||||
title="发送短信"
|
title="发送短信"
|
||||||
trigger="click">
|
trigger="click">
|
||||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
<singlesmsPopover :caseId="caseId" :sendPhone="item.phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||||
<span slot="reference" class="ml-8 cursor-pointer">
|
<span slot="reference" class="ml-8 cursor-pointer">
|
||||||
<i class="el-icon-message"></i> 短信
|
<i class="el-icon-message"></i> 短信
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -45,6 +45,10 @@ import caseManagement from "@/services/caseManagement";
|
|||||||
type: String,
|
type: String,
|
||||||
default: () => {},
|
default: () => {},
|
||||||
},
|
},
|
||||||
|
sendPhone: {
|
||||||
|
type: String,
|
||||||
|
default: () => {},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -84,7 +88,7 @@ import caseManagement from "@/services/caseManagement";
|
|||||||
}
|
}
|
||||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||||
let caseIdList = [this.caseId];
|
let caseIdList = [this.caseId];
|
||||||
caseManagement.smsBatchSend({...this.ObjectInfo, caseIdList: caseIdList}).then(res => {
|
caseManagement.smsBatchSend({...this.ObjectInfo, caseIdList: caseIdList,phones:[this.sendPhone]}).then(res => {
|
||||||
this.$message.success("发起短信成功");
|
this.$message.success("发起短信成功");
|
||||||
this.handleClose()
|
this.handleClose()
|
||||||
this.$parent.getWritCaseList()
|
this.$parent.getWritCaseList()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user