From 43203ff88dcd660747e032540a8ffb885c83453e Mon Sep 17 00:00:00 2001 From: sk1551 <15175617877@163.com> Date: Tue, 9 Mar 2021 10:28:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=89=E5=AD=97=E6=AF=8D=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E6=9C=AA=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/benyi/customer/index.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/benyi/customer/index.vue b/ruoyi-ui/src/views/benyi/customer/index.vue index 8724dae41..4d447c64f 100644 --- a/ruoyi-ui/src/views/benyi/customer/index.vue +++ b/ruoyi-ui/src/views/benyi/customer/index.vue @@ -52,6 +52,16 @@ ></el-option> </el-select> </el-form-item> + <el-form-item label="客户身份" prop="sflx"> + <el-select v-model="queryParams.sflx" placeholder="请选择客户身份"> + <el-option + v-for="dict in gxOptions" + :key="dict.dictValue" + :label="dict.dictLabel" + :value="dict.dictValue" + ></el-option> + </el-select> + </el-form-item> <el-form-item> <el-button type="primary" @@ -134,7 +144,7 @@ <el-table-column label="其他联系方式" align="center" prop="qt" /> <el-table-column label="所在省" align="center" prop="sheng" /> <el-table-column label="所在市" align="center" prop="shi" /> - <el-table-column label="消费项目" align="center" prop="xfxm" /> + <el-table-column label="消费项目" align="center" prop="xfxm" sortable="xfxm" /> <el-table-column label="消费价值" align="center" prop="xfjz" sortable="xfjz" /> <el-table-column label="录入人" @@ -426,6 +436,9 @@ export default { sortChange(column, prop, order) { // 可以打印一下该函数的参数就明白了 // 下面的if判断根据自己的需要些我后台设置的只能识别desc与asc + console.log(column); + console.log(prop); + console.log(order); if (column.order != null) { this.queryParams.isAsc = "desc"; } else {