Commit cb6cea095a9a9f2a775a09f96b218057216fd3e9

Authored by youxiw2000
1 parent ca96f4fa

m

Showing 57 changed files with 481 additions and 231 deletions
trash-admin/src/main/resources/application.yml
@@ -6,6 +6,20 @@ logging: @@ -6,6 +6,20 @@ logging:
6 6
7 # Spring配置 7 # Spring配置
8 spring: 8 spring:
  9 + #kafka配置
  10 + kafka:
  11 + bootstrap-servers: 183.66.242.6:9101
  12 + producer:
  13 + x-serializer: org.apache.kafka.common.serialization.StringSerializer
  14 + value-serializer: org.apache.kafka.common.serialization.StringSerializer
  15 + buffer-memory: 33554432
  16 + acks: all
  17 + consumer:
  18 + enable-auto-commit: true
  19 + group-id: trash
  20 + key-serializer: org.apache.kafka.common.serialization.StringSerializer
  21 + value-serializer: org.apache.kafka.common.serialization.StringSerializer
  22 +
9 # 资源信息 23 # 资源信息
10 messages: 24 messages:
11 # 国际化资源文件路径 25 # 国际化资源文件路径
trash-common/src/main/java/com/trash/common/utils/file/FileUploadUtils.java
@@ -139,7 +139,7 @@ public class FileUploadUtils { @@ -139,7 +139,7 @@ public class FileUploadUtils {
139 public static final String extractFilename(MultipartFile file) { 139 public static final String extractFilename(MultipartFile file) {
140 String fileName = file.getOriginalFilename(); 140 String fileName = file.getOriginalFilename();
141 String extension = getExtension(file); 141 String extension = getExtension(file);
142 - fileName = DateUtils.datePath() + "/" + IdUtils.fastUUID() + "." + extension; 142 + fileName = DateUtils.getNowDate().getTime() + "/" + fileName;
143 return fileName; 143 return fileName;
144 } 144 }
145 145
trash-common/src/main/java/com/trash/common/utils/poi/ExcelUtil.java
@@ -124,6 +124,19 @@ public class ExcelUtil<T> @@ -124,6 +124,19 @@ public class ExcelUtil<T>
124 this.clazz = clazz; 124 this.clazz = clazz;
125 } 125 }
126 126
  127 + public void init(List<T> list, String sheetName, Type type,List<String> withOut)
  128 + {
  129 + if (list == null)
  130 + {
  131 + list = new ArrayList<T>();
  132 + }
  133 + this.list = list;
  134 + this.sheetName = sheetName;
  135 + this.type = type;
  136 + createExcelField(withOut);
  137 + createWorkbook();
  138 + }
  139 +
