law-dispute-search.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div :class="$style.searchform">
  3. <sd-task-list
  4. ref="tasklist"
  5. :module-id="this.$route.query.moduleId"
  6. :form-list-id="this.$route.query.formListId"
  7. :custom-values="customValues"
  8. :filter="Expressions"
  9. :daochushow="true"
  10. @fnexport="fndc"
  11. >
  12. </sd-task-list>
  13. </div>
  14. </template>
  15. <script>
  16. import sdTaskList from '../../../../src/application-manage/sd-task-list.vue'
  17. import components from './_import-components/law-dispute-search-import'
  18. export default {
  19. name: 'LawDisputeSearch',
  20. metaInfo: {
  21. title: '纠纷查询',
  22. },
  23. components: {
  24. ...components,
  25. sdTaskList,
  26. },
  27. props: {
  28. // 搜索条件
  29. customValues: {
  30. type: Object,
  31. default: () => {
  32. return {}
  33. },
  34. },
  35. Expressions: {
  36. type: Array,
  37. default: () => {
  38. return []
  39. },
  40. },
  41. },
  42. data() {
  43. return {}
  44. },
  45. methods: {
  46. fndc() {
  47. this.$refs.tasklist.$refs[0][0].exportExcel()
  48. },
  49. },
  50. }
  51. </script>
  52. <style module lang="scss">
  53. @use '@/common/design' as *;
  54. .searchform {
  55. :global .ant-btn-primary:nth-of-type(2) {
  56. display: none;
  57. }
  58. :global .sd-has-table.ant-tabs .header_sd-data-table_common {
  59. display: none;
  60. }
  61. :global .ant-space-align-center > div:first-child {
  62. display: none;
  63. }
  64. }
  65. </style>