shish hai 1 ano
pai
achega
6aa966da99
Modificáronse 1 ficheiros con 10 adicións e 15 borrados
  1. 10 15
      ghs/src/views/order/refund-list.vue

+ 10 - 15
ghs/src/views/order/refund-list.vue

@@ -65,14 +65,6 @@
 					class="custom-date-picker" end-placeholder="结束日期" :picker-options="pickerOptions" size="mini" style="margin-right:8px;">
 				</el-date-picker>
 
-				<el-radio-group v-model="status" @change="changeStatus" style="margin-right:20px;padding-top:6px;margin-left:4px;">
-					<el-radio label="-1">全部</el-radio>
-					<el-radio label="0">待审</el-radio>
-					<el-radio label="1">通过</el-radio>
-					<el-radio label="2">驳回</el-radio>
-					<el-radio label="3">取消</el-radio>
-				</el-radio-group>
-
 			</template>
 
             <template #slot-total-amount>
@@ -100,17 +92,22 @@ export default {
 					val: 0
 				},
 				{
-					text: '已通过',
+					text: '待审',
+					key: '0',
+					val: 0
+				},
+				{
+					text: '通过',
 					key: '1',
 					val: 0
 				},
 				{
-					text: '已驳回',
+					text: '驳回',
 					key: '2',
 					val: 0
 				},
 				{
-					text: '取消',
+					text: '取消',
 					key: '3',
 					val: 0
 				}
@@ -195,10 +192,6 @@ export default {
 				this.customList = []
 			}
 		},
-		changeStatus(e){
-			this.status = e
-			this.refreshData()
-		},
 		changeSearch(){
 			let that = this
 			if(this.T != null){
@@ -249,6 +242,7 @@ export default {
 			})
 		},
 		handleClick() {
+			this.status = this.tabIndex
 			this.refreshData()
 		},
 		onLoad({ ctx, app }) {
@@ -265,6 +259,7 @@ export default {
 				}
 				if(this.$route.query.status){
 					this.status = this.$route.query.status
+					this.tabIndex = this.status
 				}
 			}