63 lines
970 B
Vue
63 lines
970 B
Vue
<!-- 流程信息公共头部 -->
|
|
<template>
|
|
<div>
|
|
<div class="prc-header-wrap">
|
|
<div class="processtitle">{{title}}</div>
|
|
<div class="processnum" v-if="proceesNum">流程编号:{{proceesNum}}</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'ProcessHeader',
|
|
mixins: [],
|
|
props: {
|
|
// 渲染的名称
|
|
title: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
// 渲染编号
|
|
proceesNum: {
|
|
type: String,
|
|
required: false
|
|
}
|
|
},
|
|
components: {},
|
|
data () {
|
|
return {
|
|
opacityStyle: {},
|
|
headerFixed: false
|
|
}
|
|
},
|
|
methods: {
|
|
},
|
|
computed: {
|
|
},
|
|
watch: {},
|
|
mounted () {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.prc-header-wrap{
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
border-bottom: 1px dotted #ccc;
|
|
line-height: 40px;
|
|
color: #555;
|
|
|
|
}
|
|
.processtitle{
|
|
font-weight: 700;
|
|
font-size: 16px;
|
|
}
|
|
.processnum{
|
|
font-size: 13px;
|
|
}
|
|
</style>
|