Commit 1462068e authored by zhengke's avatar zhengke

1

parent 80375acf
...@@ -2,14 +2,6 @@ ...@@ -2,14 +2,6 @@
<div class="b2bcustomer"> <div class="b2bcustomer">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table" <q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table"
separator="none" :data="dataList" :columns="columns" row-key="Id"> separator="none" :data="dataList" :columns="columns" row-key="Id">
<!-- <template v-slot:body-cell-StuSex="props">
<q-td :props="props">
<q-badge
:color="props.value == 1 ? 'negative' : 'primary'"
:label="props.value == 1 ? '女' : '男'"
/>
</q-td>
</template> -->
<template v-slot:bottom> <template v-slot:bottom>
<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" />
...@@ -58,17 +50,17 @@ ...@@ -58,17 +50,17 @@
field: "ContactNumber", field: "ContactNumber",
align: "left" align: "left"
}, },
{
name: "StuStageName",
label: "客户阶段",
field: "StuStageName",
align: "left"
},
{ {
name: "QQ", name: "QQ",
label: "QQ号", label: "QQ号",
field: "QQ", field: "QQ",
align: "left" align: "left"
},
{
name: "WeChatNo",
label: "微信号",
field: "WeChatNo",
align: "left"
} }
], ],
msg: { msg: {
......
...@@ -81,9 +81,9 @@ ...@@ -81,9 +81,9 @@
}, },
//初始化表单 //初始化表单
initObj() { initObj() {
if (this.rowId > 0) { if (this.CategoryId > 0) {
let msg = { let msg = {
CategoryId: this.rowId CategoryId: this.CategoryId
}; };
queryCustomerCategory(msg).then(res => { queryCustomerCategory(msg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
......
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