fix: BUG修改

This commit is contained in:
kun 2023-07-18 17:50:14 +08:00
parent f41acb2b11
commit b65edd63f4
24 changed files with 219 additions and 104 deletions

View File

@ -4,7 +4,8 @@ NODE_ENV = "production"
# 线上环境接口地址(easymock) # 线上环境接口地址(easymock)
# VITE_API_URL = "http://139.9.66.234:6688" # VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://182.90.224.147:6688" # VITE_API_URL = "http://182.90.224.147:6688"
VITE_API_URL = "http://182.90.224.147:9013" VITE_API_URL = 'http://192.168.34.155:6688'
# VITE_API_URL = "http://182.90.224.147:9013"
VITE_WPAPI_URL = "http://182.90.224.147:8081" VITE_WPAPI_URL = "http://182.90.224.147:8081"
# VITE_API_URL = "http://101.43.164.214:6688" # VITE_API_URL = "http://101.43.164.214:6688"
# VITE_API_URL = "https://wx.antjg.com:6081/" # VITE_API_URL = "https://wx.antjg.com:6081/"

View File

@ -185,6 +185,7 @@
justify-content: center; justify-content: center;
height: 100%; height: 100%;
cursor: pointer; cursor: pointer;
box-shadow: 0 0 0 1px #fff inset !important;
} }
.ellipsisText { .ellipsisText {
width: 150px; width: 150px;

View File

@ -25,7 +25,7 @@ watch(() => props.projectData, setProjectData, { deep: true });
const mapData = async () => { const mapData = async () => {
map.value = new BMapGL.Map("mapBox"); // map.value = new BMapGL.Map("mapBox"); //
let point = new BMapGL.Point(114.272994, 23.032578); // let point = new BMapGL.Point(114.272994, 23.032578); //
map.value.centerAndZoom(point, 14); // map.value.centerAndZoom(point, 12); //
map.value.enableScrollWheelZoom(true); // map.value.enableScrollWheelZoom(true); //
map.value.setMapStyleV2({ map.value.setMapStyleV2({
styleJson: mapstyle() styleJson: mapstyle()

View File

@ -25,7 +25,7 @@ watch(() => props.projectData, setProjectData, { deep: true });
const mapData = async () => { const mapData = async () => {
map.value = new BMapGL.Map("mapBox"); // map.value = new BMapGL.Map("mapBox"); //
let point = new BMapGL.Point(114.272994, 23.032578); // let point = new BMapGL.Point(114.272994, 23.032578); //
map.value.centerAndZoom(point, 15); // map.value.centerAndZoom(point, 12); //
map.value.enableScrollWheelZoom(true); // map.value.enableScrollWheelZoom(true); //
map.value.setMapStyleV2({ map.value.setMapStyleV2({
styleJson: mapstyle() styleJson: mapstyle()

View File

@ -60,7 +60,7 @@
row-key="id" row-key="id"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
> >
<el-table-column align="center" prop="name" label="分部分项工程名称"></el-table-column> <el-table-column align="center" prop="name" width="200" label="分部分项工程名称"></el-table-column>
<el-table-column align="center" prop="planStartTime" label="计划开始日期"></el-table-column> <el-table-column align="center" prop="planStartTime" label="计划开始日期"></el-table-column>
<el-table-column align="center" prop="planEndTime" label="截止完成日期"></el-table-column> <el-table-column align="center" prop="planEndTime" label="截止完成日期"></el-table-column>
<el-table-column align="center" prop="realEndTime" label="实际完成日期"></el-table-column> <el-table-column align="center" prop="realEndTime" label="实际完成日期"></el-table-column>
@ -158,6 +158,36 @@
<el-form-item label="负责人:" prop="commander"> <el-form-item label="负责人:" prop="commander">
<el-input disabled v-model="childrenFormData.commander" placeholder="请输入" /> <el-input disabled v-model="childrenFormData.commander" placeholder="请输入" />
</el-form-item> </el-form-item>
<el-form-item label="逾期问题描述:" prop="overdueIssueDesc">
<el-input v-model="childrenFormData.overdueIssueDesc" placeholder="请输入" />
</el-form-item>
<el-form-item label="整改期限:" prop="deadline">
<el-date-picker
style="width: 100%"
v-model="childrenFormData.deadline"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
type="datetime"
placeholder="请选择时间"
/>
</el-form-item>
<el-form-item label="逾期文件说明:" prop="overdueIssueFile">
<el-upload
ref="upload"
:headers="headers"
:file-list="fileList1"
class="upload-demo"
:action="`${baseUrl}` + '/xmgl/file/upload'"
:on-remove="onRemove"
disabled
multiple
:limit="1"
:on-success="uploadSuccess"
style="width: 100%"
>
<el-button class="uploadBtn" type="primary">点击上传</el-button>
</el-upload>
</el-form-item>
<el-form-item label="附件:" prop="annexFile"> <el-form-item label="附件:" prop="annexFile">
<el-upload <el-upload
ref="upload" ref="upload"
@ -223,6 +253,7 @@ const active = ref(0);
const baseUrl = import.meta.env.VITE_API_URL; const baseUrl = import.meta.env.VITE_API_URL;
const globalStore = GlobalStore(); const globalStore = GlobalStore();
const fileList = ref([]); const fileList = ref([]);
const fileList1 = ref([]);
const headers = ref({ Authorization: "Bearer " + globalStore.token }); const headers = ref({ Authorization: "Bearer " + globalStore.token });
const childrenFormData = ref({ const childrenFormData = ref({
name: "", name: "",
@ -234,6 +265,9 @@ const childrenFormData = ref({
planEndTime: "", planEndTime: "",
importance: "", importance: "",
commander: "", commander: "",
overdueIssueDesc: "",
deadline: "",
overdueIssueFile: "",
annexFile: "", annexFile: "",
completeRatio: "", completeRatio: "",
state: null state: null
@ -293,7 +327,12 @@ const handleEditItem = async (row: any) => {
parentObj.value = row; parentObj.value = row;
newTitle.value = "查看"; newTitle.value = "查看";
childrenFormData.value = { ...row }; childrenFormData.value = { ...row };
fileList.value = [{ name: "文件", url: row.annexFile }]; if (row.annexFile) {
fileList.value = [{ name: "文件", url: row.annexFile }];
}
if (row.overdueIssueFile) {
fileList1.value = [{ name: "文件", url: row.overdueIssueFile }];
}
childrenVisible.value = true; childrenVisible.value = true;
}; };
const getDataList = async () => { const getDataList = async () => {

View File

@ -84,6 +84,7 @@ import {
} from "@/api/modules/huizhou"; } from "@/api/modules/huizhou";
import { getDicList } from "@/api/modules/jxjview"; import { getDicList } from "@/api/modules/jxjview";
import { ElMessage } from "element-plus"; import { ElMessage } from "element-plus";
import { getgovNamelist } from "@/api/modules/goverment";
const pages = ref({ const pages = ref({
pageNo: 1, pageNo: 1,
pageSize: 7, pageSize: 7,
@ -133,8 +134,9 @@ const columns: ColumnProps[] = [
} }
}, },
{ prop: "phaseName", label: "智能条线", width: 150 }, { prop: "phaseName", label: "智能条线", width: 150 },
{ prop: "chargerNumber", label: "节点责任人编号", width: 150 }, { prop: "chargerNumber", label: "节点责任人", width: 150 },
{ prop: "chargerName", label: "节点责任人", width: 150 }, { prop: "chargerPhone", label: "负责人联系方式", width: 180 },
// { prop: "chargerName", label: "", width: 150 },
{ {
prop: "isDeleted", prop: "isDeleted",
label: "节点失效标记", label: "节点失效标记",
@ -247,14 +249,16 @@ const formConfig = {
disabled: true disabled: true
}, },
{ {
label: "节点负责人编号", label: "节点负责人",
prop: "chargerNumber", prop: "chargerNumber",
type: "input", type: "select",
data: [],
clearable: true,
disabled: true disabled: true
}, },
{ {
label: "节点负责人", label: "负责人联系方式",
prop: "chargerName", prop: "chargerNumber",
type: "input", type: "input",
disabled: true disabled: true
} }
@ -327,6 +331,10 @@ const formConfig = {
}; };
// //
const searchName = ref<string>(""); const searchName = ref<string>("");
const getPeopleList = async () => {
const res = await getgovNamelist({});
console.log(res);
};
// //
const handleEditItem = async (row: any) => { const handleEditItem = async (row: any) => {
console.log(row); console.log(row);

View File

@ -130,7 +130,7 @@ const columns: ColumnProps[] = [
{ prop: "planStartTime", label: "开始日期" }, { prop: "planStartTime", label: "开始日期" },
{ prop: "planEndTime", label: "结束日期" }, { prop: "planEndTime", label: "结束日期" },
{ prop: "unit", label: "申请单位" }, { prop: "unit", label: "申请单位" },
{ prop: "completeRatio", label: "完成百分比(%)" }, { prop: "completeRatio", label: "完成百分比(%)", width: 200 },
{ prop: "slippage", label: "逾期情况(天)" }, { prop: "slippage", label: "逾期情况(天)" },
{ {
prop: "payTime", prop: "payTime",

View File

@ -74,7 +74,6 @@
<span class="row-span">整改期限</span> <span class="row-span">整改期限</span>
<el-date-picker <el-date-picker
v-model="basicData.deadline" v-model="basicData.deadline"
style="width: 180px; height: 26px"
type="datetime" type="datetime"
placeholder="请选择日期" placeholder="请选择日期"
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss"
@ -688,6 +687,10 @@ const submitForm = async () => {
}; };
// //
const allSubmit = async () => { const allSubmit = async () => {
if (!basicData.value.deadline) {
ElMessage.error("请选择整改期限");
return;
}
recordData.value.map(item => { recordData.value.map(item => {
item.image = JSON.stringify(item.image); item.image = JSON.stringify(item.image);
}); });
@ -806,20 +809,20 @@ onMounted(() => {});
font-size: 16px; font-size: 16px;
color: #008bff; color: #008bff;
} }
.diaMapIcon { // .diaMapIcon {
background-color: #008bff; // background-color: red;
width: 34px; // width: 34px;
position: absolute; // position: absolute;
right: 0; // right: 0;
border-radius: 0 4px 4px 0; // border-radius: 0 4px 4px 0;
color: #fff; // color: #fff;
font-size: 16px; // font-size: 16px;
display: flex; // display: flex;
align-items: center; // align-items: center;
justify-content: center; // justify-content: center;
height: 100%; // height: 100%;
cursor: pointer; // cursor: pointer;
} // }
} }
.face-img { .face-img {
@include flex; @include flex;
@ -860,8 +863,8 @@ onMounted(() => {});
color: var(--el-menu-text-color); color: var(--el-menu-text-color);
} }
.btn-style { .btn-style {
width: 105px; // width: 105px;
height: 20px; padding: 0 10px;
// background: rgba(48, 172, 124, 0.15); // background: rgba(48, 172, 124, 0.15);
background: transparent; background: transparent;
opacity: 1; opacity: 1;

View File

@ -60,12 +60,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;
} }
} }
} }

View File

@ -140,41 +140,50 @@ const columns: ColumnProps[] = [
{ {
prop: "engineeringName", prop: "engineeringName",
label: "工程名称", label: "工程名称",
search: { el: "input" } search: { el: "input" },
width: 150
}, },
{ {
prop: "inspectUserName", prop: "inspectUserName",
label: "监督员" label: "监督员",
width: 150
}, },
{ {
prop: "createTime", prop: "createTime",
label: "检查时间" label: "检查时间",
width: 220
}, },
{ {
prop: "buildEnt", prop: "buildEnt",
label: "建设单位" label: "建设单位",
width: 150
}, },
{ {
prop: "supervisorEnt", prop: "supervisorEnt",
label: "监理单位" label: "监理单位",
width: 150
}, },
{ {
prop: "opEnt", prop: "opEnt",
label: "施工单位" label: "施工单位",
width: 150
}, },
{ {
prop: "surveyEnt", prop: "surveyEnt",
label: "勘察单位" label: "勘察单位",
width: 150
}, },
{ {
prop: "designEnt", prop: "designEnt",
label: "设计单位" label: "设计单位",
width: 150
}, },
{ {
prop: "state", prop: "state",
label: "状态" label: "状态",
width: 150
}, },
{ prop: "slippage", label: "逾期情况(天)" }, { prop: "slippage", label: "逾期情况(天)", width: 150 },
{ prop: "operation", label: "操作", fixed: "right", width: 100 } { prop: "operation", label: "操作", fixed: "right", width: 100 }
]; ];
const pageable = ref({ const pageable = ref({

View File

@ -74,7 +74,6 @@
<span class="row-span">整改期限</span> <span class="row-span">整改期限</span>
<el-date-picker <el-date-picker
v-model="basicData.deadline" v-model="basicData.deadline"
style="width: 180px; height: 26px"
type="datetime" type="datetime"
placeholder="请选择日期" placeholder="请选择日期"
format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss"
@ -90,7 +89,7 @@
<el-col :span="8"> <el-col :span="8">
<span class="row-span">施工单位</span> <span class="row-span">施工单位</span>
<div class="face-img"> <div class="face-img">
<div class="imgList" v-if="basicData.opSignature"> <div class="imgList" v-if="basicData.opSignature && basicData.opSignature.length > 0">
<div v-for="(item, index) in basicData.opSignature" :key="index"> <div v-for="(item, index) in basicData.opSignature" :key="index">
<img :src="item.url" class="face-avatar" /> <img :src="item.url" class="face-avatar" />
<div class="close-icon" @click="deleteImg(1, index)">X</div> <div class="close-icon" @click="deleteImg(1, index)">X</div>
@ -116,7 +115,7 @@
<el-col :span="8"> <el-col :span="8">
<span class="row-span">监理单位</span> <span class="row-span">监理单位</span>
<div class="face-img"> <div class="face-img">
<div class="imgList" v-if="basicData.supervisorSignature"> <div class="imgList" v-if="basicData.supervisorSignature && basicData.supervisorSignature.length > 0">
<div v-for="(item, index) in basicData.supervisorSignature" :key="index"> <div v-for="(item, index) in basicData.supervisorSignature" :key="index">
<img :src="item.url" class="face-avatar" /> <img :src="item.url" class="face-avatar" />
<div class="close-icon" @click="deleteImg(2, index)">X</div> <div class="close-icon" @click="deleteImg(2, index)">X</div>
@ -138,7 +137,7 @@
<el-col :span="8"> <el-col :span="8">
<span class="row-span">检查人员</span> <span class="row-span">检查人员</span>
<div class="face-img"> <div class="face-img">
<div class="imgList" v-if="basicData.inspectSignature"> <div class="imgList" v-if="basicData.inspectSignature && basicData.inspectSignature.length > 0">
<div v-for="(item, index) in basicData.inspectSignature" :key="index"> <div v-for="(item, index) in basicData.inspectSignature" :key="index">
<img :src="item.url" class="face-avatar" /> <img :src="item.url" class="face-avatar" />
<div class="close-icon" @click="deleteImg(3, index)">X</div> <div class="close-icon" @click="deleteImg(3, index)">X</div>
@ -160,7 +159,7 @@
<el-col :span="8"> <el-col :span="8">
<span class="row-span">其他单位</span> <span class="row-span">其他单位</span>
<div class="face-img"> <div class="face-img">
<div class="imgList" v-if="basicData.otherSignature"> <div class="imgList" v-if="basicData.otherSignature && basicData.otherSignature.length > 0">
<div v-for="(item, index) in basicData.otherSignature" :key="index"> <div v-for="(item, index) in basicData.otherSignature" :key="index">
<img :src="item.url" class="face-avatar" /> <img :src="item.url" class="face-avatar" />
<div class="close-icon" @click="deleteImg(4, index)">X</div> <div class="close-icon" @click="deleteImg(4, index)">X</div>
@ -654,6 +653,10 @@ const submitForm = async () => {
}; };
// //
const allSubmit = async () => { const allSubmit = async () => {
if (!basicData.value.deadline) {
ElMessage.error("请选择整改期限");
return;
}
recordData.value.map(item => { recordData.value.map(item => {
item.image = JSON.stringify(item.image); item.image = JSON.stringify(item.image);
}); });
@ -772,20 +775,20 @@ onMounted(() => {});
font-size: 16px; font-size: 16px;
color: #008bff; color: #008bff;
} }
.diaMapIcon { // .diaMapIcon {
background-color: #008bff; // background-color: #008bff;
width: 34px; // width: 34px;
position: absolute; // position: absolute;
right: 0; // right: 0;
border-radius: 0 4px 4px 0; // border-radius: 0 4px 4px 0;
color: #fff; // color: #fff;
font-size: 16px; // font-size: 16px;
display: flex; // display: flex;
align-items: center; // align-items: center;
justify-content: center; // justify-content: center;
height: 100%; // height: 100%;
cursor: pointer; // cursor: pointer;
} // }
} }
.face-img { .face-img {
@include flex; @include flex;
@ -826,8 +829,7 @@ onMounted(() => {});
color: var(--el-menu-text-color); color: var(--el-menu-text-color);
} }
.btn-style { .btn-style {
width: 105px; padding: 0 10px;
height: 20px;
// background: rgba(48, 172, 124, 0.15); // background: rgba(48, 172, 124, 0.15);
background: transparent; background: transparent;
opacity: 1; opacity: 1;

View File

@ -60,12 +60,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;
} }
} }
} }

View File

@ -109,41 +109,50 @@ const columns: ColumnProps[] = [
{ {
prop: "engineeringName", prop: "engineeringName",
label: "工程名称", label: "工程名称",
search: { el: "input" } search: { el: "input" },
width: 150
}, },
{ {
prop: "inspectUserName", prop: "inspectUserName",
label: "监督员" label: "监督员",
width: 150
}, },
{ {
prop: "createTime", prop: "createTime",
label: "检查时间" label: "检查时间",
width: 220
}, },
{ {
prop: "buildEnt", prop: "buildEnt",
label: "建设单位" label: "建设单位",
width: 150
}, },
{ {
prop: "supervisorEnt", prop: "supervisorEnt",
label: "监理单位" label: "监理单位",
width: 150
}, },
{ {
prop: "opEnt", prop: "opEnt",
label: "施工单位" label: "施工单位",
width: 150
}, },
{ {
prop: "surveyEnt", prop: "surveyEnt",
label: "勘察单位" label: "勘察单位",
width: 150
}, },
{ {
prop: "designEnt", prop: "designEnt",
label: "设计单位" label: "设计单位",
width: 150
}, },
{ {
prop: "state", prop: "state",
label: "状态" label: "状态",
width: 150
}, },
{ prop: "slippage", label: "逾期情况(天)" }, { prop: "slippage", label: "逾期情况(天)", width: 150 },
{ prop: "operation", label: "操作", fixed: "right", width: 100 } { prop: "operation", label: "操作", fixed: "right", width: 100 }
]; ];
const pageable = ref({ const pageable = ref({

View File

@ -60,9 +60,11 @@
height: 100%; height: 100%;
:deep(.table-main) { :deep(.table-main) {
height: calc(100% - 82px); height: calc(100% - 82px);
overflow-x: scroll;
} }
} }
.table-box { .table-box {
width: calc(100% - 300px);
height: 100% !important; height: 100% !important;
} }
} }

View File

@ -83,7 +83,7 @@ const columns: ColumnProps[] = [
{ type: "index", label: "序号", width: 80 }, { type: "index", label: "序号", width: 80 },
// prop // prop
{ prop: "name", label: "设备名称", isShow: false, search: { el: "input" } }, { prop: "name", label: "设备名称", isShow: false, search: { el: "input" } },
{ prop: "deviceName", label: "设备名称" }, { prop: "deviceName", label: "设备名称", width: 180 },
{ {
prop: "temperature", prop: "temperature",
label: "温度", label: "温度",
@ -101,6 +101,7 @@ const columns: ColumnProps[] = [
{ {
prop: "pm25", prop: "pm25",
label: "PM2.5", label: "PM2.5",
width: 150,
render: scoped => { render: scoped => {
return scoped.row.pm25 + "μg/m³"; return scoped.row.pm25 + "μg/m³";
} }
@ -108,6 +109,7 @@ const columns: ColumnProps[] = [
{ {
prop: "noise", prop: "noise",
label: "噪音", label: "噪音",
width: 150,
render: scoped => { render: scoped => {
return scoped.row.noise + "db"; return scoped.row.noise + "db";
} }
@ -115,10 +117,19 @@ const columns: ColumnProps[] = [
{ {
prop: "pm10", prop: "pm10",
label: "PM10", label: "PM10",
width: 150,
render: scoped => { render: scoped => {
return scoped.row.pm10 + "μg/m³"; return scoped.row.pm10 + "μg/m³";
} }
}, },
{
prop: "tsp",
label: "TSP",
width: 150,
render: scoped => {
return scoped.row.tsp + "μg/m³";
}
},
{ {
prop: "humidity", prop: "humidity",
label: "湿度", label: "湿度",
@ -129,11 +140,12 @@ const columns: ColumnProps[] = [
{ {
prop: "winddirection", prop: "winddirection",
label: "风向", label: "风向",
width: 160,
render: scoped => { render: scoped => {
return scoped.row.winddirection + "风"; return scoped.row.winddirection + "风";
} }
}, },
{ prop: "createTime", label: "上报时间" } { prop: "createTime", label: "上报时间", width: 220 }
]; ];
interface formData { interface formData {
title: string; title: string;

View File

@ -805,19 +805,19 @@ onMounted(() => {});
font-weight: 400; font-weight: 400;
color: #008bff; color: #008bff;
} }
.diaMapIcon { // .diaMapIcon {
background-color: #008bff; // background-color: #008bff;
width: 34px; // width: 34px;
position: absolute; // position: absolute;
right: 0; // right: 0;
border-radius: 0 4px 4px 0; // border-radius: 0 4px 4px 0;
color: #fff; // color: #fff;
display: flex; // display: flex;
align-items: center; // align-items: center;
justify-content: center; // justify-content: center;
height: 100%; // height: 100%;
cursor: pointer; // cursor: pointer;
} // }
} }
.face-img { .face-img {
@include flex; @include flex;

View File

@ -772,19 +772,19 @@ onMounted(() => {});
font-weight: 400; font-weight: 400;
color: #008bff; color: #008bff;
} }
.diaMapIcon { // .diaMapIcon {
background-color: #008bff; // background-color: #008bff;
width: 34px; // width: 34px;
position: absolute; // position: absolute;
right: 0; // right: 0;
border-radius: 0 4px 4px 0; // border-radius: 0 4px 4px 0;
color: #fff; // color: #fff;
display: flex; // display: flex;
align-items: center; // align-items: center;
justify-content: center; // justify-content: center;
height: 100%; // height: 100%;
cursor: pointer; // cursor: pointer;
} // }
} }
.face-img { .face-img {
@include flex; @include flex;

View File

@ -158,6 +158,7 @@ const columns: ColumnProps[] = [
{ {
prop: "teamName", prop: "teamName",
label: "班组", label: "班组",
width: 150,
search: { el: "input" } search: { el: "input" }
}, },
{ {
@ -172,14 +173,17 @@ const columns: ColumnProps[] = [
}, },
{ {
prop: "lateDay", prop: "lateDay",
width: 150,
label: "迟到天数" label: "迟到天数"
}, },
{ {
prop: "earlyDay", prop: "earlyDay",
width: 150,
label: "早退天数" label: "早退天数"
}, },
{ {
prop: "workerHour", prop: "workerHour",
width: 150,
label: "总工时" label: "总工时"
} }
]; ];

View File

@ -66,6 +66,14 @@ const columns: ColumnProps[] = [
return scoped.row.pm10 + "μg/m³"; return scoped.row.pm10 + "μg/m³";
} }
}, },
{
prop: "tsp",
label: "TSP",
width: 150,
render: scoped => {
return scoped.row.tsp + "μg/m³";
}
},
{ {
prop: "humidity", prop: "humidity",
label: "湿度", label: "湿度",
@ -80,7 +88,7 @@ const columns: ColumnProps[] = [
return scoped.row.winddirection + "风"; return scoped.row.winddirection + "风";
} }
}, },
{ prop: "createTime", label: "上报时间" } { prop: "createTime", label: "上报时间", width: 220 }
]; ];
const initParam = reactive({ const initParam = reactive({

View File

@ -293,7 +293,7 @@ const columns: ColumnProps[] = [
// } // }
// }, // },
{ prop: "phaseName", label: "智能条线", width: 150 }, { prop: "phaseName", label: "智能条线", width: 150 },
{ prop: "chargerNumber", label: "节点责任人编号", width: 150 }, { prop: "chargerNumber", label: "节点责任人编号", width: 200 },
{ prop: "chargerName", label: "节点责任人", width: 150 }, { prop: "chargerName", label: "节点责任人", width: 150 },
{ {
prop: "isDeleted", prop: "isDeleted",

View File

@ -137,6 +137,16 @@
placeholder="请选择时间" placeholder="请选择时间"
/> />
</el-form-item> </el-form-item>
<el-form-item label="实际完成日期:" prop="realEndTime">
<el-date-picker
style="width: 100%"
v-model="childrenFormData.realEndTime"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
type="datetime"
placeholder="请选择时间"
/>
</el-form-item>
<el-form-item label="重要程度:" prop="importance"> <el-form-item label="重要程度:" prop="importance">
<el-input v-model="childrenFormData.importance" placeholder="请输入" /> <el-input v-model="childrenFormData.importance" placeholder="请输入" />
</el-form-item> </el-form-item>
@ -191,7 +201,7 @@
</el-form> </el-form>
<template #footer> <template #footer>
<div> <div>
<el-button class="cancelButtonStyle" @click="childrenVisible = false">取消</el-button> <el-button class="hzCancelStyle" @click="childrenVisible = false">取消</el-button>
<el-button type="primary" @click="childrenConfirm(ruleFormRef, childrenFormData)"> 保存 </el-button> <el-button type="primary" @click="childrenConfirm(ruleFormRef, childrenFormData)"> 保存 </el-button>
</div> </div>
</template> </template>
@ -258,6 +268,7 @@ const childrenFormData = ref({
taskDesc: "", taskDesc: "",
planStartTime: "", planStartTime: "",
planEndTime: "", planEndTime: "",
realEndTime: "",
importance: "", importance: "",
commander: "", commander: "",
overdueIssueDesc: "", overdueIssueDesc: "",

View File

@ -65,7 +65,8 @@ const columns: ColumnProps[] = [
}, },
{ {
prop: "createTime", prop: "createTime",
label: "检查时间" label: "检查时间",
width: 220
}, },
{ {
prop: "buildEnt", prop: "buildEnt",

View File

@ -63,7 +63,8 @@ const columns: ColumnProps[] = [
}, },
{ {
prop: "createTime", prop: "createTime",
label: "检查时间" label: "检查时间",
width: 220
}, },
{ {
prop: "buildEnt", prop: "buildEnt",

View File

@ -81,7 +81,7 @@ const columns: ColumnProps[] = [
return scoped.row.winddirection + "风"; return scoped.row.winddirection + "风";
} }
}, },
{ prop: "createTime", label: "上报时间" } { prop: "createTime", label: "上报时间", width: 220 }
]; ];
const initParam = reactive({ const initParam = reactive({