From aa4451fa555c7d86502c0416a5cf3be343acb67c Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期三, 08 一月 2025 15:09:31 +0800 Subject: [PATCH] 1 --- src/views/system/package/index.vue | 35 +++++++++++++++++------------------ 1 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/views/system/package/index.vue b/src/views/system/package/index.vue index a503853..4c7277b 100644 --- a/src/views/system/package/index.vue +++ b/src/views/system/package/index.vue @@ -432,10 +432,10 @@ style="width: 150px" /> </el-form-item> - <el-form-item label="浣撴绫诲埆" prop="tjCategory"> - <el-select + <el-form-item label="浣撴绫诲埆" prop="tjCategory"> + <el-select v-model="form.tjCategory" - placeholder="璇烽�夋嫨鏄惁涓婃灦" + placeholder="璇烽�夋嫨浣撴绫诲埆" style="width: 150px" filterable clearable @@ -448,7 +448,6 @@ ></el-option> </el-select> </el-form-item> - <div v-if="!isCollapsed" style="display: flex"> <div> @@ -516,8 +515,8 @@ </el-table-column> </el-table> --> - <el-row :gutter="20"> - <el-col :span="7"> + <el-row :gutter="11"> + <el-col :span="11"> <div style="text-align: center; margin-bottom: 10px; margin-top: 10px" > @@ -542,7 +541,7 @@ </el-tree> </div> </el-col> - <el-col :span="6"> + <!-- <el-col :span="6"> <div style="text-align: center; margin-bottom: 10px; margin-top: 10px" > @@ -564,27 +563,27 @@ > </el-tree> </div> - </el-col> + </el-col> --> <el-col :span="11"> <div class="grid-content bg-purple"> <div - style="text-align: center; margin-bottom: 10px; margin-top: 10px" + style="text-align: center; margin-bottom: 10px; margin-top: 10px; margin-left: 16%;" > 宸查�夐」鐩垪琛� </div> <el-table :data="DataList" border - style="width: 100%" + style="width: 80%; margin-left: 18%;" height="400" :span-method="objectSpanMethod" > - <el-table-column prop="propinName" label="妫�鏌ラ」鐩�"> + <el-table-column prop="propinName" label="妫�鏌ラ」鐩�" > </el-table-column> - <el-table-column prop="proPrice" label="鍘熶环" width="56px"> + <el-table-column prop="proPrice" label="鍘熶环" align="center" > </el-table-column> - <el-table-column prop="proName" label="鏄庣粏椤圭洰" width="260px"> - </el-table-column> + <!-- <el-table-column prop="proName" label="鏄庣粏椤圭洰" width="260px"> + </el-table-column> --> <!-- <el-table-column label="鎿嶄綔" @@ -604,7 +603,7 @@ </template> </el-table-column>--> </el-table> - <h3 style="font-weight: 600;">鍚堣锛歿{ pics }}鍏�</h3> + <h3 style="font-weight: 600">鍚堣锛歿{ pics }}鍏�</h3> </div> </el-col> </el-row> @@ -657,7 +656,7 @@ import { Message } from "element-ui"; export default { name: "Package", - dicts: ["sys_normal_disable", "sys_yes_no","dict_tjtype"], + dicts: ["sys_normal_disable", "sys_yes_no", "dict_tjtype"], components: { Packages }, data() { let checkPhoneNum = (rule, value, callback) => { @@ -782,7 +781,8 @@ }, filterNode(value, data) { if (!value) return true; - if(value == data.proName){ + // return data.proName.indexOf(value) !== -1; + if(data.proName.indexOf(value) !== -1){ return data.proName.indexOf(value) !== -1; }else{ return data.proEngName.indexOf(value) !== -1; @@ -1446,7 +1446,6 @@ max-height: 400px; overflow-y: auto; border: 1px solid #d9d9d9; - } /* .custom-tree-node { flex: 1; -- Gitblit v1.8.0