You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

passivityHangUp.vue 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <!-- 被动挂起服务 -->
  3. <CRUD :homeData="Data" text="123">
  4. <template #search="{ searchCondition }">
  5. <!-- 搜索 监听回车 @keyup.enter.native="search"-->
  6. <el-input v-model="searchCondition.fileOne" clearable placeholder="卡号" style="width: 200px;" />
  7. <el-input v-model="searchCondition.fileTwo" clearable placeholder="车牌号码"
  8. style="width: 200px;margin: 0 10px 0 10px;" />
  9. <el-select v-model="searchCondition.fileThree" placeholder="--请输入车牌颜色--" style="margin: 0 10px 0 10px;">
  10. <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value" />
  11. </el-select>
  12. <el-button type="primary" icon="CreditCard">读卡</el-button>
  13. </template>
  14. </CRUD>
  15. </template>
  16. <script setup lang="ts">
  17. // @ts-ignore crudFrom模板
  18. import CRUD from "@/crud/index.vue"
  19. import {
  20. Data
  21. } from '@/data/cardAfter/initiativeHangUp' //表单配置
  22. import {
  23. tableData
  24. } from "@/data/tableData" //表单数据
  25. const options = [{
  26. value: 'Option1',
  27. label: '蓝色',
  28. },
  29. {
  30. value: 'Option2',
  31. label: '黄色',
  32. },
  33. {
  34. value: 'Option3',
  35. label: '黑色',
  36. },
  37. {
  38. value: 'Option4',
  39. label: '白色',
  40. },
  41. {
  42. value: 'Option5',
  43. label: '渐变绿色',
  44. },
  45. {
  46. value: 'Option6',
  47. label: '黄绿双拼色',
  48. },
  49. {
  50. value: 'Option7',
  51. label: '蓝白渐变色',
  52. },
  53. {
  54. value: 'Option8',
  55. label: '未确定',
  56. },
  57. {
  58. value: 'Option9',
  59. label: '绿色',
  60. },
  61. {
  62. value: 'Option10',
  63. label: '红色',
  64. },
  65. ]
  66. </script>
  67. <style lang="scss" scoped>
  68. </style>