fix : 按钮放在右上角浮动
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div style="padding: 0 30px" id="printBox">
|
||||
<div style="display: flex;justify-content: space-between">
|
||||
<baseTitle title="项目基本信息"></baseTitle>
|
||||
<div class="oper-page-btn" :style="{marginRight:taskId? '145px':'0'}">
|
||||
<div class="oper-page-btn" :style="{marginRight:taskId? '145px':editShow?mode=='submit'?'145px':'170px':'0'}">
|
||||
<el-button v-print="print" color="#ded0b2" icon="Printer" @click="handlePrint(print)"> 打印</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -101,6 +101,16 @@ const props = defineProps({
|
||||
taskId: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
//当项目详情是编辑模式时按钮位置
|
||||
editShow: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
//当项目详情是提交模式还是重新提交时按钮位置
|
||||
mode: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
})
|
||||
const route = useRoute()
|
||||
|
||||
Reference in New Issue
Block a user