| 123456789101112 |
- <template>
- <StationConfigCrud :module-config="moduleConfig" :api="api" />
- </template>
- <script setup name="StationChannel">
- import StationConfigCrud from '../StationConfigCrud.vue';
- import { stationConfigModules } from '../moduleConfig';
- import { listChannel, getChannel, addChannel, updateChannel, delChannel } from '@/api/config/channel';
- const moduleConfig = stationConfigModules.find((item) => item.key === 'channel');
- const api = { list: listChannel, get: getChannel, add: addChannel, update: updateChannel, del: delChannel };
- </script>
|