Procházet zdrojové kódy

优化查询轮班人员

liaoyitao před 3 měsíci
rodič
revize
aaf7f7c199

+ 2 - 0
src/views/info/organizationInfo/index.vue

@@ -651,6 +651,8 @@ export default {
651 651
     /** 重置按钮操作 */
652 652
     resetQuery() {
653 653
       this.resetForm("queryForm");
654
+      this.queryParams.industryType = null
655
+      console.log(this.queryParams)
654 656
       this.handleQuery();
655 657
     },
656 658
     // 多选框选中数据

+ 5 - 16
src/views/info/shiftPersonnel/index.vue

@@ -13,7 +13,7 @@
13 13
           </el-select>
14 14
         </template>
15 15
       </el-form-item>
16
-      <el-form-item label="轮班人员名字" prop="personnelName">
16
+      <el-form-item label="轮班人员" prop="personnelName">
17 17
         <el-input
18 18
           v-model="queryParams.personnelName"
19 19
           placeholder="请输入轮班人员名字"
@@ -22,24 +22,14 @@
22 22
           @keyup.enter.native="handleQuery"
23 23
         />
24 24
       </el-form-item>
25
-      <el-form-item label="值班开始时间" prop="startTime">
25
+      <el-form-item label="值班时间" prop="startTime">
26 26
         <el-time-picker clearable size="small"
27
-                        v-model="queryParams.startTime"
27
+                        v-model="queryParams.workTime"
28 28
                         value-format="HH:mm:ss"
29 29
                         :picker-options="{
30 30
                               selectableRange: '00:00:00 - 23:59:59'
31 31
                             }"
32
-                        placeholder="选择值班开始时间">
33
-        </el-time-picker>
34
-      </el-form-item>
35
-      <el-form-item label="值班结束时间" prop="endTime">
36
-        <el-time-picker clearable size="small"
37
-                        v-model="queryParams.endTime"
38
-                        value-format="HH:mm:ss"
39
-                        :picker-options="{
40
-                              selectableRange: '00:00:00 - 23:59:59'
41
-                            }"
42
-                        placeholder="选择值班结束时间">
32
+                        placeholder="选择值班时间">
43 33
         </el-time-picker>
44 34
       </el-form-item>
45 35
       <el-form-item>
@@ -219,8 +209,7 @@ export default {
219 209
         pageSize: 10,
220 210
         parkingId: null,
221 211
         personnelName: null,
222
-        startTime: null,
223
-        endTime: null,
212
+        workTime: null,
224 213
       },
225 214
       queryParkingLotParams: {
226 215
         pageNum: 1,