fix: BUG修改
This commit is contained in:
parent
5c6ee66131
commit
8a88dd57bc
@ -281,6 +281,10 @@ export const getEntSubItemproject = (params: User.ReqUserParams) => {
|
|||||||
return http.post<ResPage<User.ResUserList>>(BASEURL + `/ent/projectSubItem/engineeringPage`, params);
|
return http.post<ResPage<User.ResUserList>>(BASEURL + `/ent/projectSubItem/engineeringPage`, params);
|
||||||
};
|
};
|
||||||
// 分部分项全部数据
|
// 分部分项全部数据
|
||||||
|
export const bigEntItemAll = (params: any) => {
|
||||||
|
return http.post(BASEURL + `/ent/projectSubItem/list`, params);
|
||||||
|
};
|
||||||
|
// 分部分项分页数据
|
||||||
export const bigEntItemPage = (params: any) => {
|
export const bigEntItemPage = (params: any) => {
|
||||||
return http.post(BASEURL + `/ent/projectSubItem/page`, params);
|
return http.post(BASEURL + `/ent/projectSubItem/page`, params);
|
||||||
};
|
};
|
||||||
@ -356,6 +360,10 @@ export const entApplyTimeList = (params: any) => {
|
|||||||
export const entSubItemDetailAdd = (params: any) => {
|
export const entSubItemDetailAdd = (params: any) => {
|
||||||
return http.post(BASEURL + `/ent/investmentPaymentDetail/add`, params);
|
return http.post(BASEURL + `/ent/investmentPaymentDetail/add`, params);
|
||||||
};
|
};
|
||||||
|
// 分页列表查询投资支付工程
|
||||||
|
export const getEntApplyTimeproject = (params: User.ReqUserParams) => {
|
||||||
|
return http.post<ResPage<User.ResUserList>>(BASEURL + `/ent/investmentApply/engineeringPage`, params);
|
||||||
|
};
|
||||||
// 申报时段分页列表
|
// 申报时段分页列表
|
||||||
export const entApplyTimePage = (params: any) => {
|
export const entApplyTimePage = (params: any) => {
|
||||||
return http.post(BASEURL + `/ent/investmentApply/page`, params);
|
return http.post(BASEURL + `/ent/investmentApply/page`, params);
|
||||||
|
|||||||
@ -46,6 +46,9 @@
|
|||||||
<el-button class="btnStyle" @click="handleAddItem()">新增</el-button>
|
<el-button class="btnStyle" @click="handleAddItem()">新增</el-button>
|
||||||
<!-- <el-button class="btnStyle">刷新</el-button> -->
|
<!-- <el-button class="btnStyle">刷新</el-button> -->
|
||||||
</template>
|
</template>
|
||||||
|
<template #state="{ row }">
|
||||||
|
<span>{{ row.state == 1 ? "未开始" : row.state == 2 ? "进行中" : row.state == 3 ? "已完成" : "已逾期" }}</span>
|
||||||
|
</template>
|
||||||
<template #slippage="{ row }">
|
<template #slippage="{ row }">
|
||||||
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{
|
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{
|
||||||
row.slippage ? row.slippage : ""
|
row.slippage ? row.slippage : ""
|
||||||
@ -147,6 +150,17 @@ const columns: ColumnProps[] = [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prop: "state",
|
||||||
|
label: "状态",
|
||||||
|
search: { el: "select" },
|
||||||
|
enum: [
|
||||||
|
{ label: "未开始", value: 1 },
|
||||||
|
{ label: "进行中", value: 2 },
|
||||||
|
{ label: "已完成", value: 3 },
|
||||||
|
{ label: "已逾期", value: 4 }
|
||||||
|
]
|
||||||
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 120 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 120 }
|
||||||
];
|
];
|
||||||
// 弹窗中的配置
|
// 弹窗中的配置
|
||||||
|
|||||||
@ -181,7 +181,15 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "state",
|
prop: "state",
|
||||||
label: "状态",
|
label: "状态",
|
||||||
width: 150
|
search: { el: "select" },
|
||||||
|
width: 150,
|
||||||
|
enum: [
|
||||||
|
{ label: "执法中", value: 1 },
|
||||||
|
{ label: "待整改", value: 2 },
|
||||||
|
{ label: "待审核", value: 3 },
|
||||||
|
{ label: "已闭合", value: 4 },
|
||||||
|
{ label: "已驳回", value: 5 }
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
||||||
|
|||||||
@ -150,7 +150,15 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "state",
|
prop: "state",
|
||||||
label: "状态",
|
label: "状态",
|
||||||
width: 150
|
search: { el: "select" },
|
||||||
|
width: 150,
|
||||||
|
enum: [
|
||||||
|
{ label: "执法中", value: 1 },
|
||||||
|
{ label: "待整改", value: 2 },
|
||||||
|
{ label: "待审核", value: 3 },
|
||||||
|
{ label: "已闭合", value: 4 },
|
||||||
|
{ label: "已驳回", value: 5 }
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
||||||
|
|||||||
@ -50,12 +50,14 @@ const onClose = () => {
|
|||||||
const mapData = async () => {
|
const mapData = async () => {
|
||||||
console.log(props.projectData);
|
console.log(props.projectData);
|
||||||
map.value = new BMapGL.Map("mapBox"); // 初始化地图
|
map.value = new BMapGL.Map("mapBox"); // 初始化地图
|
||||||
let point = new BMapGL.Point(props.projectData.longitude, props.projectData.latitude); // 点位设置
|
|
||||||
map.value.centerAndZoom(point, 12); // 初始化地图,设置中心点坐标和地图级别
|
|
||||||
map.value.enableScrollWheelZoom(true); // 设置可以鼠标滑动进行缩放
|
map.value.enableScrollWheelZoom(true); // 设置可以鼠标滑动进行缩放
|
||||||
map.value.setMapStyleV2({
|
map.value.setMapStyleV2({
|
||||||
styleJson: mapstyle()
|
styleJson: mapstyle()
|
||||||
});
|
});
|
||||||
|
setTimeout(function () {
|
||||||
|
let point = new BMapGL.Point(props.projectData.longitude, props.projectData.latitude); // 点位设置
|
||||||
|
map.value.centerAndZoom(point, 12); // 初始化地图,设置中心点坐标和地图级别
|
||||||
|
}, 500);
|
||||||
};
|
};
|
||||||
// 设置镂空面
|
// 设置镂空面
|
||||||
// const setHoleArea = () => {
|
// const setHoleArea = () => {
|
||||||
@ -180,8 +182,8 @@ const translateCallback = (data: any) => {
|
|||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
console.log("onMounted");
|
console.log("onMounted");
|
||||||
await mapData();
|
await mapData();
|
||||||
// addMarker();
|
addMarker();
|
||||||
// drawArea();
|
drawArea();
|
||||||
// setHoleArea();
|
// setHoleArea();
|
||||||
// createArea();
|
// createArea();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -74,7 +74,7 @@ import { useRouter } from "vue-router";
|
|||||||
import { ColumnProps } from "@/components/ProTable/interface";
|
import { ColumnProps } from "@/components/ProTable/interface";
|
||||||
import ProTable from "@/components/ProTable/index.vue";
|
import ProTable from "@/components/ProTable/index.vue";
|
||||||
import changeTheme from "@/components/changeTheme/index.vue";
|
import changeTheme from "@/components/changeTheme/index.vue";
|
||||||
import { entApplyTimePage, entApplyTimeAdd, getEntSubItemproject } from "@/api/modules/huizhou";
|
import { entApplyTimePage, entApplyTimeAdd, getEntApplyTimeproject } from "@/api/modules/huizhou";
|
||||||
import { GlobalStore } from "@/stores";
|
import { GlobalStore } from "@/stores";
|
||||||
import DialogForm from "@/components/DialogForm/index.vue";
|
import DialogForm from "@/components/DialogForm/index.vue";
|
||||||
import transformInfo1 from "./components/transformInfo1.vue";
|
import transformInfo1 from "./components/transformInfo1.vue";
|
||||||
@ -191,13 +191,13 @@ const onSearch = async (params: any) => {
|
|||||||
// leftMenu页面的搜索按钮
|
// leftMenu页面的搜索按钮
|
||||||
const onSearchInput = async (params: string) => {
|
const onSearchInput = async (params: string) => {
|
||||||
console.log(params);
|
console.log(params);
|
||||||
const { result } = await getEntSubItemproject({ engineeringName: params, ...pages.value });
|
const { result } = await getEntApplyTimeproject({ engineeringName: params, ...pages.value });
|
||||||
records.value = result.records;
|
records.value = result.records;
|
||||||
};
|
};
|
||||||
// leftMenu页面的分页
|
// leftMenu页面的分页
|
||||||
const onCurChange = async (params: number) => {
|
const onCurChange = async (params: number) => {
|
||||||
console.log(active.value);
|
console.log(active.value);
|
||||||
const { result } = await getEntSubItemproject({ ...pages.value, pageNo: params });
|
const { result } = await getEntApplyTimeproject({ ...pages.value, pageNo: params });
|
||||||
records.value = result.records;
|
records.value = result.records;
|
||||||
pages.value.total = +result.total;
|
pages.value.total = +result.total;
|
||||||
};
|
};
|
||||||
@ -277,7 +277,7 @@ const handleItemDetail = (index: number, row: any) => {
|
|||||||
};
|
};
|
||||||
// 获取工程名称分页
|
// 获取工程名称分页
|
||||||
const getEngPage = async () => {
|
const getEngPage = async () => {
|
||||||
const { result } = await getEntSubItemproject(pages.value);
|
const { result } = await getEntApplyTimeproject(pages.value);
|
||||||
records.value = result.records;
|
records.value = result.records;
|
||||||
records.value.map(item => {
|
records.value.map(item => {
|
||||||
let showGif = false;
|
let showGif = false;
|
||||||
|
|||||||
@ -42,6 +42,9 @@
|
|||||||
<span>查看</span>
|
<span>查看</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
<template #state="{ row }">
|
||||||
|
<span>{{ row.state == 1 ? "未开始" : row.state == 2 ? "进行中" : row.state == 3 ? "已完成" : "已逾期" }}</span>
|
||||||
|
</template>
|
||||||
<template #slippage="{ row }">
|
<template #slippage="{ row }">
|
||||||
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{ row.slippage }}</span>
|
<span :style="{ color: row.slippage ? 'red' : 'var(--el-menu-text-color)' }">{{ row.slippage }}</span>
|
||||||
</template>
|
</template>
|
||||||
@ -102,16 +105,6 @@ const columns: ColumnProps[] = [
|
|||||||
{ prop: "planEndTime", label: "结束日期" },
|
{ prop: "planEndTime", label: "结束日期" },
|
||||||
{ prop: "completeRatio", label: "完成百分比(%)" },
|
{ prop: "completeRatio", label: "完成百分比(%)" },
|
||||||
{ prop: "slippage", label: "逾期情况(天)" },
|
{ prop: "slippage", label: "逾期情况(天)" },
|
||||||
// {
|
|
||||||
// prop: "state",
|
|
||||||
// label: "状态",
|
|
||||||
// search: { el: "select" },
|
|
||||||
// isShow: false,
|
|
||||||
// enum: [
|
|
||||||
// { label: "启用", value: 1 },
|
|
||||||
// { label: "禁用", value: 0 }
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
prop: "createTime",
|
prop: "createTime",
|
||||||
label: "时间筛选",
|
label: "时间筛选",
|
||||||
@ -126,6 +119,17 @@ const columns: ColumnProps[] = [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
prop: "state",
|
||||||
|
label: "状态",
|
||||||
|
search: { el: "select" },
|
||||||
|
enum: [
|
||||||
|
{ label: "未开始", value: 1 },
|
||||||
|
{ label: "进行中", value: 2 },
|
||||||
|
{ label: "已完成", value: 3 },
|
||||||
|
{ label: "已逾期", value: 4 }
|
||||||
|
]
|
||||||
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
||||||
];
|
];
|
||||||
// 项目或者工程名字
|
// 项目或者工程名字
|
||||||
|
|||||||
@ -142,6 +142,19 @@ const columns: ColumnProps[] = [
|
|||||||
width: 150
|
width: 150
|
||||||
},
|
},
|
||||||
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
||||||
|
{
|
||||||
|
prop: "state",
|
||||||
|
label: "状态",
|
||||||
|
search: { el: "select" },
|
||||||
|
width: 150,
|
||||||
|
enum: [
|
||||||
|
{ label: "执法中", value: 1 },
|
||||||
|
{ label: "待整改", value: 2 },
|
||||||
|
{ label: "待审核", value: 3 },
|
||||||
|
{ label: "已闭合", value: 4 },
|
||||||
|
{ label: "已驳回", value: 5 }
|
||||||
|
]
|
||||||
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
||||||
];
|
];
|
||||||
const detailsDialog = ref(false);
|
const detailsDialog = ref(false);
|
||||||
|
|||||||
@ -140,6 +140,19 @@ const columns: ColumnProps[] = [
|
|||||||
width: 150
|
width: 150
|
||||||
},
|
},
|
||||||
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
{ prop: "slippage", label: "逾期情况(天)", width: 150 },
|
||||||
|
{
|
||||||
|
prop: "state",
|
||||||
|
label: "状态",
|
||||||
|
search: { el: "select" },
|
||||||
|
width: 150,
|
||||||
|
enum: [
|
||||||
|
{ label: "执法中", value: 1 },
|
||||||
|
{ label: "待整改", value: 2 },
|
||||||
|
{ label: "待审核", value: 3 },
|
||||||
|
{ label: "已闭合", value: 4 },
|
||||||
|
{ label: "已驳回", value: 5 }
|
||||||
|
]
|
||||||
|
},
|
||||||
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
{ prop: "operation", label: "操作", fixed: "right", width: 100 }
|
||||||
];
|
];
|
||||||
const detailsDialog = ref(false);
|
const detailsDialog = ref(false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user