Commit 40ce4791 by tangjiale

更新代码

parent f7293d2c
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
|| (scope.row.bmStatus == 2 && (btn.buttonId == 2 || btn.buttonId == 3))" || (scope.row.bmStatus == 2 && (btn.buttonId == 2 || btn.buttonId == 3))"
@click="buttonOption(btn.buttonId,scope.row)" :type="btn.buttonStyle || 'primary'">{{btn.buttonName}}</el-button> @click="buttonOption(btn.buttonId,scope.row)" :type="btn.buttonStyle || 'primary'">{{btn.buttonName}}</el-button>
<el-button @click="openDetail(btn.buttonId,scope.row)" type="success" size="small" plain>详情</el-button> <el-button @click="openDetail(scope.row)" type="success" size="small" plain>详情</el-button>
</div> </div>
</template> </template>
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
}, },
agreeCannel(type,data){ agreeCannel(type,data){
let that = this let that = this
this.$showConfirm(`你确认 ${type==1?'同意':'不同意'}取消吗?`).then(() => { this.$showConfirm(`你确认${type==1?'同意':'不同意'}取消吗?`).then(() => {
that.$service.course.updateBmStatus({bmId:data.id,bmStatus:type==1?3:2}).then(res =>{ that.$service.course.updateBmStatus({bmId:data.id,bmStatus:type==1?3:2}).then(res =>{
this.$notifySuccess(); this.$notifySuccess();
this.upDateList() this.upDateList()
......
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
}, },
agreeCannel(data,type){ agreeCannel(data,type){
let that = this let that = this
this.$showConfirm(`你确认 ${type==1?'同意':'不同意'}退款吗?`).then(() => { this.$showConfirm(`你确认${type==1?'同意':'不同意'}退款吗?`).then(() => {
that.$service.course.updateOrderStatus({orderId:data.orderId,orderStatus:type}).then(res =>{ that.$service.course.updateOrderStatus({orderId:data.orderId,orderStatus:type}).then(res =>{
this.upDateList() this.upDateList()
this.$notifySuccess(); this.$notifySuccess();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment