From ee90417609ec42195238710f0d07c26ab4c54624 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 21 三月 2025 17:54:47 +0800 Subject: [PATCH] qx --- src/views/picture/picture/index.vue | 49 +++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 39 insertions(+), 10 deletions(-) diff --git a/src/views/picture/picture/index.vue b/src/views/picture/picture/index.vue index 7804095..4bdf852 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" @@ -76,7 +77,7 @@ <!-- <template slot-scope="scope"> {{ scope.row.customer.cusSex === 0 ? "鐢�" : "濂�" }} </template> --> - <template slot-scope="scope"> + <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> @@ -125,6 +126,7 @@ :data="tableList" @selection-change="handleChange" border + style="height: 400px" > <el-table-column type="selection" width="40" align="center" /> <el-table-column label="鏀惰垂椤圭洰" align="center" prop="proName" /> @@ -132,34 +134,42 @@ <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> <el-form-item> + <el-button + type="primary" + icon="el-icon-picture" + size="mini" + @click="tupian" + >鍥剧墖</el-button + > <el-button type="primary" icon="el-icon-search" @@ -181,6 +191,15 @@ </div> --> </div> </div> + + <el-dialog + title="鎻愮ず" + :visible.sync="dialogVisible" + width="60%" + :before-close="handleClose" + > + <img src="../../../assets/logo/logo.png" alt="" /> + </el-dialog> <div style="margin-right: 70%"> <pagination @@ -242,6 +261,7 @@ title: "", // 鏄惁鏄剧ず寮瑰嚭灞� open: false, + dialogVisible: false, // 鏌ヨ鍙傛暟 queryParams: { pageNum: 1, @@ -339,6 +359,12 @@ }; this.resetForm("form"); }, + hb() { + console.log(this.queryParams.tjNum); + if (this.queryParams.tjNum != null) { + this.handleQuery(); + } + }, /** 鎼滅储鎸夐挳鎿嶄綔 */ handleQuery() { this.queryParams.pageNum = 1; @@ -394,6 +420,9 @@ let proId = "1633660948860522585"; this.$refs.aaa.getList(proId); }, + tupian() { + this.dialogVisible = true; + }, // 纭畾鎸夐挳 submito() { if (this.dataobj) { -- Gitblit v1.8.0