Commit 337f88c3 by Lin

feat: 门店毛利按钮权限配置

1 parent b675f1e1
......@@ -1036,6 +1036,50 @@ export const routerName = {
category: "Button",
type: "primary",
handle: "handleSetBatch"
},
// 门店毛利额操作权限
{
authId: "9061937",
parentId: "90619",
label: "导入毛利",
category: "Button",
type: "primary",
handle: "handleImport"
},
{
authId: "9061938",
parentId: "90619",
label: "新增毛利",
icon: "plus",
category: "Button",
type: "primary",
handle: "handleAdd"
},
{
authId: "9061939",
parentId: "90619",
label: "导出",
category: "Button",
type: "primary",
handle: "handleExport"
},
{
authId: "9061940",
parentId: "90619",
label: "详情",
handle: "handleDetail"
},
{
authId: "9061941",
parentId: "90619",
label: "修改",
handle: "handleEdit"
},
{
authId: "9061942",
parentId: "90619",
label: "删除",
handle: "handleDelete"
}
],
// component: _import("systemConfig/ShopConfig/index")
......
......@@ -58,7 +58,7 @@
<d2-table-header>
<span>
<auth-button category="Button"
:show-btn-ids="['9061928','9061929','9061930']" /></span>
:show-btn-ids="['9061937','9061938','9061939']" /></span>
</d2-table-header>
<d2-table ref="personalTable"
:search-form="searchFormSearch"
......@@ -76,19 +76,19 @@
<!-- 详情 -->
<span style="margin-right: 10px">
<auth-button :data="scope.scope"
:show-btn-ids="['9061931']" />
:show-btn-ids="['9061940']" />
</span>
<!-- 修改 -->
<span style="margin-right: 10px"
v-if="scope.scope.allowUpdate == true">
<auth-button :data="scope.scope"
:show-btn-ids="['9061932']" />
:show-btn-ids="['9061941']" />
</span>
<!-- 删除 -->
<span style="margin-right: 10px"
v-if="scope.scope.allowUpdate == true">
<auth-button :data="scope.scope"
:show-btn-ids="['9061933']" />
:show-btn-ids="['9061942']" />
</span>
</div>
</d2-table>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!