| | |
| | | :underline="false" :size="size" @click="handleDetails(row)" v-hasPermi="['cwgl:fundFlow:edit']"> |
| | | 认领明细 |
| | | </el-link> |
| | | <el-button type="text" icon="View" @click="handleFlow(row)" |
| | | v-hasPermi="['cwgl:fundFlow:flow']">日志</el-button> |
| | | <!-- <el-button type="text" icon="View" @click="handleFlow(row)" |
| | | v-hasPermi="['cwgl:invoiceManage:flow']">日志</el-button> --> |
| | | |
| | | </template> |
| | | </avue-crud> |
| | | </basicContainer> |
| | | <OperationLogModal ref="logModalRef" /> |
| | | |
| | | <ClaimBillDialog ref="claimDialogRef" @submit="handleClaimSubmit" /> |
| | | </template> |
| | |
| | | <script setup name="fundFlow" lang="ts"> |
| | | import { FundFlowI, addFundFlow, delFundFlow, addFundFlowClaimDetailClaim, exportFundFlow, confirmFundFlow, getFundFlow, listFundFlow, updateFundFlow } from "@/api/cwgl/fundFlow"; |
| | | import useCurrentInstance from "@/utils/useCurrentInstance"; |
| | | import { listFundFlowLog} from "@/api/cwgl/fundFlowLog"; |
| | | |
| | | import { computed, reactive, ref, toRefs } from "vue"; |
| | | import { PagesInterface, PageQueryInterface } from "@/utils/globalInterface"; |
| | | import { usePagePlus } from "@/hooks/usePagePlus"; |
| | | import { hasPermission } from "@/utils/permissionUtils"; |
| | | import { listFundFlowClaimDetail } from "@/api/cwgl/fundFlowClaimDetail"; |
| | | import OperationLogModal from '@/components/OperationLogModal/index.vue'; |
| | | |
| | | import ClaimBillDialog from "../../../components/ClaimBillDialog/index.vue"; |
| | | |
| | |
| | | }) |
| | | |
| | | }; |
| | | |
| | | const logModalRef = ref(null); |
| | | const handleFlow = (row: any,) => { |
| | | // 这里可以从 row 中直接获取日志,或者调用后端接口查询 |
| | | listFundFlowLog({flowId:row.id}).then((res) => { |
| | | if (res.code == 200) { |
| | | logModalRef.value.open(res.rows,'payable'); |
| | | } |
| | | }); |
| | | } |
| | | /* listFundFlowClaimDetail */ |
| | | </script> |