Commit f0543029 authored by 黄奎's avatar 黄奎

y6emxiug

parent 8d73de14
......@@ -31,7 +31,6 @@
</q-tabs>
<div>
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" @click="EditCustom(null)" label="新增客户" />
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" @click="EditRight(null)" label="右侧" />
</div>
</div>
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-column-table"
......@@ -53,7 +52,7 @@
<perCustomer-form v-if="isShowCustomForm" :customerObj="customerObj" @close="closeCustomForm"
@success="refreshQuestion">
</perCustomer-form>
<customRight-form v-if="isShowRightForm" @close="closeRightForm"></customRight-form>
<customRight-form v-if="isShowRightForm" :customerObj="customerObj" @close="closeCustomForm"></customRight-form>
</div>
</div>
</template>
......@@ -139,10 +138,11 @@
//关闭弹窗
closeCustomForm() {
this.isShowCustomForm = false;
this.isShowRightForm = false;
},
//新增或者修改
EditCustom(obj) {
if (obj) {
this.customerObj = obj
} else {
......@@ -161,13 +161,6 @@
},
refreshQuestion() {
},
EditRight(obj) {
this.isShowRightForm = true;
},
//关闭弹窗
closeRightForm() {
this.isShowRightForm = false;
},
//获取分页数据
getList() {
......
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