Merge branch 'dev' of http://62.234.3.186:3000/sxyanzhu/jhprjv2 into dev
commit
6fc92e0414
|
@ -86,6 +86,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
goBigScreen(){
|
goBigScreen(){
|
||||||
|
//window.open("//szgc.jhncidg.com:808/jhbs/")
|
||||||
window.open("/jhbs/")
|
window.open("/jhbs/")
|
||||||
},
|
},
|
||||||
toggleSideBar() {
|
toggleSideBar() {
|
||||||
|
|
|
@ -49,8 +49,41 @@
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
/> </el-form-item
|
/> </el-form-item
|
||||||
></el-col>
|
></el-col>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="施工进展" prop="constructionProgress">
|
||||||
|
<el-input
|
||||||
|
v-model="form.constructionProgress"
|
||||||
|
type="textarea"
|
||||||
|
placeholder="请输入内容"
|
||||||
|
/> </el-form-item
|
||||||
|
></el-col>
|
||||||
|
<el-col :span="12"
|
||||||
|
><el-form-item label="验收进展" prop="acceptanceProgress">
|
||||||
|
<el-input
|
||||||
|
v-model="form.acceptanceProgress"
|
||||||
|
type="textarea"
|
||||||
|
placeholder="请输入内容"
|
||||||
|
/> </el-form-item
|
||||||
|
></el-col>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="isFinish">
|
<template v-if="isFinish">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="施工进展" prop="constructionProgress">
|
||||||
|
<el-input
|
||||||
|
v-model="form.constructionProgress"
|
||||||
|
type="textarea"
|
||||||
|
placeholder="请输入内容"
|
||||||
|
/> </el-form-item
|
||||||
|
></el-col>
|
||||||
|
<el-col :span="12"
|
||||||
|
><el-form-item label="验收进展" prop="acceptanceProgress">
|
||||||
|
<el-input
|
||||||
|
v-model="form.acceptanceProgress"
|
||||||
|
type="textarea"
|
||||||
|
placeholder="请输入内容"
|
||||||
|
/> </el-form-item
|
||||||
|
></el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="结算进展" prop="purchaseProgress">
|
<el-form-item label="结算进展" prop="purchaseProgress">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -69,23 +102,6 @@
|
||||||
></el-col>
|
></el-col>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<el-col :span="24">
|
|
||||||
<el-form-item label="施工进展" prop="constructionProgress">
|
|
||||||
<el-input
|
|
||||||
v-model="form.constructionProgress"
|
|
||||||
type="textarea"
|
|
||||||
placeholder="请输入内容"
|
|
||||||
/> </el-form-item
|
|
||||||
></el-col>
|
|
||||||
<el-col :span="12"
|
|
||||||
><el-form-item label="验收进展" prop="acceptanceProgress">
|
|
||||||
<el-input
|
|
||||||
v-model="form.acceptanceProgress"
|
|
||||||
type="textarea"
|
|
||||||
placeholder="请输入内容"
|
|
||||||
/> </el-form-item
|
|
||||||
></el-col>
|
|
||||||
|
|
||||||
<el-col :span="12"
|
<el-col :span="12"
|
||||||
><el-form-item label="下周计划" prop="planForNextWeek">
|
><el-form-item label="下周计划" prop="planForNextWeek">
|
||||||
<el-input
|
<el-input
|
||||||
|
|
|
@ -4,9 +4,11 @@ import com.ruoyi.common.constant.Constants;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
import com.ruoyi.common.core.redis.RedisCache;
|
import com.ruoyi.common.core.redis.RedisCache;
|
||||||
import com.yanzhu.jh.project.domain.SurProject;
|
import com.yanzhu.jh.project.domain.SurProject;
|
||||||
|
import com.yanzhu.jh.project.domain.SurProjectUserinfo;
|
||||||
import com.yanzhu.jh.project.service.ISurProjectService;
|
import com.yanzhu.jh.project.service.ISurProjectService;
|
||||||
import com.yanzhu.jh.project.domain.SurProjectBuildNodeData;
|
import com.yanzhu.jh.project.domain.SurProjectBuildNodeData;
|
||||||
import com.yanzhu.jh.project.service.ISurProjectBuildNodeDataService;
|
import com.yanzhu.jh.project.service.ISurProjectBuildNodeDataService;
|
||||||
|
import com.yanzhu.jh.project.service.ISurProjectUserinfoService;
|
||||||
import org.aspectj.weaver.loadtime.Aj;
|
import org.aspectj.weaver.loadtime.Aj;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
@ -24,6 +26,9 @@ public class ProjectController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private ISurProjectBuildNodeDataService surProjectBuildNodeDataService;
|
private ISurProjectBuildNodeDataService surProjectBuildNodeDataService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ISurProjectUserinfoService surProjectUserinfoService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private RedisCache redisCache;
|
private RedisCache redisCache;
|
||||||
|
|
||||||
|
@ -102,4 +107,11 @@ public class ProjectController {
|
||||||
redisCache.setCacheObject(key, list, Constants.BIGSCREEN_QUERY_CACHE, TimeUnit.MINUTES);
|
redisCache.setCacheObject(key, list, Constants.BIGSCREEN_QUERY_CACHE, TimeUnit.MINUTES);
|
||||||
return AjaxResult.success(list);
|
return AjaxResult.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/getProjectUser")
|
||||||
|
public AjaxResult getProjectUser(Long projectId){
|
||||||
|
SurProjectUserinfo where=new SurProjectUserinfo();
|
||||||
|
where.setProjectId(projectId);
|
||||||
|
return AjaxResult.success( surProjectUserinfoService.selectSurProjectUserinfoList(where));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -139,7 +139,7 @@ public class SurProjectBuildNodeDataServiceImpl implements ISurProjectBuildNodeD
|
||||||
int cnt=0;
|
int cnt=0;
|
||||||
try {
|
try {
|
||||||
for (SurProjectBuildNodeDataExport it : list) {
|
for (SurProjectBuildNodeDataExport it : list) {
|
||||||
List<SurProjectBuildNodeData> finds = items.stream().filter(d -> d.getId() == it.getId()).collect(Collectors.toList());
|
List<SurProjectBuildNodeData> finds = items.stream().filter(d -> d.getId().equals(it.getId())).collect(Collectors.toList());
|
||||||
if (finds.size() == 1) {
|
if (finds.size() == 1) {
|
||||||
SurProjectBuildNodeData find = finds.get(0);
|
SurProjectBuildNodeData find = finds.get(0);
|
||||||
find.setPlanEndDate(it.getPlanEndDate());
|
find.setPlanEndDate(it.getPlanEndDate());
|
||||||
|
|
|
@ -58,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and ssp.isDel=0
|
and ssp.isDel=0
|
||||||
<if test="projectId != null "> and ssp.projectId = #{projectId}</if>
|
<if test="projectId != null "> and ssp.projectId = #{projectId}</if>
|
||||||
<if test="infoType != null "> and ssp.infoType = #{infoType}</if>
|
<if test="infoType != null "> and ssp.infoType = #{infoType}</if>
|
||||||
|
<if test="roleType != null and roleType >0 "> and ssp.roleType = #{roleType}</if>
|
||||||
<if test="problemArea != null and problemArea != ''"> and ssp.problemArea like concat('%', #{problemArea}, '%')</if>
|
<if test="problemArea != null and problemArea != ''"> and ssp.problemArea like concat('%', #{problemArea}, '%')</if>
|
||||||
<if test="workParts != null and workParts != ''"> and ssp.workParts like concat('%', #{workParts}, '%')</if>
|
<if test="workParts != null and workParts != ''"> and ssp.workParts like concat('%', #{workParts}, '%')</if>
|
||||||
<if test="changeInfo != null and changeInfo != ''"> and ssp.changeInfo like concat('%', #{changeInfo}, '%')</if>
|
<if test="changeInfo != null and changeInfo != ''"> and ssp.changeInfo like concat('%', #{changeInfo}, '%')</if>
|
||||||
|
@ -327,8 +328,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="groupByInfotypeCheckState" parameterType="SmzSspProblemmodifyWhere" resultMap="SmzSspProblemmodifyResult">
|
<select id="groupByInfotypeCheckState" parameterType="SmzSspProblemmodifyWhere" resultMap="SmzSspProblemmodifyResult">
|
||||||
SELECT infotype,checkState,COUNT(1) id FROM smz_ssp_problemmodify WHERE isDel=0
|
SELECT infotype,checkState,COUNT(1) id FROM vw_smz_ssp_problemmodify_audit WHERE isDel=0
|
||||||
<if test="infoType !=null">and infoType=#{infoType}</if>
|
<if test="infoType !=null">and infoType=#{infoType}</if>
|
||||||
|
<if test="roleType !=null and roleType>0">and roleType=#{roleType}</if>
|
||||||
<if test="projectId > 0"> and projectId=#{projectId}</if>
|
<if test="projectId > 0"> and projectId=#{projectId}</if>
|
||||||
<if test="projectId <= 0">
|
<if test="projectId <= 0">
|
||||||
AND projectId IN (
|
AND projectId IN (
|
||||||
|
@ -342,6 +344,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select count(1) cnt
|
select count(1) cnt
|
||||||
FROM vw_smz_ssp_problemmodify_audit WHERE isDel=0
|
FROM vw_smz_ssp_problemmodify_audit WHERE isDel=0
|
||||||
<if test="infoType !=null">and infoType=#{infoType}</if>
|
<if test="infoType !=null">and infoType=#{infoType}</if>
|
||||||
|
<if test="roleType !=null and roleType>0">and roleType=#{roleType}</if>
|
||||||
and ((updateTime is null and date(nickedTime) < date(now()) ) or date(updateTime )>date(nickedTime))
|
and ((updateTime is null and date(nickedTime) < date(now()) ) or date(updateTime )>date(nickedTime))
|
||||||
<if test="projectId > 0"> and projectId=#{projectId}</if>
|
<if test="projectId > 0"> and projectId=#{projectId}</if>
|
||||||
<if test="projectId <= 0">
|
<if test="projectId <= 0">
|
||||||
|
|
Loading…
Reference in New Issue