Commit fa5d5ec7 authored by 高宇's avatar 高宇

删除菜单

parent b45d3d07
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
</el-form-item> </el-form-item>
<el-form-item label="gx:" prop="gx"> <el-form-item label="gx:" prop="gx">
<span>{{ replace(singleDetails.gx) }}</span> <span style="margin-left: 10px">{{ replace(singleDetails.gx) }}</span>
</el-form-item> </el-form-item>
<el-form-item label="操作人:" prop="createName"> <el-form-item label="操作人:" prop="createName">
...@@ -527,20 +527,20 @@ export default { ...@@ -527,20 +527,20 @@ export default {
}) })
}) })
}, },
replace(value) { // replace(value) {
/* if (this.dictList.length === 0) { // if (this.dictList.length === 0) {
return value // return value
} // }
let label = '' // let label = ''
if (this.dictList.length > 0) { // if (this.dictList.length > 0) {
this.dictList.forEach(item => { // this.dictList.forEach(item => {
if (item.dictValue === value) { // if (item.dictValue === value) {
label = item.dictLabel // label = item.dictLabel
} // }
}) // })
} // }
return label */ // return label
}, // },
// 编辑 // 编辑
handleUpdate(row) { handleUpdate(row) {
this.title = '编辑基础信息表单' this.title = '编辑基础信息表单'
......
...@@ -55,15 +55,13 @@ ...@@ -55,15 +55,13 @@
icon="el-icon-search" icon="el-icon-search"
size="small" size="small"
@click="handleQuery" @click="handleQuery"
>查询</el-button >查询</el-button>
>
<el-button <el-button
style="padding: 8px 7px" style="padding: 8px 7px"
icon="el-icon-refresh" icon="el-icon-refresh"
size="small" size="small"
@click="resetQuery" @click="resetQuery"
>重置</el-button >重置</el-button>
>
</el-form-item> </el-form-item>
<!-- <div style="float: right"> <!-- <div style="float: right">
<el-form-item> <el-form-item>
...@@ -156,9 +154,11 @@ ...@@ -156,9 +154,11 @@
style="color: #49cec9" style="color: #49cec9"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
>修改</el-button> --> >修改</el-button> -->
<el-button size="mini" type="text" @click="handleDetail(scope.row)" <el-button
>详情</el-button size="mini"
> type="text"
@click="handleDetail(scope.row)"
>详情</el-button>
<!-- <el-button <!-- <el-button
size="mini" size="mini"
type="text" type="text"
...@@ -247,7 +247,7 @@ ...@@ -247,7 +247,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="gx: " prop="gx"> <el-form-item label="gx: " prop="gx">
<span=>{{ replace(singleDetails.gx) }}</span=> <span>{{ replace(singleDetails.gx) }}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment