Explorar el Código

增加搜索条件

xuzhancheng hace 2 días
padre
commit
11195e5ce2

+ 2 - 0
yudao-ui-admin-vue3/src/views/pressure2/schedule/components/ShiftSchedule.vue

@@ -170,6 +170,7 @@ const props = defineProps<{
   checkType?: string
   unitName?: string
   status?: string
+  checkerName?: string
 }>()
 
 
@@ -233,6 +234,7 @@ const queryParams = computed(() => ({
   checkType: props.checkType || '',
   unitName: props.unitName || '',
   status: props.status || '',
+  checkerName: props.checkerName || '',
   orderBy: sortOrderBy.value,
   orderType: sortOrderType.value,
   relateDepartment: props.relateDepartment || ''

+ 11 - 0
yudao-ui-admin-vue3/src/views/pressure2/schedule/pipeindex.vue

@@ -67,6 +67,14 @@
             class="!w-150px"
           />
         </el-form-item>
+        <el-form-item label="检验员" prop="shiftCheckerName">
+          <el-input
+            v-model="shiftCheckerName"
+            placeholder="输入检验员姓名"
+            clearable
+            class="!w-180px"
+          />
+        </el-form-item>
         <el-form-item label="状态" prop="shiftStatus">
           <el-select
             v-model="shiftStatus"
@@ -271,6 +279,7 @@
         :check-type="queryParams.checkType"
         :unit-name="queryParams.unitName"
         :status="shiftStatus"
+        :checker-name="shiftCheckerName"
       />
     </div>
   </ContentWrap>
@@ -322,6 +331,7 @@ const taskList = ref<Record<string, PipePlanSchedulingCalendarVO>>({})
 const shiftStartDate = ref(dayjs().startOf('month').format('YYYY-MM-DD'))
 const shiftEndDate = ref(dayjs().endOf('month').format('YYYY-MM-DD'))
 const shiftStatus = ref('')
+const shiftCheckerName = ref('')
 const shiftExportLoading = ref(false)
 const shiftScheduleRef = ref() // ShiftSchedule 组件引用
 
@@ -487,6 +497,7 @@ const resetQuery = () => {
   shiftStartDate.value = dayjs().startOf('month').format('YYYY-MM-DD')
   shiftEndDate.value = dayjs().endOf('month').format('YYYY-MM-DD')
   shiftStatus.value = ''
+  shiftCheckerName.value = ''
   handleQuery()
 }