Commit 256de1a8 by liuchenxi

update: 模板库checkSmsContxt增加参数

parent 554dbdbb
......@@ -439,7 +439,7 @@ export default {
},
// 校验屏蔽词
validateContent() {
checkSmsContext({ context: this.form.content })
checkSmsContext({ context: this.form.content, type: this.form.type })
.then(res => {
this.validateStatus = 1;
})
......
<template>
<section class="dm-form__wrap">
<section class="dm-form__wrap black-list">
<div class="top">
<div class="left">
<el-input v-model="search.phone" placeholder="请输入手机号码" prefix-icon="el-icon-search" style="width: 260px" @change="getTableData" />
......@@ -158,7 +158,7 @@ export default {
const { reason, reasonType } = this.dialogData.form;
para.phoneNumber = this.validatePhoneList();
para.reasonType = reasonType;
para.reason = reasonType ? reason : null;
para.reason = reasonType ? reason : '用户向店员反馈';
if (para.phoneNumber) {
await addBlackList(para);
if (!this.isExiteErrorPhone) {
......@@ -268,3 +268,8 @@ export default {
}
}
</style>
<style lang="scss">
.el-tooltip__popper {
max-width: 60% !important;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment