浏览代码

Merge branch 'master' of http://101.42.248.108:3000/wangyu/post-check-web

郭浩 6 月之前
父节点
当前提交
05363351b6

+ 5 - 5
src/views/examineCompetition/assessment/index.vue

@@ -175,7 +175,7 @@ export default {
175 175
         serviceType: 'assessment_rating_other_1'
176 176
       },
177 177
       userId: '',
178
-      isDisplay: true
178
+      isDisplay: false
179 179
     }
180 180
   },
181 181
 
@@ -304,11 +304,11 @@ export default {
304 304
     look(row) {
305 305
       if (this.queryParams.type === 1) {
306 306
         this.$router.push(
307
-          `/examineCompetition/ruleManagement/assessmentEditOrLook?id=${row.id}&type=1`
307
+          `/examineCompetition/assessmentEditOrLook?id=${row.id}&type=1`
308 308
         )
309 309
       } else {
310 310
         this.$router.push(
311
-          `/examineCompetition/ruleManagement/produceScore?id=${row.id}&type=1`
311
+          `/examineCompetition/produceScore?id=${row.id}&type=1`
312 312
         )
313 313
       }
314 314
     },
@@ -316,11 +316,11 @@ export default {
316 316
     edit(row) {
317 317
       if (this.queryParams.type === 1) {
318 318
         this.$router.push(
319
-          `/examineCompetition/ruleManagement/assessmentEditOrLook?id=${row.id}&type=2`
319
+          `/examineCompetition/assessmentEditOrLook?id=${row.id}&type=2`
320 320
         )
321 321
       } else {
322 322
         this.$router.push(
323
-          `/examineCompetition/ruleManagement/produceScore?id=${row.id}&type=2`
323
+          `/examineCompetition/produceScore?id=${row.id}&type=2`
324 324
         )
325 325
       }
326 326
     },

+ 5 - 5
src/views/examineCompetition/assessment/produce.vue

@@ -188,7 +188,7 @@ export default {
188 188
         serviceType: 'assessment_rating_other_2'
189 189
       },
190 190
       userId: '',
191
-      isDisplay: true
191
+      isDisplay: false
192 192
     }
193 193
   },
194 194
 
@@ -315,11 +315,11 @@ export default {
315 315
     look(row) {
316 316
       if (this.queryParams.type === 1) {
317 317
         this.$router.push(
318
-          `/examineCompetition/ruleManagement/assessmentEditOrLook?id=${row.id}&type=1`
318
+          `/examineCompetition/assessmentEditOrLook?id=${row.id}&type=1`
319 319
         )
320 320
       } else {
321 321
         this.$router.push(
322
-          `/examineCompetition/ruleManagement/produceScore?id=${row.id}&type=1`
322
+          `/examineCompetition/produceScore?id=${row.id}&type=1`
323 323
         )
324 324
       }
325 325
     },
@@ -327,11 +327,11 @@ export default {
327 327
     edit(row) {
328 328
       if (this.queryParams.type === 1) {
329 329
         this.$router.push(
330
-          `/examineCompetition/ruleManagement/assessmentEditOrLook?id=${row.id}&type=2`
330
+          `/examineCompetition/assessmentEditOrLook?id=${row.id}&type=2`
331 331
         )
332 332
       } else {
333 333
         this.$router.push(
334
-          `/examineCompetition/ruleManagement/produceScore?id=${row.id}&type=2`
334
+          `/examineCompetition/produceScore?id=${row.id}&type=2`
335 335
         )
336 336
       }
337 337
     },

+ 2 - 2
src/views/home/centerBottom.vue

@@ -46,7 +46,7 @@
46 46
         <!--<el-table-column label="问题整改率" align="center" prop="problemRectificationRate">-->
47 47
         <el-table-column label="整改率" align="center" prop="problemRectificationRate">
48 48
            <template #default="{ row }">
49
-              {{ row.problemRectificationRate? (Math.floor(row.problemRectificationRate) * 100) + '%': ''}}
49
+              {{ row.problemRectificationRate? (row.problemRectificationRate) * 100 + '%': ''}}
50 50
           </template>
51 51
         </el-table-column>
52 52
       </el-table>
@@ -73,7 +73,7 @@
73 73
         </el-table-column>
74 74
         <el-table-column label="问题整改率" align="center" prop="problemRectificationRate" show-overflow-tooltip>
75 75
            <template #default="{ row }">
76
-              {{ row.problemRectificationRate? Math.floor(row.problemRectificationRate) * 100 + '%': ''}}
76
+              {{ row.problemRectificationRate? row.problemRectificationRate * 100 + '%': ''}}
77 77
           </template>
78 78
         </el-table-column>
79 79
     </el-table>

+ 6 - 6
src/views/home/rightBottom.vue

@@ -137,9 +137,9 @@ export default {
137 137
           return [
138 138
             item.rating,
139 139
             item.deptName,
140
-            Math.floor(item.postScore),
141
-            Math.floor(item.deptScore),
142
-            Math.floor(item.score)
140
+            item.postScore * 1,
141
+            item.deptScore * 1,
142
+            item.score * 1
143 143
           ]
144 144
         })
145 145
         this.config = Object.assign({}, this.config)
@@ -155,9 +155,9 @@ export default {
155 155
           return [
156 156
             item.rating,
157 157
             item.deptName,
158
-            Math.floor(item.postScore),
159
-            Math.floor(item.deptScore),
160
-            Math.floor(item.score)
158
+            item.postScore * 1,
159
+            item.deptScore * 1,
160
+            item.score * 1
161 161
           ]
162 162
         })
