feat: There is no way the, 修改通用流程名称逻辑 独立判断 添加新复审流程名称+节点信息
This commit is contained in:
@@ -11,10 +11,10 @@
|
|||||||
<li v-for="item in toDoTaskList" :key="item.id" class="time-title">
|
<li v-for="item in toDoTaskList" :key="item.id" class="time-title">
|
||||||
<div style="height: 30px">
|
<div style="height: 30px">
|
||||||
<span @click="dealWith(item)" v-if="item.prcName.length<24"
|
<span @click="dealWith(item)" v-if="item.prcName.length<24"
|
||||||
style="line-height: 30px; font-size: 13px;">{{ item.prcName }}</span>
|
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item.prcName) }}</span>
|
||||||
<el-tooltip class="item" effect="dark" :content="item.prcName" placement="left" v-else>
|
<el-tooltip class="item" effect="dark" :content="item.prcName" placement="left" v-else>
|
||||||
<span @click="dealWith(item)"
|
<span @click="dealWith(item)"
|
||||||
style="line-height: 30px; font-size: 13px;">{{ item.prcName.substring(0, 24) + '...' }}</span>
|
style="line-height: 30px; font-size: 13px;">{{ getPrcNameFilter(item.prcName).substring(0, 24) + '...' }}</span>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -124,6 +124,14 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getPrcNameFilter(row){
|
||||||
|
if(row && row.prcType === 'buss3'){
|
||||||
|
return row.prcName + '-' + row.taskInfo
|
||||||
|
}else {
|
||||||
|
return row.prcName
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @description: 根据流程类型获取流程名称
|
* @description: 根据流程类型获取流程名称
|
||||||
* @date: 2020-11-25 15:47:12
|
* @date: 2020-11-25 15:47:12
|
||||||
|
|||||||
@@ -93,9 +93,9 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center"
|
align="center"
|
||||||
min-width="250"
|
min-width="250"
|
||||||
>
|
><!--scope.row.prcName-->
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="dealWith(scope.row)" class="table-jump">{{ scope.row.prcName }}</a>
|
<a @click="dealWith(scope.row)" class="table-jump">{{ getPrcNameFilter(scope.row) }}</a>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
|
|||||||
Reference in New Issue
Block a user