支持mall账户能看到编辑界面

master
zhaochencheng 3 years ago
parent 5e2e4ff446
commit 7ccfd74b87

@ -166,7 +166,7 @@ export const dynamicRoutes = [
path: '/product', path: '/product',
component: Layout, component: Layout,
hidden: true, hidden: true,
permissions: ['pms:product:add'], permissions: ['pms:product:list'],
children: [ children: [
{ {
path: 'edit', path: 'edit',

@ -28,7 +28,6 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['pms:brand:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -54,14 +53,12 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['pms:brand:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['pms:brand:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>

@ -55,7 +55,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['pms:product:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col>
</el-row> </el-row>
@ -97,14 +97,12 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['pms:product:edit']"
>修改</el-button> >修改</el-button>
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['pms:product:remove']"
>删除</el-button> >删除</el-button>
</template> </template>
</el-table-column> </el-table-column>

@ -30,7 +30,6 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['pms:productCategory:add']"
>新增 >新增
</el-button> </el-button>
</el-col> </el-col>
@ -61,7 +60,6 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['pms:productCategory:edit']"
>修改 >修改
</el-button> </el-button>
<el-button <el-button
@ -69,7 +67,6 @@
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="['pms:productCategory:remove']"
>删除 >删除
</el-button> </el-button>
</template> </template>

Loading…
Cancel
Save