权限 接口修改

This commit is contained in:
shidongli 2022-11-14 13:47:33 +08:00
parent d3fb98206a
commit 32307fbd0f
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询商品基本信息列表
export function listGoodsInfo(query) {
return request({
url: '/system/goodsInfo/list',
url: '/system/goodsCategory/getStationCategoryList',
method: 'get',
params: query
})

View File

@ -86,7 +86,7 @@
icon="el-icon-plus"
size="mini"
@click="handleAdd"
v-hasPermi="['system:operateGoodInfo:add']"
v-hasPermi="['system:goodsInfo:add']"
>新增</el-button
>
</el-col>
@ -98,7 +98,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
v-hasPermi="['system:operateGoodInfo:edit']"
v-hasPermi="['system:goodsInfo:edit']"
>修改</el-button
>
</el-col>
@ -174,7 +174,7 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['system:operateGoodInfo:edit']"
v-hasPermi="['system:goodsInfo:edit']"
>修改</el-button
>
<el-button
@ -182,7 +182,7 @@
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['system:operateGoodInfo:remove']"
v-hasPermi="['system:goodsInfo:remove']"
>删除</el-button
>
</template>
@ -828,7 +828,7 @@ export default {
/** 修改按钮操作 */
handleUpdate(row) {
console.log(row)
// this.reset();
this.reset();
const id = row.goodsInfoId || this.ids;
getGoodsInfo(id).then((response) => {
console.log(response)