Browse Source

接口联调

duwendi 1 year ago
parent
commit
cfdb2fb653

+ 35 - 35
src/pages/index/components/lead_system.vue

@@ -70,41 +70,41 @@
70 70
           </el-pagination>
71 71
         </div>
72 72
       </el-tab-pane>
73
-      <el-tab-pane label="会员数据分析" name="会员数据分析">
74
-        <el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">
75
-          <el-row>
76
-            <el-col :span="6">
77
-              <el-form-item label="订单号:">
78
-                <el-input v-model="formInline3.orderCode" placeholder="请输入"></el-input>
79
-              </el-form-item>
80
-            </el-col>
81
-            <el-col :span="6">
82
-              <el-form-item label="泊位号:">
83
-                <el-input v-model="formInline3.berthCode" placeholder="请输入"></el-input>
84
-              </el-form-item>
85
-            </el-col>
86
-            <el-col :span="6">
87
-              <el-form-item label="车牌号:">
88
-                <el-input v-model="formInline3.plateNo" placeholder="请输入"></el-input>
89
-              </el-form-item>
90
-            </el-col>
91
-            <el-col :span="5">
92
-              <el-form-item>
93
-                <el-button type="primary" class="query-btn" @click="onSubmit3">查询</el-button>
94
-              </el-form-item>
95
-            </el-col>
96
-          </el-row>
97
-        </el-form>
98
-        <el-table :data="tableData3">
99
-          <el-table-column v-for="(item, index) in columns3" :key="index" :label="item.label" :prop="item.key">
100
-          </el-table-column>
101
-        </el-table>
102
-        <div class="table-pagination">
103
-          <el-pagination layout="prev, pager, next" :total="total3" @current-change="handlePageChange3"
104
-                         :current-page.sync="pageNum3" :page-size.sync="pageSize3">
105
-          </el-pagination>
106
-        </div>
107
-      </el-tab-pane>
73
+<!--      <el-tab-pane label="会员数据分析" name="会员数据分析">-->
74
+<!--        <el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">-->
75
+<!--          <el-row>-->
76
+<!--            <el-col :span="6">-->
77
+<!--              <el-form-item label="订单号:">-->
78
+<!--                <el-input v-model="formInline3.orderCode" placeholder="请输入"></el-input>-->
79
+<!--              </el-form-item>-->
80
+<!--            </el-col>-->
81
+<!--            <el-col :span="6">-->
82
+<!--              <el-form-item label="泊位号:">-->
83
+<!--                <el-input v-model="formInline3.berthCode" placeholder="请输入"></el-input>-->
84
+<!--              </el-form-item>-->
85
+<!--            </el-col>-->
86
+<!--            <el-col :span="6">-->
87
+<!--              <el-form-item label="车牌号:">-->
88
+<!--                <el-input v-model="formInline3.plateNo" placeholder="请输入"></el-input>-->
89
+<!--              </el-form-item>-->
90
+<!--            </el-col>-->
91
+<!--            <el-col :span="5">-->
92
+<!--              <el-form-item>-->
93
+<!--                <el-button type="primary" class="query-btn" @click="onSubmit3">查询</el-button>-->
94
+<!--              </el-form-item>-->
95
+<!--            </el-col>-->
96
+<!--          </el-row>-->
97
+<!--        </el-form>-->
98
+<!--        <el-table :data="tableData3">-->
99
+<!--          <el-table-column v-for="(item, index) in columns3" :key="index" :label="item.label" :prop="item.key">-->
100
+<!--          </el-table-column>-->
101
+<!--        </el-table>-->
102
+<!--        <div class="table-pagination">-->
103
+<!--          <el-pagination layout="prev, pager, next" :total="total3" @current-change="handlePageChange3"-->
104
+<!--                         :current-page.sync="pageNum3" :page-size.sync="pageSize3">-->
105
+<!--          </el-pagination>-->
106
+<!--        </div>-->
107
+<!--      </el-tab-pane>-->
108 108
     </el-tabs>
