Commit f0543029 authored by 黄奎's avatar 黄奎

y6emxiug

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