|
@@ -30,7 +30,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="activeName === 'third'">
|
|
|
- <el-button type="primary" @click="downExcel">下载至Excel</el-button>
|
|
|
+ <el-button type="primary" v-if="useUserStore().user.userId == '1654759325866348572'" @click="downExcel">下载至Excel</el-button>
|
|
|
<byTable :hidePagination="true" :hideSearch="true" :source="tableData" :config="config" highlight-current-row :action-list="[]">
|
|
|
<template #amount="{ item }">
|
|
|
<div :style="'color: ' + (item.status === '10' ? '#04cb04;' : 'red;')">
|
|
@@ -53,6 +53,7 @@ import ContractPDF from "@/components/PDF/contractPDF.vue";
|
|
|
import byTable from "@/components/byTable/index";
|
|
|
import FileSaver from "file-saver";
|
|
|
import XLSX from "xlsx";
|
|
|
+import useUserStore from "@/store/modules/user";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const props = defineProps({
|