فهرست منبع

人员选择时增加自动查询

yf_zhb 2 سال پیش
والد
کامیت
dca4837090

+ 2 - 1
minggao/src/page/recordForm/fieldSurveys.vue

@@ -20,7 +20,7 @@
             >
             </el-option>
           </el-select> -->
-          <UserIDSelectComponent v-model="queryInfo.user_id" />
+          <UserIDSelectComponent v-model="queryInfo.user_id" @change="search" />
           <!-- <el-select
             v-model="queryInfo.user_name"
             placeholder="请选择调查人"
@@ -45,6 +45,7 @@
             size="mini"
             :editable="false"
             value-format="yyyy-MM-dd"
+            :clearable="false"
           >
           </el-date-picker>
           <el-button type="info" @click="search" size="mini">查询</el-button>

+ 1 - 0
minggao/src/page/recordForm/sampleAppraisal.vue

@@ -12,6 +12,7 @@
             size="mini"
             :editable="false"
             value-format="yyyy-MM-dd"
+            :clearable="false"
           >
           </el-date-picker>
           <el-button type="info" @click="search" size="mini">查询</el-button>

+ 2 - 1
minggao/src/page/recordForm/samplePlot.vue

@@ -20,7 +20,7 @@
             >
             </el-option>
           </el-select> -->
-          <UserIDSelectComponent v-model="queryInfo.user_id" />
+          <UserIDSelectComponent v-model="queryInfo.user_id" @change="search" />
           <el-date-picker
             v-model="queryInfo.select_time"
             type="date"
@@ -29,6 +29,7 @@
             size="mini"
             :editable="false"
             value-format="yyyy-MM-dd"
+            :clearable="false"
           >
           </el-date-picker>
           <el-button type="info" @click="search" size="mini">查询</el-button>

+ 2 - 1
minggao/src/page/recordForm/trapRecord.vue

@@ -20,7 +20,7 @@
             >
             </el-option>
           </el-select> -->
-          <UserIDSelectComponent v-model="queryInfo.user_id" />
+          <UserIDSelectComponent v-model="queryInfo.user_id" @change="search" />
           <el-date-picker
             v-model="queryInfo.select_time"
             type="date"
@@ -29,6 +29,7 @@
             size="mini"
             :editable="false"
             value-format="yyyy-MM-dd"
+            :clearable="false"
           >
           </el-date-picker>
           <el-button type="info" @click="search" size="mini">查询</el-button>