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

推修改内页样式

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