|
@@ -72,13 +72,14 @@
|
|
|
:disabled="item.disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
- <template v-if="item.type === 'textMessage'">
|
|
|
+ <template v-if="item.type === 'msgRecipient'">
|
|
|
<el-radio-group :disabled="item.disabled" v-model="formData[item.prop]">
|
|
|
- <el-radio value="y">是</el-radio>
|
|
|
- <el-radio value="n">否</el-radio>
|
|
|
+ <el-radio :key="vax.value" v-for="vax in bj_msg_recipient" :value="vax.value">{{
|
|
|
+ vax.label
|
|
|
+ }}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</template>
|
|
|
- <template v-if="item.type === 'userName'">
|
|
|
+ <template v-if="item.type === 'contactName'">
|
|
|
<el-select
|
|
|
:disabled="item.disabled"
|
|
|
v-model="formData[item.prop]"
|
|
@@ -124,6 +125,8 @@
|
|
|
import { reactive, ref } from 'vue';
|
|
|
import type { FormInstance } from 'element-plus';
|
|
|
import useSystemStore from '@/store/main';
|
|
|
+import { outTypeList } from '@/libs/commonMeth';
|
|
|
+const bj_msg_recipient = outTypeList('bj_msg_recipient'); //短信接收人
|
|
|
// 定义props
|
|
|
interface IProps {
|
|
|
modalConfig: {
|