Commit 92e4ef757b320993ab102609a009205eba1b0d55

Authored by youxiw2000
2 parents 3ab2d79f 58e04267

Merge branch 'dev' of 192.168.168.245:youxiw20000/trash into dev

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