109 109
   </div>
110 110
 </template>

+ 37 - 1
src/pages/index/components/task_recovery.vue

@@ -48,6 +48,15 @@
48 48
           custom-class="audit-dialog">
49 49
           <div class="form-div">
50 50
             <el-form label-position="left" label-width="85px" :model="formLabelAlign">
51
+              <el-form-item label="停车场: ">
52
+                <el-select clearable v-model="formLabelAlign.parkLotId" placeholder="请选择">
53
+                  <el-option
54
+                    v-for="(item,index) in carParkingNameOptions"
55
+                    :key="index"
56
+                    :label="item.parkName"
57
+                    :value="item.id" />
58
+                </el-select>
59
+              </el-form-item>
51 60
               <el-form-item label="车牌号">
52 61
                 <el-input v-model="formLabelAlign.plateNo"></el-input>
53 62
               </el-form-item>
@@ -131,6 +140,15 @@
131 140
           custom-class="audit-dialog">
132 141
           <div class="form-div">
133 142
             <el-form label-position="left" label-width="85px" :model="formLabelAlign2">
143
+              <el-form-item label="停车场: ">
144
+                <el-select clearable v-model="formLabelAlign2.parkLotId" placeholder="请选择">
145
+                  <el-option
146
+                    v-for="(item,index) in carParkingNameOptions"
147
+                    :key="index"
148
+                    :label="item.parkName"
149
+                    :value="item.id" />
150
+                </el-select>
151
+              </el-form-item>
134 152
               <el-form-item label="车牌号">
135 153
                 <el-input v-model="formLabelAlign2.plateNo"></el-input>
136 154
               </el-form-item>
@@ -177,12 +195,17 @@ export default {
177 195
   components: {},
178 196
   data() {
179 197
     return {
198
+      carParkingNameOptions: [],
180 199
       activeName: '电话追缴',
181 200
       columns1: [
182 201
         {
183 202
           label: '车牌号',
184 203
           key: 'plateNo'
185 204
         },
205
+        {
206
+          label: '停车场',
207
+          key: 'parkName'
208
+        },
186 209
         {
187 210
           label: '电话号码',
188 211
           key: 'phoneNo'
@@ -211,6 +234,7 @@ export default {
211 234
       title: '',
212 235
       dialogVisible: false,
213 236
       formLabelAlign: {
237
+        parkLotId: '',
214 238
         plateNo: '',
215 239
         phone: '',
216 240
         arrearsAmount: '',
@@ -223,6 +247,10 @@ export default {
223 247
           label: '车牌号',
224 248
           key: 'plateNo'
225 249
         },
250
+        {
251
+          label: '停车场',
252
+          key: 'parkName'
253
+        },
226 254
         {
227 255
           label: '电话号码',
228 256
           key: 'phoneNo'
@@ -260,6 +288,7 @@ export default {
260 288
       title2: '',
261 289
       dialogVisible2: false,
262 290
       formLabelAlign2: {
291
+        parkLotId: '',
263 292
         plateNo: '',
264 293
         phone: '',
265 294
         arrearsAmount: '',
@@ -270,11 +299,18 @@ export default {
270 299
     }
271 300
   },
272 301
   mounted() {
302
+    this.getCarParkingName()
273 303
     this.getTableData1()
274 304
     this.getTableData2()
275 305
   },
276 306
   watch: {},
277 307
   methods: {
308
+    //车场
309
+    getCarParkingName() {
310
+      api_z.querySelectParkListByPage().then(res => {
311
+        this.carParkingNameOptions=res.data
312
+      })
313
+    },
278 314
     onSubmit() {
279 315
       this.pageNum1 = 1
280 316
       this.getTableData1()
@@ -427,7 +463,7 @@ export default {
427 463
     .form-div {
428 464
       /deep/ .el-input__inner {
429 465
         height: 35px;
430
-        width: 90%;
466
+        width: 99%;
431 467
         border: 1px solid #a6a5a5;
432 468
       }
433 469
     }