huoyi 1 месяц назад
Родитель
Сommit
33cf1a1987

+ 21 - 2
src/views/blockingData/blockingDataScreen/components/ModuleBrigadeOne.vue

@@ -255,13 +255,30 @@ const horizontalBarChartOption = (data, color) => ({
255
 })
255
 })
256
 
256
 
257
 const barLineChartOption = (xAxisData, barData, lineData) => ({
257
 const barLineChartOption = (xAxisData, barData, lineData) => ({
258
-  grid: { left: '10%', top: '15%', right: '5%', bottom: '15%', containLabel: true },
258
+  grid: { left: '10%', top: '15%', right: '10%', bottom: '15%', containLabel: true },
259
   tooltip: {
259
   tooltip: {
260
     trigger: 'axis',
260
     trigger: 'axis',
261
     axisPointer: { type: 'cross' }
261
     axisPointer: { type: 'cross' }
262
   },
262
   },
263
   xAxis: { type: 'category', data: xAxisData, axisLine: { lineStyle: { color: '#999' } }, axisLabel: { fontSize: 10, color: '#666' } },
263
   xAxis: { type: 'category', data: xAxisData, axisLine: { lineStyle: { color: '#999' } }, axisLabel: { fontSize: 10, color: '#666' } },
264
-  yAxis: { type: 'value', axisLine: { lineStyle: { color: '#999' } }, axisLabel: { fontSize: 10, color: '#666' }, splitLine: { lineStyle: { color: '#eee' } } },
264
+  yAxis: [
265
+    {
266
+      type: 'value',
267
+      name: '行李数',
268
+      position: 'left',
269
+      axisLine: { lineStyle: { color: '#3b82f6' } },
270
+      axisLabel: { fontSize: 10, color: '#3b82f6' },
271
+      splitLine: { lineStyle: { color: '#eee' } }
272
+    },
273
+    {
274
+      type: 'value',
275
+      name: '查堵件数',
276
+      position: 'right',
277
+      axisLine: { lineStyle: { color: '#ec4899' } },
278
+      axisLabel: { fontSize: 10, color: '#ec4899' },
279
+      splitLine: { show: false }
280
+    }
281
+  ],
265
   legend: {
282
   legend: {
266
     data: ['平均过检行李数', '平均查堵件数'],
283
     data: ['平均过检行李数', '平均查堵件数'],
267
     top: '0%',
284
     top: '0%',
@@ -271,6 +288,7 @@ const barLineChartOption = (xAxisData, barData, lineData) => ({
271
     {
288
     {
272
       name: '平均过检行李数',
289
       name: '平均过检行李数',
273
       type: 'bar',
290
       type: 'bar',
291
+      yAxisIndex: 0,
274
       data: barData,
292
       data: barData,
275
       itemStyle: { color: '#3b82f6' },
293
       itemStyle: { color: '#3b82f6' },
276
       barWidth: 20,
294
       barWidth: 20,
@@ -279,6 +297,7 @@ const barLineChartOption = (xAxisData, barData, lineData) => ({
279
     {
297
     {
280
       name: '平均查堵件数',
298
       name: '平均查堵件数',
281
       type: 'line',
299
       type: 'line',
300
+      yAxisIndex: 1,
282
       smooth: true,
301
       smooth: true,
283
       symbol: 'circle',
302
       symbol: 'circle',
284
       symbolSize: 6,
303
       symbolSize: 6,

+ 6 - 6
src/views/blockingData/dailyLuggageCheckInList/index.vue

@@ -19,19 +19,19 @@
19
     <el-row :gutter="10" class="mb8">
19
     <el-row :gutter="10" class="mb8">
20
       <el-col :span="1.5">
20
       <el-col :span="1.5">
21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
22
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:add']">新增</el-button>
22
+          v-hasPermi="['blocked:daily:add']">新增</el-button>
23
       </el-col>
23
       </el-col>
24
       <el-col :span="1.5">
24
       <el-col :span="1.5">
25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
26
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:remove']">删除</el-button>
26
+          v-hasPermi="['blocked:daily:remove']">删除</el-button>
27
       </el-col>
27
       </el-col>
28
       <el-col :span="1.5">
28
       <el-col :span="1.5">
29
         <el-button type="warning" plain icon="Download" @click="handleExport"
29
         <el-button type="warning" plain icon="Download" @click="handleExport"
30
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:export']">导出</el-button>
30
+          v-hasPermi="['blocked:daily:export']">导出</el-button>
31
       </el-col>
31
       </el-col>
32
       <el-col :span="1.5">
32
       <el-col :span="1.5">
33
         <el-button type="info" plain icon="Upload" @click="handleImport"
33
         <el-button type="info" plain icon="Upload" @click="handleImport"
34
-          v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:import']">导入</el-button>
34
+          v-hasPermi="['blocked:daily:import']">导入</el-button>
35
       </el-col>
35
       </el-col>
36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
37
     </el-row>
37
     </el-row>
@@ -72,9 +72,9 @@
72
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
72
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
73
         <template #default="scope">
73
         <template #default="scope">
74
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
74
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
75
-            v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:edit']">修改</el-button>
75
+            v-hasPermi="['blocked:daily:edit']">修改</el-button>
76
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
76
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
77
-            v-hasPermi="['dailyLuggageCheckIn:dailyLuggageCheckIn:remove']">删除</el-button>
77
+            v-hasPermi="['blocked:daily:remove']">删除</el-button>
78
         </template>
78
         </template>
79
       </el-table-column>
79
       </el-table-column>
80
     </el-table>
80
     </el-table>

+ 6 - 6
src/views/blockingData/dailyLuggageInspectionScheduleByTime/index.vue

@@ -19,19 +19,19 @@
19
     <el-row :gutter="10" class="mb8">
19
     <el-row :gutter="10" class="mb8">
20
       <el-col :span="1.5">
20
       <el-col :span="1.5">
21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
21
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
22
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:add']">新增</el-button>
22
+          v-hasPermi="['blocked:pieceDaily:add']">新增</el-button>
23
       </el-col>
23
       </el-col>
24
       <el-col :span="1.5">
24
       <el-col :span="1.5">
25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
25
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
26
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:remove']">删除</el-button>
26
+          v-hasPermi="['blocked:pieceDaily:remove']">删除</el-button>
27
       </el-col>
27
       </el-col>
28
       <el-col :span="1.5">
28
       <el-col :span="1.5">
29
         <el-button type="warning" plain icon="Download" @click="handleExport"
29
         <el-button type="warning" plain icon="Download" @click="handleExport"
30
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:export']">导出</el-button>
30
+          v-hasPermi="['blocked:pieceDaily:export']">导出</el-button>
31
       </el-col>
31
       </el-col>
32
       <el-col :span="1.5">
32
       <el-col :span="1.5">
33
         <el-button type="info" plain icon="Upload" @click="handleImport"
33
         <el-button type="info" plain icon="Upload" @click="handleImport"
34
-          v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:import']">导入</el-button>
34
+          v-hasPermi="['blocked:pieceDaily:import']">导入</el-button>
35
       </el-col>
35
       </el-col>
36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
36
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
37
     </el-row>
37
     </el-row>
@@ -57,9 +57,9 @@
57
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140">
57
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140">
58
         <template #default="scope">
58
         <template #default="scope">
59
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
59
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
60
-            v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:edit']">修改</el-button>
60
+            v-hasPermi="['blocked:pieceDaily:edit']">修改</el-button>
61
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
61
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
62
-            v-hasPermi="['dailyLuggageInspectionScheduleByTime:dailyLuggageInspectionScheduleByTime:remove']">删除</el-button>
62
+            v-hasPermi="['blocked:pieceDaily:remove']">删除</el-button>
63
         </template>
63
         </template>
64
       </el-table-column>
64
       </el-table-column>
65
     </el-table>
65
     </el-table>

+ 55 - 52
src/views/blockingData/missedInspectionList/index.vue

@@ -41,19 +41,19 @@
41
     <el-row :gutter="10" class="mb8">
41
     <el-row :gutter="10" class="mb8">
42
       <el-col :span="1.5">
42
       <el-col :span="1.5">
43
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
43
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
44
-          v-hasPermi="['missedInspection:missedInspection:add']">新增</el-button>
44
+          v-hasPermi="['blocked:missReview:add']">新增</el-button>
45
       </el-col>
45
       </el-col>
46
       <el-col :span="1.5">
46
       <el-col :span="1.5">
47
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
47
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
48
-          v-hasPermi="['missedInspection:missedInspection:remove']">删除</el-button>
48
+          v-hasPermi="['blocked:missReview:remove']">删除</el-button>
49
       </el-col>
49
       </el-col>
50
       <el-col :span="1.5">
50
       <el-col :span="1.5">
51
         <el-button type="warning" plain icon="Download" @click="handleExport"
51
         <el-button type="warning" plain icon="Download" @click="handleExport"
52
-          v-hasPermi="['missedInspection:missedInspection:export']">导出</el-button>
52
+          v-hasPermi="['blocked:missReview:export']">导出</el-button>
53
       </el-col>
53
       </el-col>
54
       <el-col :span="1.5">
54
       <el-col :span="1.5">
55
         <el-button type="info" plain icon="Upload" @click="handleImport"
55
         <el-button type="info" plain icon="Upload" @click="handleImport"
56
-          v-hasPermi="['missedInspection:missedInspection:import']">导入</el-button>
56
+          v-hasPermi="['blocked:missReview:import']">导入</el-button>
57
       </el-col>
57
       </el-col>
58
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
58
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
59
     </el-row>
59
     </el-row>
@@ -90,9 +90,9 @@
90
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
90
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="140" fixed="right">
91
         <template #default="scope">
91
         <template #default="scope">
92
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
92
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
93
-            v-hasPermi="['missedInspection:missedInspection:edit']">修改</el-button>
93
+            v-hasPermi="['blocked:missReview:edit']">修改</el-button>
94
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
94
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
95
-            v-hasPermi="['missedInspection:missedInspection:remove']">删除</el-button>
95
+            v-hasPermi="['blocked:missReview:remove']">删除</el-button>
96
         </template>
96
         </template>
97
       </el-table-column>
97
       </el-table-column>
98
     </el-table>
98
     </el-table>
@@ -112,15 +112,6 @@
112
             </el-form-item>
112
             </el-form-item>
113
           </el-col>
113
           </el-col>
114
           <el-col :span="12">
114
           <el-col :span="12">
115
-            <el-form-item label="航站楼" prop="terminalId">
116
-              <el-select v-model="form.terminalId" placeholder="请选择航站楼" filterable style="width: 100%">
117
-                <el-option v-for="item in channelOptions" :key="item.id" :label="item.name" :value="item.id" />
118
-              </el-select>
119
-            </el-form-item>
120
-          </el-col>
121
-        </el-row>
122
-        <el-row :gutter="20">
123
-          <el-col :span="12">
124
             <el-form-item label="被回查人" prop="reviewedUserId">
115
             <el-form-item label="被回查人" prop="reviewedUserId">
125
               <el-select v-model="form.reviewedUserId" placeholder="请选择被回查人" filterable style="width: 100%"
116
               <el-select v-model="form.reviewedUserId" placeholder="请选择被回查人" filterable style="width: 100%"
126
                 @change="handleReviewedUserChange">
117
                 @change="handleReviewedUserChange">
@@ -128,20 +119,31 @@
128
               </el-select>
119
               </el-select>
129
             </el-form-item>
120
             </el-form-item>
130
           </el-col>
121
           </el-col>
122
+          <!-- <el-col :span="12">
123
+            <el-form-item label="航站楼" prop="terminalId">
124
+              <el-select v-model="form.terminalId" placeholder="请选择航站楼" filterable style="width: 100%">
125
+                <el-option v-for="item in channelOptions" :key="item.id" :label="item.name" :value="item.id" />
126
+              </el-select>
127
+            </el-form-item>
128
+          </el-col> -->
129
+        </el-row>
130
+        <el-row :gutter="20">
131
+
131
           <el-col :span="12">
132
           <el-col :span="12">
132
             <el-form-item label="回查日期" prop="reviewDate">
133
             <el-form-item label="回查日期" prop="reviewDate">
133
               <el-date-picker v-model="form.reviewDate" type="date" placeholder="选择回查日期" value-format="YYYY-MM-DD"
134
               <el-date-picker v-model="form.reviewDate" type="date" placeholder="选择回查日期" value-format="YYYY-MM-DD"
134
                 style="width: 100%" />
135
                 style="width: 100%" />
135
             </el-form-item>
136
             </el-form-item>
136
           </el-col>
137
           </el-col>
137
-        </el-row>
138
-        <el-row :gutter="20">
139
           <el-col :span="12">
138
           <el-col :span="12">
140
             <el-form-item label="漏检时间" prop="missCheckTime">
139
             <el-form-item label="漏检时间" prop="missCheckTime">
141
               <el-date-picker v-model="form.missCheckTime" type="datetime" placeholder="请选择漏检时间"
140
               <el-date-picker v-model="form.missCheckTime" type="datetime" placeholder="请选择漏检时间"
142
                 value-format="YYYY-MM-DD HH:mm" style="width: 100%" />
141
                 value-format="YYYY-MM-DD HH:mm" style="width: 100%" />
143
             </el-form-item>
142
             </el-form-item>
144
           </el-col>
143
           </el-col>
144
+        </el-row>
145
+        <el-row :gutter="20">
146
+
145
           <el-col :span="12">
147
           <el-col :span="12">
146
             <el-form-item label="漏检时间段" prop="missCheckTimePeriod">
148
             <el-form-item label="漏检时间段" prop="missCheckTimePeriod">
147
               <el-select v-model="form.missCheckTimePeriod" placeholder="请选择漏检时间段" filterable style="width: 100%">
149
               <el-select v-model="form.missCheckTimePeriod" placeholder="请选择漏检时间段" filterable style="width: 100%">
@@ -150,8 +152,6 @@
150
               </el-select>
152
               </el-select>
151
             </el-form-item>
153
             </el-form-item>
152
           </el-col>
154
           </el-col>
153
-        </el-row>
154
-        <el-row :gutter="20">
155
           <el-col :span="12">
155
           <el-col :span="12">
156
             <el-form-item label="上岗位置" prop="channelId">
156
             <el-form-item label="上岗位置" prop="channelId">
157
               <el-select v-model="form.channelId" placeholder="请选择上岗位置" filterable style="width: 100%">
157
               <el-select v-model="form.channelId" placeholder="请选择上岗位置" filterable style="width: 100%">
@@ -159,6 +159,9 @@
159
               </el-select>
159
               </el-select>
160
             </el-form-item>
160
             </el-form-item>
161
           </el-col>
161
           </el-col>
162
+        </el-row>
163
+        <el-row :gutter="20">
164
+
162
           <el-col :span="12">
165
           <el-col :span="12">
163
             <el-form-item label="漏检物品" prop="missCheckItem">
166
             <el-form-item label="漏检物品" prop="missCheckItem">
164
               <el-tree-select v-model="form.missCheckItem" :data="missCheckItemOptions"
167
               <el-tree-select v-model="form.missCheckItem" :data="missCheckItemOptions"
@@ -166,9 +169,6 @@
166
                 value-key="name" placeholder="请选择漏检物品" check-strictly style="width: 100%" />
169
                 value-key="name" placeholder="请选择漏检物品" check-strictly style="width: 100%" />
167
             </el-form-item>
170
             </el-form-item>
168
           </el-col>
171
           </el-col>
169
-
170
-        </el-row>
171
-        <el-row :gutter="20">
172
           <el-col :span="12">
172
           <el-col :span="12">
173
             <el-form-item label="分管主管" prop="supervisorId">
173
             <el-form-item label="分管主管" prop="supervisorId">
174
               <el-select v-model="form.supervisorId" placeholder="请选择分管主管" filterable style="width: 100%">
174
               <el-select v-model="form.supervisorId" placeholder="请选择分管主管" filterable style="width: 100%">
@@ -177,6 +177,9 @@
177
               </el-select>
177
               </el-select>
178
             </el-form-item>
178
             </el-form-item>
179
           </el-col>
179
           </el-col>
180
+        </el-row>
181
+        <el-row :gutter="20">
182
+
180
           <el-col :span="12">
183
           <el-col :span="12">
181
             <el-form-item label="代管主管" prop="actingSupervisorId">
184
             <el-form-item label="代管主管" prop="actingSupervisorId">
182
               <el-select v-model="form.actingSupervisorId" placeholder="请选择代管主管" filterable style="width: 100%">
185
               <el-select v-model="form.actingSupervisorId" placeholder="请选择代管主管" filterable style="width: 100%">
@@ -185,9 +188,6 @@
185
               </el-select>
188
               </el-select>
186
             </el-form-item>
189
             </el-form-item>
187
           </el-col>
190
           </el-col>
188
-
189
-        </el-row>
190
-        <el-row :gutter="20">
191
           <el-col :span="12">
191
           <el-col :span="12">
192
             <el-form-item label="分管班组长" prop="teamLeaderId">
192
             <el-form-item label="分管班组长" prop="teamLeaderId">
193
               <el-select v-model="form.teamLeaderId" placeholder="请选择分管班组长" filterable style="width: 100%">
193
               <el-select v-model="form.teamLeaderId" placeholder="请选择分管班组长" filterable style="width: 100%">
@@ -196,6 +196,9 @@
196
               </el-select>
196
               </el-select>
197
             </el-form-item>
197
             </el-form-item>
198
           </el-col>
198
           </el-col>
199
+        </el-row>
200
+        <el-row :gutter="20">
201
+
199
           <el-col :span="12">
202
           <el-col :span="12">
200
             <el-form-item label="物品位置" prop="itemLocation">
203
             <el-form-item label="物品位置" prop="itemLocation">
201
               <el-select v-model="form.itemLocation" placeholder="请选择物品位置" filterable style="width: 100%">
204
               <el-select v-model="form.itemLocation" placeholder="请选择物品位置" filterable style="width: 100%">
@@ -204,9 +207,6 @@
204
               </el-select>
207
               </el-select>
205
             </el-form-item>
208
             </el-form-item>
206
           </el-col>
209
           </el-col>
207
-
208
-        </el-row>
209
-        <el-row :gutter="20">
210
           <el-col :span="12">
210
           <el-col :span="12">
211
             <el-form-item label="简单/难" prop="difficultyLevel">
211
             <el-form-item label="简单/难" prop="difficultyLevel">
212
               <el-select v-model="form.difficultyLevel" placeholder="请选择简单/难" filterable style="width: 100%">
212
               <el-select v-model="form.difficultyLevel" placeholder="请选择简单/难" filterable style="width: 100%">
@@ -215,6 +215,9 @@
215
               </el-select>
215
               </el-select>
216
             </el-form-item>
216
             </el-form-item>
217
           </el-col>
217
           </el-col>
218
+        </el-row>
219
+        <el-row :gutter="20">
220
+
218
           <el-col :span="12">
221
           <el-col :span="12">
219
             <el-form-item label="回查人" prop="reviewUserId">
222
             <el-form-item label="回查人" prop="reviewUserId">
220
               <el-select v-model="form.reviewUserId" placeholder="请选择回查人" filterable style="width: 100%">
223
               <el-select v-model="form.reviewUserId" placeholder="请选择回查人" filterable style="width: 100%">
@@ -222,9 +225,6 @@
222
               </el-select>
225
               </el-select>
223
             </el-form-item>
226
             </el-form-item>
224
           </el-col>
227
           </el-col>
225
-
226
-        </el-row>
227
-        <el-row :gutter="20">
228
           <el-col :span="12">
228
           <el-col :span="12">
229
             <el-form-item label="判别类型" prop="discriminationType">
229
             <el-form-item label="判别类型" prop="discriminationType">
230
               <el-select v-model="form.discriminationType" placeholder="请选择判别类型" filterable style="width: 100%">
230
               <el-select v-model="form.discriminationType" placeholder="请选择判别类型" filterable style="width: 100%">
@@ -233,6 +233,9 @@
233
               </el-select>
233
               </el-select>
234
             </el-form-item>
234
             </el-form-item>
235
           </el-col>
235
           </el-col>
236
+        </el-row>
237
+        <el-row :gutter="20">
238
+
236
           <el-col :span="12">
239
           <el-col :span="12">
237
             <el-form-item label="是否追回" prop="isRecovered">
240
             <el-form-item label="是否追回" prop="isRecovered">
238
               <el-select v-model="form.isRecovered" placeholder="请选择是否追回" filterable style="width: 100%">
241
               <el-select v-model="form.isRecovered" placeholder="请选择是否追回" filterable style="width: 100%">
@@ -241,9 +244,6 @@
241
               </el-select>
244
               </el-select>
242
             </el-form-item>
245
             </el-form-item>
243
           </el-col>
246
           </el-col>
244
-
245
-        </el-row>
246
-        <el-row :gutter="20">
247
           <el-col :span="12">
247
           <el-col :span="12">
248
             <el-form-item label="开机年限" prop="machineOperatingYears">
248
             <el-form-item label="开机年限" prop="machineOperatingYears">
249
               <el-select v-model="form.machineOperatingYears" placeholder="请选择开机年限" filterable style="width: 100%">
249
               <el-select v-model="form.machineOperatingYears" placeholder="请选择开机年限" filterable style="width: 100%">
@@ -252,6 +252,9 @@
252
               </el-select>
252
               </el-select>
253
             </el-form-item>
253
             </el-form-item>
254
           </el-col>
254
           </el-col>
255
+        </el-row>
256
+        <el-row :gutter="20">
257
+
255
           <el-col :span="12">
258
           <el-col :span="12">
256
             <el-form-item label="证书级别" prop="certificateLevel">
259
             <el-form-item label="证书级别" prop="certificateLevel">
257
               <el-select v-model="form.certificateLevel" placeholder="请输入证书级别" filterable style="width: 100%">
260
               <el-select v-model="form.certificateLevel" placeholder="请输入证书级别" filterable style="width: 100%">
@@ -261,9 +264,6 @@
261
               </el-select>
264
               </el-select>
262
             </el-form-item>
265
             </el-form-item>
263
           </el-col>
266
           </el-col>
264
-
265
-        </el-row>
266
-        <el-row :gutter="20">
267
           <el-col :span="12">
267
           <el-col :span="12">
268
             <el-form-item label="人员性别" prop="gender">
268
             <el-form-item label="人员性别" prop="gender">
269
               <el-select v-model="form.gender" placeholder="请选择人员性别" filterable style="width: 100%">
269
               <el-select v-model="form.gender" placeholder="请选择人员性别" filterable style="width: 100%">
@@ -272,6 +272,9 @@
272
               </el-select>
272
               </el-select>
273
             </el-form-item>
273
             </el-form-item>
274
           </el-col>
274
           </el-col>
275
+        </el-row>
276
+        <el-row :gutter="20">
277
+
275
           <el-col :span="12">
278
           <el-col :span="12">
276
             <el-form-item label="漏检原因分类" prop="missCheckReasonCategory">
279
             <el-form-item label="漏检原因分类" prop="missCheckReasonCategory">
277
               <el-select v-model="form.missCheckReasonCategory" placeholder="请选择漏检原因分类" filterable style="width: 100%">
280
               <el-select v-model="form.missCheckReasonCategory" placeholder="请选择漏检原因分类" filterable style="width: 100%">
@@ -280,9 +283,6 @@
280
               </el-select>
283
               </el-select>
281
             </el-form-item>
284
             </el-form-item>
282
           </el-col>
285
           </el-col>
283
-
284
-        </el-row>
285
-        <el-row :gutter="20">
286
           <el-col :span="12">
286
           <el-col :span="12">
287
             <el-form-item label="月考成绩" prop="monthlyAssessment">
287
             <el-form-item label="月考成绩" prop="monthlyAssessment">
288
               <el-select v-model="form.monthlyAssessment" placeholder="请选择月考成绩" filterable style="width: 100%">
288
               <el-select v-model="form.monthlyAssessment" placeholder="请选择月考成绩" filterable style="width: 100%">
@@ -291,6 +291,9 @@
291
               </el-select>
291
               </el-select>
292
             </el-form-item>
292
             </el-form-item>
293
           </el-col>
293
           </el-col>
294
+        </el-row>
295
+        <el-row :gutter="20">
296
+
294
           <el-col :span="12">
297
           <el-col :span="12">
295
             <el-form-item label="本月自测有无漏检" prop="selfTestHasMissCheck">
298
             <el-form-item label="本月自测有无漏检" prop="selfTestHasMissCheck">
296
               <el-input-number v-model="form.selfTestHasMissCheck" :min="0" :precision="0" placeholder="请输入0-2的整数"
299
               <el-input-number v-model="form.selfTestHasMissCheck" :min="0" :precision="0" placeholder="请输入0-2的整数"
@@ -311,8 +314,8 @@
311
     <!-- 导入对话框 -->
314
     <!-- 导入对话框 -->
312
     <el-dialog title="导入" v-model="upload.open" width="500px" append-to-body>
315
     <el-dialog title="导入" v-model="upload.open" width="500px" append-to-body>
313
       <el-upload ref="uploadRef" :limit="1" accept=".xlsx, .xls" :headers="upload.headers" :action="upload.url"
316
       <el-upload ref="uploadRef" :limit="1" accept=".xlsx, .xls" :headers="upload.headers" :action="upload.url"
314
-        :data="upload.data" :disabled="upload.isUploading" :on-progress="handleFileUploadProgress" :on-success="handleFileSuccess"
315
-        :auto-upload="false" drag>
317
+        :data="upload.data" :disabled="upload.isUploading" :on-progress="handleFileUploadProgress"
318
+        :on-success="handleFileSuccess" :auto-upload="false" drag>
316
         <el-icon class="el-icon--upload"><upload-filled /></el-icon>
319
         <el-icon class="el-icon--upload"><upload-filled /></el-icon>
317
         <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
320
         <div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
318
         <template #tip>
321
         <template #tip>
@@ -395,7 +398,7 @@ const form = reactive({})
395
 // 表单校验
398
 // 表单校验
396
 const rules = {
399
 const rules = {
397
   brigadeId: [{ required: true, message: '大队不能为空', trigger: 'change' }],
400
   brigadeId: [{ required: true, message: '大队不能为空', trigger: 'change' }],
398
-  terminalId: [{ required: true, message: '航站楼不能为空', trigger: 'change' }],
401
+  // terminalId: [{ required: true, message: '航站楼不能为空', trigger: 'change' }],
399
   reviewedUserId: [{ required: true, message: '被回查人不能为空', trigger: 'change' }],
402
   reviewedUserId: [{ required: true, message: '被回查人不能为空', trigger: 'change' }],
400
   reviewDate: [{ required: true, message: '回查日期不能为空', trigger: 'change' }],
403
   reviewDate: [{ required: true, message: '回查日期不能为空', trigger: 'change' }],
401
   missCheckTime: [{ required: true, message: '漏检时间不能为空', trigger: 'change' }],
404
   missCheckTime: [{ required: true, message: '漏检时间不能为空', trigger: 'change' }],
@@ -553,8 +556,8 @@ function reset() {
553
   Object.assign(form, {
556
   Object.assign(form, {
554
     id: null,
557
     id: null,
555
     brigadeId: null,
558
     brigadeId: null,
556
-    terminalId: null,
557
-    terminalName: null,
559
+    // terminalId: null,
560
+    // terminalName: null,
558
     reviewedUserId: null,
561
     reviewedUserId: null,
559
     reviewDate: null,
562
     reviewDate: null,
560
     missCheckTime: null,
563
     missCheckTime: null,
@@ -633,11 +636,11 @@ function submitForm() {
633
       }
636
       }
634
 
637
 
635
       // 处理航站楼ID和名称映射
638
       // 处理航站楼ID和名称映射
636
-      if (form.terminalId) {
637
-      
638
-        const area = channelOptions.value.find(item => item.id === form.terminalId)
639
-        form.terminalName = area ? area.name : null
640
-      }
639
+      // if (form.terminalId) {
640
+
641
+      //   const area = channelOptions.value.find(item => item.id === form.terminalId)
642
+      //   form.terminalName = area ? area.name : null
643
+      // }
641
 
644
 
642
       // 处理被回查人ID和名称映射
645
       // 处理被回查人ID和名称映射
643
       if (form.reviewedUserId) {
646
       if (form.reviewedUserId) {
@@ -647,7 +650,7 @@ function submitForm() {
647
 
650
 
648
       // 处理上岗位置ID和名称映射
651
       // 处理上岗位置ID和名称映射
649
       if (form.channelId) {
652
       if (form.channelId) {
650
-      
653
+
651
         const channel = areaOptions.value.find(item => item.id === form.channelId)
654
         const channel = areaOptions.value.find(item => item.id === form.channelId)
652
         form.channelName = channel ? channel.name : null
655
         form.channelName = channel ? channel.name : null
653
       }
656
       }
@@ -660,7 +663,7 @@ function submitForm() {
660
 
663
 
661
       // 处理代管主管ID和名称映射
664
       // 处理代管主管ID和名称映射
662
       if (form.actingSupervisorId) {
665
       if (form.actingSupervisorId) {
663
-      
666
+
664
         const actingSupervisor = supervisorOptions.value.find(item => item.value === form.actingSupervisorId)
667
         const actingSupervisor = supervisorOptions.value.find(item => item.value === form.actingSupervisorId)
665
         form.actingSupervisorName = actingSupervisor ? actingSupervisor.label : null
668
         form.actingSupervisorName = actingSupervisor ? actingSupervisor.label : null
666
       }
669
       }

+ 6 - 6
src/views/blockingData/rateList/index.vue

@@ -24,19 +24,19 @@
24
     <el-row :gutter="10" class="mb8">
24
     <el-row :gutter="10" class="mb8">
25
       <el-col :span="1.5">
25
       <el-col :span="1.5">
26
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
26
         <el-button type="primary" plain icon="Plus" @click="handleAdd"
27
-          v-hasPermi="['rateList:rateList:add']">新增</el-button>
27
+          v-hasPermi="['blocked:rate:add']">新增</el-button>
28
       </el-col>
28
       </el-col>
29
       <el-col :span="1.5">
29
       <el-col :span="1.5">
30
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
30
         <el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete"
31
-          v-hasPermi="['rateList:rateList:remove']">删除</el-button>
31
+          v-hasPermi="['blocked:rate:remove']">删除</el-button>
32
       </el-col>
32
       </el-col>
33
       <el-col :span="1.5">
33
       <el-col :span="1.5">
34
         <el-button type="warning" plain icon="Download" @click="handleExport"
34
         <el-button type="warning" plain icon="Download" @click="handleExport"
35
-          v-hasPermi="['rateList:rateList:export']">导出</el-button>
35
+          v-hasPermi="['blocked:rate:export']">导出</el-button>
36
       </el-col>
36
       </el-col>
37
       <el-col :span="1.5">
37
       <el-col :span="1.5">
38
         <el-button type="info" plain icon="Upload" @click="handleImport"
38
         <el-button type="info" plain icon="Upload" @click="handleImport"
39
-          v-hasPermi="['rateList:rateList:import']">导入</el-button>
39
+          v-hasPermi="['blocked:rate:import']">导入</el-button>
40
       </el-col>
40
       </el-col>
41
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
41
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
42
     </el-row>
42
     </el-row>
@@ -62,9 +62,9 @@
62
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
62
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
63
         <template #default="scope">
63
         <template #default="scope">
64
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
64
           <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
65
-            v-hasPermi="['rateList:rateList:edit']">修改</el-button>
65
+            v-hasPermi="['blocked:rate:edit']">修改</el-button>
66
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
66
           <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"
67
-            v-hasPermi="['rateList:rateList:remove']">删除</el-button>
67
+            v-hasPermi="['blocked:rate:remove']">删除</el-button>
68
         </template>
68
         </template>
69
       </el-table-column>
69
       </el-table-column>
70
     </el-table>
70
     </el-table>