127 public void init(List<T> list, String sheetName, Type type) 140 public void init(List<T> list, String sheetName, Type type)
128 { 141 {
129 if (list == null) 142 if (list == null)
@@ -308,10 +321,16 @@ public class ExcelUtil&lt;T&gt; @@ -308,10 +321,16 @@ public class ExcelUtil&lt;T&gt;
308 * @return 结果 321 * @return 结果
309 */ 322 */
310 public AjaxResult exportExcel(List<T> list, String sheetName) 323 public AjaxResult exportExcel(List<T> list, String sheetName)
311 - { 324 + {
312 this.init(list, sheetName, Type.EXPORT); 325 this.init(list, sheetName, Type.EXPORT);
313 return exportExcel(); 326 return exportExcel();
314 } 327 }
  328 +
  329 + public AjaxResult exportExcel(List<T> list, String sheetName,List<String> withOut)
  330 + {
  331 + this.init(list, sheetName, Type.EXPORT,withOut);
  332 + return exportExcel();
  333 + }
315 334
316 /** 335 /**
317 * 对list数据源将其里面的数据导入到excel表单 336 * 对list数据源将其里面的数据导入到excel表单
@@ -870,6 +889,37 @@ public class ExcelUtil&lt;T&gt; @@ -870,6 +889,37 @@ public class ExcelUtil&lt;T&gt;
870 } 889 }
871 return o; 890 return o;
872 } 891 }
  892 +
  893 + private void createExcelField(List<String> withOut)
  894 + {
  895 + this.fields = new ArrayList<Object[]>();
  896 + List<Field> tempFields = new ArrayList<>();
  897 + tempFields.addAll(Arrays.asList(clazz.getSuperclass().getDeclaredFields()));
  898 + tempFields.addAll(Arrays.asList(clazz.getDeclaredFields()));
  899 + for (Field field : tempFields)
  900 + {
  901 + if(withOut.indexOf(field.getName()) > -1){
  902 + continue;
  903 + }
  904 + // 单注解
  905 + if (field.isAnnotationPresent(Excel.class))
  906 + {
  907 + putToField(field, field.getAnnotation(Excel.class));
  908 + }
  909 +
  910 + // 多注解
  911 + if (field.isAnnotationPresent(Excels.class))
  912 + {
  913 + Excels attrs = field.getAnnotation(Excels.class);
  914 + Excel[] excels = attrs.value();
  915 + for (Excel excel : excels)
  916 + {
  917 + putToField(field, excel);
  918 + }
  919 + }
  920 + }
  921 + this.fields = this.fields.stream().sorted(Comparator.comparing(objects -> ((Excel) objects[1]).sort())).collect(Collectors.toList());
  922 + }
873 923
874 /** 924 /**
875 * 得到所有定义字段 925 * 得到所有定义字段
trash-daily/src/main/java/com/trash/information_sharing/controller/InformationSharingController.java
@@ -50,6 +50,9 @@ public class InformationSharingController extends BaseController @@ -50,6 +50,9 @@ public class InformationSharingController extends BaseController
50 public AjaxResult export(InformationSharing informationSharing) 50 public AjaxResult export(InformationSharing informationSharing)
51 { 51 {
52 List<InformationSharing> list = informationSharingService.selectInformationSharingList(informationSharing); 52 List<InformationSharing> list = informationSharingService.selectInformationSharingList(informationSharing);
  53 + for(int i = 0;i<list.size();i++){
  54 + list.get(i).setId((long)i+1);
  55 + }
53 ExcelUtil<InformationSharing> util = new ExcelUtil<InformationSharing>(InformationSharing.class); 56 ExcelUtil<InformationSharing> util = new ExcelUtil<InformationSharing>(InformationSharing.class);
54 return util.exportExcel(list, "information_sharing"); 57 return util.exportExcel(list, "information_sharing");
55 } 58 }
trash-daily/src/main/java/com/trash/report/controller/WorkReportController.java
@@ -51,6 +51,9 @@ public class WorkReportController extends BaseController @@ -51,6 +51,9 @@ public class WorkReportController extends BaseController
51 public AjaxResult export(WorkReport workReport) 51 public AjaxResult export(WorkReport workReport)
52 { 52 {
53 List<WorkReport> list = workReportService.selectWorkReportList(workReport); 53 List<WorkReport> list = workReportService.selectWorkReportList(workReport);
  54 + for(int i = 0;i<list.size();i++){
  55 + list.get(i).setId((long)i+1);
  56 + }
54 ExcelUtil<WorkReport> util = new ExcelUtil<WorkReport>(WorkReport.class); 57 ExcelUtil<WorkReport> util = new ExcelUtil<WorkReport>(WorkReport.class);
55 return util.exportExcel(list, "report"); 58 return util.exportExcel(list, "report");
56 } 59 }
trash-daily/src/main/java/com/trash/situation/controller/DailySituationController.java
@@ -51,6 +51,9 @@ public class DailySituationController extends BaseController @@ -51,6 +51,9 @@ public class DailySituationController extends BaseController
51 public AjaxResult export(DailySituation dailySituation) 51 public AjaxResult export(DailySituation dailySituation)
52 { 52 {
53 List<DailySituation> list = dailySituationService.selectDailySituationList(dailySituation); 53 List<DailySituation> list = dailySituationService.selectDailySituationList(dailySituation);
  54 + for(int i = 0;i<list.size();i++){
  55 + list.get(i).setId((i+1)+"");
  56 + }
54 ExcelUtil<DailySituation> util = new ExcelUtil<DailySituation>(DailySituation.class); 57 ExcelUtil<DailySituation> util = new ExcelUtil<DailySituation>(DailySituation.class);
55 return util.exportExcel(list, "situation"); 58 return util.exportExcel(list, "situation");
56 } 59 }
trash-daily/src/main/java/com/trash/situation/domain/DailySituation.java
@@ -52,7 +52,11 @@ public class DailySituation extends BaseEntity @@ -52,7 +52,11 @@ public class DailySituation extends BaseEntity
52 52
53 private String warningCaseFileInfo; 53 private String warningCaseFileInfo;
54 54
  55 + private String desc1;
55 56
  57 + private String desc2;
  58 +
  59 + private String desc3;
56 60
57 61
58 public Date getUpdateTime() { 62 public Date getUpdateTime() {
@@ -142,8 +146,34 @@ public class DailySituation extends BaseEntity @@ -142,8 +146,34 @@ public class DailySituation extends BaseEntity
142 { 146 {
143 return numberOfVehicles; 147 return numberOfVehicles;
144 } 148 }
  149 +
  150 +
  151 +
  152 + public String getDesc1() {
  153 + return desc1;
  154 + }
  155 +
  156 + public void setDesc1(String desc1) {
  157 + this.desc1 = desc1;
  158 + }
  159 +
  160 + public String getDesc2() {
  161 + return desc2;
  162 + }
  163 +
  164 + public void setDesc2(String desc2) {
  165 + this.desc2 = desc2;
  166 + }
  167 +
  168 + public String getDesc3() {
  169 + return desc3;
  170 + }
  171 +
  172 + public void setDesc3(String desc3) {
  173 + this.desc3 = desc3;
  174 + }
145 175
146 - @Override 176 + @Override
147 public String toString() { 177 public String toString() {
148 return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) 178 return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
149 .append("id", getId()) 179 .append("id", getId())
trash-daily/src/main/java/com/trash/toollist/controller/DailyToolListController.java
@@ -51,6 +51,9 @@ public class DailyToolListController extends BaseController @@ -51,6 +51,9 @@ public class DailyToolListController extends BaseController
51 public AjaxResult export(DailyToolList dailyToolList) 51 public AjaxResult export(DailyToolList dailyToolList)
52 { 52 {
53 List<DailyToolList> list = dailyToolListService.selectDailyToolListList(dailyToolList); 53 List<DailyToolList> list = dailyToolListService.selectDailyToolListList(dailyToolList);
  54 + for(int i = 0;i<list.size();i++){
  55 + list.get(i).setId((long)i+1);
  56 + }
54 ExcelUtil<DailyToolList> util = new ExcelUtil<DailyToolList>(DailyToolList.class); 57 ExcelUtil<DailyToolList> util = new ExcelUtil<DailyToolList>(DailyToolList.class);
55 return util.exportExcel(list, "toollist"); 58 return util.exportExcel(list, "toollist");
56 } 59 }
trash-daily/src/main/resources/mapper/situation/DailySituationMapper.xml
@@ -14,6 +14,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -14,6 +14,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
14 <result property="numberOfVehicles" column="Number_of_vehicles" /> 14 <result property="numberOfVehicles" column="Number_of_vehicles" />
15 <result property="caseFileInfo" column="case_file_info" /> 15 <result property="caseFileInfo" column="case_file_info" />
16 <result property="warningCaseFileInfo" column="warning_case_file_info" /> 16 <result property="warningCaseFileInfo" column="warning_case_file_info" />
  17 + <result property="desc1" column="desc1" />
  18 + <result property="desc2" column="desc2" />
  19 + <result property="desc3" column="desc3" />
17 <result property="createBy" column="create_by" /> 20 <result property="createBy" column="create_by" />
18 <result property="createTime" column="create_time" /> 21 <result property="createTime" column="create_time" />
19 <result property="updateTime" column="update_time" /> 22 <result property="updateTime" column="update_time" />
@@ -21,7 +24,7 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -21,7 +24,7 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
21 </resultMap> 24 </resultMap>
22 25
23 <sql id="selectDailySituationVo"> 26 <sql id="selectDailySituationVo">
24 - select id, title, operator, date, weather, Consumption_site_situation, Number_of_vehicles,case_file_info,warning_case_file_info, create_time, update_time,create_by from daily_situation 27 + select id, title, operator, date, weather, Consumption_site_situation, Number_of_vehicles,case_file_info,warning_case_file_info, create_time, update_time,create_by,desc1,desc2,desc3 from daily_situation
25 </sql> 28 </sql>
26 29
27 <select id="selectDailySituationList" parameterType="DailySituation" resultMap="DailySituationResult"> 30 <select id="selectDailySituationList" parameterType="DailySituation" resultMap="DailySituationResult">
@@ -53,6 +56,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -53,6 +56,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
53 <if test="createTime != null">create_time,</if> 56 <if test="createTime != null">create_time,</if>
54 <if test="updateTime != null">update_time,</if> 57 <if test="updateTime != null">update_time,</if>
55 <if test="createBy != null">create_by,</if> 58 <if test="createBy != null">create_by,</if>
  59 + <if test="desc1 != null">desc1,</if>
  60 + <if test="desc2 != null">desc2,</if>
  61 + <if test="desc3 != null">desc3,</if>
56 </trim> 62 </trim>
57 <trim prefix="values (" suffix=")" suffixOverrides=","> 63 <trim prefix="values (" suffix=")" suffixOverrides=",">
58 <if test="id != null and id != ''">#{id},</if> 64 <if test="id != null and id != ''">#{id},</if>
@@ -66,7 +72,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -66,7 +72,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
66 <if test="caseFileInfo != null">#{caseFileInfo},</if> 72 <if test="caseFileInfo != null">#{caseFileInfo},</if>
67 <if test="createTime != null">#{createTime},</if> 73 <if test="createTime != null">#{createTime},</if>
68 <if test="updateTime != null">#{updateTime},</if> 74 <if test="updateTime != null">#{updateTime},</if>
69 - <if test="createBy != null">#{createBy}</if> 75 + <if test="createBy != null">#{createBy},</if>
  76 + <if test="desc1 != null">#{desc1},</if>
  77 + <if test="desc2 != null">#{desc2},</if>
  78 + <if test="desc3 != null">#{desc3},</if>
70 </trim> 79 </trim>
71 </insert> 80 </insert>
72 81
@@ -83,6 +92,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -83,6 +92,9 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
83 <if test="caseFileInfo != null">case_file_info = #{caseFileInfo},</if> 92 <if test="caseFileInfo != null">case_file_info = #{caseFileInfo},</if>
84 <if test="createTime != null">create_time = #{createTime},</if> 93 <if test="createTime != null">create_time = #{createTime},</if>
85 <if test="updateTime != null">update_time = #{updateTime},</if> 94 <if test="updateTime != null">update_time = #{updateTime},</if>
  95 + <if test="desc1 != null">desc1 = #{desc1},</if>
  96 + <if test="desc2 != null">desc2 = #{desc2},</if>
  97 + <if test="desc3 != null">desc3 = #{desc3},</if>
86 </trim> 98 </trim>
87 where id = #{id} 99 where id = #{id}
88 </update> 100 </update>
trash-ui/src/api/dict.js
@@ -103,8 +103,7 @@ export function updateDriver(data) { @@ -103,8 +103,7 @@ export function updateDriver(data) {
103 // }); 103 // });
104 } 104 }
105 105
106 -export function contractList() {  
107 - let data = {page:1,size:9999}; //,contractStatus:1,auditStatus:1 106 +export function contractList(data) {
108 return requestRemote({ 107 return requestRemote({
109 url: '/api/siteservice/cs/sitecontract/ledger/list', 108 url: '/api/siteservice/cs/sitecontract/ledger/list',
110 method: 'post', 109 method: 'post',
trash-ui/src/layout/index4.vue renamed to trash-ui/src/layout/index6.vue
trash-ui/src/views/TrashData/TrashData/index.vue
@@ -46,7 +46,7 @@ @@ -46,7 +46,7 @@
46 </el-row> 46 </el-row>
47 47
48 <el-table v-loading="loading" :data="TrashDataList" @selection-change="handleSelectionChange"> 48 <el-table v-loading="loading" :data="TrashDataList" @selection-change="handleSelectionChange">
49 - <el-table-column label="序号" align="center" prop="id" /> 49 + <el-table-column label="序号" align="center" type="index" />
50 <el-table-column label="所属区域" align="center" prop="place" /> 50 <el-table-column label="所属区域" align="center" prop="place" />
51 <el-table-column label="一般弃土产生量(万吨)" align="center" prop="param1" /> 51 <el-table-column label="一般弃土产生量(万吨)" align="center" prop="param1" />
52 <el-table-column label="四类建筑垃圾产生量(万吨)" align="center" prop="param2" /> 52 <el-table-column label="四类建筑垃圾产生量(万吨)" align="center" prop="param2" />
trash-ui/src/views/activiti/task/index.vue
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <el-row type="flex" justify="center"> 32 <el-row type="flex" justify="center">
33 <el-col> 33 <el-col>
34 <el-form-item label="补充说明"> 34 <el-form-item label="补充说明">
35 - <el-input type="textarea" v-model="form.subReason"/> 35 + <el-input type="textarea" v-model="form.subReason" maxlength=100 show-word-limit='true'/>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 </el-row> 38 </el-row>
@@ -92,21 +92,21 @@ @@ -92,21 +92,21 @@
92 </p> 92 </p>
93 </el-col> 93 </el-col>
94 <el-col :span="6"> 94 <el-col :span="6">
95 - <a style="color:blue;font-size: 12px;" @click="showFileUpload(5)">摄像头视频截图1</a> 95 + <a style="color:blue;font-size: 12px;" @click="showFileUpload(5)">{{form.type==0?"摄像头视频截图1":"洗车设施照片"}}</a>
96 <el-input v-model="form.sub_img5" type="hidden"></el-input> 96 <el-input v-model="form.sub_img5" type="hidden"></el-input>
97 <p v-for="img in form.sub_img5">{{ img.split(":")[0] }}<a @click="removeImage(5,img)" style="color:red"> 97 <p v-for="img in form.sub_img5">{{ img.split(":")[0] }}<a @click="removeImage(5,img)" style="color:red">
98 x</a> 98 x</a>
99 </p> 99 </p>
100 </el-col> 100 </el-col>
101 <el-col :span="6"> 101 <el-col :span="6">
102 - <a style="color:blue;font-size: 12px;" @click="showFileUpload(6)">摄像头视频截图2</a> 102 + <a style="color:blue;font-size: 12px;" @click="showFileUpload(6)">{{form.type==0?"摄像头视频截图2":"雾炮机"}}</a>
103 <el-input v-model="form.sub_img6" type="hidden"></el-input> 103 <el-input v-model="form.sub_img6" type="hidden"></el-input>
104 <p v-for="img in form.sub_img6">{{ img.split(":")[0] }}<a @click="removeImage(6,img)" style="color:red"> 104 <p v-for="img in form.sub_img6">{{ img.split(":")[0] }}<a @click="removeImage(6,img)" style="color:red">
105 x</a> 105 x</a>
106 </p> 106 </p>
107 </el-col> 107 </el-col>
108 <el-col :span="6"> 108 <el-col :span="6">
109 - <a style="color:blue;font-size: 12px;" @click="showFileUpload(7)">摄像头视频截图3</a> 109 + <a style="color:blue;font-size: 12px;" @click="showFileUpload(7)">{{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}}</a>
110 <el-input v-model="form.sub_img7" type="hidden"></el-input> 110 <el-input v-model="form.sub_img7" type="hidden"></el-input>
111 <p v-for="img in form.sub_img7">{{ img.split(":")[0] }}<a @click="removeImage(7,img)" style="color:red"> 111 <p v-for="img in form.sub_img7">{{ img.split(":")[0] }}<a @click="removeImage(7,img)" style="color:red">
112 x</a> 112 x</a>
trash-ui/src/views/business/CompanyCredit/index.vue
@@ -77,7 +77,7 @@ @@ -77,7 +77,7 @@
77 </el-row> 77 </el-row>
78 78
79 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border> 79 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border>
80 - <el-table-column label="序号" align="center" prop="id" /> 80 + <el-table-column label="序号" align="center" type="index" />
81 <el-table-column label="运输企业" align="center" prop="name" /> 81 <el-table-column label="运输企业" align="center" prop="name" />
82 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0"> 82 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0">
83 <template slot-scope="scope"> 83 <template slot-scope="scope">
@@ -149,7 +149,7 @@ @@ -149,7 +149,7 @@
149 149
150 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body center="true"> 150 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body center="true">
151 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border> 151 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border>
152 - <el-table-column label="序号" align="center" prop="id" /> 152 + <el-table-column label="序号" align="center" type="index" />
153 <el-table-column label="失信时间" align="center" prop="time" width="180"> 153 <el-table-column label="失信时间" align="center" prop="time" width="180">
154 <template slot-scope="scope"> 154 <template slot-scope="scope">
155 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span> 155 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span>
trash-ui/src/views/business/ConstructionCredit/index.vue
@@ -73,7 +73,7 @@ @@ -73,7 +73,7 @@
73 73
74 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" 74 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle"
75 border> 75 border>
76 - <el-table-column label="序号" align="center" prop="id" /> 76 + <el-table-column label="序号" align="center" type="index" />
77 <el-table-column label="工地名称" align="center" prop="name" /> 77 <el-table-column label="工地名称" align="center" prop="name" />
78 <el-table-column label="建筑垃圾类型" align="center" prop="type" /> 78 <el-table-column label="建筑垃圾类型" align="center" prop="type" />
79 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0"> 79 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0">
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
142 142
143 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body> 143 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body>
144 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border> 144 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border>
145 - <el-table-column label="序号" align="center" prop="id" /> 145 + <el-table-column label="序号" align="center" type="index" />
146 <el-table-column label="失信时间" align="center" prop="time" width="180" /> 146 <el-table-column label="失信时间" align="center" prop="time" width="180" />
147 <el-table-column label="情况说明" align="center" prop="reason" /> 147 <el-table-column label="情况说明" align="center" prop="reason" />
148 <el-table-column label="操作历史" align="center" prop="lostCredit"> 148 <el-table-column label="操作历史" align="center" prop="lostCredit">
@@ -316,7 +316,7 @@ @@ -316,7 +316,7 @@
316 getData(stauts) { 316 getData(stauts) {
317 this.queryParams.status = 0; 317 this.queryParams.status = 0;
318 this.queryParams.lostCredit = stauts; 318 this.queryParams.lostCredit = stauts;
319 - this.getList(); 319 + this.init();
320 }, 320 },
321 getHistoryData() { 321 getHistoryData() {
322 this.queryParams.status = 1; 322 this.queryParams.status = 1;
@@ -412,12 +412,12 @@ @@ -412,12 +412,12 @@
412 let data = [{creditStatus:this.form.lostCredit,objectId:this.form.objectId}]; 412 let data = [{creditStatus:this.form.lostCredit,objectId:this.form.objectId}];
413 413
414 updateConstructionsites(data).then(response=>{ 414 updateConstructionsites(data).then(response=>{
415 - this.updateForm.id = this.form.id;  
416 - updateCredit(this.updateForm).then(response => {  
417 - this.msgSuccess("撤销成功");  
418 - this.isEdit = false;  
419 - this.init();  
420 - }); 415 + this.updateForm.id = this.form.id;
  416 + updateCredit(this.updateForm).then(response => {
  417 + this.msgSuccess("撤销成功");
  418 + this.isEdit = false;
  419 + this.init();
  420 + });
421 }); 421 });
422 } else { 422 } else {
423 this.form.lostCredit = 1; 423 this.form.lostCredit = 1;
trash-ui/src/views/business/DriverCredit/index.vue
@@ -59,7 +59,7 @@ @@ -59,7 +59,7 @@
59 </el-row> 59 </el-row>
60 60
61 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border> 61 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border>
62 - <el-table-column label="序号" align="center" prop="id" /> 62 + <el-table-column label="序号" align="center" type="index" />
63 <el-table-column label="驾驶员姓名" align="center" prop="name" /> 63 <el-table-column label="驾驶员姓名" align="center" prop="name" />
64 <el-table-column label="证件号码" align="center" prop="idNumber" /> 64 <el-table-column label="证件号码" align="center" prop="idNumber" />
65 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0"> 65 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0">
@@ -128,7 +128,7 @@ @@ -128,7 +128,7 @@
128 128
129 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body> 129 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body>
130 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border> 130 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border>
131 - <el-table-column label="序号" align="center" prop="id" /> 131 + <el-table-column label="序号" align="center" type="index" />
132 <el-table-column label="失信时间" align="center" prop="time" width="180"> 132 <el-table-column label="失信时间" align="center" prop="time" width="180">
133 <template slot-scope="scope"> 133 <template slot-scope="scope">
134 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span> 134 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span>
trash-ui/src/views/business/EarthSitesCredit/index.vue
@@ -70,7 +70,7 @@ @@ -70,7 +70,7 @@
70 </el-row> 70 </el-row>
71 71
72 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border> 72 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" border>
73 - <el-table-column label="序号" align="center" prop="id" /> 73 + <el-table-column label="序号" align="center" type="index" />
74 <el-table-column label="消纳场名称" align="center" prop="name" /> 74 <el-table-column label="消纳场名称" align="center" prop="name" />
75 <el-table-column label="消纳场类型" align="center" prop="type" /> 75 <el-table-column label="消纳场类型" align="center" prop="type" />
76 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0"> 76 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0">
@@ -145,7 +145,7 @@ @@ -145,7 +145,7 @@
145 145
146 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body> 146 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body>
147 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border> 147 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border>
148 - <el-table-column label="序号" align="center" prop="id" /> 148 + <el-table-column label="序号" align="center" type="index" />
149 <el-table-column label="失信时间" align="center" prop="time" width="180" /> 149 <el-table-column label="失信时间" align="center" prop="time" width="180" />
150 <el-table-column label="情况说明" align="center" prop="reason" /> 150 <el-table-column label="情况说明" align="center" prop="reason" />
151 <el-table-column label="操作历史" align="center" prop="lostCredit"> 151 <el-table-column label="操作历史" align="center" prop="lostCredit">
trash-ui/src/views/business/TruckCredit/index.vue
@@ -67,7 +67,7 @@ @@ -67,7 +67,7 @@
67 67
68 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle" 68 <el-table v-loading="loading" :data="creditList" @selection-change="handleSelectionChange" :cell-style="colStyle"
69 border> 69 border>
70 - <el-table-column label="序号" align="center" prop="id" /> 70 + <el-table-column label="序号" align="center" type="index" />
71 <el-table-column label="企业运输" align="center" prop="companyId" /> 71 <el-table-column label="企业运输" align="center" prop="companyId" />
72 <el-table-column label="车牌号码" align="center" prop="licensePlate" /> 72 <el-table-column label="车牌号码" align="center" prop="licensePlate" />
73 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0"> 73 <el-table-column label="失信时间" align="center" prop="time" width="180" v-if="queryParams.status==0">
@@ -131,7 +131,7 @@ @@ -131,7 +131,7 @@
131 131
132 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body center="true"> 132 <el-dialog title="历史失信" :visible.sync="infoDialog" width="800px" append-to-body center="true">
133 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border> 133 <el-table v-loading="loading" :data="creditListInfo" :cell-style="colStyle" border>
134 - <el-table-column label="序号" align="center" prop="id" /> 134 + <el-table-column label="序号" align="center" type="index" />
135 <el-table-column label="失信时间" align="center" prop="time" width="180" > 135 <el-table-column label="失信时间" align="center" prop="time" width="180" >
136 <template slot-scope="scope"> 136 <template slot-scope="scope">
137 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span> 137 <span>{{ parseTime(scope.row.time, '{y}-{m}-{d}') }}</span>
trash-ui/src/views/business/dayWorkReport/index.vue
@@ -60,15 +60,13 @@ @@ -60,15 +60,13 @@
60 </el-row> 60 </el-row>
61 61
62 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange"> 62 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange">
63 - <el-table-column label="序号" align="center" prop="id" /> 63 + <el-table-column label="序号" align="center" type="index" />
64 <el-table-column label="日期" align="center" prop="createTime" /> 64 <el-table-column label="日期" align="center" prop="createTime" />
65 <el-table-column label="工地名称" align="center" prop="name" /> 65 <el-table-column label="工地名称" align="center" prop="name" />
66 - <el-table-column label="项目类型" align="center" prop="type" />  
67 <el-table-column label="所属区域" align="center" prop="place" /> 66 <el-table-column label="所属区域" align="center" prop="place" />
68 <el-table-column label="开工状态" align="center" prop="status" /> 67 <el-table-column label="开工状态" align="center" prop="status" />
69 <el-table-column label="申请开工时间" align="center" prop="selfCheckTime" width="180"/> 68 <el-table-column label="申请开工时间" align="center" prop="selfCheckTime" width="180"/>
70 <el-table-column label="消纳场名称" align="center" prop="ename" /> 69 <el-table-column label="消纳场名称" align="center" prop="ename" />
71 - <el-table-column label="消纳场类型" align="center" prop="etype" />  
72 <el-table-column label="所属区域" align="center" prop="eplace" /> 70 <el-table-column label="所属区域" align="center" prop="eplace" />
73 <el-table-column label="开工状态" align="center" prop="estatus" /> 71 <el-table-column label="开工状态" align="center" prop="estatus" />
74 <el-table-column label="申请开工时间" align="center" prop="eselfCheckTime" width="180"/> 72 <el-table-column label="申请开工时间" align="center" prop="eselfCheckTime" width="180"/>
trash-ui/src/views/business/supervisionSpecial/index.vue
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 36
37 <el-table v-loading="loading" :data="SupervisionSpecialList" @selection-change="handleSelectionChange"> 37 <el-table v-loading="loading" :data="SupervisionSpecialList" @selection-change="handleSelectionChange">
38 <el-table-column type="selection" width="55" align="center" /> 38 <el-table-column type="selection" width="55" align="center" />
39 - <el-table-column label="序号" align="center" prop="id" /> 39 + <el-table-column label="序号" align="center" type="index" />
40 <el-table-column label="所属区域" align="center" prop="place" /> 40 <el-table-column label="所属区域" align="center" prop="place" />
41 <el-table-column label="填报日期" align="center" prop="createTime" width="180"> 41 <el-table-column label="填报日期" align="center" prop="createTime" width="180">
42 <template slot-scope="scope"> 42 <template slot-scope="scope">
trash-ui/src/views/business/threestep/index.vue
@@ -48,7 +48,7 @@ @@ -48,7 +48,7 @@
48 48
49 <el-row :gutter="10" class="mb8"> 49 <el-row :gutter="10" class="mb8">
50 <el-col :span="1.5"> 50 <el-col :span="1.5">
51 - <el-button type="primary" size="mini" @click="handleAdd" v-hasPermi="['business:threestep:add']" v-if="new Date().getHours() > 7 && new Date().getHours() < 24">新增</el-button> 51 + <el-button type="primary" size="mini" @click="handleAdd" v-hasPermi="['business:threestep:add']" v-if="this.queryParams.pageStatus==0 && new Date().getHours() > 7 && new Date().getHours() < 24">新增</el-button>
52 </el-col> 52 </el-col>
53 <el-col :span="1.5"> 53 <el-col :span="1.5">
54 <el-button size="mini" @click="handleExport" v-hasPermi="['business:threestep:export']">导出</el-button> 54 <el-button size="mini" @click="handleExport" v-hasPermi="['business:threestep:export']">导出</el-button>
@@ -57,7 +57,7 @@ @@ -57,7 +57,7 @@
57 </el-row> 57 </el-row>
58 58
59 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange"> 59 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange">
60 - <el-table-column label="序号" align="center" prop="id" /> 60 + <el-table-column label="序号" align="center" type='index'/>
61 61
62 <el-table-column label="项目类型" align="center" prop="type"> 62 <el-table-column label="项目类型" align="center" prop="type">
63 <template slot-scope="scope"> 63 <template slot-scope="scope">
@@ -71,17 +71,17 @@ @@ -71,17 +71,17 @@
71 71
72 <el-table-column label="自查时间" align="center" prop="selfCheckTime" width="180"> 72 <el-table-column label="自查时间" align="center" prop="selfCheckTime" width="180">
73 <template slot-scope="scope"> 73 <template slot-scope="scope">
74 - <span>{{ parseTime(scope.row.selfCheckTime, '{y}-{m}-{d}') }}</span> 74 + <span>{{scope.row.selfCheckTime}}</span>
75 </template> 75 </template>
76 </el-table-column> 76 </el-table-column>
77 <el-table-column label="巡查时间" align="center" prop="checkTime" width="180"> 77 <el-table-column label="巡查时间" align="center" prop="checkTime" width="180">
78 <template slot-scope="scope"> 78 <template slot-scope="scope">
79 - <span>{{ parseTime(scope.row.checkTime, '{y}-{m}-{d}') }}</span> 79 + <span>{{ scope.row.checkTime}}</span>
80 </template> 80 </template>
81 </el-table-column> 81 </el-table-column>
82 <el-table-column label="抽查时间" align="center" prop="checkEndTime" width="180" v-if="queryParams.pageStatus==1"> 82 <el-table-column label="抽查时间" align="center" prop="checkEndTime" width="180" v-if="queryParams.pageStatus==1">
83 <template slot-scope="scope"> 83 <template slot-scope="scope">
84 - <span>{{ parseTime(scope.row.checkEndTime, '{y}-{m}-{d}') }}</span> 84 + <span>{{ scope.row.checkEndTime }}</span>
85 </template> 85 </template>
86 </el-table-column> 86 </el-table-column>
87 <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> 87 <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
@@ -157,7 +157,7 @@ @@ -157,7 +157,7 @@
157 <el-row type="flex" justify="center" v-if="form.type == 0"> 157 <el-row type="flex" justify="center" v-if="form.type == 0">
158 <el-col :span="12"> 158 <el-col :span="12">
159 <el-form-item label="运输企业" prop="companys"> 159 <el-form-item label="运输企业" prop="companys">
160 - <el-select v-model="form.companys" filterable multiple reserve-keyword @change="checkCompany"> 160 + <el-select v-model="form.companys" filterable multiple @change="checkCompany">
161 <el-option v-for="item in companyList" :label="item.name" :value="item.name" :key="item.id" 161 <el-option v-for="item in companyList" :label="item.name" :value="item.name" :key="item.id"
162 /> 162 />
163 </el-select> 163 </el-select>
@@ -194,73 +194,73 @@ @@ -194,73 +194,73 @@
194 <el-col :span="6"> 194 <el-col :span="6">
195 <a style="color:blue;font-size: 12px;" @click="showFileUpload(0)">过水槽照片</a> 195 <a style="color:blue;font-size: 12px;" @click="showFileUpload(0)">过水槽照片</a>
196 <el-input v-model="form.img0" type="hidden"></el-input> 196 <el-input v-model="form.img0" type="hidden"></el-input>
197 - <p v-for="img,index in form.img0">过水槽照片 - {{index+1}}<a @click="removeImage(0,img)" style="color:red"> x</a></p> 197 + <p v-for="img,index in form.img0">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(0,img)" style="color:red"> x</a></p>
198 </el-col> 198 </el-col>
199 <el-col :span="6"> 199 <el-col :span="6">
200 <a style="color:blue;font-size: 12px;" @click="showFileUpload(1)">洗车平台照片</a> 200 <a style="color:blue;font-size: 12px;" @click="showFileUpload(1)">洗车平台照片</a>
201 <el-input v-model="form.img1" type="hidden"></el-input> 201 <el-input v-model="form.img1" type="hidden"></el-input>
202 - <p v-for="img,index in form.img1">洗车平台照片 - {{index+1}}<a @click="removeImage(1,img)" style="color:red"> x</a></p> 202 + <p v-for="img,index in form.img1">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(1,img)" style="color:red"> x</a></p>
203 </el-col> 203 </el-col>
204 <el-col :span="6"> 204 <el-col :span="6">
205 <a style="color:blue;font-size: 12px;" @click="showFileUpload(2)">出入口照片</a> 205 <a style="color:blue;font-size: 12px;" @click="showFileUpload(2)">出入口照片</a>
206 <el-input v-model="form.img2" type="hidden"></el-input> 206 <el-input v-model="form.img2" type="hidden"></el-input>
207 - <p v-for="img,index in form.img2">出入口照片 - {{index+1}}<a @click="removeImage(2,img)" style="color:red"> x</a></p> 207 + <p v-for="img,index in form.img2">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(2,img)" style="color:red"> x</a></p>
208 </el-col> 208 </el-col>
209 <el-col :span="6"> 209 <el-col :span="6">
210 <a style="color:blue;font-size: 12px;" @click="showFileUpload(3)">沉淀池照片</a> 210 <a style="color:blue;font-size: 12px;" @click="showFileUpload(3)">沉淀池照片</a>
211 <el-input v-model="form.img3" type="hidden"></el-input> 211 <el-input v-model="form.img3" type="hidden"></el-input>
212 - <p v-for="img,index in form.img3">沉淀池照片 - {{index+1}}<a @click="removeImage(3,img)" style="color:red"> x</a></p> 212 + <p v-for="img,index in form.img3">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(3,img)" style="color:red"> x</a></p>
213 </el-col> 213 </el-col>
214 </el-row> 214 </el-row>
215 <el-row type="flex" justify="center" v-if="form.type != null"> 215 <el-row type="flex" justify="center" v-if="form.type != null">
216 <el-col :span="6"> 216 <el-col :span="6">
217 <a style="color:blue;font-size: 12px;" @click="showFileUpload(4)">硬质路面照片</a> 217 <a style="color:blue;font-size: 12px;" @click="showFileUpload(4)">硬质路面照片</a>
218 <el-input v-model="form.img4" type="hidden"></el-input> 218 <el-input v-model="form.img4" type="hidden"></el-input>
219 - <p v-for="img,index in form.img4">硬质路面照片 - {{index+1}}<a @click="removeImage(4,img)" style="color:red"> x</a></p> 219 + <p v-for="img,index in form.img4">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(4,img)" style="color:red"> x</a></p>
220 </el-col> 220 </el-col>
221 <el-col :span="6"> 221 <el-col :span="6">
222 <a style="color:blue;font-size: 12px;" @click="showFileUpload(5)">{{form.type==0?"摄像头视频截图1":"洗车设施照片"}}</a> 222 <a style="color:blue;font-size: 12px;" @click="showFileUpload(5)">{{form.type==0?"摄像头视频截图1":"洗车设施照片"}}</a>
223 <el-input v-model="form.img5" type="hidden"></el-input> 223 <el-input v-model="form.img5" type="hidden"></el-input>
224 - <p v-for="img,index in form.img5">{{form.type==0?"摄像头视频截图1":"洗车设施照片"}} - {{index+1}}<a @click="removeImage(5,img)" style="color:red"> x</a></p> 224 + <p v-for="img,index in form.img5">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(5,img)" style="color:red"> x</a></p>
225 </el-col> 225 </el-col>
226 <el-col :span="6"> 226 <el-col :span="6">
227 <a style="color:blue;font-size: 12px;" @click="showFileUpload(6)">{{form.type==0?"摄像头视频截图2":"雾炮机"}}</a> 227 <a style="color:blue;font-size: 12px;" @click="showFileUpload(6)">{{form.type==0?"摄像头视频截图2":"雾炮机"}}</a>
228 <el-input v-model="form.img6" type="hidden"></el-input> 228 <el-input v-model="form.img6" type="hidden"></el-input>
229 - <p v-for="img,index in form.img6">{{form.type==0?"摄像头视频截图2":"雾炮机"}} - {{index+1}}<a @click="removeImage(6,img)" style="color:red"> x</a></p> 229 + <p v-for="img,index in form.img6">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(6,img)" style="color:red"> x</a></p>
230 </el-col> 230 </el-col>
231 <el-col :span="6"> 231 <el-col :span="6">
232 <a style="color:blue;font-size: 12px;" @click="showFileUpload(7)">{{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}}</a> 232 <a style="color:blue;font-size: 12px;" @click="showFileUpload(7)">{{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}}</a>
233 <el-input v-model="form.img7" type="hidden"></el-input> 233 <el-input v-model="form.img7" type="hidden"></el-input>
234 - <p v-for="img,index in form.img7">{{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}} - {{index+1}}<a @click="removeImage(7,img)" style="color:red"> x</a></p> 234 + <p v-for="img,index in form.img7">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(7,img)" style="color:red"> x</a></p>
235 </el-col> 235 </el-col>
236 </el-row> 236 </el-row>
237 <el-row type="flex" justify="center" v-if="form.type != null"> 237 <el-row type="flex" justify="center" v-if="form.type != null">
238 <el-col :span="5"> 238 <el-col :span="5">
239 <a style="color:blue;font-size: 12px;" @click="showFileUpload(8)">其他1</a> 239 <a style="color:blue;font-size: 12px;" @click="showFileUpload(8)">其他1</a>
240 <el-input v-model="form.img8" type="hidden"></el-input> 240 <el-input v-model="form.img8" type="hidden"></el-input>
241 - <p v-for="img,index in form.img8">其他1 - {{index+1}}<a @click="removeImage(8,img)" style="color:red"> x</a></p> 241 + <p v-for="img,index in form.img8">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(8,img)" style="color:red"> x</a></p>
242 </el-col> 242 </el-col>
243 <el-col :span="5"> 243 <el-col :span="5">
244 <a style="color:blue;font-size: 12px;" @click="showFileUpload(9)">其他2</a> 244 <a style="color:blue;font-size: 12px;" @click="showFileUpload(9)">其他2</a>
245 <el-input v-model="form.img9" type="hidden"></el-input> 245 <el-input v-model="form.img9" type="hidden"></el-input>
246 - <p v-for="img,index in form.img9">其他2 - {{index+1}}<a @click="removeImage(9,img)" style="color:red"> x</a></p> 246 + <p v-for="img,index in form.img9">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(9,img)" style="color:red"> x</a></p>
247 </el-col> 247 </el-col>
248 <el-col :span="5"> 248 <el-col :span="5">
249 <a style="color:blue;font-size: 12px;" @click="showFileUpload(10)">其他3</a> 249 <a style="color:blue;font-size: 12px;" @click="showFileUpload(10)">其他3</a>
250 <el-input v-model="form.img10" type="hidden"></el-input> 250 <el-input v-model="form.img10" type="hidden"></el-input>
251 - <p v-for="img,index in form.img10">其他3 - {{index+1}}<a @click="removeImage(10,img)" style="color:red"> x</a> 251 + <p v-for="img,index in form.img10">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(10,img)" style="color:red"> x</a>
252 </p> 252 </p>
253 </el-col> 253 </el-col>
254 <el-col :span="5"> 254 <el-col :span="5">
255 <a style="color:blue;font-size: 12px;" @click="showFileUpload(11)">其他4</a> 255 <a style="color:blue;font-size: 12px;" @click="showFileUpload(11)">其他4</a>
256 <el-input v-model="form.img11" type="hidden"></el-input> 256 <el-input v-model="form.img11" type="hidden"></el-input>
257 - <p v-for="img,index in form.img11">其他4 - {{index+1}}<a @click="removeImage(11,img)" style="color:red"> x</a> 257 + <p v-for="img,index in form.img11">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(11,img)" style="color:red"> x</a>
258 </p> 258 </p>
259 </el-col> 259 </el-col>
260 <el-col :span="4"> 260 <el-col :span="4">
261 <a style="color:blue;font-size: 12px;" @click="showFileUpload(12)">其他5</a> 261 <a style="color:blue;font-size: 12px;" @click="showFileUpload(12)">其他5</a>
262 <el-input v-model="form.img12" type="hidden"></el-input> 262 <el-input v-model="form.img12" type="hidden"></el-input>
263 - <p v-for="img,index in form.img12">其他5 - {{index+1}}<a @click="removeImage(12,img)" style="color:red"> x</a> 263 + <p v-for="img,index in form.img12">{{img.split("/")[img.split("/").length -1]}}<a @click="removeImage(12,img)" style="color:red"> x</a>
264 </p> 264 </p>
265 </el-col> 265 </el-col>
266 </el-row> 266 </el-row>
@@ -281,24 +281,24 @@ @@ -281,24 +281,24 @@
281 281
282 <el-form ref="form" :model="form" :rules="rules" label-width="100px" v-if="this.queryParams.pageStatus==1"> 282 <el-form ref="form" :model="form" :rules="rules" label-width="100px" v-if="this.queryParams.pageStatus==1">
283 <el-form-item label="补充说明"> 283 <el-form-item label="补充说明">
284 - <el-input type="textarea" v-model="form.subSubReason"></el-input> 284 + <el-input type="textarea" v-model="form.subSubReason" ></el-input>
285 </el-form-item> 285 </el-form-item>
286 286
287 <el-row type="flex" justify="center"> 287 <el-row type="flex" justify="center">
288 <el-col :span="8"> 288 <el-col :span="8">
289 <a style="color:blue;font-size: 12px;" @click="showFileUpload(91)">附件1</a> 289 <a style="color:blue;font-size: 12px;" @click="showFileUpload(91)">附件1</a>
290 <el-input v-model="form.attchItem1" type="hidden"></el-input> 290 <el-input v-model="form.attchItem1" type="hidden"></el-input>
291 - <p v-for="img,index in form.attchItem1">附件1 - {{index+1}}<a @click="removeAttchItem(1,img)" style="color:red"> x</a></p> 291 + <p v-for="img,index in form.attchItem1">{{img.split("/")[img.split("/").length -1]}}<a @click="removeAttchItem(1,img)" style="color:red"> x</a></p>
292 </el-col> 292 </el-col>
293 <el-col :span="8"> 293 <el-col :span="8">
294 <a style="color:blue;font-size: 12px;" @click="showFileUpload(92)">附件2</a> 294 <a style="color:blue;font-size: 12px;" @click="showFileUpload(92)">附件2</a>
295 <el-input v-model="form.attchItem2" type="hidden"></el-input> 295 <el-input v-model="form.attchItem2" type="hidden"></el-input>
296 - <p v-for="img,index in form.attchItem2">附件2 - {{index+1}}<a @click="removeAttchItem(2,img)" style="color:red"> x</a></p> 296 + <p v-for="img,index in form.attchItem2">{{img.split("/")[img.split("/").length -1]}}<a @click="removeAttchItem(2,img)" style="color:red"> x</a></p>
297 </el-col> 297 </el-col>
298 <el-col :span="8"> 298 <el-col :span="8">
299 <a style="color:blue;font-size: 12px;" @click="showFileUpload(93)">附件3</a> 299 <a style="color:blue;font-size: 12px;" @click="showFileUpload(93)">附件3</a>
300 <el-input v-model="form.attchItem3" type="hidden"></el-input> 300 <el-input v-model="form.attchItem3" type="hidden"></el-input>
301 - <p v-for="img,index in form.attchItem3">附件3 - {{index+1}}<a @click="removeAttchItem(3,img)" style="color:red"> x</a></p> 301 + <p v-for="img,index in form.attchItem3">{{img.split("/")[img.split("/").length -1]}}<a @click="removeAttchItem(3,img)" style="color:red"> x</a></p>
302 </el-col> 302 </el-col>
303 </el-row> 303 </el-row>
304 304
@@ -371,11 +371,8 @@ @@ -371,11 +371,8 @@
371 return { 371 return {
372 // 遮罩层 372 // 遮罩层
373 loading: true, 373 loading: true,
374 -  
375 reUpdate : false, 374 reUpdate : false,
376 -  
377 info: false, 375 info: false,
378 -  
379 infoData: null, 376 infoData: null,
380 businessKey:null, 377 businessKey:null,
381 picSample: false, 378 picSample: false,
@@ -456,7 +453,7 @@ @@ -456,7 +453,7 @@
456 companys: [{ 453 companys: [{
457 required: true, 454 required: true,
458 message: '请填写完整', 455 message: '请填写完整',
459 - trigger: 'blur' 456 + trigger: 'change'
460 }, ], 457 }, ],
461 objectId: [{ 458 objectId: [{
462 required: true, 459 required: true,
@@ -476,7 +473,7 @@ @@ -476,7 +473,7 @@
476 companyTrucks: [{ 473 companyTrucks: [{
477 required: true, 474 required: true,
478 message: '请填写完整', 475 message: '请填写完整',
479 - trigger: 'blur' 476 + trigger: 'change'
480 }, ], 477 }, ],
481 objectId: [{ 478 objectId: [{
482 required: true, 479 required: true,
@@ -523,6 +520,29 @@ @@ -523,6 +520,29 @@
523 } 520 }
524 }); 521 });
525 522
  523 + let query = {
  524 + 'page':1,
  525 + 'size':9999,
  526 + }
  527 +
  528 + companyList(query).then(response => {
  529 +
  530 + let companys = response.result.list;
  531 + this.companyList = companys;
  532 + let ids = [];
  533 +
  534 + for(let i = 0 ;i<companys.length;i++){
  535 + ids.push(companys[i].id);
  536 + }
  537 + query.companyID = ids + "";
  538 + query.valid = 0;
  539 +
  540 + truckList(query).then(res=>{
  541 + this.truckList = res.result.list;
  542 + });
  543 + });
  544 +
  545 +
526 this.getList(0); 546 this.getList(0);
527 }, 547 },
528 methods: { 548 methods: {
@@ -538,8 +558,6 @@ @@ -538,8 +558,6 @@
538 return; 558 return;
539 } 559 }
540 560
541 -  
542 -  
543 if(this.form.type == 0){ 561 if(this.form.type == 0){
544 this.form.name = item.constructionSiteName; 562 this.form.name = item.constructionSiteName;
545 this.form.objectId = item.constructionSiteID; 563 this.form.objectId = item.constructionSiteID;
@@ -552,46 +570,16 @@ @@ -552,46 +570,16 @@
552 this.form.objectId = item.earthSiteID; 570 this.form.objectId = item.earthSiteID;
553 } 571 }
554 572
555 -  
556 - if(this.form.type == 0){  
557 - let query = {  
558 - 'page':1,  
559 - 'size':9999,  
560 - }  
561 -  
562 - companyList(query).then(response => {  
563 -  
564 - let companys = response.result.list;  
565 - this.companyList = companys;  
566 - let ids = [];  
567 -  
568 - for(let i = 0 ;i<companys.length;i++){  
569 - ids.push(companys[i].id);  
570 - }  
571 - query.companyID = ids + "";  
572 - query.valid = 0;  
573 -  
574 - truckList(query).then(res=>{  
575 - this.truckList = res.result.list;  
576 - });  
577 - });  
578 - }  
579 -  
580 -  
581 for(let i =0;i<this.remoteData.length ;i++){ 573 for(let i =0;i<this.remoteData.length ;i++){
582 574
583 if(this.remoteData[i].name == this.form.name){ 575 if(this.remoteData[i].name == this.form.name){
584 this.form.place = Number(this.remoteData[i].areaCode); 576 this.form.place = Number(this.remoteData[i].areaCode);
585 break; 577 break;
586 } 578 }
587 -  
588 } 579 }
589 580
590 this.form.contractId = item.id; 581 this.form.contractId = item.id;
591 this.bindname = this.form.earthsitesName; 582 this.bindname = this.form.earthsitesName;
592 -  
593 -  
594 -  
595 }, 583 },
596 checkCompany(item){ 584 checkCompany(item){
597 585
@@ -770,10 +758,10 @@ @@ -770,10 +758,10 @@
770 }, 758 },
771 759
772 uploadSuccess(res, file, fileList) { 760 uploadSuccess(res, file, fileList) {
773 - if(res.code){  
774 - this.$message(res.message);  
775 - return;  
776 - } 761 + if(res.code){
  762 + this.$message(res.message);
  763 + return;
  764 + }
777 if(this.picIndex > 90){ 765 if(this.picIndex > 90){
778 let target = "attchItem" + (this.picIndex-90); 766 let target = "attchItem" + (this.picIndex-90);
779 if (!this.form[target]) { 767 if (!this.form[target]) {
@@ -817,7 +805,6 @@ @@ -817,7 +805,6 @@
817 handleClose() { 805 handleClose() {
818 this.uploadImageDialog = false; 806 this.uploadImageDialog = false;
819 this.fileList = []; 807 this.fileList = [];
820 - this.reset();  
821 }, 808 },
822 selectType(value) { 809 selectType(value) {
823 if (value == "0") { 810 if (value == "0") {
@@ -889,8 +876,13 @@ @@ -889,8 +876,13 @@
889 }) 876 })
890 } 877 }
891 878
892 - contractList().then(res=>{ 879 + let query = {
  880 + "page": 1,
  881 + "size": 9999,
  882 + "auditStatus":1,
  883 + };
893 884
  885 + contractList(query).then(res=>{
894 this.contractList = res.result.list; 886 this.contractList = res.result.list;
895 this.filterContract = this.contractList 887 this.filterContract = this.contractList
896 }); 888 });
@@ -946,6 +938,7 @@ @@ -946,6 +938,7 @@
946 phone: null 938 phone: null
947 }; 939 };
948 this.resetForm("form"); 940 this.resetForm("form");
  941 + this.filterConract();
949 }, 942 },
950 /** 搜索按钮操作 */ 943 /** 搜索按钮操作 */
951 handleQuery() { 944 handleQuery() {
@@ -1118,7 +1111,7 @@ @@ -1118,7 +1111,7 @@
1118 /** 导出按钮操作 */ 1111 /** 导出按钮操作 */
1119 handleExport() { 1112 handleExport() {
1120 const queryParams = this.queryParams; 1113 const queryParams = this.queryParams;
1121 - this.$confirm('是否确认导出所有报工自查数据项?', "警告", { 1114 + this.$confirm('是否确认导出所有报工数据项?', "警告", {
1122 confirmButtonText: "确定", 1115 confirmButtonText: "确定",
1123 cancelButtonText: "取消", 1116 cancelButtonText: "取消",
1124 type: "warning" 1117 type: "warning"
trash-ui/src/views/business/threestep/threestepInfo.vue
@@ -75,7 +75,7 @@ @@ -75,7 +75,7 @@
75 </el-col> 75 </el-col>
76 <el-col :span="20"> 76 <el-col :span="20">
77 <el-row v-for="img,index in infoData.img0.split(',')" style="margin-bottom:10px;"> 77 <el-row v-for="img,index in infoData.img0.split(',')" style="margin-bottom:10px;">
78 - <a @click="downloadFile(img);" style="color: blue;">过水槽照片 - {{index+1}}</a> 78 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
79 </el-row> 79 </el-row>
80 </el-col> 80 </el-col>
81 </el-row> 81 </el-row>
@@ -85,7 +85,7 @@ @@ -85,7 +85,7 @@
85 </el-col> 85 </el-col>
86 <el-col :span="20"> 86 <el-col :span="20">
87 <el-row v-for="img,index in infoData.img1.split(',')" style="margin-bottom:10px;"> 87 <el-row v-for="img,index in infoData.img1.split(',')" style="margin-bottom:10px;">
88 - <a @click="downloadFile(img);" style="color: blue;">洗车平台照片 - {{index+1}}</a> 88 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
89 </el-row> 89 </el-row>
90 </el-col> 90 </el-col>
91 </el-row> 91 </el-row>
@@ -95,7 +95,7 @@ @@ -95,7 +95,7 @@
95 </el-col> 95 </el-col>
96 <el-col :span="20"> 96 <el-col :span="20">
97 <el-row v-for="img,index in infoData.img2.split(',')" style="margin-bottom:10px;"> 97 <el-row v-for="img,index in infoData.img2.split(',')" style="margin-bottom:10px;">
98 - <a @click="downloadFile(img);" style="color: blue;">出入口照片 - {{index+1}}</a> 98 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
99 </el-row> 99 </el-row>
100 </el-col> 100 </el-col>
101 </el-row> 101 </el-row>
@@ -105,7 +105,7 @@ @@ -105,7 +105,7 @@
105 </el-col> 105 </el-col>
106 <el-col :span="20"> 106 <el-col :span="20">
107 <el-row v-for="img,index in infoData.img3.split(',')" style="margin-bottom:10px;"> 107 <el-row v-for="img,index in infoData.img3.split(',')" style="margin-bottom:10px;">
108 - <a @click="downloadFile(img);" style="color: blue;">沉淀池照片 - {{index+1}}</a> 108 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
109 </el-row> 109 </el-row>
110 </el-col> 110 </el-col>
111 </el-row> 111 </el-row>
@@ -115,7 +115,7 @@ @@ -115,7 +115,7 @@
115 </el-col> 115 </el-col>
116 <el-col :span="20"> 116 <el-col :span="20">
117 <el-row v-for="img,index in infoData.img4.split(',')" style="margin-bottom:10px;"> 117 <el-row v-for="img,index in infoData.img4.split(',')" style="margin-bottom:10px;">
118 - <a @click="downloadFile(img);" style="color: blue;">硬质路面照片 - {{index+1}}</a> 118 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
119 </el-row> 119 </el-row>
120 </el-col> 120 </el-col>
121 </el-row> 121 </el-row>
@@ -125,7 +125,7 @@ @@ -125,7 +125,7 @@
125 </el-col> 125 </el-col>
126 <el-col :span="20"> 126 <el-col :span="20">
127 <el-row v-for="img,index in infoData.img5.split(',')" style="margin-bottom:10px;"> 127 <el-row v-for="img,index in infoData.img5.split(',')" style="margin-bottom:10px;">
128 - <a @click="downloadFile(img);" style="color: blue;">{{infoData.type==0?"摄像头视频截图1":"洗车设施照片"}} - {{index+1}}</a> 128 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
129 </el-row> 129 </el-row>
130 </el-col> 130 </el-col>
131 </el-row> 131 </el-row>
@@ -135,7 +135,7 @@ @@ -135,7 +135,7 @@
135 </el-col> 135 </el-col>
136 <el-col :span="20"> 136 <el-col :span="20">
137 <el-row v-for="img,index in infoData.img6.split(',')" style="margin-bottom:10px;"> 137 <el-row v-for="img,index in infoData.img6.split(',')" style="margin-bottom:10px;">
138 - <a @click="downloadFile(img);" style="color: blue;">{{infoData.type==0?"摄像头视频截图2":"雾炮机"}} - {{index+1}}</a> 138 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
139 </el-row> 139 </el-row>
140 </el-col> 140 </el-col>
141 </el-row> 141 </el-row>
@@ -145,7 +145,7 @@ @@ -145,7 +145,7 @@
145 </el-col> 145 </el-col>
146 <el-col :span="20"> 146 <el-col :span="20">
147 <el-row v-for="img,index in infoData.img7.split(',')" style="margin-bottom:10px;"> 147 <el-row v-for="img,index in infoData.img7.split(',')" style="margin-bottom:10px;">
148 - <a @click="downloadFile(img);" style="color: blue;">{{infoData.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}} - {{index+1}}</a> 148 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
149 </el-row> 149 </el-row>
150 </el-col> 150 </el-col>
151 </el-row> 151 </el-row>
@@ -155,7 +155,7 @@ @@ -155,7 +155,7 @@
155 </el-col> 155 </el-col>
156 <el-col :span="20"> 156 <el-col :span="20">
157 <el-row v-for="img,index in infoData.img8.split(',')" style="margin-bottom:10px;"> 157 <el-row v-for="img,index in infoData.img8.split(',')" style="margin-bottom:10px;">
158 - <a @click="downloadFile(img);" style="color: blue;">其他1 - {{index+1}}</a> 158 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
159 </el-row> 159 </el-row>
160 </el-col> 160 </el-col>
161 </el-row> 161 </el-row>
@@ -165,7 +165,7 @@ @@ -165,7 +165,7 @@
165 </el-col> 165 </el-col>
166 <el-col :span="20"> 166 <el-col :span="20">
167 <el-row v-for="img,index in infoData.img9.split(',')" style="margin-bottom:10px;"> 167 <el-row v-for="img,index in infoData.img9.split(',')" style="margin-bottom:10px;">
168 - <a @click="downloadFile(img);" style="color: blue;">其他2 - {{index+1}}</a> 168 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
169 </el-row> 169 </el-row>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
@@ -175,7 +175,7 @@ @@ -175,7 +175,7 @@
175 </el-col> 175 </el-col>
176 <el-col :span="20"> 176 <el-col :span="20">
177 <el-row v-for="img,index in infoData.img10.split(',')" style="margin-bottom:10px;"> 177 <el-row v-for="img,index in infoData.img10.split(',')" style="margin-bottom:10px;">
178 - <a @click="downloadFile(img);" style="color: blue;">其他3 - {{index+1}}</a> 178 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
179 </el-row> 179 </el-row>
180 </el-col> 180 </el-col>
181 </el-row> 181 </el-row>
@@ -185,7 +185,7 @@ @@ -185,7 +185,7 @@
185 </el-col> 185 </el-col>
186 <el-col :span="20"> 186 <el-col :span="20">
187 <el-row v-for="img,index in infoData.img11.split(',')" style="margin-bottom:10px;"> 187 <el-row v-for="img,index in infoData.img11.split(',')" style="margin-bottom:10px;">
188 - <a @click="downloadFile(img);" style="color: blue;">其他4 - {{index+1}}</a> 188 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
189 </el-row> 189 </el-row>
190 </el-col> 190 </el-col>
191 </el-row> 191 </el-row>
@@ -195,7 +195,7 @@ @@ -195,7 +195,7 @@
195 </el-col> 195 </el-col>
196 <el-col :span="20"> 196 <el-col :span="20">
197 <el-row v-for="img,index in infoData.img12.split(',')" style="margin-bottom:10px;"> 197 <el-row v-for="img,index in infoData.img12.split(',')" style="margin-bottom:10px;">
198 - <a @click="downloadFile(img);" style="color: blue;">其他5 - {{index+1}}</a> 198 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
199 </el-row> 199 </el-row>
200 </el-col> 200 </el-col>
201 </el-row> 201 </el-row>
@@ -203,7 +203,6 @@ @@ -203,7 +203,6 @@
203 <el-row type="flex" justify="center" v-if="infoData.checkTime"> 203 <el-row type="flex" justify="center" v-if="infoData.checkTime">
204 <el-col> 204 <el-col>
205 <el-form-item label="巡查时间"> 205 <el-form-item label="巡查时间">
206 -  
207 <el-input v-model="infoData.checkTime" :maxlength="20" show-word-limit disabled /> 206 <el-input v-model="infoData.checkTime" :maxlength="20" show-word-limit disabled />
208 </el-form-item> 207 </el-form-item>
209 </el-col> 208 </el-col>
@@ -238,8 +237,8 @@ @@ -238,8 +237,8 @@
238 履职情况照片 237 履职情况照片
239 </el-col> 238 </el-col>
240 <el-col :span="20"> 239 <el-col :span="20">
241 - <el-row v-for="sub_img,index in infoData.sub_img0.split(',')" style="margin-bottom:10px;">  
242 - <a @click="downloadFile(sub_img);" style="color: blue;">履职情况照片 - {{index+1}}</a> 240 + <el-row v-for="img,index in infoData.sub_img0.split(',')" style="margin-bottom:10px;">
  241 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
243 </el-row> 242 </el-row>
244 </el-col> 243 </el-col>
245 </el-row> 244 </el-row>
@@ -248,8 +247,8 @@ @@ -248,8 +247,8 @@
248 水枪水嘴照片 247 水枪水嘴照片
249 </el-col> 248 </el-col>
250 <el-col :span="20"> 249 <el-col :span="20">
251 - <el-row v-for="sub_img,index in infoData.sub_img1.split(',')" style="margin-bottom:10px;">  
252 - <a @click="downloadFile(sub_img);" style="color: blue;">水枪水嘴照片 - {{index+1}}</a> 250 + <el-row v-for="img,index in infoData.sub_img1.split(',')" style="margin-bottom:10px;">
  251 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
253 </el-row> 252 </el-row>
254 </el-col> 253 </el-col>
255 </el-row> 254 </el-row>
@@ -258,8 +257,8 @@ @@ -258,8 +257,8 @@
258 照明照片 257 照明照片
259 </el-col> 258 </el-col>
260 <el-col :span="20"> 259 <el-col :span="20">
261 - <el-row v-for="sub_img,index in infoData.sub_img2.split(',')" style="margin-bottom:10px;">  
262 - <a @click="downloadFile(sub_img);" style="color: blue;">照明照片 - {{index+1}}</a> 260 + <el-row v-for="img,index in infoData.sub_img2.split(',')" style="margin-bottom:10px;">
  261 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
263 </el-row> 262 </el-row>
264 </el-col> 263 </el-col>
265 </el-row> 264 </el-row>
@@ -268,8 +267,8 @@ @@ -268,8 +267,8 @@
268 视频监控照片 267 视频监控照片
269 </el-col> 268 </el-col>
270 <el-col :span="20"> 269 <el-col :span="20">
271 - <el-row v-for="sub_img,index in infoData.sub_img3.split(',')" style="margin-bottom:10px;">  
272 - <a @click="downloadFile(sub_img);" style="color: blue;">视频监控照片 - {{index+1}}</a> 270 + <el-row v-for="img,index in infoData.sub_img3.split(',')" style="margin-bottom:10px;">
  271 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
273 </el-row> 272 </el-row>
274 </el-col> 273 </el-col>
275 </el-row> 274 </el-row>
@@ -278,8 +277,8 @@ @@ -278,8 +277,8 @@
278 洗车机照片 277 洗车机照片
279 </el-col> 278 </el-col>
280 <el-col :span="20"> 279 <el-col :span="20">
281 - <el-row v-for="sub_img,index in infoData.sub_img4.split(',')" style="margin-bottom:10px;">  
282 - <a @click="downloadFile(sub_img);" style="color: blue;">洗车机照片 - {{index+1}}</a> 280 + <el-row v-for="img,index in infoData.sub_img4.split(',')" style="margin-bottom:10px;">
  281 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
283 </el-row> 282 </el-row>
284 </el-col> 283 </el-col>
285 </el-row> 284 </el-row>
@@ -288,8 +287,8 @@ @@ -288,8 +287,8 @@
288 {{infoData.type==0?"摄像头视频截图1":"洗车设施照片"}} 287 {{infoData.type==0?"摄像头视频截图1":"洗车设施照片"}}
289 </el-col> 288 </el-col>
290 <el-col :span="20"> 289 <el-col :span="20">
291 - <el-row v-for="sub_img,index in infoData.sub_img5.split(',')" style="margin-bottom:10px;">  
292 - <a @click="downloadFile(sub_img);" style="color: blue;">{{infoData.type==0?"摄像头视频截图1":"洗车设施照片"}} - {{index+1}}</a> 290 + <el-row v-for="img,index in infoData.sub_img5.split(',')" style="margin-bottom:10px;">
  291 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
293 </el-row> 292 </el-row>
294 </el-col> 293 </el-col>
295 </el-row> 294 </el-row>
@@ -298,8 +297,8 @@ @@ -298,8 +297,8 @@
298 {{form.type==0?"摄像头视频截图2":"雾炮机"}} 297 {{form.type==0?"摄像头视频截图2":"雾炮机"}}
299 </el-col> 298 </el-col>
300 <el-col :span="20"> 299 <el-col :span="20">
301 - <el-row v-for="sub_img,index in infoData.sub_img6.split(',')" style="margin-bottom:10px;">  
302 - <a @click="downloadFile(sub_img);" style="color: blue;">{{form.type==0?"摄像头视频截图2":"雾炮机"}} - {{index+1}}</a> 300 + <el-row v-for="img,index in infoData.sub_img6.split(',')" style="margin-bottom:10px;">
  301 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
303 </el-row> 302 </el-row>
304 </el-col> 303 </el-col>
305 </el-row> 304 </el-row>
@@ -308,8 +307,8 @@ @@ -308,8 +307,8 @@
308 {{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}} 307 {{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}}
309 </el-col> 308 </el-col>
310 <el-col :span="20"> 309 <el-col :span="20">
311 - <el-row v-for="sub_img,index in infoData.sub_img7.split(',')" style="margin-bottom:10px;">  
312 - <a @click="downloadFile(sub_img);" style="color: blue;">{{form.type==0?"摄像头视频截图3":"裸露黄土覆盖照片"}} - {{index+1}}</a> 310 + <el-row v-for="img,index in infoData.sub_img7.split(',')" style="margin-bottom:10px;">
  311 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
313 </el-row> 312 </el-row>
314 </el-col> 313 </el-col>
315 </el-row> 314 </el-row>
@@ -318,8 +317,8 @@ @@ -318,8 +317,8 @@
318 其他1 317 其他1
319 </el-col> 318 </el-col>
320 <el-col :span="20"> 319 <el-col :span="20">
321 - <el-row v-for="sub_img,index in infoData.sub_img8.split(',')" style="margin-bottom:10px;">  
322 - <a @click="downloadFile(sub_img);" style="color: blue;">其他1 - {{index+1}}</a> 320 + <el-row v-for="img,index in infoData.sub_img8.split(',')" style="margin-bottom:10px;">
  321 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
323 </el-row> 322 </el-row>
324 </el-col> 323 </el-col>
325 </el-row> 324 </el-row>
@@ -328,8 +327,8 @@ @@ -328,8 +327,8 @@
328 其他2 327 其他2
329 </el-col> 328 </el-col>
330 <el-col :span="20"> 329 <el-col :span="20">
331 - <el-row v-for="sub_img,index in infoData.sub_img9.split(',')" style="margin-bottom:10px;">  
332 - <a @click="downloadFile(sub_img);" style="color: blue;">其他2 - {{index+1}}</a> 330 + <el-row v-for="img,index in infoData.sub_img9.split(',')" style="margin-bottom:10px;">
  331 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
333 </el-row> 332 </el-row>
334 </el-col> 333 </el-col>
335 </el-row> 334 </el-row>
@@ -338,8 +337,8 @@ @@ -338,8 +337,8 @@
338 其他3 337 其他3
339 </el-col> 338 </el-col>
340 <el-col :span="20"> 339 <el-col :span="20">
341 - <el-row v-for="sub_img,index in infoData.sub_img10.split(',')" style="margin-bottom:10px;">  
342 - <a @click="downloadFile(sub_img);" style="color: blue;">其他3 - {{index+1}}</a> 340 + <el-row v-for="img,index in infoData.sub_img10.split(',')" style="margin-bottom:10px;">
  341 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
343 </el-row> 342 </el-row>
344 </el-col> 343 </el-col>
345 </el-row> 344 </el-row>
@@ -348,8 +347,8 @@ @@ -348,8 +347,8 @@
348 其他4 347 其他4
349 </el-col> 348 </el-col>
350 <el-col :span="20"> 349 <el-col :span="20">
351 - <el-row v-for="sub_img,index in infoData.sub_img11.split(',')" style="margin-bottom:10px;">  
352 - <a @click="downloadFile(sub_img);" style="color: blue;">其他4 - {{index+1}}</a> 350 + <el-row v-for="img,index in infoData.sub_img11.split(',')" style="margin-bottom:10px;">
  351 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
353 </el-row> 352 </el-row>
354 </el-col> 353 </el-col>
355 </el-row> 354 </el-row>
@@ -358,8 +357,8 @@ @@ -358,8 +357,8 @@
358 其他5 357 其他5
359 </el-col> 358 </el-col>
360 <el-col :span="20"> 359 <el-col :span="20">
361 - <el-row v-for="sub_img,index in infoData.sub_img12.split(',')" style="margin-bottom:10px;">  
362 - <a @click="downloadFile(sub_img);" style="color: blue;">其他5 - {{index+1}}</a> 360 + <el-row v-for="img,index in infoData.sub_img12.split(',')" style="margin-bottom:10px;">
  361 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
363 </el-row> 362 </el-row>
364 </el-col> 363 </el-col>
365 </el-row> 364 </el-row>
@@ -390,8 +389,8 @@ @@ -390,8 +389,8 @@
390 附件1 389 附件1
391 </el-col> 390 </el-col>
392 <el-col :span="20"> 391 <el-col :span="20">
393 - <el-row v-for="sub_img,index in infoData.attchItem1.split(',')" style="margin-bottom:10px;">  
394 - <a @click="downloadFile(sub_img);" style="color: blue;">附件1 - {{index+1}}</a> 392 + <el-row v-for="img,index in infoData.attchItem1.split(',')" style="margin-bottom:10px;">
  393 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
395 </el-row> 394 </el-row>
396 </el-col> 395 </el-col>
397 </el-row> 396 </el-row>
@@ -400,8 +399,8 @@ @@ -400,8 +399,8 @@
400 附件2 399 附件2
401 </el-col> 400 </el-col>
402 <el-col :span="20"> 401 <el-col :span="20">
403 - <el-row v-for="sub_img,index in infoData.attchItem2.split(',')" style="margin-bottom:10px;">  
404 - <a @click="downloadFile(sub_img);" style="color: blue;">附件2 - {{index+1}}</a> 402 + <el-row v-for="img,index in infoData.attchItem2.split(',')" style="margin-bottom:10px;">
  403 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
405 </el-row> 404 </el-row>
406 </el-col> 405 </el-col>
407 </el-row> 406 </el-row>
@@ -410,8 +409,8 @@ @@ -410,8 +409,8 @@
410 附件3 409 附件3
411 </el-col> 410 </el-col>
412 <el-col :span="20"> 411 <el-col :span="20">
413 - <el-row v-for="sub_img,index in infoData.attchItem3.split(',')" style="margin-bottom:10px;">  
414 - <a @click="downloadFile(sub_img);" style="color: blue;">附件3 - {{index+1}}</a> 412 + <el-row v-for="img,index in infoData.attchItem3.split(',')" style="margin-bottom:10px;">
  413 + <a @click="downloadFile(img);" style="color: blue;">{{img.split("/")[img.split("/").length -1]}}</a>
415 </el-row> 414 </el-row>
416 </el-col> 415 </el-col>
417 </el-row> 416 </el-row>
@@ -456,8 +455,8 @@ @@ -456,8 +455,8 @@
456 downloadFile(path) { 455 downloadFile(path) {
457 window.location.href = process.env.VUE_APP_BASE_API + "/business/threestep/download?path=" + encodeURI(path); 456 window.location.href = process.env.VUE_APP_BASE_API + "/business/threestep/download?path=" + encodeURI(path);
458 }, 457 },
459 -  
460 getInfo() { 458 getInfo() {
  459 + debugger;
461 let id; 460 let id;
462 if(this.businessKey.split(":").length == 2){ 461 if(this.businessKey.split(":").length == 2){
463 id = this.businessKey.split(":")[1]; 462 id = this.businessKey.split(":")[1];
trash-ui/src/views/business/truckActivate/index.vue
@@ -66,7 +66,7 @@ @@ -66,7 +66,7 @@
66 </el-row> 66 </el-row>
67 67
68 <el-table v-loading="loading" :data="truckActivateList" @selection-change="handleSelectionChange"> 68 <el-table v-loading="loading" :data="truckActivateList" @selection-change="handleSelectionChange">
69 - <el-table-column label="序号" align="center" prop="id" /> 69 + <el-table-column label="序号" align="center" type="index" />
70 <el-table-column label="所属企业" align="center" prop="company" /> 70 <el-table-column label="所属企业" align="center" prop="company" />
71 <el-table-column label="车牌号" align="center" prop="licensePlate" /> 71 <el-table-column label="车牌号" align="center" prop="licensePlate" />
72 <el-table-column label="所属工地" align="center" prop="construction" /> 72 <el-table-column label="所属工地" align="center" prop="construction" />
trash-ui/src/views/caseOffline/caseOffline/index.vue
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 </el-row> 47 </el-row>
48 48
49 <el-table v-loading="loading" :data="caseOfflineList" @selection-change="handleSelectionChange"> 49 <el-table v-loading="loading" :data="caseOfflineList" @selection-change="handleSelectionChange">
50 - <el-table-column label="序号" align="center" prop="id" /> 50 + <el-table-column label="序号" align="center" type="index" />
51 <el-table-column label="案卷编号" align="center" prop="number" /> 51 <el-table-column label="案卷编号" align="center" prop="number" />
52 <el-table-column label="案卷类型" align="center" prop="type" /> 52 <el-table-column label="案卷类型" align="center" prop="type" />
53 <el-table-column label="所属区域" align="center" prop="place" /> 53 <el-table-column label="所属区域" align="center" prop="place" />
trash-ui/src/views/daily/report/index.vue
1 <template> 1 <template>
2 <div class="app-container"> 2 <div class="app-container">
3 - <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> 3 + <el-form :model="queryParams" ref="queryForm" :inline="true" label-width="68px" @submit.native.prevent>
4 <el-form-item label="标题" prop="title"> 4 <el-form-item label="标题" prop="title">
5 <el-input 5 <el-input
6 v-model="queryParams.title" 6 v-model="queryParams.title"
7 placeholder="请输入标题" 7 placeholder="请输入标题"
8 -  
9 size="small" 8 size="small"
10 - 9 + type="text"
11 /> 10 />
12 - </el-form-item> 11 + </el-form-item>
13 <el-form-item> 12 <el-form-item>
14 <el-button type="cyan" size="mini" @click="handleQuery">搜索</el-button> 13 <el-button type="cyan" size="mini" @click="handleQuery">搜索</el-button>
15 </el-form-item> 14 </el-form-item>
@@ -50,7 +49,6 @@ @@ -50,7 +49,6 @@
50 v-hasPermi="['daily:report:export']" 49 v-hasPermi="['daily:report:export']"
51 >导出</el-button> 50 >导出</el-button>
52 </el-col> 51 </el-col>
53 - <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>  
54 </el-row> 52 </el-row>
55 53
56 <el-table v-loading="loading" :data="reportList" border @selection-change="handleSelectionChange"> 54 <el-table v-loading="loading" :data="reportList" border @selection-change="handleSelectionChange">
@@ -122,7 +120,7 @@ @@ -122,7 +120,7 @@
122 <el-form-item label="报表内容"> 120 <el-form-item label="报表内容">
123 <editor v-model="form.reportContent" :min-height="192"/> 121 <editor v-model="form.reportContent" :min-height="192"/>
124 </el-form-item> 122 </el-form-item>
125 - <a v-if="form.attachmentLink!='' " style="color: blue;margin-left: 10px;" @click="download">附件下载</a> <a style="color: red;" @click="form.attachmentLink='';" v-if="form.attachmentLink!=''">删除</a> 123 + <a v-if="form.attachmentLink!='' " style="color: blue;margin-left: 10px;" @click="downloadFile(form.attachmentLink)">附件下载</a> <a style="color: red;" @click="form.attachmentLink='';" v-if="form.attachmentLink!=''">删除</a>
126 <el-row> 124 <el-row>
127 <el-col :span="6"> 125 <el-col :span="6">
128 <el-form-item label="附件" v-if="form.attachmentLink==''"> 126 <el-form-item label="附件" v-if="form.attachmentLink==''">
@@ -244,6 +242,9 @@ export default { @@ -244,6 +242,9 @@ export default {
244 }, 242 },
245 methods: { 243 methods: {
246 244
  245 + downloadFile(path) {
  246 + window.location.href = process.env.VUE_APP_BASE_API + "/business/threestep/download?path=" + encodeURI(path);
  247 + },
247 getList() { 248 getList() {
248 this.loading = true; 249 this.loading = true;
249 listReport(this.queryParams).then(response => { 250 listReport(this.queryParams).then(response => {
@@ -253,11 +254,11 @@ export default { @@ -253,11 +254,11 @@ export default {
253 }); 254 });
254 }, 255 },
255 uploadSuccess(res, file, fileList) { 256 uploadSuccess(res, file, fileList) {
256 -  
257 - if(res.code){  
258 - this.$message(res.message);  
259 - return;  
260 - } 257 +
  258 + if(res.code){
  259 + this.$message(res.message);
  260 + return;
  261 + }
261 this.fileList = []; 262 this.fileList = [];
262 263
263 this.fileList.push(file); 264 this.fileList.push(file);
trash-ui/src/views/daily/situation/index.vue
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <el-input 5 <el-input
6 v-model="queryParams.title" 6 v-model="queryParams.title"
7 placeholder="请输入标题" 7 placeholder="请输入标题"
8 - 8 +
9 size="small" 9 size="small"
10 10
11 /> 11 />
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <el-input 14 <el-input
15 v-model="queryParams.operator" 15 v-model="queryParams.operator"
16 placeholder="请输入操作人" 16 placeholder="请输入操作人"
17 - 17 +
18 size="small" 18 size="small"
19 19
20 /> 20 />
@@ -143,6 +143,17 @@ @@ -143,6 +143,17 @@
143 <editor v-model="form.warningCaseFileInfo" :min-height="192"/> 143 <editor v-model="form.warningCaseFileInfo" :min-height="192"/>
144 </el-form-item> 144 </el-form-item>
145 145
  146 + <el-form-item label="抽查预警信息(案卷情况)回复情况" prop="desc1">
  147 + <editor v-model="form.desc1" :min-height="192"/>
  148 + </el-form-item>
  149 +
  150 + <el-form-item label="'三无'违规情况" prop="desc2">
  151 + <editor v-model="form.desc2" :min-height="192"/>
  152 + </el-form-item>
  153 +
  154 + <el-form-item label="特发时间处置等其他情况" prop="desc3">
  155 + <editor v-model="form.desc3" :min-height="192"/>
  156 + </el-form-item>
146 157
147 </el-form> 158 </el-form>
148 <div slot="footer" class="dialog-footer" > 159 <div slot="footer" class="dialog-footer" >
@@ -207,9 +218,6 @@ export default { @@ -207,9 +218,6 @@ export default {
207 consumptionSiteSituation: [ 218 consumptionSiteSituation: [
208 { required: true, message: "不能为空", trigger: "blur" } 219 { required: true, message: "不能为空", trigger: "blur" }
209 ], 220 ],
210 - numberOfVehicles: [  
211 - { required: true, message: "不能为空", trigger: "blur" }  
212 - ],  
213 } 221 }
214 }; 222 };
215 }, 223 },
trash-ui/src/views/h5/dayWorkReport/index.vue
@@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
39 </el-row> 39 </el-row>
40 40
41 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange"> 41 <el-table v-loading="loading" :data="threestepList" @selection-change="handleSelectionChange">
42 - <el-table-column label="序号" align="center" prop="id" /> 42 + <el-table-column label="序号" align="center" type="index" />
43 <el-table-column label="工地名称" align="center" prop="name" /> 43 <el-table-column label="工地名称" align="center" prop="name" />
44 <el-table-column label="项目类型" align="center" prop="type" /> 44 <el-table-column label="项目类型" align="center" prop="type" />
45 <el-table-column label="管辖区" align="center" prop="place" /> 45 <el-table-column label="管辖区" align="center" prop="place" />
trash-ui/src/views/h5/task/threestepInfo.vue
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 </el-col> 74 </el-col>
75 <el-col :span="20"> 75 <el-col :span="20">
76 <el-row v-for="img,index in infoData.img0.split(',')" style="margin-bottom:10px;"> 76 <el-row v-for="img,index in infoData.img0.split(',')" style="margin-bottom:10px;">
77 - <a @click="downloadFile(img);" style="color: blue;">过水槽照片 - {{index+1}}</a> 77 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
78 </el-row> 78 </el-row>
79 </el-col> 79 </el-col>
80 </el-row> 80 </el-row>
@@ -85,7 +85,7 @@ @@ -85,7 +85,7 @@
85 </el-col> 85 </el-col>
86 <el-col :span="20"> 86 <el-col :span="20">
87 <el-row v-for="img,index in infoData.img1.split(',')" style="margin-bottom:10px;"> 87 <el-row v-for="img,index in infoData.img1.split(',')" style="margin-bottom:10px;">
88 - <a @click="downloadFile(img);" style="color: blue;">洗车平台照片 - {{index+1}}</a> 88 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
89 </el-row> 89 </el-row>
90 </el-col> 90 </el-col>
91 </el-row> 91 </el-row>
@@ -96,7 +96,7 @@ @@ -96,7 +96,7 @@
96 </el-col> 96 </el-col>
97 <el-col :span="20"> 97 <el-col :span="20">
98 <el-row v-for="img,index in infoData.img2.split(',')" style="margin-bottom:10px;"> 98 <el-row v-for="img,index in infoData.img2.split(',')" style="margin-bottom:10px;">
99 - <a @click="downloadFile(img);" style="color: blue;">出入口照片 - {{index+1}}</a> 99 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
100 100
101 </el-row> 101 </el-row>
102 </el-col> 102 </el-col>
@@ -108,7 +108,7 @@ @@ -108,7 +108,7 @@
108 </el-col> 108 </el-col>
109 <el-col :span="20"> 109 <el-col :span="20">
110 <el-row v-for="img,index in infoData.img3.split(',')" style="margin-bottom:10px;"> 110 <el-row v-for="img,index in infoData.img3.split(',')" style="margin-bottom:10px;">
111 - <a @click="downloadFile(img);" style="color: blue;">沉淀池照片 - {{index+1}}</a> 111 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
112 112
113 </el-row> 113 </el-row>
114 </el-col> 114 </el-col>
@@ -120,7 +120,7 @@ @@ -120,7 +120,7 @@
120 </el-col> 120 </el-col>
121 <el-col :span="20"> 121 <el-col :span="20">
122 <el-row v-for="img,index in infoData.img4.split(',')" style="margin-bottom:10px;"> 122 <el-row v-for="img,index in infoData.img4.split(',')" style="margin-bottom:10px;">
123 - <a @click="downloadFile(img);" style="color: blue;">硬质路面照片 - {{index+1}}</a> 123 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
124 124
125 </el-row> 125 </el-row>
126 </el-col> 126 </el-col>
@@ -132,7 +132,7 @@ @@ -132,7 +132,7 @@
132 </el-col> 132 </el-col>
133 <el-col :span="20"> 133 <el-col :span="20">
134 <el-row v-for="img,index in infoData.img5.split(',')" style="margin-bottom:10px;"> 134 <el-row v-for="img,index in infoData.img5.split(',')" style="margin-bottom:10px;">
135 - <a @click="downloadFile(img);" style="color: blue;">摄像头视频截图1 - {{index+1}}</a> 135 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
136 136
137 </el-row> 137 </el-row>
138 </el-col> 138 </el-col>
@@ -144,7 +144,7 @@ @@ -144,7 +144,7 @@
144 </el-col> 144 </el-col>
145 <el-col :span="20"> 145 <el-col :span="20">
146 <el-row v-for="img,index in infoData.img6.split(',')" style="margin-bottom:10px;"> 146 <el-row v-for="img,index in infoData.img6.split(',')" style="margin-bottom:10px;">
147 - <a @click="downloadFile(img);" style="color: blue;">摄像头视频截图2 - {{index+1}}</a> 147 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
148 148
149 </el-row> 149 </el-row>
150 </el-col> 150 </el-col>
@@ -156,7 +156,7 @@ @@ -156,7 +156,7 @@
156 </el-col> 156 </el-col>
157 <el-col :span="20"> 157 <el-col :span="20">
158 <el-row v-for="img,index in infoData.img7.split(',')" style="margin-bottom:10px;"> 158 <el-row v-for="img,index in infoData.img7.split(',')" style="margin-bottom:10px;">
159 - <a @click="downloadFile(img);" style="color: blue;">摄像头视频截图3 - {{index+1}}</a> 159 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
160 160
161 </el-row> 161 </el-row>
162 </el-col> 162 </el-col>
@@ -168,7 +168,7 @@ @@ -168,7 +168,7 @@
168 </el-col> 168 </el-col>
169 <el-col :span="20"> 169 <el-col :span="20">
170 <el-row v-for="img,index in infoData.img8.split(',')" style="margin-bottom:10px;"> 170 <el-row v-for="img,index in infoData.img8.split(',')" style="margin-bottom:10px;">
171 - <a @click="downloadFile(img);" style="color: blue;">其他1 - {{index+1}}</a> 171 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
172 172
173 </el-row> 173 </el-row>
174 </el-col> 174 </el-col>
@@ -180,7 +180,7 @@ @@ -180,7 +180,7 @@
180 </el-col> 180 </el-col>
181 <el-col :span="20"> 181 <el-col :span="20">
182 <el-row v-for="img,index in infoData.img9.split(',')" style="margin-bottom:10px;"> 182 <el-row v-for="img,index in infoData.img9.split(',')" style="margin-bottom:10px;">
183 - <a @click="downloadFile(img);" style="color: blue;">其他2 - {{index+1}}</a> 183 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
184 184
185 </el-row> 185 </el-row>
186 </el-col> 186 </el-col>
@@ -192,7 +192,7 @@ @@ -192,7 +192,7 @@
192 </el-col> 192 </el-col>
193 <el-col :span="20"> 193 <el-col :span="20">
194 <el-row v-for="img,index in infoData.img10.split(',')" style="margin-bottom:10px;"> 194 <el-row v-for="img,index in infoData.img10.split(',')" style="margin-bottom:10px;">
195 - <a @click="downloadFile(img);" style="color: blue;">其他3 - {{index+1}}</a> 195 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
196 196
197 </el-row> 197 </el-row>
198 </el-col> 198 </el-col>
@@ -204,7 +204,7 @@ @@ -204,7 +204,7 @@
204 </el-col> 204 </el-col>
205 <el-col :span="20"> 205 <el-col :span="20">
206 <el-row v-for="img,index in infoData.img11.split(',')" style="margin-bottom:10px;"> 206 <el-row v-for="img,index in infoData.img11.split(',')" style="margin-bottom:10px;">
207 - <a @click="downloadFile(img);" style="color: blue;">其他4 - {{index+1}}</a> 207 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
208 208
209 </el-row> 209 </el-row>
210 </el-col> 210 </el-col>
@@ -216,7 +216,7 @@ @@ -216,7 +216,7 @@
216 </el-col> 216 </el-col>
217 <el-col :span="20"> 217 <el-col :span="20">
218 <el-row v-for="img,index in infoData.img12.split(',')" style="margin-bottom:10px;"> 218 <el-row v-for="img,index in infoData.img12.split(',')" style="margin-bottom:10px;">
219 - <a @click="downloadFile(img);" style="color: blue;">其他5 - {{index+1}}</a> 219 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
220 220
221 </el-row> 221 </el-row>
222 </el-col> 222 </el-col>
@@ -264,8 +264,8 @@ @@ -264,8 +264,8 @@
264 履职情况照片 264 履职情况照片
265 </el-col> 265 </el-col>
266 <el-col :span="20"> 266 <el-col :span="20">
267 - <el-row v-for="sub_img,index in infoData.sub_img0.split(',')" style="margin-bottom:10px;">  
268 - <a @click="downloadFile(sub_img);" style="color: blue;">履职情况照片 - {{index+1}}</a> 267 + <el-row v-for="img,index in infoData.sub_img0.split(',')" style="margin-bottom:10px;">
  268 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
269 269
270 </el-row> 270 </el-row>
271 </el-col> 271 </el-col>
@@ -276,8 +276,8 @@ @@ -276,8 +276,8 @@
276 水枪水嘴照片 276 水枪水嘴照片
277 </el-col> 277 </el-col>
278 <el-col :span="20"> 278 <el-col :span="20">
279 - <el-row v-for="sub_img,index in infoData.sub_img1.split(',')" style="margin-bottom:10px;">  
280 - <a @click="downloadFile(sub_img);" style="color: blue;">水枪水嘴照片 - {{index+1}}</a> 279 + <el-row v-for="img,index in infoData.sub_img1.split(',')" style="margin-bottom:10px;">
  280 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
281 281
282 </el-row> 282 </el-row>
283 </el-col> 283 </el-col>
@@ -288,8 +288,8 @@ @@ -288,8 +288,8 @@
288 照明照片 288 照明照片
289 </el-col> 289 </el-col>
290 <el-col :span="20"> 290 <el-col :span="20">
291 - <el-row v-for="sub_img,index in infoData.sub_img2.split(',')" style="margin-bottom:10px;">  
292 - <a @click="downloadFile(sub_img);" style="color: blue;">照明照片 - {{index+1}}</a> 291 + <el-row v-for="img,index in infoData.sub_img2.split(',')" style="margin-bottom:10px;">
  292 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
293 293
294 </el-row> 294 </el-row>
295 </el-col> 295 </el-col>
@@ -300,8 +300,8 @@ @@ -300,8 +300,8 @@
300 视频监控照片 300 视频监控照片
301 </el-col> 301 </el-col>
302 <el-col :span="20"> 302 <el-col :span="20">
303 - <el-row v-for="sub_img,index in infoData.sub_img3.split(',')" style="margin-bottom:10px;">  
304 - <a @click="downloadFile(sub_img);" style="color: blue;">视频监控照片 - {{index+1}}</a> 303 + <el-row v-for="img,index in infoData.sub_img3.split(',')" style="margin-bottom:10px;">
  304 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
305 305
306 </el-row> 306 </el-row>
307 </el-col> 307 </el-col>
@@ -312,8 +312,8 @@ @@ -312,8 +312,8 @@
312 洗车机照片 312 洗车机照片
313 </el-col> 313 </el-col>
314 <el-col :span="20"> 314 <el-col :span="20">
315 - <el-row v-for="sub_img,index in infoData.sub_img4.split(',')" style="margin-bottom:10px;">  
316 - <a @click="downloadFile(sub_img);" style="color: blue;">洗车机照片 - {{index+1}}</a> 315 + <el-row v-for="img,index in infoData.sub_img4.split(',')" style="margin-bottom:10px;">
  316 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
317 317
318 </el-row> 318 </el-row>
319 </el-col> 319 </el-col>
@@ -324,8 +324,8 @@ @@ -324,8 +324,8 @@
324 摄像头视频截图1 324 摄像头视频截图1
325 </el-col> 325 </el-col>
326 <el-col :span="20"> 326 <el-col :span="20">
327 - <el-row v-for="sub_img,index in infoData.sub_img5.split(',')" style="margin-bottom:10px;">  
328 - <a @click="downloadFile(sub_img);" style="color: blue;">摄像头视频截图1 - {{index+1}}</a> 327 + <el-row v-for="img,index in infoData.sub_img5.split(',')" style="margin-bottom:10px;">
  328 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
329 329
330 </el-row> 330 </el-row>
331 </el-col> 331 </el-col>
@@ -336,8 +336,8 @@ @@ -336,8 +336,8 @@
336 摄像头视频截图2 336 摄像头视频截图2
337 </el-col> 337 </el-col>
338 <el-col :span="20"> 338 <el-col :span="20">
339 - <el-row v-for="sub_img,index in infoData.sub_img6.split(',')" style="margin-bottom:10px;">  
340 - <a @click="downloadFile(sub_img);" style="color: blue;">摄像头视频截图2 - {{index+1}}</a> 339 + <el-row v-for="img,index in infoData.sub_img6.split(',')" style="margin-bottom:10px;">
  340 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
341 341
342 </el-row> 342 </el-row>
343 </el-col> 343 </el-col>
@@ -348,8 +348,8 @@ @@ -348,8 +348,8 @@
348 摄像头视频截图3 348 摄像头视频截图3
349 </el-col> 349 </el-col>
350 <el-col :span="20"> 350 <el-col :span="20">
351 - <el-row v-for="sub_img,index in infoData.sub_img7.split(',')" style="margin-bottom:10px;">  
352 - <a @click="downloadFile(sub_img);" style="color: blue;">摄像头视频截图3 - {{index+1}}</a> 351 + <el-row v-for="img,index in infoData.sub_img7.split(',')" style="margin-bottom:10px;">
  352 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
353 353
354 </el-row> 354 </el-row>
355 </el-col> 355 </el-col>
@@ -360,8 +360,8 @@ @@ -360,8 +360,8 @@
360 其他1 360 其他1
361 </el-col> 361 </el-col>
362 <el-col :span="20"> 362 <el-col :span="20">
363 - <el-row v-for="sub_img,index in infoData.sub_img8.split(',')" style="margin-bottom:10px;">  
364 - <a @click="downloadFile(sub_img);" style="color: blue;">其他1 - {{index+1}}</a> 363 + <el-row v-for="img,index in infoData.sub_img8.split(',')" style="margin-bottom:10px;">
  364 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
365 365
366 </el-row> 366 </el-row>
367 </el-col> 367 </el-col>
@@ -372,8 +372,8 @@ @@ -372,8 +372,8 @@
372 其他2 372 其他2
373 </el-col> 373 </el-col>
374 <el-col :span="20"> 374 <el-col :span="20">
375 - <el-row v-for="sub_img,index in infoData.sub_img9.split(',')" style="margin-bottom:10px;">  
376 - <a @click="downloadFile(sub_img);" style="color: blue;">其他2 - {{index+1}}</a> 375 + <el-row v-for="img,index in infoData.sub_img9.split(',')" style="margin-bottom:10px;">
  376 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
377 377
378 </el-row> 378 </el-row>
379 </el-col> 379 </el-col>
@@ -384,8 +384,8 @@ @@ -384,8 +384,8 @@
384 其他3 384 其他3
385 </el-col> 385 </el-col>
386 <el-col :span="20"> 386 <el-col :span="20">
387 - <el-row v-for="sub_img,index in infoData.sub_img10.split(',')" style="margin-bottom:10px;">  
388 - <a @click="downloadFile(sub_img);" style="color: blue;">其他3 - {{index+1}}</a> 387 + <el-row v-for="img,index in infoData.sub_img10.split(',')" style="margin-bottom:10px;">
  388 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
389 389
390 </el-row> 390 </el-row>
391 </el-col> 391 </el-col>
@@ -396,8 +396,8 @@ @@ -396,8 +396,8 @@
396 其他4 396 其他4
397 </el-col> 397 </el-col>
398 <el-col :span="20"> 398 <el-col :span="20">
399 - <el-row v-for="sub_img,index in infoData.sub_img11.split(',')" style="margin-bottom:10px;">  
400 - <a @click="downloadFile(sub_img);" style="color: blue;">其他4 - {{index+1}}</a> 399 + <el-row v-for="img,index in infoData.sub_img11.split(',')" style="margin-bottom:10px;">
  400 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
401 401
402 </el-row> 402 </el-row>
403 </el-col> 403 </el-col>
@@ -408,8 +408,8 @@ @@ -408,8 +408,8 @@
408 其他5 408 其他5
409 </el-col> 409 </el-col>
410 <el-col :span="20"> 410 <el-col :span="20">
411 - <el-row v-for="sub_img,index in infoData.sub_img12.split(',')" style="margin-bottom:10px;">  
412 - <a @click="downloadFile(sub_img);" style="color: blue;">其他5 - {{index+1}}</a> 411 + <el-row v-for="img,index in infoData.sub_img12.split(',')" style="margin-bottom:10px;">
  412 + <a @click="downloadFile(img);" style="color: blue;">{{img}}</a>
413 413
414 </el-row> 414 </el-row>
415 </el-col> 415 </el-col>
trash-ui/src/views/h5/truckActivate/index.vue
@@ -64,7 +64,7 @@ @@ -64,7 +64,7 @@
64 64
65 65
66 <!-- <el-table v-loading="loading" :data="truckActivateList" @selection-change="handleSelectionChange"> 66 <!-- <el-table v-loading="loading" :data="truckActivateList" @selection-change="handleSelectionChange">
67 - <el-table-column label="序号" align="center" prop="id" /> 67 + <el-table-column label="序号" align="center" type="index" />
68 <el-table-column label="所属企业" align="center" prop="company" /> 68 <el-table-column label="所属企业" align="center" prop="company" />
69 <el-table-column label="车牌号" align="center" prop="licensePlate" /> 69 <el-table-column label="车牌号" align="center" prop="licensePlate" />
70 <el-table-column label="所属工地" align="center" prop="construction" /> 70 <el-table-column label="所属工地" align="center" prop="construction" />
trash-ui/src/views/otherData/otherData/index.vue
@@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
45 </el-row> 45 </el-row>
46 46
47 <el-table v-loading="loading" :data="otherDataList" @selection-change="handleSelectionChange"> 47 <el-table v-loading="loading" :data="otherDataList" @selection-change="handleSelectionChange">
48 - <el-table-column label="序号" align="center" prop="id" /> 48 + <el-table-column label="序号" align="center" type="index" />
49 <el-table-column label="所属区域" align="center" prop="place" /> 49 <el-table-column label="所属区域" align="center" prop="place" />
50 <el-table-column label="资料类别" align="center" prop="type" /> 50 <el-table-column label="资料类别" align="center" prop="type" />
51 <el-table-column label="填报日期" align="center" prop="time" width="180"> 51 <el-table-column label="填报日期" align="center" prop="time" width="180">
trash-ui/vue.config.js
@@ -41,8 +41,8 @@ module.exports = { @@ -41,8 +41,8 @@ module.exports = {
41 } 41 }
42 }, 42 },
43 ['/api']: { 43 ['/api']: {
44 - //target: `http://183.66.242.6:14601`,  
45 - target: `http://183.66.242.6:6001`, 44 + target: `http://183.66.242.6:14601`,
  45 + // target: `http://183.66.242.6:6001`,
46 changeOrigin: true, 46 changeOrigin: true,
47 }, 47 },
48 48
trash-workFlow/src/main/java/com/trash/business/controller/CompanyCreditController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
  3 +import java.util.ArrayList;
3 import java.util.List; 4 import java.util.List;
4 5
5 import com.trash.business.domain.ConstructionCredit; 6 import com.trash.business.domain.ConstructionCredit;
@@ -80,8 +81,21 @@ public class CompanyCreditController extends BaseController @@ -80,8 +81,21 @@ public class CompanyCreditController extends BaseController
80 public AjaxResult export(CompanyCredit companyCredit) 81 public AjaxResult export(CompanyCredit companyCredit)
81 { 82 {
82 List<CompanyCredit> list = companyCreditService.selectCompanyCreditList(companyCredit); 83 List<CompanyCredit> list = companyCreditService.selectCompanyCreditList(companyCredit);
  84 +
  85 + for(int i = 0;i<list.size();i++){
  86 + list.get(i).setId((long)i+1);
  87 + }
  88 +
83 ExcelUtil<CompanyCredit> util = new ExcelUtil<CompanyCredit>(CompanyCredit.class); 89 ExcelUtil<CompanyCredit> util = new ExcelUtil<CompanyCredit>(CompanyCredit.class);
84 - return util.exportExcel(list, "credit"); 90 +
  91 +
  92 + List<String> withOut = new ArrayList<String>();
  93 +
  94 + if(companyCredit.getStatus() == 1){
  95 + withOut.add("time");
  96 + }
  97 +
  98 + return util.exportExcel(list, "企业失信",withOut);
85 } 99 }
86 100
87 /** 101 /**
trash-workFlow/src/main/java/com/trash/business/controller/ConstructionCreditController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
  3 +import java.util.ArrayList;
3 import java.util.List; 4 import java.util.List;
4 5
5 import org.springframework.beans.factory.annotation.Autowired; 6 import org.springframework.beans.factory.annotation.Autowired;
@@ -70,9 +71,16 @@ public class ConstructionCreditController extends BaseController @@ -70,9 +71,16 @@ public class ConstructionCreditController extends BaseController
70 }else{ 71 }else{
71 list = constructionCreditService.selectConstructionCreditList(constructionCredit); 72 list = constructionCreditService.selectConstructionCreditList(constructionCredit);
72 } 73 }
73 - 74 + for(int i = 0;i<list.size();i++){
  75 + list.get(i).setId((long)i+1);
  76 + }
  77 + List<String> withOut = new ArrayList<String>();
  78 +
  79 + if(constructionCredit.getStatus() == 1){
  80 + withOut.add("time");
  81 + }
74 ExcelUtil<ConstructionCredit> util = new ExcelUtil<ConstructionCredit>(ConstructionCredit.class); 82 ExcelUtil<ConstructionCredit> util = new ExcelUtil<ConstructionCredit>(ConstructionCredit.class);
75 - return util.exportExcel(list, "credit"); 83 + return util.exportExcel(list, "工地失信",withOut);
76 } 84 }
77 85
78 /** 86 /**
trash-workFlow/src/main/java/com/trash/business/controller/ConstructionSignController.java
@@ -54,6 +54,10 @@ public class ConstructionSignController extends BaseController @@ -54,6 +54,10 @@ public class ConstructionSignController extends BaseController
54 public AjaxResult export(ConstructionSign constructionSign) 54 public AjaxResult export(ConstructionSign constructionSign)
55 { 55 {
56 List<ConstructionSign> list = constructionSignService.selectConstructionSignList(constructionSign); 56 List<ConstructionSign> list = constructionSignService.selectConstructionSignList(constructionSign);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 ExcelUtil<ConstructionSign> util = new ExcelUtil<ConstructionSign>(ConstructionSign.class); 61 ExcelUtil<ConstructionSign> util = new ExcelUtil<ConstructionSign>(ConstructionSign.class);
58 return util.exportExcel(list, "sign"); 62 return util.exportExcel(list, "sign");
59 } 63 }
trash-workFlow/src/main/java/com/trash/business/controller/DriverCreditController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
  3 +import java.util.ArrayList;
3 import java.util.List; 4 import java.util.List;
4 5
5 import com.trash.business.domain.ConstructionCredit; 6 import com.trash.business.domain.ConstructionCredit;
@@ -74,8 +75,17 @@ public class DriverCreditController extends BaseController @@ -74,8 +75,17 @@ public class DriverCreditController extends BaseController
74 public AjaxResult export(DriverCredit driverCredit) 75 public AjaxResult export(DriverCredit driverCredit)
75 { 76 {
76 List<DriverCredit> list = driverCreditService.selectDriverCreditList(driverCredit); 77 List<DriverCredit> list = driverCreditService.selectDriverCreditList(driverCredit);
  78 +
  79 + for(int i = 0;i<list.size();i++){
  80 + list.get(i).setId((long)i+1);
  81 + }
  82 + List<String> withOut = new ArrayList<String>();
  83 +
  84 + if(driverCredit.getStatus() == 1){
  85 + withOut.add("time");
  86 + }
77 ExcelUtil<DriverCredit> util = new ExcelUtil<DriverCredit>(DriverCredit.class); 87 ExcelUtil<DriverCredit> util = new ExcelUtil<DriverCredit>(DriverCredit.class);
78 - return util.exportExcel(list, "credit"); 88 + return util.exportExcel(list, "驾驶员失信",withOut);
79 } 89 }
80 90
81 /** 91 /**
trash-workFlow/src/main/java/com/trash/business/controller/EarthsitesCreditController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
  3 +import java.util.ArrayList;
3 import java.util.List; 4 import java.util.List;
4 5
5 import com.trash.business.domain.ConstructionCredit; 6 import com.trash.business.domain.ConstructionCredit;
@@ -60,8 +61,17 @@ public class EarthsitesCreditController extends BaseController @@ -60,8 +61,17 @@ public class EarthsitesCreditController extends BaseController
60 list = earthsitesCreditService.selectEarthsitesCreditHistory(earthsitesCredit); 61 list = earthsitesCreditService.selectEarthsitesCreditHistory(earthsitesCredit);
61 }else 62 }else
62 list = earthsitesCreditService.selectEarthsitesCreditList(earthsitesCredit); 63 list = earthsitesCreditService.selectEarthsitesCreditList(earthsitesCredit);
  64 +
  65 + for(int i = 0;i<list.size();i++){
  66 + list.get(i).setId((long)i+1);
  67 + }
  68 + List<String> withOut = new ArrayList<String>();
  69 +
  70 + if(earthsitesCredit.getStatus() == 1){
  71 + withOut.add("time");
  72 + }
63 ExcelUtil<EarthsitesCredit> util = new ExcelUtil<EarthsitesCredit>(EarthsitesCredit.class); 73 ExcelUtil<EarthsitesCredit> util = new ExcelUtil<EarthsitesCredit>(EarthsitesCredit.class);
64 - return util.exportExcel(list, "credit"); 74 + return util.exportExcel(list, "消纳场失信",withOut);
65 } 75 }
66 76
67 /** 77 /**
trash-workFlow/src/main/java/com/trash/business/controller/SupervisionSpecialController.java
@@ -54,6 +54,10 @@ public class SupervisionSpecialController extends BaseController @@ -54,6 +54,10 @@ public class SupervisionSpecialController extends BaseController
54 public AjaxResult export(SupervisionSpecial supervisionSpecial) 54 public AjaxResult export(SupervisionSpecial supervisionSpecial)
55 { 55 {
56 List<SupervisionSpecial> list = supervisionSpecialService.selectSupervisionSpecialList(supervisionSpecial); 56 List<SupervisionSpecial> list = supervisionSpecialService.selectSupervisionSpecialList(supervisionSpecial);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId(i +"");
  60 + }
57 ExcelUtil<SupervisionSpecial> util = new ExcelUtil<SupervisionSpecial>(SupervisionSpecial.class); 61 ExcelUtil<SupervisionSpecial> util = new ExcelUtil<SupervisionSpecial>(SupervisionSpecial.class);
58 return util.exportExcel(list, "SupervisionSpecial"); 62 return util.exportExcel(list, "SupervisionSpecial");
59 } 63 }
trash-workFlow/src/main/java/com/trash/business/controller/SupervisionThreestepController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
3 import java.io.IOException; 3 import java.io.IOException;
  4 +import java.util.ArrayList;
4 import java.util.Date; 5 import java.util.Date;
5 import java.util.List; 6 import java.util.List;
6 import java.util.Map; 7 import java.util.Map;
@@ -118,6 +119,12 @@ public class SupervisionThreestepController extends BaseController @@ -118,6 +119,12 @@ public class SupervisionThreestepController extends BaseController
118 { 119 {
119 List<SupervisionThreestep> list = supervisionThreestepService.selectSupervisionThreestepList(supervisionThreestep); 120 List<SupervisionThreestep> list = supervisionThreestepService.selectSupervisionThreestepList(supervisionThreestep);
120 121
  122 +
  123 +
  124 + for(int i = 0;i<list.size();i++){
  125 + list.get(i).setId((long)i+1);
  126 + }
  127 +
121 JSONArray array = RemoteServerUtils.getAreas(); 128 JSONArray array = RemoteServerUtils.getAreas();
122 129
123 for(Object object :array){ 130 for(Object object :array){
@@ -125,16 +132,20 @@ public class SupervisionThreestepController extends BaseController @@ -125,16 +132,20 @@ public class SupervisionThreestepController extends BaseController
125 for(SupervisionThreestep sThreestep : list){ 132 for(SupervisionThreestep sThreestep : list){
126 if(jsonObject.getString("code").equals(sThreestep.getPlace())){ 133 if(jsonObject.getString("code").equals(sThreestep.getPlace())){
127 sThreestep.setPlace(jsonObject.getString("name")); 134 sThreestep.setPlace(jsonObject.getString("name"));
128 -  
129 } 135 }
130 -  
131 } 136 }
132 -  
133 } 137 }
  138 + List<String> withOut = new ArrayList<String>();
  139 + String str ="报工自查";
  140 + if(supervisionThreestep.getStatus() == null){
  141 + withOut.add("checkEndTime");
  142 + str ="报工抽查";
  143 + }
  144 +
134 145
135 ExcelUtil<SupervisionThreestep> util = new ExcelUtil<SupervisionThreestep>(SupervisionThreestep.class); 146 ExcelUtil<SupervisionThreestep> util = new ExcelUtil<SupervisionThreestep>(SupervisionThreestep.class);
136 147
137 - return util.exportExcel(list, "threestep"); 148 + return util.exportExcel(list, str,withOut);
138 } 149 }
139 150
140 /** 151 /**
trash-workFlow/src/main/java/com/trash/business/controller/TruckActivateController.java
@@ -58,7 +58,10 @@ public class TruckActivateController extends BaseController @@ -58,7 +58,10 @@ public class TruckActivateController extends BaseController
58 public AjaxResult export(TruckActivate truckActivate) 58 public AjaxResult export(TruckActivate truckActivate)
59 { 59 {
60 List<TruckActivate> list = truckActivateService.selectTruckActivateList(truckActivate); 60 List<TruckActivate> list = truckActivateService.selectTruckActivateList(truckActivate);
61 - 61 +
  62 + for(int i = 0;i<list.size();i++){
  63 + list.get(i).setId((long)i+1);
  64 + }
62 for(TruckActivate t:list){ 65 for(TruckActivate t:list){
63 if(t.getActivateTime() == null){ 66 if(t.getActivateTime() == null){
64 t.setIsAct("未激活"); 67 t.setIsAct("未激活");
trash-workFlow/src/main/java/com/trash/business/controller/TruckCreditController.java
1 package com.trash.business.controller; 1 package com.trash.business.controller;
2 2
  3 +import java.util.ArrayList;
3 import java.util.List; 4 import java.util.List;
4 5
5 import com.trash.business.domain.ConstructionCredit; 6 import com.trash.business.domain.ConstructionCredit;
@@ -81,8 +82,17 @@ public class TruckCreditController extends BaseController @@ -81,8 +82,17 @@ public class TruckCreditController extends BaseController
81 public AjaxResult export(TruckCredit truckCredit) 82 public AjaxResult export(TruckCredit truckCredit)
82 { 83 {
83 List<TruckCredit> list = truckCreditService.selectTruckCreditList(truckCredit); 84 List<TruckCredit> list = truckCreditService.selectTruckCreditList(truckCredit);
  85 +
  86 + for(int i = 0;i<list.size();i++){
  87 + list.get(i).setId((long)i+1);
  88 + }
  89 + List<String> withOut = new ArrayList<String>();
  90 +
  91 + if(truckCredit.getStatus() == 1){
  92 + withOut.add("time");
  93 + }
84 ExcelUtil<TruckCredit> util = new ExcelUtil<TruckCredit>(TruckCredit.class); 94 ExcelUtil<TruckCredit> util = new ExcelUtil<TruckCredit>(TruckCredit.class);
85 - return util.exportExcel(list, "credit"); 95 + return util.exportExcel(list, "车辆失信",withOut);
86 } 96 }
87 97
88 /** 98 /**
trash-workFlow/src/main/java/com/trash/business/domain/ConstructionCredit.java
@@ -38,7 +38,6 @@ public class ConstructionCredit extends BaseEntity @@ -38,7 +38,6 @@ public class ConstructionCredit extends BaseEntity
38 38
39 private Long status; 39 private Long status;
40 40
41 - @Excel(name = "状态" , readConverterExp = "0=撤销失信,1=失信")  
42 private Long lostCredit; 41 private Long lostCredit;
43 42
44 private String objectId; 43 private String objectId;
trash-workFlow/src/main/java/com/trash/business/domain/SupervisionThreestep.java
@@ -35,7 +35,7 @@ public class SupervisionThreestep extends BaseEntity @@ -35,7 +35,7 @@ public class SupervisionThreestep extends BaseEntity
35 35
36 /** 自查时间 */ 36 /** 自查时间 */
37 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") 37 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
38 - @Excel(name = "自查时间", width = 30, dateFormat = "yyyy-MM-dd") 38 + @Excel(name = "自查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
39 private Date selfCheckTime; 39 private Date selfCheckTime;
40 40
41 /** 基础数据ID */ 41 /** 基础数据ID */
@@ -46,13 +46,13 @@ public class SupervisionThreestep extends BaseEntity @@ -46,13 +46,13 @@ public class SupervisionThreestep extends BaseEntity
46 46
47 /** 检查时间 */ 47 /** 检查时间 */
48 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") 48 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
49 - @Excel(name = "巡查时间", width = 30, dateFormat = "yyyy-MM-dd") 49 + @Excel(name = "巡查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
50 private Date checkTime; 50 private Date checkTime;
51 51
52 52
53 /** 检查时间 */ 53 /** 检查时间 */
54 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") 54 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
55 - @Excel(name = "抽查时间", width = 30, dateFormat = "yyyy-MM-dd") 55 + @Excel(name = "抽查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
56 private Date checkEndTime; 56 private Date checkEndTime;
57 57
58 /** 消纳场名称 */ 58 /** 消纳场名称 */
trash-workFlow/src/main/java/com/trash/business/service/impl/SupervisionThreestepServiceImpl.java
@@ -532,6 +532,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer @@ -532,6 +532,7 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer
532 supervisionThreestep.setSelfCheckTime(DateUtils.getNowDate()); 532 supervisionThreestep.setSelfCheckTime(DateUtils.getNowDate());
533 supervisionThreestep.setCreateBy(SecurityUtils.getUsername()); 533 supervisionThreestep.setCreateBy(SecurityUtils.getUsername());
534 supervisionThreestep.setStatus(0L); 534 supervisionThreestep.setStatus(0L);
  535 + supervisionThreestep.setSelfCheckTime(new Date());
535 536
536 supervisionThreestepMapper.insertSupervisionThreestep(supervisionThreestep); 537 supervisionThreestepMapper.insertSupervisionThreestep(supervisionThreestep);
537 538
@@ -606,7 +607,12 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer @@ -606,7 +607,12 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer
606 truckActivate.setObjectId(truck); //设置ID 607 truckActivate.setObjectId(truck); //设置ID
607 608
608 List<TruckActivate> taList = truckActivateService.selectTruckActivateList(truckActivate); 609 List<TruckActivate> taList = truckActivateService.selectTruckActivateList(truckActivate);
609 - 610 +
  611 + if(taList.size() == 1){
  612 + if(taList.get(0).getActivateTime() != null){ //已激活
  613 + continue;
  614 + }
  615 + }
610 616
611 truckActivate.setConstruction(construct.getName()); 617 truckActivate.setConstruction(construct.getName());
612 truckActivate.setEarthsite(construct.getEarthsitesName()); 618 truckActivate.setEarthsite(construct.getEarthsitesName());
@@ -620,11 +626,6 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer @@ -620,11 +626,6 @@ public class SupervisionThreestepServiceImpl implements ISupervisionThreestepSer
620 truckActivate.setCompany(truckInfo.getString("companyName")); 626 truckActivate.setCompany(truckInfo.getString("companyName"));
621 627
622 628
623 - if(taList.size() == 1){  
624 - if(taList.get(0).getActivateTime() != null){ //已激活  
625 - continue;  
626 - }  
627 - }  
628 629
629 if(truckObject.getInteger("vehicleStatus") == 1){ 630 if(truckObject.getInteger("vehicleStatus") == 1){
630 truckActivate.setActivateTime(new Date()); 631 truckActivate.setActivateTime(new Date());
trash-workFlow/src/main/java/com/trash/caseOffline/controller/CaseOfflineController.java
@@ -57,7 +57,10 @@ public class CaseOfflineController extends BaseController @@ -57,7 +57,10 @@ public class CaseOfflineController extends BaseController
57 public AjaxResult export(CaseOffline caseOffline) 57 public AjaxResult export(CaseOffline caseOffline)
58 { 58 {
59 List<CaseOffline> list = caseOfflineService.selectCaseOfflineList(caseOffline); 59 List<CaseOffline> list = caseOfflineService.selectCaseOfflineList(caseOffline);
60 - 60 +
  61 + for(int i = 0;i<list.size();i++){
  62 + list.get(i).setId((long)i+1);
  63 + }
61 JSONArray areas = RemoteServerUtils.getAreas(); 64 JSONArray areas = RemoteServerUtils.getAreas();
62 65
63 for(CaseOffline co:list){ 66 for(CaseOffline co:list){
trash-workFlow/src/main/java/com/trash/casefile/controller/ReplyApprovalProcessController.java
@@ -59,6 +59,11 @@ public class ReplyApprovalProcessController extends BaseController @@ -59,6 +59,11 @@ public class ReplyApprovalProcessController extends BaseController
59 public AjaxResult export(ReplyApprovalProcess replyApprovalProcess) 59 public AjaxResult export(ReplyApprovalProcess replyApprovalProcess)
60 { 60 {
61 List<ReplyApprovalProcess> list = replyApprovalProcessService.selectReplyApprovalProcessList(replyApprovalProcess); 61 List<ReplyApprovalProcess> list = replyApprovalProcessService.selectReplyApprovalProcessList(replyApprovalProcess);
  62 +
  63 + for(int i = 0;i<list.size();i++){
  64 + list.get(i).setId((long)i+1);
  65 + }
  66 +
62 ExcelUtil<ReplyApprovalProcess> util = new ExcelUtil<ReplyApprovalProcess>(ReplyApprovalProcess.class); 67 ExcelUtil<ReplyApprovalProcess> util = new ExcelUtil<ReplyApprovalProcess>(ReplyApprovalProcess.class);
63 return util.exportExcel(list, "replyApprovalProcess"); 68 return util.exportExcel(list, "replyApprovalProcess");
64 } 69 }
trash-workFlow/src/main/java/com/trash/casefile/controller/ViolationCaseFileController.java
@@ -60,6 +60,10 @@ public class ViolationCaseFileController extends BaseController @@ -60,6 +60,10 @@ public class ViolationCaseFileController extends BaseController
60 public AjaxResult export(ViolationCaseFile violationCaseFile) 60 public AjaxResult export(ViolationCaseFile violationCaseFile)
61 { 61 {
62 List<ViolationCaseFile> list = violationCaseFileService.selectViolationCaseFileList(violationCaseFile); 62 List<ViolationCaseFile> list = violationCaseFileService.selectViolationCaseFileList(violationCaseFile);
  63 +
  64 + for(int i = 0;i<list.size();i++){
  65 + list.get(i).setId((long)i+1);
  66 + }
63 ExcelUtil<ViolationCaseFile> util = new ExcelUtil<ViolationCaseFile>(ViolationCaseFile.class); 67 ExcelUtil<ViolationCaseFile> util = new ExcelUtil<ViolationCaseFile>(ViolationCaseFile.class);
64 return util.exportExcel(list, "平台违规案卷数据"); 68 return util.exportExcel(list, "平台违规案卷数据");
65 } 69 }
trash-workFlow/src/main/java/com/trash/casefile/controller/ViolationWarningInformationController.java
@@ -60,6 +60,10 @@ public class ViolationWarningInformationController extends BaseController @@ -60,6 +60,10 @@ public class ViolationWarningInformationController extends BaseController
60 public AjaxResult export(ViolationWarningInformation violationWarningInformation) 60 public AjaxResult export(ViolationWarningInformation violationWarningInformation)
61 { 61 {
62 List<ViolationWarningInformation> list = violationWarningInformationService.selectViolationWarningInformationList(violationWarningInformation); 62 List<ViolationWarningInformation> list = violationWarningInformationService.selectViolationWarningInformationList(violationWarningInformation);
  63 +
  64 + for(int i = 0;i<list.size();i++){
  65 + list.get(i).setId((long)i+1);
  66 + }
63 ExcelUtil<ViolationWarningInformation> util = new ExcelUtil<ViolationWarningInformation>(ViolationWarningInformation.class); 67 ExcelUtil<ViolationWarningInformation> util = new ExcelUtil<ViolationWarningInformation>(ViolationWarningInformation.class);
64 return util.exportExcel(list, "violationWarningInformation"); 68 return util.exportExcel(list, "violationWarningInformation");
65 } 69 }
trash-workFlow/src/main/java/com/trash/office/controller/ConferenceController.java
@@ -56,6 +56,10 @@ public class ConferenceController extends BaseController @@ -56,6 +56,10 @@ public class ConferenceController extends BaseController
56 public AjaxResult export(Conference conference) 56 public AjaxResult export(Conference conference)
57 { 57 {
58 List<Conference> list = conferenceService.selectConferenceList(conference); 58 List<Conference> list = conferenceService.selectConferenceList(conference);
  59 +
  60 + for(int i = 0;i<list.size();i++){
  61 + list.get(i).setId((long)i+1);
  62 + }
59 ExcelUtil<Conference> util = new ExcelUtil<Conference>(Conference.class); 63 ExcelUtil<Conference> util = new ExcelUtil<Conference>(Conference.class);
60 return util.exportExcel(list, "会议管理"); 64 return util.exportExcel(list, "会议管理");
61 } 65 }
trash-workFlow/src/main/java/com/trash/office/controller/ContractManagementController.java
@@ -54,6 +54,10 @@ public class ContractManagementController extends BaseController @@ -54,6 +54,10 @@ public class ContractManagementController extends BaseController
54 public AjaxResult export(ContractManagement contractManagement) 54 public AjaxResult export(ContractManagement contractManagement)
55 { 55 {
56 List<ContractManagement> list = contractManagementService.selectContractManagementList(contractManagement); 56 List<ContractManagement> list = contractManagementService.selectContractManagementList(contractManagement);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 ExcelUtil<ContractManagement> util = new ExcelUtil<ContractManagement>(ContractManagement.class); 61 ExcelUtil<ContractManagement> util = new ExcelUtil<ContractManagement>(ContractManagement.class);
58 return util.exportExcel(list, "合同管理"); 62 return util.exportExcel(list, "合同管理");
59 } 63 }
trash-workFlow/src/main/java/com/trash/office/controller/HandleAffairsCommonController.java
@@ -56,6 +56,10 @@ public class HandleAffairsCommonController extends BaseController @@ -56,6 +56,10 @@ public class HandleAffairsCommonController extends BaseController
56 public AjaxResult export(HandleAffairsCommon handleAffairsCommon) 56 public AjaxResult export(HandleAffairsCommon handleAffairsCommon)
57 { 57 {
58 List<HandleAffairsCommon> list = handleAffairsCommonService.selectHandleAffairsCommonList(handleAffairsCommon); 58 List<HandleAffairsCommon> list = handleAffairsCommonService.selectHandleAffairsCommonList(handleAffairsCommon);
  59 +
  60 + for(int i = 0;i<list.size();i++){
  61 + list.get(i).setId((long)i+1);
  62 + }
59 ExcelUtil<HandleAffairsCommon> util = new ExcelUtil<HandleAffairsCommon>(HandleAffairsCommon.class); 63 ExcelUtil<HandleAffairsCommon> util = new ExcelUtil<HandleAffairsCommon>(HandleAffairsCommon.class);
60 return util.exportExcel(list, "办文办事-普通"); 64 return util.exportExcel(list, "办文办事-普通");
61 } 65 }
trash-workFlow/src/main/java/com/trash/office/controller/HandleAffairsController.java
@@ -54,6 +54,10 @@ public class HandleAffairsController extends BaseController { @@ -54,6 +54,10 @@ public class HandleAffairsController extends BaseController {
54 @GetMapping("/export") 54 @GetMapping("/export")
55 public AjaxResult export(HandleAffairs handleAffairs) { 55 public AjaxResult export(HandleAffairs handleAffairs) {
56 List<HandleAffairs> list = handleAffairsService.selectHandleAffairsList(handleAffairs); 56 List<HandleAffairs> list = handleAffairsService.selectHandleAffairsList(handleAffairs);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 ExcelUtil<HandleAffairs> util = new ExcelUtil<HandleAffairs>(HandleAffairs.class); 61 ExcelUtil<HandleAffairs> util = new ExcelUtil<HandleAffairs>(HandleAffairs.class);
58 return util.exportExcel(list, "办文办事"); 62 return util.exportExcel(list, "办文办事");
59 } 63 }
trash-workFlow/src/main/java/com/trash/office/controller/HandleAffairsXfController.java
@@ -56,6 +56,10 @@ public class HandleAffairsXfController extends BaseController @@ -56,6 +56,10 @@ public class HandleAffairsXfController extends BaseController
56 public AjaxResult export(HandleAffairsXf handleAffairsXf) 56 public AjaxResult export(HandleAffairsXf handleAffairsXf)
57 { 57 {
58 List<HandleAffairsXf> list = handleAffairsXfService.selectHandleAffairsXfList(handleAffairsXf); 58 List<HandleAffairsXf> list = handleAffairsXfService.selectHandleAffairsXfList(handleAffairsXf);
  59 +
  60 + for(int i = 0;i<list.size();i++){
  61 + list.get(i).setId((long)i+1);
  62 + }
59 ExcelUtil<HandleAffairsXf> util = new ExcelUtil<HandleAffairsXf>(HandleAffairsXf.class); 63 ExcelUtil<HandleAffairsXf> util = new ExcelUtil<HandleAffairsXf>(HandleAffairsXf.class);
60 return util.exportExcel(list, "办文办事信访类"); 64 return util.exportExcel(list, "办文办事信访类");
61 } 65 }
trash-workFlow/src/main/java/com/trash/office/controller/LeaveApplicationController.java
@@ -57,6 +57,10 @@ public class LeaveApplicationController extends BaseController @@ -57,6 +57,10 @@ public class LeaveApplicationController extends BaseController
57 public AjaxResult export(LeaveApplication leaveApplication) 57 public AjaxResult export(LeaveApplication leaveApplication)
58 { 58 {
59 List<LeaveApplication> list = leaveApplicationService.selectLeaveApplicationList(leaveApplication); 59 List<LeaveApplication> list = leaveApplicationService.selectLeaveApplicationList(leaveApplication);
  60 +
  61 + for(int i = 0;i<list.size();i++){
  62 + list.get(i).setId((long)i+1);
  63 + }
60 ExcelUtil<LeaveApplication> util = new ExcelUtil<LeaveApplication>(LeaveApplication.class); 64 ExcelUtil<LeaveApplication> util = new ExcelUtil<LeaveApplication>(LeaveApplication.class);
61 return util.exportExcel(list, "请假申请"); 65 return util.exportExcel(list, "请假申请");
62 } 66 }
trash-workFlow/src/main/java/com/trash/office/controller/LogisticsManagementController.java
@@ -58,10 +58,18 @@ public class LogisticsManagementController extends BaseController @@ -58,10 +58,18 @@ public class LogisticsManagementController extends BaseController
58 { 58 {
59 if(logisticsManagement.getType().equals("0")) { 59 if(logisticsManagement.getType().equals("0")) {
60 List<LogisticsManagementSeal> list = logisticsManagementService.selectLogisticsManagementSealList(logisticsManagement); 60 List<LogisticsManagementSeal> list = logisticsManagementService.selectLogisticsManagementSealList(logisticsManagement);
  61 +
  62 + for(int i = 0;i<list.size();i++){
  63 + list.get(i).setId((long)i+1);
  64 + }
61 ExcelUtil<LogisticsManagementSeal> util = new ExcelUtil<>(LogisticsManagementSeal.class); 65 ExcelUtil<LogisticsManagementSeal> util = new ExcelUtil<>(LogisticsManagementSeal.class);
62 return util.exportExcel(list, "后勤管理"); 66 return util.exportExcel(list, "后勤管理");
63 }else{ 67 }else{
64 List<LogisticsManagementGoods> list = logisticsManagementService.selectLogisticsManagementGoodsList(logisticsManagement); 68 List<LogisticsManagementGoods> list = logisticsManagementService.selectLogisticsManagementGoodsList(logisticsManagement);
  69 +
  70 + for(int i = 0;i<list.size();i++){
  71 + list.get(i).setId((long)i+1);
  72 + }
65 ExcelUtil<LogisticsManagementGoods> util = new ExcelUtil<>(LogisticsManagementGoods.class); 73 ExcelUtil<LogisticsManagementGoods> util = new ExcelUtil<>(LogisticsManagementGoods.class);
66 return util.exportExcel(list, "后勤管理"); 74 return util.exportExcel(list, "后勤管理");
67 } 75 }
trash-workFlow/src/main/java/com/trash/other/controller/OtherDataController.java
@@ -54,6 +54,10 @@ public class OtherDataController extends BaseController @@ -54,6 +54,10 @@ public class OtherDataController extends BaseController
54 public AjaxResult export(OtherData otherData) 54 public AjaxResult export(OtherData otherData)
55 { 55 {
56 List<OtherData> list = otherDataService.selectOtherDataList(otherData); 56 List<OtherData> list = otherDataService.selectOtherDataList(otherData);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 ExcelUtil<OtherData> util = new ExcelUtil<OtherData>(OtherData.class); 61 ExcelUtil<OtherData> util = new ExcelUtil<OtherData>(OtherData.class);
58 return util.exportExcel(list, "otherData"); 62 return util.exportExcel(list, "otherData");
59 } 63 }
trash-workFlow/src/main/java/com/trash/other/controller/ProjectCheckController.java
@@ -54,6 +54,10 @@ public class ProjectCheckController extends BaseController @@ -54,6 +54,10 @@ public class ProjectCheckController extends BaseController
54 public AjaxResult export(ProjectCheck projectCheck) 54 public AjaxResult export(ProjectCheck projectCheck)
55 { 55 {
56 List<ProjectCheck> list = projectCheckService.selectProjectCheckList(projectCheck); 56 List<ProjectCheck> list = projectCheckService.selectProjectCheckList(projectCheck);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 ExcelUtil<ProjectCheck> util = new ExcelUtil<ProjectCheck>(ProjectCheck.class); 61 ExcelUtil<ProjectCheck> util = new ExcelUtil<ProjectCheck>(ProjectCheck.class);
58 return util.exportExcel(list, "projectCheck"); 62 return util.exportExcel(list, "projectCheck");
59 } 63 }
trash-workFlow/src/main/java/com/trash/other/controller/TrashDataController.java
@@ -54,6 +54,10 @@ public class TrashDataController extends BaseController @@ -54,6 +54,10 @@ public class TrashDataController extends BaseController
54 public AjaxResult export(TrashData trashData) 54 public AjaxResult export(TrashData trashData)
55 { 55 {
56 List<TrashData> list = trashDataService.selectTrashDataList(trashData); 56 List<TrashData> list = trashDataService.selectTrashDataList(trashData);
  57 +
  58 + for(int i = 0;i<list.size();i++){
  59 + list.get(i).setId((long)i+1);
  60 + }
57 for(TrashData data:list){ 61 for(TrashData data:list){
58 data.setSeason(data.getYear() + data.getSeason()); 62 data.setSeason(data.getYear() + data.getSeason());
59 String per = ((data.getParam3() / data.getParam1()) * 100) + "%"; 63 String per = ((data.getParam3() / data.getParam1()) * 100) + "%";