diff --git a/ruoyi-ui/src/views/tireManagement/info/index.vue b/ruoyi-ui/src/views/tireManagement/info/index.vue index 7a07e31..1a5eaf1 100644 --- a/ruoyi-ui/src/views/tireManagement/info/index.vue +++ b/ruoyi-ui/src/views/tireManagement/info/index.vue @@ -90,7 +90,7 @@ plain icon="Plus" @click="handleAdd" - v-hasPermi="['basetyre:basetyre:add']" + v-hasPermi="['basetyre:tyre:add']" >{{ t('option.add') }} @@ -101,7 +101,7 @@ icon="Delete" :disabled="multiple" @click="handleDelete" - v-hasPermi="['basetyre:basetyre:remove']" + v-hasPermi="['basetyre:tyre:remove']" >{{ t('option.remove') }} @@ -111,7 +111,7 @@ plain icon="Upload" @click="handleImport" - v-hasPermi="['system:user:import']" + v-hasPermi="['basetyre:tyre:import']" >导入 @@ -120,7 +120,7 @@ plain icon="Download" @click="handleExport" - v-hasPermi="['basetyre:basetyre:export']" + v-hasPermi="['basetyre:tyre:export']" >{{ t('option.export') }} @@ -148,7 +148,7 @@ type="text" icon="Edit" @click="handleUpdate(scope.row)" - v-hasPermi="['basetyre:basetyre:edit']" + v-hasPermi="['basetyre:tyre:edit']" >{{ t('option.edit') }} diff --git a/ruoyi-ui/src/views/tireManagement/salesData/index.vue b/ruoyi-ui/src/views/tireManagement/salesData/index.vue index 142e062..4cb2357 100644 --- a/ruoyi-ui/src/views/tireManagement/salesData/index.vue +++ b/ruoyi-ui/src/views/tireManagement/salesData/index.vue @@ -63,7 +63,7 @@ plain icon="Download" @click="handleExport" - v-hasPermi="['basetyre:basetyre:export']" + v-hasPermi="['basetyre:tyre:export']" >{{ t('option.export') }} diff --git a/ruoyi-ui/vite.config.js b/ruoyi-ui/vite.config.js index 31d5c39..d3a8730 100644 --- a/ruoyi-ui/vite.config.js +++ b/ruoyi-ui/vite.config.js @@ -31,8 +31,8 @@ export default defineConfig(({mode, command}) => { proxy: { // https://cn.vitejs.dev/config/#server-proxy '/dev-api': { - target: 'http://10.11.41.249:8080', - // target: 'http://localhost:8080', + // target: 'http://10.11.41.249:8080', + target: 'http://localhost:8080', changeOrigin: true, rewrite: (p) => p.replace(/^\/dev-api/, '') }