Commit fa5d5ec7 authored by 高宇's avatar 高宇

删除菜单

parent b45d3d07
......@@ -225,7 +225,7 @@
</el-form-item>
<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 label="操作人:" prop="createName">
......@@ -410,7 +410,7 @@ export default {
},
trigger: 'blur',
},
]
]
},
pissbList: [],
total: 0,
......@@ -527,20 +527,20 @@ export default {
})
})
},
replace(value) {
/* if (this.dictList.length === 0) {
return value
}
let label = ''
if (this.dictList.length > 0) {
this.dictList.forEach(item => {
if (item.dictValue === value) {
label = item.dictLabel
}
})
}
return label */
},
// replace(value) {
// if (this.dictList.length === 0) {
// return value
// }
// let label = ''
// if (this.dictList.length > 0) {
// this.dictList.forEach(item => {
// if (item.dictValue === value) {
// label = item.dictLabel
// }
// })
// }
// return label
// },
// 编辑
handleUpdate(row) {
this.title = '编辑基础信息表单'
......@@ -592,7 +592,7 @@ export default {
this.loading = false
})
},
// 查询
handleQuery() {
this.queryParams.page = 1
......
......@@ -55,15 +55,13 @@
icon="el-icon-search"
size="small"
@click="handleQuery"
>查询</el-button
>
>查询</el-button>
<el-button
style="padding: 8px 7px"
icon="el-icon-refresh"
size="small"
@click="resetQuery"
>重置</el-button
>
>重置</el-button>
</el-form-item>
<!-- <div style="float: right">
<el-form-item>
......@@ -114,7 +112,7 @@
</el-table-column>
<el-table-column label="gx" prop="gx" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ replace(scope.row.gx) || '-' }}
{{ replace(scope.row.gx) || '-' }}
</template>
</el-table-column>
<el-table-column
......@@ -156,9 +154,11 @@
style="color: #49cec9"
@click="handleUpdate(scope.row)"
>修改</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
size="mini"
type="text"
......@@ -247,7 +247,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="gx: " prop="gx">
<span=>{{ replace(singleDetails.gx) }}</span=>
<span>{{ replace(singleDetails.gx) }}</span>
</el-form-item>
</el-col>
</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