fix: BUG修改
This commit is contained in:
parent
d6597e5d96
commit
c6d4c3b276
@ -251,7 +251,7 @@ export const getDustengineeringPage = (params: User.ReqUserParams) => {
|
|||||||
};
|
};
|
||||||
// 统计扬尘设备数据
|
// 统计扬尘设备数据
|
||||||
export const getDuststatistics = () => {
|
export const getDuststatistics = () => {
|
||||||
return http.get<ResPage<User.ResUserList>>(BASEURL + `/gov/environmentDev/statistics`);
|
return http.get<ResPage<User.ResUserList>>(BASEURL + `/gov/environmentDev/statistics/2`);
|
||||||
};
|
};
|
||||||
// 列表查询扬尘设备管理信息
|
// 列表查询扬尘设备管理信息
|
||||||
export const getDustMonitorDev = (params: ReqAiMonitorDev) => {
|
export const getDustMonitorDev = (params: ReqAiMonitorDev) => {
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.leftMenu {
|
.leftMenu {
|
||||||
|
width: 300px;
|
||||||
// width: 290px;
|
// width: 290px;
|
||||||
// 页面的项目工程
|
// 页面的项目工程
|
||||||
:deep(.item) {
|
:deep(.item) {
|
||||||
@ -35,7 +36,11 @@
|
|||||||
.middleSize {
|
.middleSize {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #c4c4c4;
|
color: #c4c4c4;
|
||||||
|
display: inline-block;
|
||||||
|
width: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.video {
|
.video {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -56,12 +61,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.table-box {
|
.table-box {
|
||||||
|
width: calc(100% - 300px);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.table {
|
.table {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
:deep(.table-main) {
|
:deep(.table-main) {
|
||||||
height: calc(100% - 82px);
|
height: calc(100% - 82px);
|
||||||
|
overflow-x: scroll;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -123,6 +123,7 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "name",
|
prop: "name",
|
||||||
label: "任务名称",
|
label: "任务名称",
|
||||||
|
width: 200,
|
||||||
search: { el: "input" }
|
search: { el: "input" }
|
||||||
},
|
},
|
||||||
// 多级 prop
|
// 多级 prop
|
||||||
@ -131,7 +132,7 @@ const columns: ColumnProps[] = [
|
|||||||
{ prop: "planEndTime", label: "结束日期" },
|
{ prop: "planEndTime", label: "结束日期" },
|
||||||
{ prop: "unit", label: "申请单位" },
|
{ prop: "unit", label: "申请单位" },
|
||||||
{ prop: "completeRatio", label: "完成百分比(%)", width: 200 },
|
{ prop: "completeRatio", label: "完成百分比(%)", width: 200 },
|
||||||
{ prop: "slippage", label: "逾期情况(天)" },
|
{ prop: "slippage", label: "逾期情况(天)", width: 200 },
|
||||||
{
|
{
|
||||||
prop: "payTime",
|
prop: "payTime",
|
||||||
label: "时间筛选",
|
label: "时间筛选",
|
||||||
|
|||||||
@ -87,6 +87,7 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "temperature",
|
prop: "temperature",
|
||||||
label: "温度",
|
label: "温度",
|
||||||
|
width: 150,
|
||||||
render: scoped => {
|
render: scoped => {
|
||||||
return scoped.row.temperature + "℃";
|
return scoped.row.temperature + "℃";
|
||||||
}
|
}
|
||||||
@ -94,6 +95,7 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "windspeed",
|
prop: "windspeed",
|
||||||
label: "风速",
|
label: "风速",
|
||||||
|
width: 150,
|
||||||
render: scoped => {
|
render: scoped => {
|
||||||
return scoped.row.windspeed + "m/s";
|
return scoped.row.windspeed + "m/s";
|
||||||
}
|
}
|
||||||
@ -133,6 +135,7 @@ const columns: ColumnProps[] = [
|
|||||||
{
|
{
|
||||||
prop: "humidity",
|
prop: "humidity",
|
||||||
label: "湿度",
|
label: "湿度",
|
||||||
|
width: 150,
|
||||||
render: scoped => {
|
render: scoped => {
|
||||||
return scoped.row.humidity + "%";
|
return scoped.row.humidity + "%";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -214,7 +214,9 @@ onMounted(async () => {
|
|||||||
// 监听scroll事件,使插件窗口尺寸跟随DIV窗口变化
|
// 监听scroll事件,使插件窗口尺寸跟随DIV窗口变化
|
||||||
window.addEventListener("scroll", () => {
|
window.addEventListener("scroll", () => {
|
||||||
if (myPlugin.value == undefined) {
|
if (myPlugin.value == undefined) {
|
||||||
myPlugin.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
setTimeout(function () {
|
||||||
|
myPlugin.value.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
||||||
|
}, 500);
|
||||||
// setWndCover();
|
// setWndCover();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -223,8 +225,9 @@ onMounted(async () => {
|
|||||||
window.addEventListener("resize", e => {
|
window.addEventListener("resize", e => {
|
||||||
if (myPlugin.value == undefined) {
|
if (myPlugin.value == undefined) {
|
||||||
// console.log("wwwww", e);
|
// console.log("wwwww", e);
|
||||||
|
setTimeout(function () {
|
||||||
myPlugin.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
myPlugin.value.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
||||||
|
}, 500);
|
||||||
// oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value);
|
// oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value);
|
||||||
// setWndCover();
|
// setWndCover();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -129,7 +129,9 @@ onMounted(async () => {
|
|||||||
// 监听scroll事件,使插件窗口尺寸跟随DIV窗口变化
|
// 监听scroll事件,使插件窗口尺寸跟随DIV窗口变化
|
||||||
window.addEventListener("scroll", () => {
|
window.addEventListener("scroll", () => {
|
||||||
if (myPlugin.value == undefined) {
|
if (myPlugin.value == undefined) {
|
||||||
myPlugin.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
setTimeout(function () {
|
||||||
|
myPlugin.value.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
||||||
|
}, 500);
|
||||||
// setWndCover();
|
// setWndCover();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -138,8 +140,9 @@ onMounted(async () => {
|
|||||||
window.addEventListener("resize", e => {
|
window.addEventListener("resize", e => {
|
||||||
if (myPlugin.value == undefined) {
|
if (myPlugin.value == undefined) {
|
||||||
// console.log("wwwww", e);
|
// console.log("wwwww", e);
|
||||||
|
setTimeout(function () {
|
||||||
myPlugin.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
myPlugin.value.JS_Resize(tagDomObj?.clientWidth, tagDomObj?.clientHeight);
|
||||||
|
}, 500);
|
||||||
// oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value);
|
// oWebControl.JS_Resize(playWndHeight.value, playWndWidth.value);
|
||||||
// setWndCover();
|
// setWndCover();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user