|
|
@@ -762,6 +762,16 @@
|
|
|
<el-tab-pane label="短信配置" name="his.sms">
|
|
|
|
|
|
<el-form ref="form14" :model="form14" label-width="150px">
|
|
|
+ <el-form-item label="是否开启APP短信验证" label-width="160px">
|
|
|
+ <el-switch
|
|
|
+ v-model="form14.isSmsVerification"
|
|
|
+ active-color="#13ce66"
|
|
|
+ inactive-color="#ff4949"
|
|
|
+ active-value="1"
|
|
|
+ inactive-value="0"
|
|
|
+ >
|
|
|
+ </el-switch>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="短信服务商" prop="type">
|
|
|
<el-radio-group v-model="form14.type">
|
|
|
<el-radio label="rf">重庆润芳</el-radio>
|
|
|
@@ -3089,6 +3099,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
submitForm14() {
|
|
|
+ if (!this.form14.isSmsVerification) {
|
|
|
+ this.form14.isSmsVerification = 0;
|
|
|
+ }
|
|
|
var param = { configId: this.configId, configValue: JSON.stringify(this.form14) }
|
|
|
updateConfigByKey(param).then(response => {
|
|
|
if (response.code === 200) {
|