diff --git a/src/views/business/dealCashout/index.vue b/src/views/business/dealCashout/index.vue
index 6b685db..cd17919 100755
--- a/src/views/business/dealCashout/index.vue
+++ b/src/views/business/dealCashout/index.vue
@@ -56,9 +56,9 @@
- 提交
- 拒绝
- 通过
+ 提交
+ 拒绝
+ 通过
@@ -107,6 +107,11 @@
+
+
+
+
@@ -162,6 +167,9 @@
name: "DealCashout",
data() {
return {
+ // 滑块
+ statusShow: false,
+ value: '2',
// 按钮loading
buttonLoading: false,
// 遮罩层
@@ -246,6 +254,16 @@
this.loading = false;
});
},
+ // 处理滑块变化事件
+ handleSliderChange() {
+ if (this.sliderValue.value === 0) {
+ this.currentStatus.value = '提交';
+ } else if (this.sliderValue.value === 1) {
+ this.currentStatus.value = '拒绝';
+ } else if (this.sliderValue.value === 2) {
+ this.currentStatus.value = '通过';
+ }
+ },
// 取消按钮
cancel() {
this.open = false;
@@ -311,12 +329,16 @@
getDealCashout(id).then(response => {
this.loading = false;
this.form = response.data;
+ if (this.form.status == "0") {
+ this.statusShow = true;
+ }
this.open = true;
this.title = "修改提现";
});
},
/** 提交按钮 */
submitForm() {
+ this.form.status = this.value;
this.$refs["form"].validate(valid => {
if (valid) {
this.buttonLoading = true;