fix: align platform admin resource paths

This commit is contained in:
2026-07-27 09:44:08 +08:00
parent 5ba0b47b8a
commit bc06d9b5f9
37 changed files with 215 additions and 208 deletions

View File

@@ -1 +1,6 @@
<template><CrudListPage title="业主客户" resource="/user/user" :fields="fields" /></template><script setup lang="ts">import CrudListPage from '@/views/shared/CrudListPage.vue'; const fields = [{ key: 'name', label: '姓名', required: true }, { key: 'phone', label: '手机号' }, { key: 'real_name', label: '实名名称' }];</script>
<template><CrudListPage :definition="definition" /></template>
<script setup lang="ts">
import CrudListPage from '@/views/shared/CrudListPage.vue';
import { getResource } from '@/api/resources';
const definition = getResource('/user/account');
</script>

View File

@@ -2,5 +2,5 @@
<script setup lang="ts">
import CrudListPage from '@/views/shared/CrudListPage.vue';
import { getResource } from '@/api/resources';
const definition = getResource('/user/user_account');
const definition = getResource('/user/account');
</script>

View File

@@ -2,5 +2,5 @@
<script setup lang="ts">
import CrudListPage from '@/views/shared/CrudListPage.vue';
import { getResource } from '@/api/resources';
const definition = getResource('/user/user_address');
const definition = getResource('/user/address');
</script>

View File

@@ -2,5 +2,5 @@
<script setup lang="ts">
import CrudListPage from '@/views/shared/CrudListPage.vue';
import { getResource } from '@/api/resources';
const definition = getResource('/user/user_service_relation');
const definition = getResource('/user/service_relation');
</script>