From 4f55c0255e5e68b3685d1510062dff6e1e3dbc48 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期三, 16 四月 2025 14:13:07 +0800 Subject: [PATCH] 1 --- src/views/picture/other/index.vue | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/src/views/picture/other/index.vue b/src/views/picture/other/index.vue index e9c8d0d..a65e924 100644 --- a/src/views/picture/other/index.vue +++ b/src/views/picture/other/index.vue @@ -15,7 +15,7 @@ placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="handleQuery" - @blur="handleQuery" + @blur="hb" style="width: 160px" /> </el-form-item> @@ -66,7 +66,7 @@ type="primary" icon="el-icon-search" size="mini" - @click="handleQuery" + @click="handleQuery" style="margin-right:15px;" >鎼滅储</el-button > <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" @@ -156,9 +156,13 @@ prop="customer.cusSex" width="60px" > - <template slot-scope="scope"> + <!-- <template slot-scope="scope"> {{ scope.row.customer.cusSex === 0 ? "鐢�" : "濂�" }} - <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> --> + </template> --> + <template slot-scope="scope"> + <span v-if="scope.row.cusSex == '0'">鐢�</span> + <span v-if="scope.row.cusSex == '1'">濂�</span> + <span v-if="scope.row.cusSex == '2'">鏈煡</span> </template> </el-table-column> <!-- <el-table-column label="鐢熸棩" align="center" prop="customer.cusBrithday" width="110px" /> --> @@ -262,21 +266,22 @@ </div> </div> --> - <div style="margin-top: 20px"> + <div style="margin-top: 10px"> <el-form :model="form" ref="queryForm" size="small" - :inline="true" + :inline="false" label-width="68px" > - <el-form-item label="椤圭洰缁撴灉" prop="measuredValue"> - <el-input v-model="form.measuredValue" clearable /> + <el-form-item label="妫�鏌ユ墍瑙�" prop="measuredValue"> + <el-input v-model="form.measuredValue" clearable type="textarea" /> </el-form-item> - <el-form-item label="缁撴灉缁撹" prop="fixedValue"> + <el-form-item label="妫�鏌ョ粨璁�" prop="fixedValue"> <el-input v-model="form.fixedValue" clearable + type="textarea" @focus="submiepilog" /> </el-form-item> @@ -471,6 +476,12 @@ }; this.resetForm("form"); }, + hb(){ + console.log(this.queryParams.tjNum); + if (this.queryParams.tjNum != null) { + this.handleQuery(); + } + }, /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery() { this.queryParams.pageNum = 1; -- Gitblit v1.8.0