提交 1b71279a 编写于 作者: vino's avatar vino

取消预约

上级 60c0d963
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
<div v-if="!scope.row.operateUserID"> <div v-if="!scope.row.operateUserID">
<el-button type="primary" size="small" @click="selectBtn(scope.row)">匹配</el-button> <el-button type="primary" size="small" @click="selectBtn(scope.row)">匹配</el-button>
</div> </div>
<el-button v-if="scope.row.status == 2 || scope.row.status == 3" type="primary" size="small" style="margin-top: 10px;" @click="cancelBtn(scope.row)">取消预约</el-button>
<div> <div>
<el-button type="primary" size="small" style="margin-top: 10px;" @click="goEditor(scope.row,1)">编辑</el-button> <el-button type="primary" size="small" style="margin-top: 10px;" @click="goEditor(scope.row,1)">编辑</el-button>
<el-button type="primary" size="small" style="margin-top: 10px;" @click="goEditor(scope.row,2)">预约详情</el-button> <el-button type="primary" size="small" style="margin-top: 10px;" @click="goEditor(scope.row,2)">预约详情</el-button>
...@@ -163,6 +164,9 @@ export default { ...@@ -163,6 +164,9 @@ export default {
selectBtn(row) { selectBtn(row) {
this.$emit('selectBtn',row) this.$emit('selectBtn',row)
}, },
cancelBtn(row) {
this.$emit('cancelBtn',row)
},
goEditor(row,flag) { goEditor(row,flag) {
this.$emit('goEditor',row,flag) this.$emit('goEditor',row,flag)
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册