From 242d318e85df66b916f554d64a026cfe0cb58e19 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期四, 15 一月 2026 10:26:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/cwxt_master' into cwxt_master
---
ui/admin-ui3/src/views/cwgl/fundFlowClaimDetail/index.vue | 259 +++++++++++++++++++++++----------------------------
1 files changed, 117 insertions(+), 142 deletions(-)
diff --git a/ui/admin-ui3/src/views/cwgl/fundFlowClaimDetail/index.vue b/ui/admin-ui3/src/views/cwgl/fundFlowClaimDetail/index.vue
index a435357..98842de 100644
--- a/ui/admin-ui3/src/views/cwgl/fundFlowClaimDetail/index.vue
+++ b/ui/admin-ui3/src/views/cwgl/fundFlowClaimDetail/index.vue
@@ -1,48 +1,19 @@
<template>
- <basicContainer >
- <avue-crud
- :option="option"
- :table-loading="pageF.loading"
- :data="tableData"
- :page="page"
- :permission="permissionList"
- :before-open="beforeOpen"
- v-model="form"
- ref="crudRef"
- @row-update="rowUpdate"
- @row-save="rowSave"
- @refresh-change="refreshChange"
- @row-del="rowDel"
- @search-change="searchChange"
- @search-reset="searchReset"
- @selection-change="selectionChange"
- @current-change="currentChange"
- @size-change="sizeChange"
- @on-load="onLoad"
- >
+ <basicContainer>
+ <avue-crud :option="option" :table-loading="pageF.loading" :data="tableData" :page="page"
+ :permission="permissionList" :before-open="beforeOpen" v-model="form" ref="crudRef" @row-update="rowUpdate"
+ @row-save="rowSave" @refresh-change="refreshChange" @row-del="rowDel" @search-change="searchChange"
+ @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange"
+ @size-change="sizeChange" @on-load="onLoad">
<template #menu-left>
- <el-button
- type="success"
- icon="Edit"
- :disabled="pageF.single"
- v-hasPermi="['cwgl:fundFlowClaimDetail:edit']"
- @click="handleUpdate">淇敼
+ <el-button type="success" icon="Edit" :disabled="pageF.single" v-hasPermi="['cwgl:fundFlowClaimDetail:edit']"
+ @click="handleUpdate">淇敼
</el-button>
- <el-button
- type="danger"
- icon="Delete"
- :disabled="pageF.multiple"
- @click="handleDelete"
- v-hasPermi="['cwgl:fundFlowClaimDetail:remove']"
- >鍒犻櫎
+ <el-button type="danger" icon="Delete" :disabled="pageF.multiple" @click="handleDelete"
+ v-hasPermi="['cwgl:fundFlowClaimDetail:remove']">鍒犻櫎
</el-button>
- <el-button
- type="warning"
- plain
- icon="Download"
- @click="handleExport"
- v-hasPermi="['cwgl:fundFlowClaimDetail:export']"
- >瀵煎嚭
+ <el-button type="warning" plain icon="Download" @click="handleExport"
+ v-hasPermi="['cwgl:fundFlowClaimDetail:export']">瀵煎嚭
</el-button>
</template>
</avue-crud>
@@ -50,114 +21,118 @@
</template>
<script setup name="fundFlowClaimDetail" lang="ts">
- import {FundFlowClaimDetailI,addFundFlowClaimDetail, delFundFlowClaimDetail, exportFundFlowClaimDetail, getFundFlowClaimDetail, listFundFlowClaimDetail, updateFundFlowClaimDetail} from "@/api/cwgl/fundFlowClaimDetail";
- import useCurrentInstance from "@/utils/useCurrentInstance";
- import {computed,reactive, ref, toRefs} from "vue";
- import {PagesInterface, PageQueryInterface} from "@/utils/globalInterface";
- import {usePagePlus} from "@/hooks/usePagePlus";
- import {hasPermission} from "@/utils/permissionUtils";
+import { FundFlowClaimDetailI, addFundFlowClaimDetail, delFundFlowClaimDetail, exportFundFlowClaimDetail, getFundFlowClaimDetail, listFundFlowClaimDetail, updateFundFlowClaimDetail } from "@/api/cwgl/fundFlowClaimDetail";
+import useCurrentInstance from "@/utils/useCurrentInstance";
+import { computed, reactive, ref, toRefs } from "vue";
+import { PagesInterface, PageQueryInterface } from "@/utils/globalInterface";
+import { usePagePlus } from "@/hooks/usePagePlus";
+import { hasPermission } from "@/utils/permissionUtils";
- const { proxy } = useCurrentInstance();
- const crudRef = ref();
+const { proxy } = useCurrentInstance();
+const crudRef = ref();
- const permissionList = computed(()=>{
- return {
- addBtn: hasPermission(["cwgl:fundFlowClaimDetail:add"]),
- delBtn: hasPermission(["cwgl:fundFlowClaimDetail:remove"]),
- editBtn: hasPermission(["cwgl:fundFlowClaimDetail:edit"]),
- viewBtn: hasPermission(["cwgl:fundFlowClaimDetail:query"]),
- }
- })
+const permissionList = computed(() => {
+ return {
+ addBtn: hasPermission(["cwgl:fundFlowClaimDetail:add"]),
+ delBtn: hasPermission(["cwgl:fundFlowClaimDetail:remove"]),
+ editBtn: hasPermission(["cwgl:fundFlowClaimDetail:edit"]),
+ viewBtn: hasPermission(["cwgl:fundFlowClaimDetail:query"]),
+ }
+})
- const data = reactive({
- form:<FundFlowClaimDetailI>{},
- queryParams:<FundFlowClaimDetailI&PageQueryInterface>{},
- page: <PagesInterface>{
- pageSize: 10,
- total: 0,
- currentPage: 1,
+const data = reactive({
+ form: <FundFlowClaimDetailI>{},
+ queryParams: <FundFlowClaimDetailI & PageQueryInterface>{},
+ page: <PagesInterface>{
+ pageSize: 10,
+ total: 0,
+ currentPage: 1,
+ },
+ selectionList: [],
+})
+const { queryParams, form, page, selectionList } = toRefs(data);
+const option = ref({
+ pageKey: 'FundFlowClaimDetail',
+ rowKey: 'id',
+ column: {
+ id: {
+ label: '涓诲缓',
},
- selectionList:[],
- })
- const {queryParams,form,page,selectionList} = toRefs(data);
- const option = ref({
- pageKey: 'FundFlowClaimDetail',
- rowKey: 'id',
- column: {
- id: {
- label: '涓诲缓',
- },
- fundFlowId: {
- label: '璧勯噾娴佹按ID',
- rules: [
- {
- required: true,
- message: "璧勯噾娴佹按ID涓嶈兘涓虹┖", trigger: "blur" }
- ], },
- billNo: {
- label: '璐﹀崟缂栧彿',
- rules: [
- {
- required: true,
- message: "璐﹀崟缂栧彿涓嶈兘涓虹┖", trigger: "blur" }
- ], },
- relatedCompanyType: {
- label: '鍏宠仈浼佷笟绫诲瀷',
- },
- relatedCompanyName: {
- label: '鍏宠仈浼佷笟鍚嶇О',
- },
- billAmount: {
- label: '璐﹀崟閲戦',
- },
- billPendingAmount: {
- label: '璐﹀崟寰呯粨绠楅噾棰�',
- },
- claimAmount: {
- label: '璁ら閲戦',
- },
- claimDate: {
- label: '璁ら鏃ユ湡',
- },
- remarks: {
- label: '澶囨敞',
- type: 'textarea', minRows: 3, maxRows: 5,
- },
- createBy: {
- label: '鍒涘缓鑰�',
- },
- createTime: {
- label: '鍒涘缓鏃堕棿',
- },
- updateBy: {
- label: '鏇存柊鑰�',
- },
- updateTime: {
- label: '鏇存柊鏃堕棿',
- },
- delFlag: {
- label: '鍒犻櫎鏍囧織',
- },
- }
- })
+ fundFlowId: {
+ label: '璧勯噾娴佹按ID',
+ rules: [
+ {
+ required: true,
+ message: "璧勯噾娴佹按ID涓嶈兘涓虹┖", trigger: "blur"
+ }
+ ],
+ },
+ billNo: {
+ label: '璐﹀崟缂栧彿',
+ rules: [
+ {
+ required: true,
+ message: "璐﹀崟缂栧彿涓嶈兘涓虹┖", trigger: "blur"
+ }
+ ],
+ },
+ relatedCompanyType: {
+ label: '鍏宠仈浼佷笟绫诲瀷',
+ },
+ relatedCompanyName: {
+ label: '鍏宠仈浼佷笟鍚嶇О',
+ },
+ billAmount: {
+ label: '璐﹀崟閲戦',
+ },
+ billPendingAmount: {
+ label: '璐﹀崟寰呯粨绠楅噾棰�',
+ },
+ claimAmount: {
+ label: '璁ら閲戦',
+ },
+ claimDate: {
+ label: '璁ら鏃ユ湡',
+ },
+ remarks: {
+ label: '澶囨敞',
+ type: 'textarea', minRows: 3, maxRows: 5,
+ },
+ createBy: {
+ label: '鍒涘缓鑰�',
+ },
+ createTime: {
+ label: '鍒涘缓鏃堕棿',
+ },
+ updateBy: {
+ label: '鏇存柊鑰�',
+ },
+ updateTime: {
+ label: '鏇存柊鏃堕棿',
+ },
+ delFlag: {
+ label: '鍒犻櫎鏍囧織',
+ },
+ }
+})
- const { tableData,pageF,rowSave,rowUpdate,rowDel,beforeOpen,searchChange,
- searchReset,selectionChange,onLoad,currentChange,sizeChange,handleDelete,handleExport,handleUpdate,refreshChange} = usePagePlus({
- form:form,
- option:option,
- queryParams:queryParams,
- idKey:'id',
- page:page.value,
- getListApi:listFundFlowClaimDetail,
- getDetailApi:getFundFlowClaimDetail,
- exportApi:exportFundFlowClaimDetail,
- deleteApi:delFundFlowClaimDetail,
- addApi:addFundFlowClaimDetail,
- updateApi:updateFundFlowClaimDetail,
- handleUpdateFunc:()=>{
+const { tableData, pageF, rowSave, rowUpdate, rowDel, beforeOpen, searchChange,
+ searchReset, selectionChange, onLoad, currentChange, sizeChange, handleDelete, handleExport, handleUpdate, refreshChange } = usePagePlus({
+ form: form,
+ option: option,
+ queryParams: queryParams,
+ idKey: 'id',
+ page: page.value,
+ getListApi: listFundFlowClaimDetail,
+ getDetailApi: getFundFlowClaimDetail,
+ exportApi: exportFundFlowClaimDetail,
+ deleteApi: delFundFlowClaimDetail,
+ addApi: addFundFlowClaimDetail,
+ updateApi: updateFundFlowClaimDetail,
+ handleUpdateFunc: () => {
crudRef.value.rowEdit(selectionList.value[0]);
},
- handleSelectionChangeFunc:(selection:any)=>{
+ handleSelectionChangeFunc: (selection: any) => {
selectionList.value = selection;
}
})
--
Gitblit v1.8.0