|
@@ -324,11 +324,28 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="中标单位" prop="bidder" width="120px" />
|
|
<el-table-column align="center" label="中标单位" prop="bidder" width="120px" />
|
|
|
<el-table-column align="center" label="创建招标日期" prop="biddingTime" width="160px" />
|
|
<el-table-column align="center" label="创建招标日期" prop="biddingTime" width="160px" />
|
|
|
|
|
+ <el-table-column align="center" label="闭环信息描述" prop="closeLoopMsg" width="120px" />
|
|
|
<el-table-column align="center" label="备注" prop="remark" width="120px" />
|
|
<el-table-column align="center" label="备注" prop="remark" width="120px" />
|
|
|
- <el-table-column align="center" fixed="right" label="操作" width="90px">
|
|
|
|
|
|
|
+ <el-table-column align="center" fixed="right" label="操作" width="120px">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <el-button type="text" @click="bidEdit(scope.row)">编辑</el-button>
|
|
|
|
|
- <el-button type="text" @click="bidDel(scope.row)">删除</el-button>
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="scope.row.status == '10' || scope.row.status == '40'"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ @click="bidEdit(scope.row)">
|
|
|
|
|
+ 编辑
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="scope.row.status == '10' || scope.row.status == '40'"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ @click="bidDel(scope.row)">
|
|
|
|
|
+ 删除
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="scope.row.status == '10' || scope.row.status == '40'"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ @click="closeLoop(scope.row)">
|
|
|
|
|
+ 闭环
|
|
|
|
|
+ </el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
</el-table>
|
|
</el-table>
|
|
@@ -689,6 +706,27 @@
|
|
|
})
|
|
})
|
|
|
.catch(() => {})
|
|
.catch(() => {})
|
|
|
},
|
|
},
|
|
|
|
|
+ // 闭环
|
|
|
|
|
+ closeLoop(row) {
|
|
|
|
|
+ this.$prompt('确定闭环该招标信息吗', '提示', {
|
|
|
|
|
+ confirmButtonText: '确定',
|
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(async ({ value }) => {
|
|
|
|
|
+ // 当用户点击确定按钮时,执行的逻辑
|
|
|
|
|
+ console.log('输入的值为:', value)
|
|
|
|
|
+ const [err, res] = await to(bidApi.closeLoop({ id: row.id, closeLoopMsg: value }))
|
|
|
|
|
+ if (err) return
|
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
|
+ this.$baseMessage(res.msg, 'success', 'vab-hey-message-success')
|
|
|
|
|
+ this.handleClick({ name: 'bid' })
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(() => {
|
|
|
|
|
+ // 当用户点击取消按钮时,执行的逻辑
|
|
|
|
|
+ // console.log('取消输入')
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
// 保存联系人
|
|
// 保存联系人
|
|
|
contactSave() {
|
|
contactSave() {
|
|
|
this.handleClick({ name: 'contact' })
|
|
this.handleClick({ name: 'contact' })
|