Commit 20e01bfb authored by zhengke's avatar zhengke

修改

parent 5702b200
......@@ -9,6 +9,26 @@
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" @click="EditCustom(null)" label="新增客户" />
</div>
</template>
<template v-slot:body-cell-CustomerState="props">
<q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.CustomerState==1">
{{props.row.CustomerStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-if="props.row.CustomerState==4">
{{props.row.CustomerStateStr}}
</q-chip>
</q-td>
</template>
<template v-slot:body-cell-ApproveState="props">
<q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.ApproveState==1">
{{props.row.ApproveStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-if="props.row.ApproveState==0">
{{props.row.ApproveStateStr}}
</q-chip>
</q-td>
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:200px;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
......@@ -64,15 +84,15 @@
align: 'left'
},
{
name: 'CustomerStateStr',
name: 'CustomerState',
label: '账号状态',
field: 'CustomerStateStr',
field: 'CustomerState',
align: 'left'
},
{
name: 'ApproveStateStr',
name: 'ApproveState',
label: '审核状态',
field: 'ApproveStateStr',
field: 'ApproveState',
align: 'left'
},
{
......
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