diff --git a/src/api/modules/huizhou.ts b/src/api/modules/huizhou.ts index b9bb624..4ffba2c 100644 --- a/src/api/modules/huizhou.ts +++ b/src/api/modules/huizhou.ts @@ -68,3 +68,15 @@ export const payGovermentAdd = (params: any) => { export const paySubItemList = (params: any) => { return http.post(BASEURL + `/project/investmentPaymentItem/list`, params); }; +// 投资支付子项详细列表(项目端) +export const subItemDetailList = (params: any) => { + return http.post(BASEURL + `/project/investmentPaymentDetail/list`, params); +}; +// 投资支付子项列表(政务端) +export const payGovermentSubItemList = (params: any) => { + return http.post(BASEURL + `/gov/investmentPaymentItem/list`, params); +}; +// 投资支付子项详细列表(项目端) +export const subGovermentItemDetailList = (params: any) => { + return http.post(BASEURL + `/gov/investmentPaymentDetail/list`, params); +}; diff --git a/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthBottLeftView.vue b/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthBottLeftView.vue index bbb214a..603cdc7 100644 --- a/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthBottLeftView.vue +++ b/src/views/goverment/huizhou/largeScreen/largeScreenTwo/components/RigthBottLeftView.vue @@ -646,7 +646,7 @@ const setjindue = () => { diff --git a/src/views/goverment/huizhou/progressManagement/investmentPayment/index.vue b/src/views/goverment/huizhou/progressManagement/investmentPayment/index.vue index c09495b..e03034d 100644 --- a/src/views/goverment/huizhou/progressManagement/investmentPayment/index.vue +++ b/src/views/goverment/huizhou/progressManagement/investmentPayment/index.vue @@ -43,12 +43,12 @@ :isShowSearch="false" > - + +
@@ -46,43 +55,46 @@
- -
+ +
- - + + + - - - + + + - - + + - - + + - - - - - - + + + + +
@@ -94,7 +106,7 @@ import { onMounted, ref, watch, reactive } from "vue"; import { ElMessage, ElMessageBox } from "element-plus"; import type { FormInstance, UploadProps } from "element-plus"; import { relativeInfo, timeLineData, submitReform, submitAll } from "@/api/modules/project"; -import { paySubItemList } from "@/api/modules/huizhou"; +import { paySubItemList, subItemDetailList } from "@/api/modules/huizhou"; const baseUrl = import.meta.env.VITE_API_URL; const props = defineProps({ detailsDialog: Boolean, @@ -130,8 +142,16 @@ const arraySpanMethod = ({ row, column, rowIndex, columnIndex }) => { // 修改数据按钮 const handleEditItem = async (row: any) => { console.log(row); + getSubDetailList(row.id); auditVisible.value = true; }; +const getSubDetailList = async (id: any) => { + const res = await subItemDetailList({ itemId: id }); + if (res) { + recordItemData.value = res.result; + } + console.log(res, "-------子项详细数据"); +}; // 全部整改完成,提交 const allSubmit = async () => { const res = await submitAll({ id: basicData.value.id }); @@ -233,10 +253,9 @@ onMounted(() => {}); margin-top: 20px; } } - - .audit-title { - border-left: 2px solid #0f81ff !important; - } +} +.sub-table { + height: 391px; } .test :deep(.el-input__wrapper) { @@ -253,4 +272,33 @@ onMounted(() => {}); justify-content: center; align-items: center; } +:deep() { + td.el-table__cell { + background-color: transparent !important; + border-bottom: 0 !important; + color: var(--el-menu-text-color); + font-size: 16px !important; + border-right: 2px solid #252526; + } + th.el-table__cell { + background-color: transparent; + border-bottom: 0 !important; + border-right: 2px solid #252526; + } + .el-table__inner-wrapper::before { + height: 0px; + } + .el-table--border::before { + width: 0px; + } + .el-table--border .el-table__inner-wrapper::after { + height: 0px; + } + .el-table--border::after { + width: 0px; + } + .el-table__border-left-patch { + width: 0; + } +}