Commit 1462068e authored by zhengke's avatar zhengke

1

parent 80375acf
......@@ -2,14 +2,6 @@
<div class="b2bcustomer">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table"
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>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
......@@ -58,17 +50,17 @@
field: "ContactNumber",
align: "left"
},
{
name: "StuStageName",
label: "客户阶段",
field: "StuStageName",
align: "left"
},
{
name: "QQ",
label: "QQ号",
field: "QQ",
align: "left"
},
{
name: "WeChatNo",
label: "微信号",
field: "WeChatNo",
align: "left"
}
],
msg: {
......
......@@ -81,9 +81,9 @@
},
//初始化表单
initObj() {
if (this.rowId > 0) {
if (this.CategoryId > 0) {
let msg = {
CategoryId: this.rowId
CategoryId: this.CategoryId
};
queryCustomerCategory(msg).then(res => {
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