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
         start-placeholder="开始日期"
8
         start-placeholder="开始日期"
9
         end-placeholder="结束日期"
9
         end-placeholder="结束日期"
10
       ></el-date-picker>
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
       <el-input placeholder="请输入内容" class="search" v-model="searchText">
20
       <el-input placeholder="请输入内容" class="search" v-model="searchText">
29
         <i slot="prefix" class="el-input__icon el-icon-search"></i>
21
         <i slot="prefix" class="el-input__icon el-icon-search"></i>
@@ -83,6 +75,8 @@ export default {
83
       coupon: "",
75
       coupon: "",
84
       limit: 10,
76
       limit: 10,
85
       total: 0,
77
       total: 0,
78
+      product:"",
79
+      coupon:"",
86
       statusStr: [
80
       statusStr: [
87
         "已预约",
81
         "已预约",
88
         "未支付",
82
         "未支付",
@@ -142,6 +136,8 @@ export default {
142
         page: this.currentPage1,
136
         page: this.currentPage1,
143
         limit: this.limit,
137
         limit: this.limit,
144
         keywords: this.searchText,
138
         keywords: this.searchText,
139
+        project_name:this.product,
140
+        coupon_name:this.coupon,
145
         start_date: start_date,
141
         start_date: start_date,
146
         end_date: end_date
142
         end_date: end_date
147
       };
143
       };