query.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div class="ioc-query-form">
  3. <a-form layout="inline" :form="formData">
  4. <a-form-item label="单位名称:" class="formItem">
  5. <a-select style="width: 240px">
  6. <a-select-option value="中迅"> 中迅 </a-select-option>
  7. <a-select-option value="电信规划院"> 电信规划院 </a-select-option>
  8. </a-select>
  9. </a-form-item>
  10. <a-form-item label="部门名称:" class="formItem">
  11. <a-select style="width: 240px">
  12. <a-select-option value="中迅"> 中迅 </a-select-option>
  13. <a-select-option value="电信规划院"> 电信规划院 </a-select-option>
  14. </a-select>
  15. </a-form-item>
  16. <a-form-item label="时间范围:" class="formItem">
  17. <timeRange ref="timeRange"></timeRange>
  18. </a-form-item>
  19. <a-form-item class="formItem">
  20. <a-button type="primary">重置</a-button>
  21. <a-button type="primary">查询</a-button>
  22. </a-form-item>
  23. </a-form>
  24. </div>
  25. </template>
  26. <script>
  27. import timeRange from "@/components/common/timeRange.vue";
  28. export default {
  29. components: {
  30. timeRange,
  31. },
  32. data() {
  33. return {
  34. formData: {},
  35. };
  36. },
  37. };
  38. </script>
  39. <style lang="less" scoped>
  40. .formItem {
  41. margin: 0px 15px;
  42. }
  43. </style>