Commit 61e183ba authored by 黄奎's avatar 黄奎

页面修改

parent b3368a5e
...@@ -26,18 +26,9 @@ ...@@ -26,18 +26,9 @@
<q-select @input="resetSearch" clearable filled v-model="msg.ApproveState" :options="ApproveStateList" <q-select @input="resetSearch" clearable filled v-model="msg.ApproveState" :options="ApproveStateList"
emit-value map-options label="审核状态" /> emit-value map-options label="审核状态" />
</div> </div>
</div> </div>
</div> </div>
<div class="page-content"> <div class="page-content">
<div>
<q-tabs style="margin-bottom:20px;" v-model="tabCheck" @input="resetSearch()" narrow-indicator dense align="left" class="text-primary">
<q-tab :ripple="false" :name="1" label="正式客户" />
<q-tab :ripple="false" :name="2" label="非正式客户" />
<q-tab :ripple="false" :name="3" label="未通过客户" />
<q-tab :ripple="false" :name="4" label="黑名单客户" />
</q-tabs>
</div>
<custom-form :dataList="dataList" :authObj="authObj" :loading="loading" @success="getList"></custom-form> <custom-form :dataList="dataList" :authObj="authObj" :loading="loading" @success="getList"></custom-form>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
...@@ -52,7 +43,7 @@ ...@@ -52,7 +43,7 @@
import customForm from '../../components/sale/custom-form'; import customForm from '../../components/sale/custom-form';
export default { export default {
meta: { meta: {
title: "同行管理" title: "同行审批"
}, },
components: { components: {
customForm customForm
...@@ -70,8 +61,6 @@ ...@@ -70,8 +61,6 @@
CustomerState: "", //账号状态 CustomerState: "", //账号状态
}, },
loading: false, loading: false,
tabCheck: 1,
//审核状态列表 //审核状态列表
ApproveStateList: [{ ApproveStateList: [{
label: "通过", label: "通过",
...@@ -82,7 +71,6 @@ ...@@ -82,7 +71,6 @@
value: "2", value: "2",
}, },
], ],
dataList: [], dataList: [],
//判断显示 //判断显示
authObj: { authObj: {
...@@ -107,7 +95,6 @@ ...@@ -107,7 +95,6 @@
}, },
//获取分页数据 //获取分页数据
getList() { getList() {
this.msg.QCustomerState = this.tabCheck;
GetCustomerPage(this.msg).then(res => { GetCustomerPage(this.msg).then(res => {
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.loading = false; this.loading = false;
......
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