Merge pull request 'fix : 按钮放在右上角浮动' (#860) from dj into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/860
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div style="padding: 0 30px" id="printBox">
|
<div style="padding: 0 30px" id="printBox">
|
||||||
<div style="display: flex;justify-content: space-between">
|
<div style="display: flex;justify-content: space-between">
|
||||||
<baseTitle title="项目基本信息"></baseTitle>
|
<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>
|
<el-button v-print="print" color="#ded0b2" icon="Printer" @click="handlePrint(print)"> 打印</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -101,6 +101,16 @@ const props = defineProps({
|
|||||||
taskId: {
|
taskId: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
|
},
|
||||||
|
//当项目详情是编辑模式时按钮位置
|
||||||
|
editShow: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
|
//当项目详情是提交模式还是重新提交时按钮位置
|
||||||
|
mode: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="link-box">
|
<div class="link-box">
|
||||||
<el-scrollbar noresize>
|
<el-scrollbar noresize height="31" >
|
||||||
<div>
|
<!-- style="display: flex"-->
|
||||||
|
<div >
|
||||||
<router-link
|
<router-link
|
||||||
v-for="item in tagsViewStore.visitedViews"
|
v-for="item in tagsViewStore.visitedViews"
|
||||||
:key="item.path" :to="{ path: item.path, query: item.query }" class="tag"
|
:key="item.path" :to="{ path: item.path, query: item.query }" class="tag"
|
||||||
@@ -74,11 +75,17 @@ init()
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.link-box {
|
.link-box {
|
||||||
|
//display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
|
//flex-shrink: 0;
|
||||||
|
//display: flex;
|
||||||
|
//align-items: center;
|
||||||
|
//justify-content: center;
|
||||||
|
//height: 30px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
border: 1px solid darkgray;
|
border: 1px solid darkgray;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<steps :active="route.query.id==='-1'?currentStep-1:currentStep" @setDetail="setDetail" @stepChange="stepChange"
|
<steps :active="route.query.id==='-1'?currentStep-1:currentStep" @setDetail="setDetail" @stepChange="stepChange"
|
||||||
:reportType="route.query.id==='-1'?'direct':''" :taskId="detailData.taskId">
|
:reportType="route.query.id==='-1'?'direct':''" :taskId="detailData.taskId" :editShow="editShow" :mode="mode">
|
||||||
<template #content v-if="detailShow">
|
<template #content v-if="detailShow">
|
||||||
<collection-detail :formData="detailData.formData"
|
<collection-detail :formData="detailData.formData"
|
||||||
:data="detailData"
|
:data="detailData"
|
||||||
|
|||||||
Reference in New Issue
Block a user