From 05aec1e9986fbe3e907259bb1a1396f129bd0fa1 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 06 二月 2026 14:14:48 +0800
Subject: [PATCH] 优化
---
admin/src/views/business/member.vue | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/admin/src/views/business/member.vue b/admin/src/views/business/member.vue
index 25aca5a..87d15a3 100644
--- a/admin/src/views/business/member.vue
+++ b/admin/src/views/business/member.vue
@@ -3,15 +3,15 @@
<!-- 鎼滅储琛ㄥ崟 -->
<el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline>
<el-form-item label="濮撳悕" prop="name">
- <el-input v-model="searchForm.name" style="width: 150px" placeholder="璇疯緭鍏ュ鍚�" @keypress.enter.native="search"></el-input>
+ <el-input v-model="searchForm.name" style="width: 180px" placeholder="璇疯緭鍏ュ鍚�" @keypress.enter.native="search"></el-input>
</el-form-item>
<el-form-item label="宸ュ彿" prop="code">
- <el-input v-model="searchForm.code" style="width: 150px" placeholder="璇疯緭鍏ュ伐鍙�" @keypress.enter.native="search"></el-input>
+ <el-input v-model="searchForm.code" style="width: 180px" placeholder="璇疯緭鍏ュ伐鍙�" @keypress.enter.native="search"></el-input>
</el-form-item>
<el-form-item label="鎴樺尯" prop="zhanquIds">
<el-select
v-model="searchForm.zhanquIds"
- style="width: 150px"
+ style="width: 180px"
placeholder="鎴樺尯"
clearable
@change="search"
@@ -27,10 +27,11 @@
<el-form-item label="鍟嗕笟鍖栫被鍨�" prop="bustypeIdList">
<el-select
v-model="searchForm.bustypeIdList"
- style="width: 150px"
+ style="width: 180px"
placeholder="鍟嗕笟鍖栫被鍨�"
clearable
multiple
+ collapse-tags
@change="search"
>
<el-option
@@ -44,9 +45,10 @@
<el-form-item label="鎿呴暱棰嗗煙" prop="fieldIdList">
<el-select
v-model="searchForm.fieldIdList"
- style="width: 150px"
+ style="width: 300px"
placeholder="鎿呴暱棰嗗煙"
clearable
+ collapse-tags
multiple
@change="search"
>
@@ -61,7 +63,7 @@
<el-form-item label="鑰佸笀绛夌骇" prop="levelId">
<el-select
v-model="searchForm.levelId"
- style="width: 150px"
+ style="width: 180px"
placeholder="鑰佸笀绛夌骇"
clearable
@change="search"
@@ -79,7 +81,7 @@
v-model="searchForm.status"
placeholder="鐘舵��"
clearable
- style="width: 150px"
+ style="width: 180px"
@change="search"
>
<el-option :key="0" :value="0" label="鍚敤"></el-option>
@@ -108,8 +110,8 @@
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="imgurl" label="鍥剧墖" min-width="100px">
<template slot-scope="{row}">
- <el-image v-if="row.fullImgurl" style="width: 50px; height: 50px; margin-right: 10px" :src="row.fullImgurl"
- :preview-src-list="[row.fullImgurl]">
+ <el-image v-if="row.fullImgurl" style="width: 50px; margin-right: 10px" :src="row.fullImgurl"
+ :preview-src-list="[row.fullImgurl]">
</el-image>
</template>
</el-table-column>
@@ -155,7 +157,9 @@
<el-table-column prop="fieldNames" label="鎿呴暱棰嗗煙" min-width="200px">
<template slot-scope="{row}">
<div v-if="row.fieldList && row.fieldList.length">
- <div style="display:inline-block;" v-for="(item,index) in row.fieldList">{{item.name||''}} <span v-if="index < row.fieldList.length-1" style="display:inline-block;padding: 0px 3px;">/</span></div>
+ <div style="width: 190px; display: -webkit-box; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden;">
+ <template v-for="(item,index) in row.fieldList">{{item.name||''}} <template v-if="index < row.fieldList.length-1">/</template></template>
+ </div>
</div>
</template>
</el-table-column>
@@ -177,7 +181,7 @@
>
<template slot-scope="{row}">
<el-button type="text" @click="$refs.operaMemberWindow.open('缂栬緫鑰佸笀', row,searchForm.type)" icon="el-icon-edit" v-permissions="['business:member:update']">缂栬緫</el-button>
- <el-button type="text" @click="$refs.OperaCasesListWindow.open('鏌ョ湅鑰佸笀妗堜緥銆�'+row.name+'銆�', row.id)" icon="el-icon-open">妗堜緥</el-button>
+ <el-button type="text" @click="$refs.OperaCasesListWindow.open('鏌ョ湅鑰佸笀妗堜緥銆�'+row.name+'銆�', row.id)" icon="el-icon-picture-outline">妗堜緥</el-button>
<el-button type="text" style="color: red" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:member:delete']">鍒犻櫎</el-button>
</template>
</el-table-column>
--
Gitblit v1.9.3