Commit 92e4ef757b320993ab102609a009205eba1b0d55
Merge branch 'dev' of 192.168.168.245:youxiw20000/trash into dev
Showing
16 changed files
with
55 additions
and
37 deletions
trash-ui/src/views/activiti/task/index.vue
| ... | ... | @@ -868,7 +868,6 @@ export default { |
| 868 | 868 | return; |
| 869 | 869 | } |
| 870 | 870 | if (this.definitionKey == "workflow_casefile") { |
| 871 | - debugger; | |
| 872 | 871 | |
| 873 | 872 | if (this.taskName == "车辆所属企业" || this.taskName == "渣土办科员") { |
| 874 | 873 | console.log(this.businessKey); |
| ... | ... | @@ -1026,8 +1025,6 @@ export default { |
| 1026 | 1025 | this.form.formData[0].userNames = userNames; |
| 1027 | 1026 | //表里存中文 |
| 1028 | 1027 | handleAffairsForm.userNames = userNames.join(","); |
| 1029 | - console.log(this.form) | |
| 1030 | - console.log(handleAffairsForm) | |
| 1031 | 1028 | |
| 1032 | 1029 | updateHandleAffairs(handleAffairsForm).then(res => { |
| 1033 | 1030 | formDataSave(this.id, this.form.formData).then(response => { | ... | ... |
trash-ui/src/views/casefile/violationCaseFile/index.vue
| ... | ... | @@ -80,15 +80,15 @@ |
| 80 | 80 | |
| 81 | 81 | <el-table v-loading="loading" :data="violationCaseFileList" @selection-change="handleSelectionChange"> |
| 82 | 82 | <el-table-column type="selection" width="55" align="center" /> |
| 83 | + <el-table-column label="序号" align="center" type='index'/> | |
| 83 | 84 | <el-table-column label="所属区域" align="center" prop="owningRegion" /> |
| 85 | + <el-table-column label="违规对象" align="center" prop="projectName" /> | |
| 84 | 86 | <el-table-column label="违规对象类型" align="center" prop="violationObjectType"> |
| 85 | 87 | <template slot-scope="scope"> |
| 86 | 88 | <span>{{scope.row.violationObjectType == 0 ? "工地" :scope.row.violationObjectType == 1 ?"消纳场":"企业"}}</span> |
| 87 | 89 | </template> |
| 88 | 90 | </el-table-column> |
| 89 | 91 | <el-table-column label="违规类型" align="center" prop="violationType" /> |
| 90 | - <el-table-column label="项目名称" align="center" prop="projectName" /> | |
| 91 | - <el-table-column label="企业名称" align="center" prop="companyName" /> | |
| 92 | 92 | <el-table-column label="审批状态" align="center" prop="status"> |
| 93 | 93 | <template slot-scope="scope"> |
| 94 | 94 | <span>{{parseStatus(scope.row.status) }}</span> |
| ... | ... | @@ -99,9 +99,9 @@ |
| 99 | 99 | <el-button |
| 100 | 100 | size="mini" |
| 101 | 101 | type="text" |
| 102 | - icon="el-icon-edit" | |
| 102 | + icon="el-icon-view" | |
| 103 | 103 | @click="handleInfo(scope.row)" |
| 104 | - v-hasPermi="['casefile:violationCaseFile:view']" | |
| 104 | + v-hasPermi="['casefile:violationCaseFile:edit']" | |
| 105 | 105 | >详情</el-button> |
| 106 | 106 | <!-- <el-button--> |
| 107 | 107 | <!-- size="mini"--> |
| ... | ... | @@ -175,10 +175,8 @@ |
| 175 | 175 | </el-col> |
| 176 | 176 | <el-col :span="11"> |
| 177 | 177 | <el-form-item label="违规对象" prop="projectName"> |
| 178 | - <el-select v-model="form.projectName" :filterable="true" placeholder="请输入项目名称" style="width: 100%;"> | |
| 179 | - <el-option v-for="item in data" :key="item.name" :label="item.name" :value="item.name" @click.native="getObjId(item)" | |
| 180 | - v-if="form.place == item.areaCode" | |
| 181 | - /> | |
| 178 | + <el-select v-model="form.projectName" :filterable="true" :remote-method="projectNameLoadOptions" :loading="isLoading" placeholder="请输入项目名称" style="width: 100%;"> | |
| 179 | + <el-option v-for="item in projectNameList" :key="item.name" :label="item.name" :value="item.name"></el-option> | |
| 182 | 180 | </el-select> |
| 183 | 181 | </el-form-item> |
| 184 | 182 | </el-col> | ... | ... |
trash-ui/src/views/casefile/violationWarningInformation/index.vue
| ... | ... | @@ -72,15 +72,15 @@ |
| 72 | 72 | |
| 73 | 73 | <el-table v-loading="loading" :data="violationWarningInformationList" @selection-change="handleSelectionChange"> |
| 74 | 74 | <el-table-column type="selection" width="55" align="center" /> |
| 75 | + <el-table-column label="序号" align="center" type='index'/> | |
| 75 | 76 | <el-table-column label="所属区域" align="center" prop="owningRegion" /> |
| 77 | + <el-table-column label="违规对象" align="center" prop="projectName" /> | |
| 76 | 78 | <el-table-column label="违规对象类型" align="center" prop="violationObjectType" > |
| 77 | 79 | <template slot-scope="scope"> |
| 78 | 80 | <span>{{scope.row.violationObjectType == 0 ? "工地" :scope.row.violationObjectType == 1 ?"消纳场":"企业"}}</span> |
| 79 | 81 | </template> |
| 80 | 82 | </el-table-column> |
| 81 | 83 | <el-table-column label="违规类型" align="center" prop="violationType" /> |
| 82 | - <el-table-column label="项目名称" align="center" prop="projectName" /> | |
| 83 | - <el-table-column label="企业名称" align="center" prop="companyName" /> | |
| 84 | 84 | <el-table-column label="日期" align="center" prop="createTime"/> |
| 85 | 85 | <el-table-column label="审批状态" align="center" prop="status"> |
| 86 | 86 | <template slot-scope="scope"> | ... | ... |
trash-ui/src/views/office/conference/index.vue
| ... | ... | @@ -72,6 +72,7 @@ |
| 72 | 72 | |
| 73 | 73 | <el-table v-loading="loading" :data="conferenceList" @selection-change="handleSelectionChange"> |
| 74 | 74 | <el-table-column type="selection" width="55" align="center"/> |
| 75 | + <el-table-column label="序号" align="center" type='index'/> | |
| 75 | 76 | <el-table-column label="会议时间" align="center" prop="conferenceTime"/> |
| 76 | 77 | <el-table-column label="会议地点" align="center" prop="conferenceSite"/> |
| 77 | 78 | <el-table-column label="参会人员" align="center" prop="staff"/> | ... | ... |
trash-ui/src/views/office/handle/index.vue
| ... | ... | @@ -104,6 +104,7 @@ |
| 104 | 104 | |
| 105 | 105 | <el-table v-loading="loading" :data="handleList" @selection-change="handleSelectionChange"> |
| 106 | 106 | <el-table-column type="selection" width="55" align="center" /> |
| 107 | + <el-table-column label="序号" align="center" type='index'/> | |
| 107 | 108 | <el-table-column label="办文办事类型" align="center" prop="type" > |
| 108 | 109 | <template slot-scope="scope"> |
| 109 | 110 | <span>{{ typeOfName(scope.row.type) }}</span> | ... | ... |
trash-ui/src/views/office/leaveApplication/index.vue
| ... | ... | @@ -82,6 +82,7 @@ |
| 82 | 82 | |
| 83 | 83 | <el-table v-loading="loading" :data="leaveApplicationList" @selection-change="handleSelectionChange"> |
| 84 | 84 | <el-table-column type="selection" width="55" align="center"/> |
| 85 | + <el-table-column label="序号" align="center" type='index'/> | |
| 85 | 86 | <el-table-column label="申请人" align="center" prop="applicant"/>> |
| 86 | 87 | <el-table-column label="联系方式" align="center" prop="phone"/> |
| 87 | 88 | <el-table-column label="请假类型" align="center" prop="type"/> | ... | ... |
trash-ui/src/views/office/logistics/index.vue
| ... | ... | @@ -93,6 +93,7 @@ |
| 93 | 93 | |
| 94 | 94 | <el-table v-loading="loading" :data="logisticsList" @selection-change="handleSelectionChange"> |
| 95 | 95 | <el-table-column type="selection" width="55" align="center"/> |
| 96 | + <el-table-column label="序号" align="center" type='index'/> | |
| 96 | 97 | <el-table-column label="申请部门" align="center" prop="deptName"/> |
| 97 | 98 | <!-- 用章申请 --> |
| 98 | 99 | <el-table-column label="用章类型" align="center" prop="sealType" v-if="type==0"/> | ... | ... |
trash-ui/src/views/office/management/index.vue
| ... | ... | @@ -74,6 +74,7 @@ |
| 74 | 74 | |
| 75 | 75 | <el-table v-loading="loading" :data="managementList" @selection-change="handleSelectionChange"> |
| 76 | 76 | <el-table-column type="selection" width="55" align="center"/> |
| 77 | + <el-table-column label="序号" align="center" type='index'/> | |
| 77 | 78 | <el-table-column label="合同名称" align="center" prop="contractName"/> |
| 78 | 79 | <el-table-column label="乙方" align="center" prop="secondParty"/> |
| 79 | 80 | <el-table-column label="责任科室" align="center" prop="deptName"/> | ... | ... |
trash-workFlow/src/main/java/com/trash/casefile/domain/ViolationCaseFile.java
| ... | ... | @@ -18,67 +18,75 @@ public class ViolationCaseFile extends BaseEntity |
| 18 | 18 | private static final long serialVersionUID = 1L; |
| 19 | 19 | |
| 20 | 20 | /** $column.columnComment */ |
| 21 | + @Excel(name = "序号") | |
| 21 | 22 | private Long id; |
| 22 | 23 | |
| 23 | 24 | /** 案卷编号 */ |
| 24 | - @Excel(name = "案卷编号") | |
| 25 | 25 | private String number; |
| 26 | 26 | |
| 27 | - /** 违规对象类型 */ | |
| 28 | - @Excel(name = "违规对象类型") | |
| 29 | - private String violationObjectType; | |
| 30 | - | |
| 31 | 27 | /** 所属区域 */ |
| 32 | 28 | @Excel(name = "所属区域") |
| 33 | 29 | private String owningRegion; |
| 34 | 30 | |
| 31 | + /** 项目名称 */ | |
| 32 | + @Excel(name = "违规对象") | |
| 33 | + private String projectName; | |
| 34 | + | |
| 35 | + /** 违规对象类型 */ | |
| 36 | + @Excel(name = "违规对象类型",readConverterExp = "0=工地,1=消纳场,2=企业") | |
| 37 | + private String violationObjectType; | |
| 38 | + | |
| 39 | + | |
| 35 | 40 | /** 违规类型 */ |
| 36 | 41 | @Excel(name = "违规类型") |
| 37 | 42 | private String violationType; |
| 38 | 43 | |
| 39 | 44 | /** 违规等级 */ |
| 40 | - @Excel(name = "违规等级") | |
| 41 | 45 | private String violationGrade; |
| 42 | 46 | |
| 43 | - /** 项目名称 */ | |
| 44 | - @Excel(name = "项目名称") | |
| 45 | - private String projectName; | |
| 47 | + | |
| 46 | 48 | |
| 47 | 49 | /** 企业名称 */ |
| 48 | - @Excel(name = "企业名称") | |
| 49 | 50 | private String companyName; |
| 50 | 51 | |
| 51 | 52 | /** 违规描述 */ |
| 52 | - @Excel(name = "违规描述") | |
| 53 | 53 | private String describe; |
| 54 | 54 | |
| 55 | 55 | /** 推送对象 */ |
| 56 | - @Excel(name = "推送对象") | |
| 57 | 56 | private String sendObject; |
| 58 | 57 | |
| 58 | + @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") | |
| 59 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |
| 60 | + private Date createTime; | |
| 61 | + | |
| 59 | 62 | /** 审批状态 */ |
| 60 | - @Excel(name = "审批状态") | |
| 63 | + @Excel(name = "审批状态",readConverterExp = "0=审批中,1=审批通过,2=被驳回") | |
| 61 | 64 | private Integer status; |
| 62 | 65 | |
| 63 | 66 | /** 接收人 */ |
| 64 | - @Excel(name = "接收人") | |
| 65 | 67 | private String receive; |
| 66 | 68 | |
| 67 | 69 | /** 接收状态 */ |
| 68 | - @Excel(name = "接收状态") | |
| 69 | 70 | private Integer receiveStatus; |
| 70 | 71 | |
| 71 | 72 | /** 阅览人 */ |
| 72 | - @Excel(name = "阅览人") | |
| 73 | 73 | private String readBy; |
| 74 | 74 | |
| 75 | 75 | /** 阅览时间 */ |
| 76 | - @JsonFormat(pattern = "yyyy-MM-dd") | |
| 77 | - @Excel(name = "阅览时间", width = 30, dateFormat = "yyyy-MM-dd") | |
| 78 | 76 | private Date readTime; |
| 79 | 77 | |
| 80 | 78 | private String abbreviation; |
| 81 | 79 | |
| 80 | + @Override | |
| 81 | + public Date getCreateTime() { | |
| 82 | + return createTime; | |
| 83 | + } | |
| 84 | + | |
| 85 | + @Override | |
| 86 | + public void setCreateTime(Date createTime) { | |
| 87 | + this.createTime = createTime; | |
| 88 | + } | |
| 89 | + | |
| 82 | 90 | public String getAbbreviation() { |
| 83 | 91 | return abbreviation; |
| 84 | 92 | } | ... | ... |
trash-workFlow/src/main/java/com/trash/casefile/domain/ViolationWarningInformation.java
| ... | ... | @@ -20,6 +20,7 @@ public class ViolationWarningInformation extends BaseEntity { |
| 20 | 20 | /** |
| 21 | 21 | * $column.columnComment |
| 22 | 22 | */ |
| 23 | + @Excel(name = "序号") | |
| 23 | 24 | private Long id; |
| 24 | 25 | |
| 25 | 26 | /** |
| ... | ... | @@ -33,6 +34,12 @@ public class ViolationWarningInformation extends BaseEntity { |
| 33 | 34 | */ |
| 34 | 35 | @Excel(name = "所属区域") |
| 35 | 36 | private String owningRegion; |
| 37 | + | |
| 38 | + /** | |
| 39 | + * 项目名称 | |
| 40 | + */ | |
| 41 | + @Excel(name = "违规对象") | |
| 42 | + private String projectName; | |
| 36 | 43 | /** |
| 37 | 44 | * 违规对象类型 |
| 38 | 45 | */ |
| ... | ... | @@ -50,16 +57,11 @@ public class ViolationWarningInformation extends BaseEntity { |
| 50 | 57 | */ |
| 51 | 58 | private String violationGrade; |
| 52 | 59 | |
| 53 | - /** | |
| 54 | - * 项目名称 | |
| 55 | - */ | |
| 56 | - @Excel(name = "项目名称") | |
| 57 | - private String projectName; | |
| 60 | + | |
| 58 | 61 | |
| 59 | 62 | /** |
| 60 | 63 | * 企业名称 |
| 61 | 64 | */ |
| 62 | - @Excel(name = "企业名称") | |
| 63 | 65 | private String companyName; |
| 64 | 66 | |
| 65 | 67 | @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") | ... | ... |
trash-workFlow/src/main/java/com/trash/casefile/kafka/Consumer.java
| ... | ... | @@ -86,6 +86,9 @@ public class Consumer { |
| 86 | 86 | throw new RuntimeException("获取公司列表失败!!!"); |
| 87 | 87 | } |
| 88 | 88 | |
| 89 | + if(basevehicleInfo==null){ | |
| 90 | + throw new RuntimeException("获取公司详情失败!vehicleId:"+jsonObject.getString("vehicleId")); | |
| 91 | + } | |
| 89 | 92 | //这两种类型无需累加 |
| 90 | 93 | if(violationType.equals("工地预警-视频设备离线超时报警") || violationType.equals("消纳场预警-视频设备离线超时报警")){ |
| 91 | 94 | violationWarningInformation1 = null; | ... | ... |
trash-workFlow/src/main/java/com/trash/office/domain/Conference.java
trash-workFlow/src/main/java/com/trash/office/domain/ContractManagement.java
trash-workFlow/src/main/java/com/trash/office/domain/HandleAffairs.java
trash-workFlow/src/main/java/com/trash/office/domain/LeaveApplication.java