163 163
         this.config = Object.assign({}, this.config)

+ 39 - 28
src/views/jobinspectionHistory/jobinspectionProblem/index.vue

@@ -176,6 +176,22 @@
176 176
           }}</span>
177 177
         </template>
178 178
       </el-table-column>
179
+
180
+      <el-table-column
181
+        label="整改责任人"
182
+        align="center"
183
+        show-overflow-tooltip
184
+        width="150"
185
+      >
186
+        <template slot-scope="scope">
187
+          <span>{{
188
+              scope.row.rectificationResponsibleName
189
+                ? scope.row.rectificationResponsibleName
190
+                : '--'
191
+            }}</span>
192
+        </template>
193
+      </el-table-column>
194
+
179 195
       <el-table-column
180 196
         label="问题原因"
181 197
         align="center"
@@ -189,7 +205,7 @@
189 205
         </template>
190 206
       </el-table-column>
191 207
       <el-table-column
192
-        label="是否立立改问题"
208
+        label="是否立立改问题"
193 209
         align="center"
194 210
         show-overflow-tooltip
195 211
       >
@@ -198,7 +214,7 @@
198 214
         </template>
199 215
       </el-table-column>
200 216
       <el-table-column
201
-        label="整改措施"
217
+        label="整改措施/建议"
202 218
         align="center"
203 219
         show-overflow-tooltip
204 220
         width="200"
@@ -211,20 +227,9 @@
211 227
           }}</span>
212 228
         </template>
213 229
       </el-table-column>
214
-      <el-table-column
215
-        label="整改责任人"
216
-        align="center"
217
-        show-overflow-tooltip
218
-        width="150"
219
-      >
220
-        <template slot-scope="scope">
221
-          <span>{{
222
-            scope.row.rectificationResponsibleName
223
-              ? scope.row.rectificationResponsibleName
224
-              : '--'
225
-          }}</span>
226
-        </template>
227
-      </el-table-column>
230
+
231
+
232
+
228 233
       <el-table-column
229 234
         label="整改期限"
230 235
         align="center"
@@ -240,7 +245,7 @@
240 245
       <el-table-column label="整改情况" align="center" show-overflow-tooltip>
241 246
         <template slot-scope="scope">
242 247
           <span>{{
243
-            scope.row.isRectificationCompleted == 1 ? '已完成' : '未完成'
248
+            scope.row.isRectificationCompleted == 1 ? '是' : '否'
244 249
           }}</span>
245 250
         </template>
246 251
       </el-table-column>
@@ -258,15 +263,8 @@
258 263
           }}</span>
259 264
         </template>
260 265
       </el-table-column>
261
-      <el-table-column label="整改记录" align="center" width="200" show-overflow-tooltip>
262
-        <template slot-scope="scope">
263
-          <span>{{
264
-            scope.row.postCheckedProblemRecord
265
-              ? scope.row.postCheckedProblemRecord
266
-              : '--'
267
-          }}</span>
268
-        </template>
269
-      </el-table-column>
266
+
267
+
270 268
       <el-table-column label="部门审核人" align="center" width="120" show-overflow-tooltip>
