Commit 8097e5a5 authored by 姬鋆屾's avatar 姬鋆屾

推修改内页样式

parent 75fa2ab3
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
v-for="($label, $value) in enumData" v-for="($label, $value) in enumData"
:key="$value" :key="$value"
:label="$value" :label="$value"
style="margin-bottom: 10px;"
>{{ $label }}</el-radio >{{ $label }}</el-radio
> >
</el-radio-group> </el-radio-group>
......
...@@ -372,15 +372,19 @@ export default { ...@@ -372,15 +372,19 @@ export default {
.table-head-left .buttons { .table-head-left .buttons {
button + button { button + button {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px;
} }
button + span { button + span {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px;
} }
span + span { span + span {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px;
} }
span + button { span + button {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px;
} }
} }
} }
......
...@@ -10,6 +10,16 @@ ...@@ -10,6 +10,16 @@
style="margin-left: 0;margin-right: 5px" style="margin-left: 0;margin-right: 5px"
>编辑</el-button >编辑</el-button
> >
<el-button
v-if="noAuth"
type="text"
icon="el-icon-edit"
size="mini"
@click="$emit('edit', row)"
title="考核授权"
style="margin-left: 0;margin-right: 5px"
>考核授权</el-button
>
<el-button <el-button
v-if="!noView" v-if="!noView"
type="text" type="text"
...@@ -79,6 +89,10 @@ export default { ...@@ -79,6 +89,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
noAuth: {
type: Boolean,
default: false,
},
reCheck: { reCheck: {
type: Boolean, type: Boolean,
default: false, default: false,
......
<template> <template>
<div class="container" v-if="open"> <div class="container" v-if="open">
<el-card style="min-height:80vh;padding:15px"> <el-card style="min-height:80vh;padding: 0 10px">
<div class="flex flex_end"> <div class="head">
<el-button type="primary" size="mini" @click="backTo" <el-button type="primary" size="mini" @click="backTo"
>返回上一级</el-button >返回上一级</el-button
> >
...@@ -1390,7 +1390,7 @@ export default { ...@@ -1390,7 +1390,7 @@ export default {
}, },
}; };
</script> </script>
<style lang="less"> <style lang="less" scoped>
.container { .container {
font-size: 15px; font-size: 15px;
} }
...@@ -1425,4 +1425,10 @@ export default { ...@@ -1425,4 +1425,10 @@ export default {
color: #999; color: #999;
font-size: 12px; font-size: 12px;
} }
.head {
position: absolute;
right: 45px;
z-index: 99;
}
</style> </style>
...@@ -384,7 +384,17 @@ export default { ...@@ -384,7 +384,17 @@ export default {
noEdit noEdit
row={row} row={row}
onView={this.toView} onView={this.toView}
onEdit={this.toEdit}
/> />
// <table-buttons
// noAdd
// noAuth
// noDel
// noEdit
// row={row}
// onView={this.toView}
// onEdit={this.toEdit}
// />
); );
}, },
}, },
......
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