Commit f225b791 authored by wanghao's avatar wanghao

1 上报时间 和 上报状态 显示调整, 有个别 上报时 上传时间 格式不对问题调整。

parent c8a78e28
...@@ -58,7 +58,7 @@ public interface TPipeOldPlanProcessMapper ...@@ -58,7 +58,7 @@ public interface TPipeOldPlanProcessMapper
* 企业端上传数据 * 企业端上传数据
* @return * @return
*/ */
public int entReportPipeOldPlanProcess(@Param("state") String state, @Param("entUploadTime") Date entUploadTime, public int entReportPipeOldPlanProcess(@Param("state") String state, @Param("entUploadTime") String entUploadTime,
@Param("fOldPlanProcessId") Long fOldPlanProcessId); @Param("fOldPlanProcessId") Long fOldPlanProcessId);
/** /**
......
...@@ -3,10 +3,7 @@ package com.zehong.system.service.impl; ...@@ -3,10 +3,7 @@ package com.zehong.system.service.impl;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.zehong.common.core.domain.model.LoginUser; import com.zehong.common.core.domain.model.LoginUser;
import com.zehong.common.exception.CustomException; import com.zehong.common.exception.CustomException;
import com.zehong.common.utils.GovernmentDataCopyUtil; import com.zehong.common.utils.*;
import com.zehong.common.utils.GovernmentDataUtil;
import com.zehong.common.utils.SecurityUtils;
import com.zehong.common.utils.ServletUtils;
import com.zehong.common.utils.poi.ExcelUtil; import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.utils.uuid.IdUtils; import com.zehong.common.utils.uuid.IdUtils;
import com.zehong.system.domain.TPipeOldPlanProcess; import com.zehong.system.domain.TPipeOldPlanProcess;
...@@ -169,7 +166,8 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi ...@@ -169,7 +166,8 @@ public class TPipeOldPlanProcessServiceImpl implements ITPipeOldPlanProcessServi
*/ */
@Override @Override
public int entReportPipeOldPlanProcess(Long fOldPlanProcessId) { public int entReportPipeOldPlanProcess(Long fOldPlanProcessId) {
tPipeOldPlanProcessMapper.entReportPipeOldPlanProcess("1",new Date(),fOldPlanProcessId); String s = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, new Date());
tPipeOldPlanProcessMapper.entReportPipeOldPlanProcess("1",s,fOldPlanProcessId);
return 1; return 1;
} }
} }
...@@ -111,8 +111,7 @@ ...@@ -111,8 +111,7 @@
<el-divider content-position="left">上报时态</el-divider> <el-divider content-position="left">上报时态</el-divider>
<el-form label-width="170px"> <el-form label-width="170px">
<el-row class="el-row-table"> <el-row class="el-row-table">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="上报状态" > <el-form-item label="上报状态" >
<span>{{fUploadType}}</span> <span>{{fUploadType}}</span>
...@@ -129,9 +128,7 @@ ...@@ -129,9 +128,7 @@
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" > <el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.fUploadTime }}</span> <span>{{ detailInfo.fUploadTime }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
......
...@@ -63,12 +63,23 @@ ...@@ -63,12 +63,23 @@
<span v-if="detailInfo.fRemark">{{ detailInfo.fRemark }}</span> <span v-if="detailInfo.fRemark">{{ detailInfo.fRemark }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item label="经纬度位置">
<div id="risk-map" style="height: 300px"></div>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-divider content-position="left">上报时态</el-divider>
<el-form label-width="170px">
<el-row class="el-row-table">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="上报状态" > <el-form-item label="上报状态" >
<span>{{fUploadType}}</span> <span>{{fUploadType}}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -76,21 +87,15 @@ ...@@ -76,21 +87,15 @@
<span>{{ fUploadTime }}</span> <span>{{ fUploadTime }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" > <el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.entUploadTime }}</span> <span>{{ detailInfo.entUploadTime }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24">
<el-form-item label="经纬度位置">
<div id="risk-map" style="height: 300px"></div>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
</el-dialog> </el-dialog>
</template> </template>
......
...@@ -143,37 +143,45 @@ ...@@ -143,37 +143,45 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="企业端上报时间"> <el-form-item label="创建时间">
<span v-if="detailInfo.fReportTime">{{ detailInfo.fReportTime }}</span> <span v-if="detailInfo.fCreateTime">{{ detailInfo.fCreateTime }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId"> <el-col :span="12">
<el-form-item label="政府端上报时间"> <el-form-item label="最后修改时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span> <span v-if="detailInfo.fUpdateTime">{{ detailInfo.fUpdateTime }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> </el-row>
<el-form-item label="创建时间">
<span v-if="detailInfo.fCreateTime">{{ detailInfo.fCreateTime }}</span> </el-form>
<el-divider content-position="left">上报时态</el-divider>
<el-form label-width="170px">
<el-row class="el-row-table">
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId">
<el-form-item label="政府端上报时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="最后修改时间"> <el-form-item label="企业端上报时间">
<span v-if="detailInfo.fUpdateTime">{{ detailInfo.fUpdateTime }}</span> <span v-if="detailInfo.fReportTime">{{ detailInfo.fReportTime }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</el-dialog> </el-dialog>
</template> </template>
......
...@@ -43,22 +43,7 @@ ...@@ -43,22 +43,7 @@
<span v-if="detailInfo.fSupDate">{{ detailInfo.fSupDate }}</span> <span v-if="detailInfo.fSupDate">{{ detailInfo.fSupDate }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="企业端上报时间">
<span v-if="detailInfo.fRepDate">{{ detailInfo.fRepDate }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId">
<el-form-item label="政府端上报时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="创建时间"> <el-form-item label="创建时间">
<span v-if="detailInfo.createTime">{{ detailInfo.createTime }}</span> <span v-if="detailInfo.createTime">{{ detailInfo.createTime }}</span>
...@@ -83,6 +68,27 @@ ...@@ -83,6 +68,27 @@
</el-form> </el-form>
<el-divider content-position="left">上报时态</el-divider>
<el-form label-width="170px">
<el-row class="el-row-table">
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId">
<el-form-item label="政府端上报时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业端上报时间">
<span v-if="detailInfo.fRepDate">{{ detailInfo.fRepDate }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog> </el-dialog>
</template> </template>
......
...@@ -52,22 +52,7 @@ ...@@ -52,22 +52,7 @@
<span v-if="detailInfo.fStopRange">{{ detailInfo.fStopRange }}</span> <span v-if="detailInfo.fStopRange">{{ detailInfo.fStopRange }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12" v-if="detailInfo.fRepStatus == '1'">
<el-form-item label="企业上报时间">
<span v-if="detailInfo.entRepTime">{{ detailInfo.entRepTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId">
<el-form-item label="政府端上报时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="创建时间"> <el-form-item label="创建时间">
<span v-if="detailInfo.createTime">{{ detailInfo.createTime }}</span> <span v-if="detailInfo.createTime">{{ detailInfo.createTime }}</span>
...@@ -113,6 +98,29 @@ ...@@ -113,6 +98,29 @@
</el-form> </el-form>
<el-divider content-position="left">上报时态</el-divider>
<el-form label-width="170px">
<el-row class="el-row-table">
<el-col :span="12" v-if="-2 == $store.state.user.enterpriseId">
<el-form-item label="政府端上报时间">
<span v-if="detailInfo.fGovUploadTime">{{ detailInfo.fGovUploadTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业端上报时间">
<span v-if="detailInfo.entRepTime">{{ detailInfo.entRepTime }}</span>
<span v-else>-</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-dialog> </el-dialog>
</template> </template>
......
...@@ -48,29 +48,33 @@ ...@@ -48,29 +48,33 @@
<span v-if="detailInfo.fRemark">{{ detailInfo.fRemark }}</span> <span v-if="detailInfo.fRemark">{{ detailInfo.fRemark }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
</el-form>
<el-col :span="12">
<el-form-item label="上报状态" > <el-divider content-position="left">上报时态</el-divider>
<span>{{fUploadType}}</span> <el-form label-width="170px">
</el-form-item> <el-row class="el-row-table">
</el-col> <el-col :span="12">
<el-form-item label="上报状态" >
<span>{{fUploadType}}</span>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="上报时间" > <el-form-item label="上报时间" >
<span>{{fUploadTime}}</span> <span>{{ fUploadTime }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.entUploadTime }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.entUploadTime }}</span>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
</el-dialog> </el-dialog>
</template> </template>
......
...@@ -242,28 +242,34 @@ ...@@ -242,28 +242,34 @@
<span v-if="detailInfo.fGasCompanyStationPhone">{{ detailInfo.fGasCompanyStationPhone }}</span> <span v-if="detailInfo.fGasCompanyStationPhone">{{ detailInfo.fGasCompanyStationPhone }}</span>
<span v-else>-</span> <span v-else>-</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
</el-form>
<el-col :span="12">
<el-form-item label="上报状态" > <el-divider content-position="left">上报时态</el-divider>
<span>{{fUploadType}}</span> <el-form label-width="170px">
</el-form-item> <el-row class="el-row-table">
</el-col> <el-col :span="12">
<el-form-item label="上报状态" >
<span>{{fUploadType}}</span>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="上报时间" > <el-form-item label="上报时间" >
<span>{{fUploadTime}}</span> <span>{{ fUploadTime }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.entUploadTime }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item v-if="this.$store.state.user.roleId == 3" label="企业端上报时间" >
<span>{{ detailInfo.entUploadTime }}</span>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
</el-dialog> </el-dialog>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment