|
@@ -57,7 +57,7 @@
|
|
|
|
|
|
<el-table-column label="操作" width="150" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="scope.row.status == 1" slot="reference" type="text" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
|
|
|
+ <el-button v-if="scope.row.status == 1 || scope.row.status == 4" slot="reference" type="text" icon="el-icon-edit" @click="handleEdit(scope.row)">编辑</el-button>
|
|
|
<el-popover
|
|
|
:ref="scope.row.id"
|
|
|
placement="bottom"
|
|
@@ -69,9 +69,9 @@
|
|
|
<el-button :loading="delLoading" type="primary" size="mini" @click="subDelete(scope.row.id)">确定
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <el-button v-if="scope.row.status == 1" slot="reference" icon="el-icon-delete" type="text">作废</el-button>
|
|
|
+ <el-button v-if="scope.row.status == 1 || scope.row.status == 4" slot="reference" icon="el-icon-delete" type="text">作废</el-button>
|
|
|
</el-popover>
|
|
|
- <el-button v-if="scope.row.status != 1" slot="reference" icon="el-icon-view" type="text" @click="handleView(scope.row)">投标详情</el-button>
|
|
|
+ <el-button v-if="scope.row.status != 1 && scope.row.status != 4" slot="reference" icon="el-icon-view" type="text" @click="handleView(scope.row)">投标详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -460,7 +460,7 @@ export default {
|
|
|
}
|
|
|
const data = JSON.parse(JSON.stringify(row))
|
|
|
this.form = data
|
|
|
- this.bidDate = [data.createTime, data.endTime]
|
|
|
+ this.bidDate = [data.startTime, data.endTime]
|
|
|
// this.form.
|
|
|
// let name = data.appendix.lastIndexOf('/') ;
|
|
|
if (data.appendix) {
|