fix: BUG修改
This commit is contained in:
parent
d5f7fa5b68
commit
d689d39ff0
BIN
src/assets/images/goverHome/报表统计.png
Normal file
BIN
src/assets/images/goverHome/报表统计.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@ -2,6 +2,7 @@
|
|||||||
<!-- 分页组件 -->
|
<!-- 分页组件 -->
|
||||||
<el-pagination
|
<el-pagination
|
||||||
:page-sizes="[10, 25, 50, 100]"
|
:page-sizes="[10, 25, 50, 100]"
|
||||||
|
:current-page="pageable.pageNo"
|
||||||
:small="pageable.small"
|
:small="pageable.small"
|
||||||
:disabled="pageable.disabled"
|
:disabled="pageable.disabled"
|
||||||
:background="pageable.background"
|
:background="pageable.background"
|
||||||
|
|||||||
@ -180,7 +180,8 @@ const formData = ref({
|
|||||||
payAmount: "",
|
payAmount: "",
|
||||||
payTime: "",
|
payTime: "",
|
||||||
unPayAmount: "",
|
unPayAmount: "",
|
||||||
payRatio: ""
|
payRatio: "",
|
||||||
|
applyIdList: ""
|
||||||
});
|
});
|
||||||
const background = ref(true);
|
const background = ref(true);
|
||||||
const pageable = ref({
|
const pageable = ref({
|
||||||
@ -225,6 +226,7 @@ const getApplyTimeData = async () => {
|
|||||||
const saveItem = async (form: any) => {
|
const saveItem = async (form: any) => {
|
||||||
let requestData = {
|
let requestData = {
|
||||||
...form,
|
...form,
|
||||||
|
applyIdList: [form.applyIdList],
|
||||||
contractId: props.relativeId
|
contractId: props.relativeId
|
||||||
};
|
};
|
||||||
if (props.active == 0) {
|
if (props.active == 0) {
|
||||||
@ -243,7 +245,8 @@ const openAdd = () => {
|
|||||||
payAmount: "",
|
payAmount: "",
|
||||||
payTime: "",
|
payTime: "",
|
||||||
unPayAmount: "",
|
unPayAmount: "",
|
||||||
payRatio: ""
|
payRatio: "",
|
||||||
|
applyIdList: ""
|
||||||
});
|
});
|
||||||
addVisible.value = true;
|
addVisible.value = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@ -463,7 +463,13 @@ const handleItemDetail = async (row: any) => {
|
|||||||
};
|
};
|
||||||
// 新增,编辑数据
|
// 新增,编辑数据
|
||||||
const saveItem = async (form: any) => {
|
const saveItem = async (form: any) => {
|
||||||
form.engineeringSn = searchSn.value;
|
if (active.value === 0) {
|
||||||
|
form.projectSn = searchSn.value;
|
||||||
|
delete form.engineeringSn;
|
||||||
|
} else {
|
||||||
|
form.engineeringSn = searchSn.value;
|
||||||
|
delete form.projectSn;
|
||||||
|
}
|
||||||
if (form.id && title.value != "查看") {
|
if (form.id && title.value != "查看") {
|
||||||
// console.log(form.dictCode);
|
// console.log(form.dictCode);
|
||||||
const res = await globalPlanGovermentEdit(form);
|
const res = await globalPlanGovermentEdit(form);
|
||||||
|
|||||||
31
src/views/goverment/reportStatistics/index.vue
Normal file
31
src/views/goverment/reportStatistics/index.vue
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<template>
|
||||||
|
<div class="outside">
|
||||||
|
<layoutTop></layoutTop>
|
||||||
|
<iframe :src="`${baseUrl}/jmreport/list`" style="width: 100%; height: 98%; border: medium none" frameborder="1"></iframe>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { ref, onBeforeMount } from "vue";
|
||||||
|
import layoutTop from "@/components/layoutTop/index.vue";
|
||||||
|
import { GlobalStore } from "@/stores";
|
||||||
|
onBeforeMount(() => {
|
||||||
|
getToken();
|
||||||
|
});
|
||||||
|
const baseUrl = import.meta.env.VITE_API_URL;
|
||||||
|
const token = ref("");
|
||||||
|
const getToken = () => {
|
||||||
|
const globalstore = GlobalStore();
|
||||||
|
token.value = globalstore.token;
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.outside {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
height: 90vh;
|
||||||
|
width: 100vw;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user