优化名称
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user