detail.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <template>
  2. <div class="system-dic-container">
  3. <h1>通道详情</h1>
  4. </div>
  5. </template>
  6. <script lang="ts">
  7. import { toRefs, reactive, onMounted, ref, defineComponent } from 'vue';
  8. import { Delete, Edit, Search, Share, Upload } from '@element-plus/icons-vue';
  9. import { ElMessageBox, ElMessage, FormInstance } from 'element-plus';
  10. import { useRoute } from 'vue-router';
  11. // import api from '/@/api/device';
  12. interface TableDataState {
  13. // ids: number[];
  14. title: string,
  15. // tableData: {
  16. // data: [];
  17. // total: number;
  18. // loading: boolean;
  19. // param: {
  20. // pageNum: number;
  21. // pageSize: number;
  22. // name: string;
  23. // deviceType: string;
  24. // status: string;
  25. // dateRange: string[];
  26. // };
  27. // };
  28. }
  29. export default defineComponent({
  30. name: 'tunnelDetail',
  31. components: { },
  32. setup(prop, context) {
  33. const route = useRoute();
  34. // const editDicRef = ref();
  35. // const editAttrRef = ref();
  36. // const editFunRef = ref();
  37. // const editEventRef = ref();
  38. // const editTabRef = ref();
  39. const state = reactive<TableDataState>({
  40. title: ''
  41. });
  42. return {
  43. Edit,
  44. // editDicRef,
  45. // editAttrRef,
  46. // editFunRef,
  47. // editEventRef,
  48. // editTabRef,
  49. ...toRefs(state),
  50. };
  51. },
  52. });
  53. </script>
  54. <style>
  55. </style>