PushOccasionsCard.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <template>
  2. <div class="push-occasions-card">
  3. <!-- <el-form-item label="推送对象:">
  4. <el-radio-group v-model="form.pushRecipients.type">
  5. <el-radio v-for="item in PushRecipientType" :value="item.id">{{ item.label }}</el-radio>
  6. </el-radio-group>
  7. </el-form-item>
  8. <el-form-item v-if="form.pushRecipients.type !== 1">asdad </el-form-item> -->
  9. <!-- <el-form-item label="自定义内容:">
  10. <el-input
  11. v-model="form."
  12. style="width: 240px"
  13. :autosize="{ minRows: 2, maxRows: 4 }"
  14. type="textarea"
  15. :placeholder="holder"
  16. />
  17. </el-form-item> -->
  18. <div>{{ '【' + (type || '') + '】' + form.pushPhase }}</div>
  19. </div>
  20. </template>
  21. <script setup lang="ts">
  22. import { PushRecipients } from '../types';
  23. // import {
  24. // ElFormItem,
  25. // ElInput,
  26. // FormInstance,
  27. // FormRules,
  28. // } from 'element-plus';
  29. const props = defineProps<{
  30. form: PushRecipients;
  31. type?: string | undefined;
  32. }>();
  33. // 推送人员
  34. // const PushRecipientType = [
  35. // { id: 1, label: '全员' },
  36. // { id: 2, label: '分组' },
  37. // { id: 3, label: '自定义' },
  38. // ];
  39. </script>
  40. <style scoped lang="scss">
  41. .push-occasions-card {
  42. width: 541px;
  43. height: 248px;
  44. background-color: #fafafa;
  45. font-size: 16px;
  46. }
  47. </style>