|
|
@@ -43,16 +43,21 @@
|
|
|
|
|
|
<!--<el-table-column type="index" label="序号"></el-table-column>-->
|
|
|
|
|
|
- <el-table-column label="待办类型" prop="Type">
|
|
|
+ <el-table-column label="待办类型" prop="Type" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.Type=='1'" style="color:#E6A23C">准入</span>
|
|
|
- <span v-if="scope.row.Type=='2'" style="color:#E6A23C">增项</span>
|
|
|
- <span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审</span>
|
|
|
- <span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更</span>
|
|
|
- <span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更</span>
|
|
|
+ <span v-if="scope.row.Type=='1'" style="color:#E6A23C">准入-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='2'" style="color:#E6A23C">增项-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="类别" prop="SupplierTypeCode">
|
|
|
+ <!--<el-table-column label="当前状态" prop="Status" align="center">-->
|
|
|
+ <!--<!–<template slot-scope="scope">–>-->
|
|
|
+ <!--<!–{{statusStr(scope.row.Status, scope.row.Type)}}–>-->
|
|
|
+ <!--<!–</template>–>-->
|
|
|
+ <!--</el-table-column>-->
|
|
|
+ <el-table-column label="类别" prop="SupplierTypeCode" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.SupplierTypeCode=='01'">物资类</span>
|
|
|
<span v-if="scope.row.SupplierTypeCode=='02'">基建类</span>
|
|
|
@@ -60,9 +65,9 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="公司名称" prop="SupplierName"></el-table-column>
|
|
|
+ <el-table-column label="公司名称" prop="SupplierName" align="center"></el-table-column>
|
|
|
|
|
|
- <el-table-column label="执行人" prop="UserName"></el-table-column>
|
|
|
+ <el-table-column label="执行人" prop="UserName" align="center"></el-table-column>
|
|
|
|
|
|
<el-table-column label="操作" width="130" align="center" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -83,11 +88,11 @@
|
|
|
|
|
|
<el-table-column label="已办类型" prop="Type">
|
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.Type=='1'" style="color:#E6A23C">准入</span>
|
|
|
- <span v-if="scope.row.Type=='2'" style="color:#E6A23C">增项</span>
|
|
|
- <span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审</span>
|
|
|
- <span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更</span>
|
|
|
- <span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更</span>
|
|
|
+ <span v-if="scope.row.Type=='1'" style="color:#E6A23C">准入-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='2'" style="color:#E6A23C">增项-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='3'" style="color:#E6A23C">年审-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='4'" style="color:#E6A23C">信息变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
+ <span v-if="scope.row.Type=='5'" style="color:#E6A23C">资质变更-{{statusStr(scope.row.Status, scope.row.Type)}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="类别" prop="SupplierTypeCode">
|
|
|
@@ -271,6 +276,50 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
+ statusStr (val, type) {
|
|
|
+ switch (val) {
|
|
|
+ case '':
|
|
|
+ return '待提交'
|
|
|
+ case '0':
|
|
|
+ return '待提交'
|
|
|
+ case '1':
|
|
|
+ return '待初审'
|
|
|
+ case '-1':
|
|
|
+ return '初审未通过'
|
|
|
+ case '2':
|
|
|
+ return '待复审'
|
|
|
+ case '-2':
|
|
|
+ return '复审未通过'
|
|
|
+ case '3':
|
|
|
+ return '待专业处室分办'
|
|
|
+ case '4':
|
|
|
+ return '待专业处室审批'
|
|
|
+ case '-4':
|
|
|
+ return '专业处室审批未通过'
|
|
|
+ case '5':
|
|
|
+ if (type == '4' || type == '5') {
|
|
|
+ return '待企业法规处审批'
|
|
|
+ } else {
|
|
|
+ return '待集中评审'
|
|
|
+ }
|
|
|
+ case '-5':
|
|
|
+ if (type == '4' || type == '5') {
|
|
|
+ return '企业法规处审批未通过'
|
|
|
+ } else {
|
|
|
+ return '集中评审未通过'
|
|
|
+ }
|
|
|
+ case '6':
|
|
|
+ return '待缴费'
|
|
|
+ case '7':
|
|
|
+ return '待入库'
|
|
|
+ case '8':
|
|
|
+ return '已入库'
|
|
|
+ case '9':
|
|
|
+ return '未通过'
|
|
|
+ default:
|
|
|
+ return val
|
|
|
+ }
|
|
|
+ },
|
|
|
handleCurrentChange (value) {
|
|
|
this.currentPage = value
|
|
|
this.initData()
|