271 269
         <template slot-scope="scope">
272 270
           <span>{{
@@ -285,6 +283,7 @@
285 283
           }}</span>
286 284
         </template>
287 285
       </el-table-column>
286
+
288 287
       <el-table-column label="专业部门审核人" align="center" width="120" show-overflow-tooltip>
289 288
         <template slot-scope="scope">
290 289
           <span>{{
@@ -303,11 +302,12 @@
303 302
           }}</span>
304 303
         </template>
305 304
       </el-table-column>
305
+
306 306
       <el-table-column label="复查人" align="center" width="120" show-overflow-tooltip>
307 307
         <template slot-scope="scope">
308 308
           <span>{{
309
-            scope.row.reviewDepartmentReviewerUserName
310
-              ? scope.row.reviewDepartmentReviewerUserName
309
+            scope.row.reviewDepartmentReviewerName
310
+              ? scope.row.reviewDepartmentReviewerName
311 311
               : '--'
312 312
           }}</span>
313 313
         </template>
@@ -338,6 +338,17 @@
338 338
           }}</span>
339 339
         </template>
340 340
       </el-table-column>
341
+
342
+      <el-table-column label="整改记录" align="center" width="200" show-overflow-tooltip>
343
+        <template slot-scope="scope">
344
+          <span>{{
345
+              scope.row.postCheckedProblemRecord
346
+                ? scope.row.postCheckedProblemRecord
347
+                : '--'
348
+            }}</span>
349
+        </template>
350
+      </el-table-column>
351
+
341 352
       <el-table-column
342 353
         label="操作"
343 354
         align="center"

+ 1 - 1
src/views/postInspectionPlanning/planManagement/jobPlanLook.vue

@@ -2,7 +2,7 @@
2 2
   <div class="app-container">
3 3
     <calendar ref="postPlan" :eventsTime="eventsTime" @initList="getList" />
4 4
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
5
-      <el-form-item label="->受检部门:">
5
+      <el-form-item label="受检部门:">
6 6
         <el-cascader
7 7
           v-model="queryParams.checkedDeptId"
8 8
           :options="deptTreeList"

+ 3 - 1
src/views/postResponsibility/inventoryRelease/index.vue

@@ -105,7 +105,7 @@
105 105
           }}</span>
106 106
         </template>
107 107
       </el-table-column>
108
-      <el-table-column label="是否通过" align="center" show-overflow-tooltip>
108
+      <el-table-column label="状态" align="center" show-overflow-tooltip>
109 109
         <template slot-scope="scope">
110 110
           <span>{{ initStatus(scope.row.status) }}</span>
111 111
         </template>
@@ -200,6 +200,8 @@ export default {
200 200
     },
