优化名称

This commit is contained in:
zyn
2023-04-19 10:49:28 +08:00
parent 4332ebc633
commit a589bd401a
4 changed files with 24 additions and 4 deletions
@@ -52,9 +52,15 @@ export default {
watch: {},
mounted() {this.queryProcess()},
methods: {
getPrcNameFilter(row){
getPrcNameFilter(row){
if(row && row.prcType === '25' && row.taskInfo === '技术标准起草'){
let _index = row.prcName.lastIndexOf('-')
return row.prcName.slice(0 , _index + 1) + '企标制修订'
}else {
return row.prcName
},
}
},
togo () {
this.$router.push('/processCenter')
},
@@ -84,7 +84,7 @@
width="180"
>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType) }}</span>
<span>{{ getPrcName(scope.row.prcType,scope.row.taskInfo) }}</span>
</template>
</el-table-column>
<el-table-column
@@ -94,6 +94,9 @@
align="center"
min-width="250"
>
<template slot-scope="scope">
<span>{{ getPrcNameFilter(scope.row) }}</span>
</template>
</el-table-column>
<el-table-column
prop="creatUserName"
@@ -84,7 +84,9 @@
width="180"
>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType) }}</span>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType,scope.row.taskInfo) }}</span>
</template>
</template>
</el-table-column>
<el-table-column
@@ -94,6 +96,9 @@
align="center"
min-width="250"
>
<template slot-scope="scope">
<span>{{ getPrcNameFilter(scope.row) }}</span>
</template>
</el-table-column>
<el-table-column
prop="creatUserName"
@@ -83,6 +83,9 @@
align="center"
width="180"
>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType,scope.row.taskInfo) }}</span>
</template>
<template slot-scope="scope">
<span>{{ getPrcName(scope.row.prcType) }}</span>
</template>
@@ -94,6 +97,9 @@
align="center"
min-width="250"
>
<template slot-scope="scope">
<span>{{ getPrcNameFilter(scope.row) }}</span>
</template>
</el-table-column>
<el-table-column
prop="creatUserName"