| 
					
				 | 
			
			
				@@ -22,32 +22,41 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              v-model="searchForm"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-date-picker style="width: 400px;" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          v-model="orderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          type="daterange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          value-format="yyyy-MM-dd" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          @change="searchCourseDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          range-separator="至" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          start-placeholder="订单开始日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          end-placeholder="订单结束日期"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        v-model="orderDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        type="daterange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        value-format="yyyy-MM-dd" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        @change="searchCourseDate" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        range-separator="至" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        start-placeholder="订单开始日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        end-placeholder="订单结束日期"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-date-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-select v-model="searchForm.paymentType" placeholder="交易类型"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-option v-for="(item, index) in orderStatus" :key="index"  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            :label="item.label" :value="item.value"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-select v-model="searchForm.paymentType" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   placeholder="交易类型"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-option v-for="(item, index) in orderStatus" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     :key="index" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     :label="item.label" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     :value="item.value"></el-option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-input type="text" v-model="searchForm.remark" placeholder="订单说明"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-input type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  v-model="searchForm.remark" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  placeholder="订单说明"></el-input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-button @click="getList" type="danger">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-button @click="onReSet" type="primary">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button @click="search" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   type="danger">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button @click="onReSet" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   type="primary">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <div class="tableWrap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-table :data="tableList" :header-cell-style="{background:'#EDEEF0',color:'#444'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column label="订单日期" prop="createTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-table :data="tableList" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :header-cell-style="{background:'#EDEEF0',color:'#444'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column label="订单日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         prop="createTime" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                          width="180px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-table-column label="交易类型" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,16 +65,19 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             {{ scope.row.type | orderType }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column  width="180px" label="实际金额" prop="actualAmount"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column width="180px" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         label="实际金额" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         prop="actualAmount"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-table-column label="订单说明" prop="memo" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-table-column label="订单说明" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                         prop="memo"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <pagination :total="pageInfo.total" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :page.sync="pageInfo.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :limit.sync="pageInfo.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                :page-sizes="pageInfo.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                @pagination="getList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :page.sync="pageInfo.page" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :limit.sync="pageInfo.limit" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :page-sizes="pageInfo.page_size" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  @pagination="getList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,14 +111,14 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       dataInfo: {} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  mounted() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  mounted () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.__init() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    __init() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    __init () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       getUserCashAccountBaseInfo({ userId: this.$route.query.userId }).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.dataInfo = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             balance: res.data.balance, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             wxBalance: 0, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -116,22 +128,26 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    search () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.pageInfo.page = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getList () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let params = this.searchForm 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       params.rows = this.pageInfo.limit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       params.page = this.pageInfo.page 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(params.remark == '' || !params.remark) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (params.remark == '' || !params.remark) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         params.remark = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       studentPaymentOrderList(params).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if(res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (res.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.tableList = res.data.rows 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.pageInfo.total = res.data.total 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    searchCourseDate(value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    searchCourseDate (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.searchForm.orderStartDate = value[0] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.searchForm.orderEndDate = value[1] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -139,7 +155,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.searchForm.orderEndDate = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    onReSet() { // 重置搜索 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    onReSet () { // 重置搜索 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.orderDate = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.searchForm = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         studentId: this.$route.query.userId, 
			 |