This commit is contained in:
zhutianqi
2021-12-24 10:06:36 +08:00
parent 1d78fdb4a9
commit 9e121c4018
2 changed files with 12 additions and 6 deletions
@@ -2,9 +2,9 @@
<template>
<div class="prc-header-wrap">
<div class="process-header">
<span class="process-title">
<slot name="proName"></slot>
<a>(<slot name="proNode"></slot>)</a>
<span class="process-title van-ellipsis" :title="proName + '(' + proNode + ')'">
<span>{{ proName }}</span>
<span class="smallText">( {{ proNode }})</span>
</span>
</div>
<el-divider></el-divider>
@@ -27,7 +27,9 @@
return {
activeName: '',
opacityStyle: {},
headerFixed: false
headerFixed: false,
proName: '',
proNode: '',
}
},
methods: {
@@ -53,6 +55,8 @@
},
watch: {},
mounted () {
this.proName = this.$slots.proName[0].text
this.proNode = this.$slots.proNode[0].text
}
}
</script>
@@ -65,15 +69,17 @@
.process-header {
position: relative;
padding-top: 10px;
width: 100%;
}
.process-title {
width: 100%;
margin-left: 10px;
font-size: 18px;
font-weight: bold;
display: inline-block;
height: 30px;
line-height: 30px;
a {
.smallText {
font-size: 14px;
margin-left: 5px;
cursor: default;
@@ -492,7 +492,7 @@ export default {
case '2':
if (row.taskInfo === '责任对接人选择责任人') {
this.$router.push({
name: 'phoneBzdyStep2',
name: 'bzdyStep2',
query: {
taskIds: row.taskIds,
prcId: row.prcId,