From 54066b5a200ddf775652d618ab4458b634407058 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Tue, 30 Mar 2021 18:01:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E6=A0=87=E5=85=B7=E4=BD=93=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BasicCheckPersonActionDTO.java | 12 ++++ .../BasicCheckPersonInfoDTO.java | 13 ++++ .../dtos/indexgeneral/IndexGeneralDTO.java | 10 +++ .../partypunishinfo/PartyPunishInfoDTO.java | 12 ++++ .../pojo/dtos/problemclue/ProblemClueDTO.java | 13 ++++ .../supervisecheck/SuperviseCheckDTO.java | 12 ++++ .../BasicCheckPersonActionVO.java | 10 +++ .../BasicCheckPersonInfoVO.java | 11 +++ .../pojo/vos/indexgeneral/IndexGeneralVO.java | 11 +++ .../partypunishinfo/PartyPunishInfoVO.java | 10 +++ .../pojo/vos/problemclue/ProblemClueVO.java | 10 +++ .../vos/supervisecheck/SuperviseCheckVO.java | 12 ++++ .../basicCheckPersonAction-mapper.xml | 6 +- .../basicCheckPersonInfo-mapper.xml | 6 +- .../indexGeneral/indexGeneral-mapper.xml | 3 + .../indexTemplate/indexTemplate-mapper.xml | 4 +- .../partyPunishInfo-mapper.xml | 15 ++-- .../mapper/problemClue/problemClue-mapper.xml | 9 ++- .../superviseCheck/superviseCheck-mapper.xml | 6 +- .../route/basicCheckPersonAction/list.html | 37 +++------- .../route/basicCheckPersonInfo/list.html | 18 ----- .../route/basicCheckPersonInfo/save.html | 66 +++++++++++++---- .../route/basicCheckPersonInfo/update.html | 72 +++++++++++++++---- .../static/route/indexGeneral/list.html | 2 +- .../static/route/problemClue/list.html | 18 ----- .../static/route/superviseCheck/list.html | 27 ------- 26 files changed, 282 insertions(+), 143 deletions(-) diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersonaction/BasicCheckPersonActionDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersonaction/BasicCheckPersonActionDTO.java index d350473..1f7db39 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersonaction/BasicCheckPersonActionDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersonaction/BasicCheckPersonActionDTO.java @@ -18,6 +18,10 @@ public class BasicCheckPersonActionDTO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "actionTime", value = "时间") private String actionTime; @ApiModelProperty(name = "streetOrgName", value = "街道办事处") @@ -50,6 +54,14 @@ public class BasicCheckPersonActionDTO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getActionTime() { return actionTime == null ? "" : actionTime.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersoninfo/BasicCheckPersonInfoDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersoninfo/BasicCheckPersonInfoDTO.java index 717247b..aedbd47 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersoninfo/BasicCheckPersonInfoDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/basiccheckpersoninfo/BasicCheckPersonInfoDTO.java @@ -18,6 +18,10 @@ public class BasicCheckPersonInfoDTO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "orgName", value = "单位名称") private String orgName; @ApiModelProperty(name = "noteTaker", value = "填表人") @@ -63,6 +67,15 @@ public class BasicCheckPersonInfoDTO { this.dutyIndexLibId = dutyIndexLibId; } + + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getOrgName() { return orgName == null ? "" : orgName.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java index ad0fab8..7c0622d 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/indexgeneral/IndexGeneralDTO.java @@ -18,6 +18,8 @@ public class IndexGeneralDTO { private String indexGeneralId; @ApiModelProperty(name = "indexLibId", value = "指标ID") private String indexLibId; + @ApiModelProperty(name = "indexLibName", value = "指标名称") + private String indexLibName; @ApiModelProperty(name = "indexGeneralTitle", value = "上报标题") private String indexGeneralTitle; @ApiModelProperty(name = "indexGeneralContent", value = "上报正文") @@ -44,6 +46,14 @@ public class IndexGeneralDTO { this.indexLibId = indexLibId; } + public String getIndexLibName() { + return indexLibName; + } + + public void setIndexLibName(String indexLibName) { + this.indexLibName = indexLibName; + } + public String getIndexGeneralTitle() { return indexGeneralTitle == null ? "" : indexGeneralTitle.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/partypunishinfo/PartyPunishInfoDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/partypunishinfo/PartyPunishInfoDTO.java index 0b46e96..f572707 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/partypunishinfo/PartyPunishInfoDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/partypunishinfo/PartyPunishInfoDTO.java @@ -18,6 +18,10 @@ public class PartyPunishInfoDTO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "personName", value = "姓名") private String personName; @ApiModelProperty(name = "partyOrg", value = "所属社区党支部") @@ -67,6 +71,14 @@ public class PartyPunishInfoDTO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getPersonName() { return personName == null ? "" : personName.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/problemclue/ProblemClueDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/problemclue/ProblemClueDTO.java index 2139226..d1b895e 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/problemclue/ProblemClueDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/problemclue/ProblemClueDTO.java @@ -18,6 +18,11 @@ public class ProblemClueDTO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "caseNumber", value = "案件号") private String caseNumber; @ApiModelProperty(name = "handoverNumber", value = "交办文号") @@ -71,6 +76,14 @@ public class ProblemClueDTO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getCaseNumber() { return caseNumber == null ? "" : caseNumber.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/dtos/supervisecheck/SuperviseCheckDTO.java b/src/main/java/com/tenlion/twoduty/pojo/dtos/supervisecheck/SuperviseCheckDTO.java index 5d847e6..4560be7 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/dtos/supervisecheck/SuperviseCheckDTO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/dtos/supervisecheck/SuperviseCheckDTO.java @@ -18,6 +18,10 @@ public class SuperviseCheckDTO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "checkPhotos", value = "附加图片") private String checkPhotos; @ApiModelProperty(name = "checkPlace", value = "检查地点") @@ -51,6 +55,14 @@ public class SuperviseCheckDTO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getCheckPhotos() { return checkPhotos == null ? "" : checkPhotos.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersonaction/BasicCheckPersonActionVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersonaction/BasicCheckPersonActionVO.java index e3f8a85..7af6723 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersonaction/BasicCheckPersonActionVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersonaction/BasicCheckPersonActionVO.java @@ -20,6 +20,8 @@ public class BasicCheckPersonActionVO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; @ApiModelProperty(name = "actionTime", value = "时间") @CheckEmptyAnnotation(name = "时间", verifyType = "datetime") private String actionTime; @@ -52,6 +54,14 @@ public class BasicCheckPersonActionVO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getActionTime() { return actionTime == null ? "" : actionTime.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersoninfo/BasicCheckPersonInfoVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersoninfo/BasicCheckPersonInfoVO.java index c7c00df..e59f26d 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersoninfo/BasicCheckPersonInfoVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/basiccheckpersoninfo/BasicCheckPersonInfoVO.java @@ -20,6 +20,9 @@ public class BasicCheckPersonInfoVO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "orgName", value = "单位名称") private String orgName; @ApiModelProperty(name = "noteTaker", value = "填表人") @@ -69,6 +72,14 @@ public class BasicCheckPersonInfoVO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getOrgName() { return orgName == null ? "" : orgName.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java index ee908fc..849254a 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/indexgeneral/IndexGeneralVO.java @@ -20,6 +20,9 @@ public class IndexGeneralVO { private String indexGeneralId; @ApiModelProperty(name = "indexLibId", value = "指标ID") private String indexLibId; + @ApiModelProperty(name = "indexLibIdName", value = "指标名称") + private String indexLibIdName; + @ApiModelProperty(name = "indexGeneralTitle", value = "上报标题") private String indexGeneralTitle; @ApiModelProperty(name = "indexGeneralContent", value = "上报正文") @@ -47,6 +50,14 @@ public class IndexGeneralVO { this.indexLibId = indexLibId; } + public String getIndexLibIdName() { + return indexLibIdName; + } + + public void setIndexLibIdName(String indexLibIdName) { + this.indexLibIdName = indexLibIdName; + } + public String getIndexGeneralTitle() { return indexGeneralTitle == null ? "" : indexGeneralTitle.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/partypunishinfo/PartyPunishInfoVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/partypunishinfo/PartyPunishInfoVO.java index 6e119c8..6fff653 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/partypunishinfo/PartyPunishInfoVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/partypunishinfo/PartyPunishInfoVO.java @@ -20,6 +20,8 @@ public class PartyPunishInfoVO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; @ApiModelProperty(name = "personName", value = "姓名") private String personName; @ApiModelProperty(name = "partyOrg", value = "所属社区党支部") @@ -68,6 +70,14 @@ public class PartyPunishInfoVO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getPersonName() { return personName == null ? "" : personName.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/problemclue/ProblemClueVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/problemclue/ProblemClueVO.java index 39d0c08..0e41f0f 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/problemclue/ProblemClueVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/problemclue/ProblemClueVO.java @@ -20,6 +20,8 @@ public class ProblemClueVO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; @ApiModelProperty(name = "caseNumber", value = "案件号") private String caseNumber; @ApiModelProperty(name = "handoverNumber", value = "交办文号") @@ -73,6 +75,14 @@ public class ProblemClueVO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getCaseNumber() { return caseNumber == null ? "" : caseNumber.trim(); } diff --git a/src/main/java/com/tenlion/twoduty/pojo/vos/supervisecheck/SuperviseCheckVO.java b/src/main/java/com/tenlion/twoduty/pojo/vos/supervisecheck/SuperviseCheckVO.java index c825237..347bab5 100644 --- a/src/main/java/com/tenlion/twoduty/pojo/vos/supervisecheck/SuperviseCheckVO.java +++ b/src/main/java/com/tenlion/twoduty/pojo/vos/supervisecheck/SuperviseCheckVO.java @@ -20,6 +20,10 @@ public class SuperviseCheckVO { private String reportId; @ApiModelProperty(name = "dutyIndexLibId", value = "指标ID") private String dutyIndexLibId; + + @ApiModelProperty(name = "dutyIndexLibName", value = "指标名称") + private String dutyIndexLibName; + @ApiModelProperty(name = "checkPhotos", value = "附加图片") private String checkPhotos; @ApiModelProperty(name = "checkPlace", value = "检查地点") @@ -54,6 +58,14 @@ public class SuperviseCheckVO { this.dutyIndexLibId = dutyIndexLibId; } + public String getDutyIndexLibName() { + return dutyIndexLibName; + } + + public void setDutyIndexLibName(String dutyIndexLibName) { + this.dutyIndexLibName = dutyIndexLibName; + } + public String getCheckPhotos() { return checkPhotos == null ? "" : checkPhotos.trim(); } diff --git a/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml b/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml index 95281bb..5b96b98 100644 --- a/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml +++ b/src/main/resources/mybatis/mapper/basicCheckPersonAction/basicCheckPersonAction-mapper.xml @@ -114,9 +114,6 @@ UPDATE t_basic_check_person_action SET - - duty_index_lib_id = #{dutyIndexLibId}, - action_time = #{actionTime}, @@ -246,6 +243,9 @@ AND LEFT(t1.gmt_create, 10) #{endTime} + + AND t1.duty_index_lib_id = #{indexLibId} + diff --git a/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml b/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml index c8e6223..640e7a6 100644 --- a/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml +++ b/src/main/resources/mybatis/mapper/basicCheckPersonInfo/basicCheckPersonInfo-mapper.xml @@ -149,9 +149,6 @@ UPDATE t_basic_check_person_info SET - - duty_index_lib_id = #{dutyIndexLibId}, - org_name = #{orgName}, @@ -329,6 +326,9 @@ AND LEFT(t1.gmt_create, 10) #{endTime} + + AND t1.duty_index_lib_id = #{indexLibId} + diff --git a/src/main/resources/mybatis/mapper/indexGeneral/indexGeneral-mapper.xml b/src/main/resources/mybatis/mapper/indexGeneral/indexGeneral-mapper.xml index 02764a1..6c0a341 100644 --- a/src/main/resources/mybatis/mapper/indexGeneral/indexGeneral-mapper.xml +++ b/src/main/resources/mybatis/mapper/indexGeneral/indexGeneral-mapper.xml @@ -223,6 +223,9 @@ #{indexGeneralIds[${index}]} + + AND t1.index_lib_id = #{indexLibId} + diff --git a/src/main/resources/mybatis/mapper/indexTemplate/indexTemplate-mapper.xml b/src/main/resources/mybatis/mapper/indexTemplate/indexTemplate-mapper.xml index 379f965..64e3d3b 100644 --- a/src/main/resources/mybatis/mapper/indexTemplate/indexTemplate-mapper.xml +++ b/src/main/resources/mybatis/mapper/indexTemplate/indexTemplate-mapper.xml @@ -85,8 +85,8 @@ is_delete = 1 WHERE index_template_id IN - - #{indexLibIds[${index}]} + + #{indexTemplateIds[${index}]} diff --git a/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml b/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml index 5d9a4ee..9ee0644 100644 --- a/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml +++ b/src/main/resources/mybatis/mapper/partyPunishInfo/partyPunishInfo-mapper.xml @@ -151,9 +151,6 @@ UPDATE t_party_punish_info SET - - duty_index_lib_id = #{dutyIndexLibId}, - person_name = #{personName}, @@ -196,12 +193,8 @@ remarks = #{remarks}, - - creator = #{creator}, - - - gmt_create = #{gmtCreate}, - + gmt_modified = #{gmtModified}, + modifier = #{modifier} WHERE report_id = #{reportId} @@ -319,7 +312,6 @@ t1.remarks, t1.creator, t1.gmt_create - FROM t_party_punish_info t1 WHERE @@ -338,6 +330,9 @@ AND LEFT(t1.gmt_create, 10) #{endTime} + + AND t1.duty_index_lib_id = {indexLibId} + diff --git a/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml b/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml index 350220d..143a459 100644 --- a/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml +++ b/src/main/resources/mybatis/mapper/problemClue/problemClue-mapper.xml @@ -161,9 +161,6 @@ UPDATE t_problem_clue SET - - duty_index_lib_id = #{dutyIndexLibId}, - case_number = #{caseNumber}, @@ -334,8 +331,7 @@ t1.case_result, t1.remarks, t1.creator, - t1.gmt_create, - 1 + t1.gmt_create FROM t_problem_clue t1 WHERE @@ -354,6 +350,9 @@ AND LEFT(t1.gmt_create, 10) #{endTime} + + AND t1.duty_index_lib_id = #{indexLibId} + diff --git a/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml b/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml index 7b39d69..03d3702 100644 --- a/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml +++ b/src/main/resources/mybatis/mapper/superviseCheck/superviseCheck-mapper.xml @@ -235,8 +235,7 @@ t1.check_info, t1.check_content, t1.check_problem, - t1.check_result, - 1 + t1.check_result FROM t_supervise_check t1 WHERE @@ -255,6 +254,9 @@ AND LEFT(t1.gmt_create, 10) #{endTime} + + AND t1.duty_index_lib_id = #{indexLibId} + diff --git a/src/main/resources/static/route/basicCheckPersonAction/list.html b/src/main/resources/static/route/basicCheckPersonAction/list.html index cc3e3aa..dbca878 100644 --- a/src/main/resources/static/route/basicCheckPersonAction/list.html +++ b/src/main/resources/static/route/basicCheckPersonAction/list.html @@ -86,33 +86,7 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'reportId', width: 180, title: '主键ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'dutyIndexLibId', width: 180, title: '指标ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'actionTime', width: 180, title: '时间', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, + {field: 'streetOrgName', width: 180, title: '街道办事处', align:'center', templet: function(row) { var rowData = row[this.field]; @@ -158,6 +132,15 @@ return rowData; } }, + {field: 'actionTime', width: 180, title: '时间', align:'center', + templet: function(row) { + var rowData = row[this.field]; + if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { + return '-'; + } + return rowData; + } + }, {field: 'remarks', width: 180, title: '备注', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/static/route/basicCheckPersonInfo/list.html b/src/main/resources/static/route/basicCheckPersonInfo/list.html index 15c0cae..ed1dd4f 100644 --- a/src/main/resources/static/route/basicCheckPersonInfo/list.html +++ b/src/main/resources/static/route/basicCheckPersonInfo/list.html @@ -86,24 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'reportId', width: 180, title: '主键ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'dutyIndexLibId', width: 180, title: '指标ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'orgName', width: 180, title: '单位名称', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/static/route/basicCheckPersonInfo/save.html b/src/main/resources/static/route/basicCheckPersonInfo/save.html index ed506cd..3169af3 100644 --- a/src/main/resources/static/route/basicCheckPersonInfo/save.html +++ b/src/main/resources/static/route/basicCheckPersonInfo/save.html @@ -29,12 +29,7 @@ -
- -
- -
-
+
@@ -53,17 +48,33 @@
+
+ +
+ +
+
- +
-
- -
+
+
@@ -73,9 +84,15 @@
-
- -
+
+
@@ -241,6 +258,27 @@ }); } + //初始化民族数据字典 + function initNationTemplate(){ + top.restAjax.get(top.restAjax.path("api/data/listbyparentid/{dataParentId}",['5b6f16c5-6c5f-4314-b4cd-8b594187e2c8']),{},null,function (code,data,args) { + laytpl(document.getElementById('nationTemplate').innerHTML).render(data, function(html) { + document.getElementById('nationTemplateBox').innerHTML = html; + }); + form.render('select', 'nationTemplateBox'); + }); + } + + //初始化学历数据字典 + function initEducationTemplate(){ + top.restAjax.get(top.restAjax.path("api/data/listbyparentid/{dataParentId}",['3d9fa108-b20b-458a-91ee-2529bb4c8581']),{},null,function (code,data,args) { + laytpl(document.getElementById('educationTemplate').innerHTML).render(data, function(html) { + document.getElementById('educationTemplateBox').innerHTML = html; + }); + form.render('select', 'educationTemplateBox'); + }); + } + + // 初始化内容 function initData() { @@ -255,6 +293,8 @@ initBirthDateDateTime(); initJoinPartyTimeDateTime(); initJoinWorkTimeDateTime(); + initNationTemplate(); + initEducationTemplate(); }, function(code, data) { top.dialog.msg(data.msg); }, function() { diff --git a/src/main/resources/static/route/basicCheckPersonInfo/update.html b/src/main/resources/static/route/basicCheckPersonInfo/update.html index 960af4e..25ef219 100644 --- a/src/main/resources/static/route/basicCheckPersonInfo/update.html +++ b/src/main/resources/static/route/basicCheckPersonInfo/update.html @@ -29,12 +29,6 @@
-
- -
- -
-
@@ -53,17 +47,33 @@
+
+ +
+ +
+
- +
-
- -
+
+
@@ -73,9 +83,15 @@
-
- -
+
+
@@ -230,7 +246,7 @@ } // 初始化参加工作时间时间戳 - function initJoinWorkTimeDateTime() { + function initJoinWorkTimeDateTime(v) { laydate.render({ elem: '#joinWorkTime', type: 'datetime', @@ -239,6 +255,32 @@ }); } + //初始化民族数据字典 + function initNationTemplate(v){ + top.restAjax.get(top.restAjax.path("api/data/listbyparentid/{dataParentId}",['5b6f16c5-6c5f-4314-b4cd-8b594187e2c8']),{},null,function (code,data,args) { + laytpl(document.getElementById('nationTemplate').innerHTML).render(data, function(html) { + document.getElementById('nationTemplateBox').innerHTML = html; + }); + form.render('select', 'nationTemplateBox'); + var selectObj = {}; + selectObj['nation'] = v; + form.val('dataForm', selectObj); + }); + } + + //初始化学历数据字典 + function initEducationTemplate(v){ + top.restAjax.get(top.restAjax.path("api/data/listbyparentid/{dataParentId}",['3d9fa108-b20b-458a-91ee-2529bb4c8581']),{},null,function (code,data,args) { + laytpl(document.getElementById('educationTemplate').innerHTML).render(data, function(html) { + document.getElementById('educationTemplateBox').innerHTML = html; + }); + form.render('select', 'educationTemplateBox'); + var selectObj = {}; + selectObj['education'] = v; + form.val('dataForm', selectObj); + }); + } + // 初始化内容 function initData() { @@ -254,6 +296,8 @@ initBirthDateDateTime(data.birthDate); initJoinPartyTimeDateTime(data.joinPartyTime); initJoinWorkTimeDateTime(data.joinWorkTime); + initNationTemplate(data.nation); + initEducationTemplate(data.education); }, function(code, data) { top.dialog.msg(data.msg); }, function() { diff --git a/src/main/resources/static/route/indexGeneral/list.html b/src/main/resources/static/route/indexGeneral/list.html index ecbd9f5..fe11d9a 100644 --- a/src/main/resources/static/route/indexGeneral/list.html +++ b/src/main/resources/static/route/indexGeneral/list.html @@ -86,7 +86,7 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'indexLibId', width: 180, title: '指标', align:'center', + {field: 'indexLibId', width: 180, title: '指标名称', align:'center', templet: function(row) { var rowData = row[this.field]; if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { diff --git a/src/main/resources/static/route/problemClue/list.html b/src/main/resources/static/route/problemClue/list.html index 9be9ac4..51cb188 100644 --- a/src/main/resources/static/route/problemClue/list.html +++ b/src/main/resources/static/route/problemClue/list.html @@ -86,24 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'reportId', width: 180, title: '主键ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'dutyIndexLibId', width: 180, title: '指标ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'caseNumber', width: 180, title: '案件号', align:'center', templet: function(row) { var rowData = row[this.field]; diff --git a/src/main/resources/static/route/superviseCheck/list.html b/src/main/resources/static/route/superviseCheck/list.html index ed7dd82..dd045f6 100644 --- a/src/main/resources/static/route/superviseCheck/list.html +++ b/src/main/resources/static/route/superviseCheck/list.html @@ -86,33 +86,6 @@ [ {type:'checkbox', fixed: 'left'}, {field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '{{d.LAY_INDEX}}'}, - {field: 'reportId', width: 180, title: '主键ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'dutyIndexLibId', width: 180, title: '指标ID', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, - {field: 'checkPhotos', width: 180, title: '附加图片', align:'center', - templet: function(row) { - var rowData = row[this.field]; - if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') { - return '-'; - } - return rowData; - } - }, {field: 'checkPlace', width: 180, title: '检查地点', align:'center', templet: function(row) { var rowData = row[this.field];