From 089b302259e03ce52fc102bcf168d1fa048fffe9 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期四, 26 九月 2024 16:38:28 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/basicInfo/SelectPicture.vue | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/web/src/views/modules/basicInfo/SelectPicture.vue b/web/src/views/modules/basicInfo/SelectPicture.vue index 2b66296..b865137 100644 --- a/web/src/views/modules/basicInfo/SelectPicture.vue +++ b/web/src/views/modules/basicInfo/SelectPicture.vue @@ -5,6 +5,8 @@ <zt-table-wraper query-url="/sysPictureBase/page" :paging='false' v-slot="{ table }"> + <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"> + </el-form> <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:70}" border @row-dblclick="selectedPicture" @@ -28,13 +30,14 @@ export default { data() { return { - url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getProductImg?token=${Cookies.get('token')}&id=`, + url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getSvgImage?token=${Cookies.get('token')}&id=`, name: 'SelectPicture', type: '', dataForm: { id:'', contentType: '', systemMark: '', + productType:'', sortNo: '' }, } @@ -42,7 +45,8 @@ components: {}, methods: { init(type) { - this.type = type + this.dataForm.productType = type + console.log(this.dataForm.productType) }, async selectedPicture(row) { await this.$tip.success() -- Gitblit v1.9.1