|
@@ -43,20 +43,20 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection" size="small">
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" v-auth="'saleCode:sale_order:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
- <a-button type="primary" v-auth="'saleCode:sale_order:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls">
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_approver_set:add'" @click="handleAdd" preIcon="ant-design:plus-outlined"> 新增(add)</a-button>
|
|
|
+ <a-button type="primary" v-auth="'baseCode:base_approver_set:exportXls'" preIcon="ant-design:export-outlined" @click="onExportXls">
|
|
|
导出(export)</a-button
|
|
|
>
|
|
|
<a-dropdown v-if="selectedRowKeys.length > 0">
|
|
|
<template #overlay>
|
|
|
<a-menu>
|
|
|
- <a-menu-item key="1" @click="batchHandleDelete" v-auth="'saleCode:sale_order_form:deleteBatch'">
|
|
|
+ <a-menu-item key="1" @click="batchHandleDelete" v-auth="'baseCode:base_approver_set:deleteBatch'">
|
|
|
<Icon icon="ant-design:delete-outlined" />
|
|
|
删除(delete)
|
|
|
</a-menu-item>
|
|
|
</a-menu>
|
|
|
</template>
|
|
|
- <a-button v-auth="'saleCode:sale_order:delete'"
|
|
|
+ <a-button v-auth="'baseCode:base_approver_set:deleteBatch'"
|
|
|
>批量操作
|
|
|
<Icon icon="mdi:chevron-down" />
|
|
|
</a-button>
|
|
@@ -76,7 +76,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
- <script lang="ts" name="saleCode-saleInquiryForm" setup>
|
|
|
+ <script lang="ts" name="approvalProcessConfig" setup>
|
|
|
import { ref, reactive, computed, unref, onMounted } from 'vue';
|
|
|
import { BasicTable, useTable, TableAction } from '/@/components/Table';
|
|
|
import { useListPage } from '/@/hooks/system/useListPage';
|
|
@@ -191,7 +191,7 @@
|
|
|
{
|
|
|
label: '编辑(edit)',
|
|
|
onClick: handleEdit.bind(null, record),
|
|
|
- auth: 'saleCode:sale_order:edit',
|
|
|
+ auth: 'baseCode:base_approver_set:edit',
|
|
|
ifShow: record.submit == '0' || !record.submit,
|
|
|
},
|
|
|
];
|
|
@@ -212,7 +212,7 @@
|
|
|
confirm: handleDelete.bind(null, record),
|
|
|
placement: 'topLeft',
|
|
|
},
|
|
|
- auth: 'saleCode:sale_order:delete',
|
|
|
+ auth: 'baseCode:base_approver_set:delete',
|
|
|
ifShow: record.submit == '0' || !record.submit,
|
|
|
},
|
|
|
];
|