|
|
@@ -26,7 +26,7 @@
|
|
|
<a-button v-else-if="item.action === 'REFRESH'" :icon="h(ReloadOutlined)" @click="refresh">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
- <a-button v-else-if="item.action === 'NOTICE'" :icon="h(BellTwoTone)">
|
|
|
+ <a-button v-else-if="item.action === 'NOTICE'" :icon="h(BellTwoTone)" @click="sendNotification">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
<a-button
|
|
|
@@ -41,13 +41,7 @@
|
|
|
|
|
|
<div v-else />
|
|
|
|
|
|
- <a-space size="small">
|
|
|
- <template v-for="(item, index) in tabButtonsInEveryPage" :key="index">
|
|
|
- <a-button>
|
|
|
- {{ item.name }}
|
|
|
- </a-button>
|
|
|
- </template>
|
|
|
- </a-space>
|
|
|
+
|
|
|
|
|
|
|
|
|
<a-space v-if="rightTabButton && rightTabButton.length" size="small">
|
|
|
@@ -61,13 +55,13 @@
|
|
|
<a-button v-else-if="item.action === 'DELETE'" :icon="h(DeleteTwoTone)" @click="deleteData">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
- <a-button v-else-if="item.action === 'RUN_PROCESS_REPORT'" :icon="h(ControlTwoTone)">
|
|
|
+ <a-button v-else-if="item.action === 'RUN_PROCESS_REPORT'" :icon="h(ControlTwoTone)" @click="execute(item)">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
- <a-button v-else-if="item.action === 'OPEN_CUSTOMER_WINDOW'" :icon="h(BookTwoTone)">
|
|
|
+ <a-button v-else-if="item.action === 'OPEN_CUSTOMER_WINDOW'" :icon="h(BookTwoTone)" @click="execute(item)">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
- <a-button v-else-if="item.action === 'OPEN_HTML_WINDOW'" :icon="h(ContainerTwoTone)">
|
|
|
+ <a-button v-else-if="item.action === 'OPEN_HTML_WINDOW'" :icon="h(ContainerTwoTone)" @click="execute(item)">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
<a-button v-else-if="item.action === 'EXPORT'" :icon="h(FileTextTwoTone)" @click="exportConfirm">
|
|
|
@@ -76,7 +70,7 @@
|
|
|
<a-button v-else-if="item.action === 'REFRESH'" :icon="h(ReloadOutlined)" @click="refresh">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
- <a-button v-else-if="item.action === 'NOTICE'" :icon="h(BellTwoTone)">
|
|
|
+ <a-button v-else-if="item.action === 'NOTICE'" :icon="h(BellTwoTone)" @click="sendNotification">
|
|
|
{{ item.name }}
|
|
|
</a-button>
|
|
|
<a-button
|
|
|
@@ -90,6 +84,13 @@
|
|
|
</a-space>
|
|
|
<div v-else />
|
|
|
</div>
|
|
|
+ <!-- <a-space size="small">
|
|
|
+ <template v-for="(item, index) in tabButtonsInEveryPage" :key="index">
|
|
|
+ <a-button>
|
|
|
+ {{ item.name }}
|
|
|
+ </a-button>
|
|
|
+ </template>
|
|
|
+ </a-space> -->
|
|
|
<Modal v-model:show="modal" :full="true">
|
|
|
<ProcessReportResultPreview
|
|
|
v-if="
|
|
|
@@ -470,6 +471,10 @@ const tabButtonsHandler = () => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if(tabButtonsInEveryPage.value && tabButtonsInEveryPage.value.length){
|
|
|
+ const tabButtons = JSON.parse(JSON.stringify(tabButtonsInEveryPage.value));
|
|
|
+ parseLeftRightButton(tabButtons);
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
// 获取表头按钮分组值,如果没有分组则使用页签按钮
|