|
@@ -194,9 +194,9 @@
|
|
<el-table-column prop="userName" label=" 投标帐号" align="center"/>
|
|
<el-table-column prop="userName" label=" 投标帐号" align="center"/>
|
|
<el-table-column prop="status" label=" 投标结果" align="center" >
|
|
<el-table-column prop="status" label=" 投标结果" align="center" >
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <span v-if="scope.row.status == 0">已提交</span>
|
|
|
|
- <span v-if="scope.row.status == 1">中标</span>
|
|
|
|
- <span v-if="scope.row.status == 2">未中标</span>
|
|
|
|
|
|
+ <el-tag type="success" v-if="scope.row.status == 0">已提交</el-tag>
|
|
|
|
+ <el-tag type="success" v-if="scope.row.status == 2">已中标</el-tag>
|
|
|
|
+ <el-tag type="danger" v-if="scope.row.status == 3">未中标</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
@@ -246,6 +246,7 @@ export default {
|
|
dialog:false,
|
|
dialog:false,
|
|
delLoading:false,
|
|
delLoading:false,
|
|
viewDialog:false,
|
|
viewDialog:false,
|
|
|
|
+ loading:false,
|
|
isAdd:false,
|
|
isAdd:false,
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
@@ -314,7 +315,7 @@ console.log(this.bidDate)
|
|
this.currentPage = 1
|
|
this.currentPage = 1
|
|
this.getDictData()
|
|
this.getDictData()
|
|
},
|
|
},
|
|
- // 获取字典详情
|
|
|
|
|
|
+ // 获取详情
|
|
getDictData: function() {
|
|
getDictData: function() {
|
|
this.loading = true
|
|
this.loading = true
|
|
// const params = new URLSearchParams()
|
|
// const params = new URLSearchParams()
|
|
@@ -468,7 +469,7 @@ console.log(this.bidDate)
|
|
}
|
|
}
|
|
getQueryDelete(data).then(res => {
|
|
getQueryDelete(data).then(res => {
|
|
if (res.data.code === 200) {
|
|
if (res.data.code === 200) {
|
|
- this.$message({ message: '删除成功', type: 'success' })
|
|
|
|
|
|
+ this.$message({ message: '已作废', type: 'success' })
|
|
this.getDictData()
|
|
this.getDictData()
|
|
}
|
|
}
|
|
}).catch(err => {
|
|
}).catch(err => {
|