Browse Source

报表操作元素id修改

1004749546@qq.com 4 năm trước cách đây
mục cha
commit
47f289227b

+ 5 - 5
src/views/reportForm/rubbishDeliverySearchTime.vue

@@ -6,7 +6,7 @@
           <a-col :span="8">
             <a-form-item label="投递时间:" :label-col="{ span: 5 }" :wrapper-col="{ span: 19}">
               <a-range-picker
-                id="network-time"
+                id="rubbishSearchTime-time"
                 v-model="time"
                 style="width: 100%;"
                 :format="dateFormat"
@@ -19,7 +19,7 @@
           <a-col :span="6">
             <a-form-item label="网点名称" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
               <a-select
-                id="releaseRecordList-stationNo"
+                id="rubbishSearchTime-stationNo"
                 placeholder="请选择网点名称"
                 allowClear
                 v-model="queryParam.stationNo"
@@ -35,10 +35,10 @@
             <a-button
               class="serach-btn"
               type="primary"
-              id="releaseRecordList-refresh"
+              id="rubbishSearchTime-refresh"
               @click="refresh">查询</a-button>
-            <a-button class="serach-btn" id="releaseRecordList-handleReset" @click="handleReset">重置</a-button>
-            <a-button class="export-btn" id="releaseRecordList-export" v-hasPermission="'B_rubbishSearchTime_export'" :loading="loading" @click="handleExport">导出</a-button>
+            <a-button class="serach-btn" id="rubbishSearchTime-handleReset" @click="handleReset">重置</a-button>
+            <a-button class="export-btn" id="rubbishSearchTime-export" v-hasPermission="'B_rubbishSearchTime_export'" :loading="loading" @click="handleExport">导出</a-button>
           </a-col>
         </a-row>
       </a-form>

+ 8 - 8
src/views/reportForm/rubbishDeliveryTotal.vue

@@ -6,7 +6,7 @@
           <a-col :span="6">
             <a-form-model-item label="投递时间" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
               <a-range-picker
-                id="network-time"
+                id="rubbishTotal-time"
                 v-model="time"
                 style="width: 100%;"
                 :format="dateFormat"
@@ -17,21 +17,21 @@
           </a-col>
           <a-col :span="6">
             <a-form-model-item prop="provinceCode" label="所属区域:" :label-col="{ span:8 }" :wrapper-col="{ span:16}">
-              <a-select allowClear v-model="queryParam.provinceCode" @change="getCityList" placeholder="请选择省">
+              <a-select id="rubbishTotal-provinceCode" allowClear v-model="queryParam.provinceCode" @change="getCityList" placeholder="请选择省">
                 <a-select-option v-for="item in addrProvinceList" :value="item.id" :key="item.id + 'a'">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-model-item>
           </a-col>
           <a-col :span="5">
             <a-form-model-item prop="cityCode" label=" " :colon="false" :label-col="{ span:1 }" :wrapper-col="{ span:22}">
-              <a-select allowClear v-model="queryParam.cityCode" @change="getAreaList" placeholder="请选择市">
+              <a-select allowClear id="rubbishTotal-cityCode" v-model="queryParam.cityCode" @change="getAreaList" placeholder="请选择市">
                 <a-select-option v-for="item in addrCityList" :value="item.id" :key="item.id + 'b'">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-model-item>
           </a-col>
           <a-col :span="5">
             <a-form-model-item prop="districtCode" label=" " :colon="false" :label-col="{ span:0 }" :wrapper-col="{ span:20}">
-              <a-select allowClear v-model="queryParam.districtCode" placeholder="请选择区/县">
+              <a-select allowClear id="rubbishTotal-districtCode" v-model="queryParam.districtCode" placeholder="请选择区/县">
                 <a-select-option v-for="item in addrDistrictList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
               </a-select>
             </a-form-model-item>
@@ -41,7 +41,7 @@
           <a-col :span="6">
             <a-form-model-item label="网点名称" prop="stationNo" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
               <a-select
-                id="releaseRecordList-stationNo"
+                id="rubbishTotal-stationNo"
                 placeholder="请选择网点名称"
                 allowClear
                 v-model="queryParam.stationNo"
@@ -53,9 +53,9 @@
             </a-form-model-item>
           </a-col>
           <a-col :span="10">
-            <a-button class="handle-btn serach-btn" id="network-btn-serach" type="primary" @click="$refs.table.refresh(true)">查询</a-button>
-            <a-button class="handle-btn serach-btn" type="" id="network-btn-reset" @click="handleReset">重置</a-button>
-            <a-button class="export-btn" id="releaseRecordList-export" v-hasPermission="'M_rubbishTotal_export'" :loading="loading" @click="handleExport">导出</a-button>
+            <a-button class="handle-btn serach-btn" id="rubbishTotal-btn-serach" type="primary" @click="$refs.table.refresh(true)">查询</a-button>
+            <a-button class="handle-btn serach-btn" type="" id="rubbishTotal-btn-reset" @click="handleReset">重置</a-button>
+            <a-button class="export-btn" id="rubbishTotal-export" v-hasPermission="'M_rubbishTotal_export'" :loading="loading" @click="handleExport">导出</a-button>
           </a-col>
         </a-row>
       </a-form-model>