From 9da0e2b46b4c9c84eeea1172245b98ca34725638 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期三, 19 三月 2025 17:22:57 +0800 Subject: [PATCH] qx --- src/views/picture/picture/index.vue | 32 ++++++++++++++++++++++---------- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git a/src/views/picture/picture/index.vue b/src/views/picture/picture/index.vue index 235a1c8..0a105a2 100644 --- a/src/views/picture/picture/index.vue +++ b/src/views/picture/picture/index.vue @@ -15,7 +15,7 @@ placeholder="璇疯緭鍏ヤ綋妫�鍙�" clearable @keyup.enter.native="handleQuery" - @blur="handleQuery" + @blur="hb" style="width: 170px" /> </el-form-item> @@ -34,6 +34,7 @@ icon="el-icon-search" size="mini" @click="handleQuery" + style="margin-right: 15px" >鎼滅储</el-button > <el-button icon="el-icon-refresh" size="mini" @click="resetQuery" @@ -73,9 +74,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" /> --> @@ -128,30 +133,31 @@ <el-table-column label="椤圭洰缁撴灉" align="center" prop="proResult" /> <!-- <el-table-column label="缁撹" align="center" prop="conclusion" /> --> </el-table> - <div style="height: 390px; margin-top: 10px"> + <div style="height: 200px; margin-top: 10px"> <el-image v-loading="loading" - style="height: 390px; width: 100%" + style="height: 200px; width: 100%" :src="imgsrc + tjNumber + '.png'" :preview-src-list="[imgsrc + tjNumber + '.png']" ></el-image> </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="proResult"> - <el-input v-model="form.proResult" clearable /> + <el-form-item label="妫�鏌ユ墍瑙�" prop="proResult"> + <el-input v-model="form.proResult" clearable type="textarea" /> </el-form-item> - <el-form-item label="缁撴灉缁撹" prop="conclusion"> + <el-form-item label="妫�鏌ョ粨璁�" prop="conclusion"> <el-input v-model="form.conclusion" clearable + type="textarea" @focus="submiepilog" /> </el-form-item> @@ -335,6 +341,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