修改权限

master
夜笙歌 2 years ago
parent 480f4ff460
commit be3e1a2983

@ -90,7 +90,7 @@
plain plain
icon="Plus" icon="Plus"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['basetyre:basetyre:add']" v-hasPermi="['basetyre:tyre:add']"
>{{ t('option.add') }} >{{ t('option.add') }}
</el-button> </el-button>
</el-col> </el-col>
@ -101,7 +101,7 @@
icon="Delete" icon="Delete"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="['basetyre:basetyre:remove']" v-hasPermi="['basetyre:tyre:remove']"
>{{ t('option.remove') }} >{{ t('option.remove') }}
</el-button> </el-button>
</el-col> </el-col>
@ -111,7 +111,7 @@
plain plain
icon="Upload" icon="Upload"
@click="handleImport" @click="handleImport"
v-hasPermi="['system:user:import']" v-hasPermi="['basetyre:tyre:import']"
>导入</el-button> >导入</el-button>
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
@ -120,7 +120,7 @@
plain plain
icon="Download" icon="Download"
@click="handleExport" @click="handleExport"
v-hasPermi="['basetyre:basetyre:export']" v-hasPermi="['basetyre:tyre:export']"
>{{ t('option.export') }} >{{ t('option.export') }}
</el-button> </el-button>
</el-col> </el-col>
@ -148,7 +148,7 @@
type="text" type="text"
icon="Edit" icon="Edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['basetyre:basetyre:edit']" v-hasPermi="['basetyre:tyre:edit']"
>{{ t('option.edit') }} >{{ t('option.edit') }}
</el-button> </el-button>
</template> </template>

@ -63,7 +63,7 @@
plain plain
icon="Download" icon="Download"
@click="handleExport" @click="handleExport"
v-hasPermi="['basetyre:basetyre:export']" v-hasPermi="['basetyre:tyre:export']"
>{{ t('option.export') }} >{{ t('option.export') }}
</el-button> </el-button>
</el-col> </el-col>

@ -31,8 +31,8 @@ export default defineConfig(({mode, command}) => {
proxy: { proxy: {
// https://cn.vitejs.dev/config/#server-proxy // https://cn.vitejs.dev/config/#server-proxy
'/dev-api': { '/dev-api': {
target: 'http://10.11.41.249:8080', // target: 'http://10.11.41.249:8080',
// target: 'http://localhost:8080', target: 'http://localhost:8080',
changeOrigin: true, changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '') rewrite: (p) => p.replace(/^\/dev-api/, '')
} }

Loading…
Cancel
Save