201 201
     initStatus(val) {
202 202
       switch (val) {
203
+        case 0:
204
+          return '待提交'
203 205
         case 1:
204 206
           return '待审核'
205 207
         case 2:

+ 2 - 1
src/views/postResponsibility/inventoryReview/index.vue

@@ -173,6 +173,7 @@ export default {
173 173
   data() {
174 174
     return {
175 175
       queryParams: {
176
+        statusList: [1,2,3,4], //待审核、审核中、审核通过、驳回
176 177
         postName: '',
177 178
         pageNum: 1,
178 179
         pageSize: 10
@@ -342,4 +343,4 @@ export default {
342 343
 </script>
343 344
 
344 345
 <style lang="scss" scoped>
345
-</style>
346
+</style>

+ 27 - 8
src/views/postResponsibility/postResponsibilityOrganization/addDialog.vue

@@ -73,13 +73,32 @@
73 73
                   placeholder="请选择岗位级别:"
74 74
                   style="width: 200px"
75 75
                 >
76
-                  <el-option label="M1" value="M1"></el-option>
77
-                  <el-option label="M2" value="M2"></el-option>
78
-                  <el-option label="M3" value="M3"></el-option>
79
-                  <el-option label="M4" value="M4"></el-option>
80
-                  <el-option label="M5" value="M5"></el-option>
81
-                  <el-option label="M6" value="M6"></el-option>
82 76
                   <el-option label="M7" value="M7"></el-option>
77
+                  <el-option label="M8" value="M8"></el-option>
78
+                  <el-option label="M9" value="M9"></el-option>
79
+                  <el-option label="M10" value="M10"></el-option>
80
+                  <el-option label="T5" value="T5"></el-option>
81
+                  <el-option label="T6" value="T6"></el-option>
82
+                  <el-option label="T7" value="T7"></el-option>
83
+                  <el-option label="T8" value="T8"></el-option>
84
+                  <el-option label="B1" value="B1"></el-option>
85
+                  <el-option label="B2" value="B2"></el-option>
86
+                  <el-option label="B3" value="B3"></el-option>
87
+                  <el-option label="B4" value="B4"></el-option>
88
+                  <el-option label="B5" value="B5"></el-option>
89
+                  <el-option label="B6" value="B6"></el-option>
90
+                  <el-option label="B7" value="B7"></el-option>
91
+                  <el-option label="B8" value="B8"></el-option>
92
+                  <el-option label="B9" value="B9"></el-option>
93
+                  <el-option label="B10" value="B10"></el-option>
94
+                  <el-option label="W5" value="W5"></el-option>
95
+                  <el-option label="W6" value="W6"></el-option>
96
+                  <el-option label="W7" value="W7"></el-option>
97
+                  <el-option label="W8" value="W8"></el-option>
98
+                  <el-option label="W9" value="W9"></el-option>
99
+                  <el-option label="W10" value="W10"></el-option>
100
+                  <el-option label="W11" value="W11"></el-option>
101
+                  <el-option label="W12" value="W12"></el-option>
83 102
                 </el-select>
84 103
               </el-form-item>
85 104
               <el-form-item label="是否涉密" prop="isConfidential">
@@ -551,7 +570,7 @@ export default {
551 570
         positionLevel: '',
552 571
         positionArr: [],
553 572
         children:[],
554
-        isConfidential: "",
573
+        isConfidential: "",
555 574
         subordinateCount: null,
556 575
         positionCode: '',
557 576
         directSuperior: '',
@@ -923,4 +942,4 @@ export default {
923 942
     align-items: center;
924 943
   }
925 944
 }
926
-</style>
945
+</style>

+ 9 - 11
src/views/postResponsibility/postResponsibilityOrganization/index.vue

@@ -62,7 +62,7 @@
62 62
         <el-button type="primary" @click="doAdd(`新建`, 0)">新建</el-button>
63 63
       </el-col>
64 64
       <el-col :span="1.5">
65
-        <el-button @click="importWen = true">批量导入</el-button>
65
+        <el-button type="primary" @click="importWen = true">批量导入</el-button>
66 66
       </el-col>
67 67
     </el-row>
68 68
 
@@ -143,7 +143,7 @@
143 143
           }}</span>
144 144
         </template>
145 145
       </el-table-column>
146
-      <el-table-column label="是否通过" align="center" show-overflow-tooltip>
146
+      <el-table-column label="状态" align="center" show-overflow-tooltip>
147 147
         <template slot-scope="scope">
148 148
           <span>{{ initStatus(scope.row.status) }}</span>
149 149
         </template>
@@ -193,11 +193,12 @@
193 193
     <el-dialog
194 194
       v-dialogDrag
195 195
       v-loading="loading"
196
+      v-if="importWen"
196 197
       title="批量导入"
197 198
       :visible.sync="importWen"
198 199
       width="40%"
199 200
       :close-on-click-modal="false"
200
-      @closed="cancelCredent"
201
+      :before-close="cancelCredent"
201 202
     >
202 203
       <el-row>
203 204
         <el-col :span="24">
@@ -355,6 +356,8 @@ export default {
355 356
     },
356 357
     initStatus(val) {
357 358
       switch (val) {
359
+        case 0:
360
+          return '待提交'
358 361
         case 1:
359 362
           return '待审核'
360 363
         case 2:
@@ -397,16 +400,11 @@ export default {
397 400
     // 导入证件文件取消按钮
398 401
     cancelCredent() {
399 402
       this.importWen = false
403
+      this.uploadList = []
400 404
       this.fileList = []
401 405
       // 清除上传的文件数据
402 406
       this.$refs.upload.clearFiles()
403 407
     },
404
-    // 导入证件文件取消按钮
405
-    cancelCredent() {
406
-      this.importWen = false
407
-      // 清除上传的文件数据
408
-      this.$refs.upload.clearFiles()
409
-    },
410 408
     async confirmCredent() {
411 409
       if (this.uploadList.length === 0) return this.$message.error('文件必传')
412 410
       // 调用上传文件接口
@@ -418,7 +416,7 @@ export default {
418 416
         this.getList()
419 417
         this.fileList = []
420 418
         this.uploadList = []
421
-      
419
+
422 420
     },
423 421
     // 文件上传前
424 422
     async uploadHttpRequest1(response, file, fileList) {
@@ -516,4 +514,4 @@ export default {
516 514
 </script>
517 515
 
518 516
 <style lang="scss" scoped>
519
-</style>
517
+</style>

+ 1 - 1
src/views/statisticAnalysis/AtopForm.vue

@@ -87,7 +87,7 @@
87 87
       <el-table-column label="整改率" align="center" show-overflow-tooltip>
88 88
         <template slot-scope="scope">
89 89
           <span>{{
90
-            scope.row.rate ? formatNumber(scope.row.rate) : '0%'
90
+            scope.row.rate ? formatNumber(scope.row.rate) * 100 + '%' : '0%'
91 91
           }}</span>
92 92
         </template>
93 93
       </el-table-column>

+ 3 - 2
src/views/statisticAnalysis/problemStatistics/leftZhu.vue

@@ -66,7 +66,8 @@ export default {
66 66
     initTopLeftChartEcharts() {
67 67
       const option = {
68 68
         title: {
69
-          text: '岗检问题级别占比',
69
+          // text: '岗检问题级别占比',
70
+          text: '岗检问题属性整改占比',
70 71
           left: 'center'
71 72
         },
72 73
         //格式化提示
@@ -113,4 +114,4 @@ export default {
113 114
     }
114 115
   }
115 116
 }
116
-</script>
117
+</script>

+ 1 - 1
src/views/statisticAnalysis/topRigthChart.vue

@@ -136,4 +136,4 @@ export default {
136 136
 </script>
137 137
 
138 138
 <style lang="scss" scoped>
139
-</style>
139
+</style>

+ 8 - 1
src/views/system/dept/index.vue

@@ -24,7 +24,7 @@
24 24
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
25 25
       </el-form-item>
26 26
     </el-form>
27
-
27
+    <!--
28 28
     <el-row :gutter="10" class="mb8">
29 29
       <el-col :span="1.5">
30 30
         <el-button
@@ -47,6 +47,7 @@
47 47
       </el-col>
48 48
       <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
49 49
     </el-row>
50
+    -->
50 51
 
51 52
     <el-table
52 53
       v-if="refreshTable"
@@ -86,6 +87,7 @@
86 87
             @click="handleUpdate(scope.row)"
87 88
             v-hasPermi="['system:dept:edit']"
88 89
           >修改</el-button>
90
+          <!--
89 91
           <el-button
90 92
             size="mini"
91 93
             type="text"
@@ -101,6 +103,7 @@
101 103
             @click="handleDelete(scope.row)"
102 104
             v-hasPermi="['system:dept:remove']"
103 105
           >删除</el-button>
106
+          -->
104 107
         </template>
105 108
       </el-table-column>
106 109
     </el-table>
@@ -166,12 +169,15 @@
166 169
               <el-input-number v-model="form.orderNum" controls-position="right" :min="0" />
167 170
             </el-form-item>
168 171
           </el-col>
172
+          <!--
169 173
           <el-col :span="12">
170 174
             <el-form-item label="负责人" prop="leader">
171 175
               <el-input v-model="form.leader" placeholder="请输入负责人" maxlength="20" />
172 176
             </el-form-item>
173 177
           </el-col>
178
+          -->
174 179
         </el-row>
180
+        <!--
175 181
         <el-row>
176 182
           <el-col :span="12">
177 183
             <el-form-item label="联系电话" prop="phone">
@@ -185,6 +191,7 @@
185 191
           </el-col>
186 192
         </el-row>
187 193
         <el-row>
194
+        -->
188 195
           <!--<el-col :span="12">
189 196
             <el-form-item label="部门状态">
190 197
               <el-radio-group v-model="form.status">

+ 1 - 1
src/views/system/post/index.vue

@@ -170,7 +170,7 @@
170 170
       :visible.sync="importWen"
171 171
       width="40%"
172 172
       :close-on-click-modal="false"
173
-      @closed="cancelCredent"
173
+      :before-close="cancelCredent"
174 174
     >
175 175
       <el-row>
176 176
         <el-col :span="24">