File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
src/views/system/sms/channel Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<Dialog v-model =" dialogVisible" :title =" dialogTitle" >
3
- <el-form ref =" formRef" v-loading =" formLoading" :model =" formData" :rules =" formRules" label-width =" 130px" >
3
+ <el-form
4
+ ref =" formRef"
5
+ v-loading =" formLoading"
6
+ :model =" formData"
7
+ :rules =" formRules"
8
+ label-width =" 130px"
9
+ >
4
10
<el-form-item label =" 短信签名" prop =" signature" >
5
11
<el-input v-model =" formData.signature" placeholder =" 请输入短信签名" />
6
12
</el-form-item >
7
13
<el-form-item label =" 渠道编码" prop =" code" >
8
14
<el-select v-model =" formData.code" clearable placeholder =" 请选择渠道编码" >
9
- <el-option v-for =" dict in getStrDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)" :key =" dict.value"
10
- :label =" dict.label" :value =" dict.value" />
15
+ <el-option
16
+ v-for =" dict in getStrDictOptions(DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE)"
17
+ :key =" dict.value"
18
+ :label =" dict.label"
19
+ :value =" dict.value"
20
+ />
11
21
</el-select >
12
22
</el-form-item >
13
23
<el-form-item label =" 启用状态" >
14
24
<el-radio-group v-model =" formData.status" >
15
- <el-radio v-for =" dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)" :key =" dict.value" :label =" dict.value" >
25
+ <el-radio
26
+ v-for =" dict in getIntDictOptions(DICT_TYPE.COMMON_STATUS)"
27
+ :key =" dict.value"
28
+ :label =" dict.value"
29
+ >
16
30
{{ dict.label }}
17
31
</el-radio >
18
32
</el-radio-group >
You can’t perform that action at this time.
0 commit comments