随机在线巡查、定制在线巡查功能优化
This commit is contained in:
parent
71b136a664
commit
7fdee18cd5
|
|
@ -98,7 +98,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="right-container">
|
<div class="right-container">
|
||||||
<div class="right-top-container">
|
<div class="right-top-container">
|
||||||
<div class="fxczfzs">
|
<div class="fxczfzs">
|
||||||
|
|
@ -116,15 +115,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="yjfx">
|
|
||||||
<div class="section-title">
|
|
||||||
<div class="section-title-icon"></div>
|
|
||||||
<div class="section-title-font font-color">预警分析</div>
|
|
||||||
</div>
|
|
||||||
<div class="section-content yjfx-content">
|
|
||||||
<div ref="chart2" style="height: 100%; width: 100%;"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="fxczftj">
|
<div class="fxczftj">
|
||||||
|
|
@ -468,7 +458,6 @@ const goDzzxxc = (event) => {
|
||||||
|
|
||||||
// 企业接入统计
|
// 企业接入统计
|
||||||
const qysj = reactive({jrzs: 0, ssjkqys: 0, spjkqys: 0, jkdzxl: 0})
|
const qysj = reactive({jrzs: 0, ssjkqys: 0, spjkqys: 0, jkdzxl: 0})
|
||||||
|
|
||||||
function findQyjrtj() {
|
function findQyjrtj() {
|
||||||
api.findQyjrtj().then(res => {
|
api.findQyjrtj().then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ public class InsEnterprseService {
|
||||||
this.insEnterprseRepository = insEnterprseRepository;
|
this.insEnterprseRepository = insEnterprseRepository;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
public void saveEnterprise(InsEnterprseDto insEnterprseDto) {
|
public void saveEnterprise(InsEnterprseDto insEnterprseDto) {
|
||||||
insEnterprseDto.getEnterpriseIds().forEach(id -> {
|
insEnterprseDto.getEnterpriseIds().forEach(id -> {
|
||||||
|
|
|
||||||
|
|
@ -46,8 +46,6 @@ public class OnlinePatrolService {
|
||||||
this.enforceCheckRepository = enforceCheckRepository;
|
this.enforceCheckRepository = enforceCheckRepository;
|
||||||
this.ftpService = ftpService;
|
this.ftpService = ftpService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存在线巡查信息
|
* 保存在线巡查信息
|
||||||
*
|
*
|
||||||
|
|
@ -210,17 +208,6 @@ public class OnlinePatrolService {
|
||||||
onlinePatrol.setEnforcementId(enforcementInfo.getEnforcementId());
|
onlinePatrol.setEnforcementId(enforcementInfo.getEnforcementId());
|
||||||
onlinePatrolRepository.save(onlinePatrol);
|
onlinePatrolRepository.save(onlinePatrol);
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
onlinePatrolRepository
|
|
||||||
.findById(onlinePatrolDto.getOnlinePatrolId())
|
|
||||||
.ifPresent(onlinePatrol -> {
|
|
||||||
onlinePatrol.setApprovalStatus("2");
|
|
||||||
onlinePatrol.setApprovalUserId(onlinePatrolDto.getApprovalUserId());
|
|
||||||
onlinePatrol.setApprovalUserName(onlinePatrolDto.getApprovalUserName());
|
|
||||||
onlinePatrol.setApprovalReceipt(onlinePatrolDto.getApprovalReceipt());
|
|
||||||
onlinePatrol.setIsCreateEnforce("2");
|
|
||||||
onlinePatrolRepository.save(onlinePatrol);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue