|
@@ -86,9 +86,19 @@ async function onDownloadOpenInv() {
|
|
|
onStart: () => (loading.value = true),
|
|
|
onSuccess: () => (loading.value = false),
|
|
|
onFail: () => (loading.value = false),
|
|
|
- params: {
|
|
|
- ...pageContentRef.value.getBasicParams()
|
|
|
- }
|
|
|
+ params: {...pageContentRef.value.getBasicParams()}
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+async function onDownloadCapitalInfo() {
|
|
|
+ await httpRequsetExport({
|
|
|
+ url: "orderPay/exportTrade",
|
|
|
+ name: "资金认领数据表",
|
|
|
+ onStart: () => (loading.value = true),
|
|
|
+ onSuccess: () => (loading.value = false),
|
|
|
+ onFail: () => (loading.value = false),
|
|
|
+ params: { ...pageContentRef.value.getBasicParams()}
|
|
|
});
|
|
|
}
|
|
|
</script>
|
|
@@ -106,6 +116,13 @@ async function onDownloadOpenInv() {
|
|
|
<el-button :loading="loading" @click="() => onDownloadOpenInv()">
|
|
|
资金认领数据导出
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ v-if="hasPermissionWithCode('057')"
|
|
|
+ @click="() => onDownloadCapitalInfo()"
|
|
|
+ :loading="loading"
|
|
|
+ >
|
|
|
+ 资金信息导出
|
|
|
+ </el-button>
|
|
|
<el-button
|
|
|
v-if="!isSuperUser && hasPermissionWithCode('029')"
|
|
|
@click="onDownloadTemplate"
|