Browse Source

feat: 提交

listKer 2 years ago
parent
commit
94c53a0113
1 changed files with 12 additions and 16 deletions
  1. 12 16
      src/pages/historicalOrder/index.vue

+ 12 - 16
src/pages/historicalOrder/index.vue

@@ -8,22 +8,14 @@
8 8
         start-placeholder="开始日期"
9 9
         end-placeholder="结束日期"
10 10
       ></el-date-picker>
11
-      <el-select class="coupon-select" v-model="coupon" placeholder="项目名称">
12
-        <el-option
13
-          v-for="item in couponList"
14
-          :key="item.value"
15
-          :label="item.label"
16
-          :value="item.value"
17
-        ></el-option>
18
-      </el-select>
19
-      <el-select class="coupon-select" v-model="coupon" placeholder="卡券名称">
20
-        <el-option
21
-          v-for="item in couponList"
22
-          :key="item.value"
23
-          :label="item.label"
24
-          :value="item.value"
25
-        ></el-option>
26
-      </el-select>
11
+
12
+      <el-input placeholder="请输入项目" class="search" v-model="product">
13
+        <i slot="prefix" class="el-input__icon el-icon-search"></i>
14
+      </el-input>
15
+
16
+      <el-input placeholder="请输入优惠券" class="search" v-model="coupon">
17
+        <i slot="prefix" class="el-input__icon el-icon-search"></i>
18
+      </el-input>
27 19
 
28 20
       <el-input placeholder="请输入内容" class="search" v-model="searchText">
29 21
         <i slot="prefix" class="el-input__icon el-icon-search"></i>
@@ -83,6 +75,8 @@ export default {
83 75
       coupon: "",
84 76
       limit: 10,
85 77
       total: 0,
78
+      product:"",
79
+      coupon:"",
86 80
       statusStr: [
87 81
         "已预约",
88 82
         "未支付",
@@ -142,6 +136,8 @@ export default {
142 136
         page: this.currentPage1,
143 137
         limit: this.limit,
144 138
         keywords: this.searchText,
139
+        project_name:this.product,
140
+        coupon_name:this.coupon,
145 141
         start_date: start_date,
146 142
         end_date: end_date
147 143
       };