Selaa lähdekoodia

refactor(iotrddailyreport): 调整瑞都日报搜索栏布局问题

Zimo 3 päivää sitten
vanhempi
commit
d3b97ac7be

+ 3 - 2
src/views/pms/iotrddailyreport/fillDailyReport.vue

@@ -201,8 +201,9 @@ function realValue(type: any, value: string) {
     <!-- <div class="p-4 bg-white dark:bg-[#1d1e1f] shadow rounded-lg row-span-2"> </div> -->
     <el-form
       size="default"
-      class="min-h-62px bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-x-8 gap-y-3 flex flex-wrap items-center justify-between">
-      <div class="min-w-0 flex flex-1 flex-wrap items-center gap-x-8 gap-y-3">
+      :model="query"
+      class="bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-6 flex items-center justify-between flex-wrap min-w-0">
+      <div class="flex items-center gap-6 flex-wrap">
         <el-form-item label="项目">
           <el-input
             v-model="query.contractName"

+ 3 - 2
src/views/pms/iotrddailyreport/index.vue

@@ -272,8 +272,9 @@ onMounted(() => {
     <!-- <div class="p-4 bg-white dark:bg-[#1d1e1f] shadow rounded-lg row-span-2"> </div> -->
     <el-form
       size="default"
-      class="min-h-62px bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-x-8 gap-y-3 flex flex-wrap items-center justify-between">
-      <div class="min-w-0 flex flex-1 flex-wrap items-center gap-x-8 gap-y-3">
+      :model="query"
+      class="bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-6 flex items-center justify-between flex-wrap min-w-0">
+      <div class="flex items-center gap-6 flex-wrap">
         <el-form-item label="项目">
           <el-input
             v-model="query.contractName"

+ 3 - 2
src/views/pms/iotrddailyreport/statistics.vue

@@ -178,8 +178,9 @@ function handleWellNameClick(taskId: number) {
     <!-- <div class="p-4 bg-white dark:bg-[#1d1e1f] shadow rounded-lg row-span-2"> </div> -->
     <el-form
       size="default"
-      class="min-h-62px bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-x-8 gap-y-3 flex flex-wrap items-center justify-between">
-      <div class="min-w-0 flex flex-1 flex-wrap items-center gap-x-8 gap-y-3">
+      :model="query"
+      class="bg-white dark:bg-[#1d1e1f] rounded-lg shadow px-8 py-3 gap-6 flex items-center justify-between flex-wrap min-w-0">
+      <div class="flex items-center gap-6 flex-wrap">
         <el-form-item label="项目">
           <el-input
             v-model="query.contractName"