Commit b1e20128 authored by zhengke's avatar zhengke

修改

parent 40c0bc3e
This diff is collapsed.
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<q-td :props="props"> <q-td :props="props">
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;"> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left:10px;">
<q-list> <q-list>
<q-item clickable v-close-popup @click="OperateVitior(props.row,1)"> <q-item clickable v-close-popup @click="ExchangeOrder(props.row)">
<q-item-section> <q-item-section>
<q-item-label>转订单</q-item-label> <q-item-label>转订单</q-item-label>
</q-item-section> </q-item-section>
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
</template> </template>
</q-table> </q-table>
<yuekeForm v-if="isShowYue" :ChoiceType="ChoiceType" :save-obj="visitorItem" @close="closeYuekeForm" @success="refreshPage"></yuekeForm> <yuekeForm v-if="isShowYue" :ChoiceType="ChoiceType" :save-obj="visitorItem" @close="closeYuekeForm" @success="refreshPage"></yuekeForm>
<exorderForm v-if="isShowExOrder" @close="closeOrderForm" @success="refreshPage"></exorderForm>
</div> </div>
</template> </template>
...@@ -44,13 +45,15 @@ ...@@ -44,13 +45,15 @@
queryVisitorReservePage queryVisitorReservePage
} from '../../api/scheduling/schedu' } from '../../api/scheduling/schedu'
import yuekeForm from '../../components/schedul/yueke-form' import yuekeForm from '../../components/schedul/yueke-form'
import exorderForm from '../../components/schedul/exorder-form'
export default { export default {
meta: { meta: {
title: "约课管理" title: "约课管理"
}, },
components: { components: {
yuekeForm yuekeForm,
exorderForm
}, },
data() { data() {
return { return {
...@@ -112,6 +115,7 @@ ...@@ -112,6 +115,7 @@
isShowYue:false, isShowYue:false,
ChoiceType:0, ChoiceType:0,
visitorItem:{},//选中的对象 visitorItem:{},//选中的对象
isShowExOrder:false
} }
}, },
...@@ -149,9 +153,15 @@ ...@@ -149,9 +153,15 @@
closeYuekeForm() { closeYuekeForm() {
this.isShowYue = false this.isShowYue = false
}, },
closeOrderForm(){
this.isShowExOrder = false
},
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
this.getList(); this.getList();
},
ExchangeOrder(){
this.isShowExOrder=true;
} }
} }
......
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