| 123456789101112 |
- <template>
- <StationConfigCrud :module-config="moduleConfig" :api="api" />
- </template>
- <script setup name="StationChannel">
- import StationConfigCrud from '../StationConfigCrud.vue';
- import { stationConfigModules } from '../moduleConfig';
- import { listStationChannel, getStationChannel, addStationChannel, updateStationChannel, delStationChannel } from '@/api/config/stationChannel';
- const moduleConfig = stationConfigModules.find((item) => item.key === 'channel');
- const api = { list: listStationChannel, get: getStationChannel, add: addStationChannel, update: updateStationChannel, del: delStationChannel };
- </script>
|