|
@@ -1,7 +1,13 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-button type="primary" icon="el-icon-download" size="mini" :disabled="canDownload"
|
|
|
+ <el-button type="primary" icon="el-icon-download" size="mini"
|
|
|
@click="handleDownloadExcel">下载专家评审表</el-button>
|
|
|
+ <!-- <el-button type="primary" icon="el-icon-download" size="mini"
|
|
|
+ @click="testExcel">下载</el-button> -->
|
|
|
+ <div style="margin-left: 12px; display: inline">
|
|
|
+ <el-tag v-if="pingshenState">评审状态:评审已完成</el-tag>
|
|
|
+ <el-tag v-else type="info">评审状态:未评完</el-tag>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="app-container">
|
|
|
<el-descriptions class="margin-top" title="" :column="2" border>
|
|
@@ -127,11 +133,13 @@ export default {
|
|
|
ZjNames: [],
|
|
|
yuzhongbiao: [],
|
|
|
|
|
|
- canDownload: true,
|
|
|
ideas: [],
|
|
|
examines: [],
|
|
|
responds: [],
|
|
|
techs: [],
|
|
|
+
|
|
|
+ // 评审状态
|
|
|
+ pingshenState: false
|
|
|
};
|
|
|
},
|
|
|
created () {
|
|
@@ -191,7 +199,7 @@ export default {
|
|
|
this.sName = data.sName
|
|
|
this.uKaiPosition = data.uKaiPosition
|
|
|
this.uKaiTime = data.uKaiTime
|
|
|
-
|
|
|
+ this.pingshenState = data.state;
|
|
|
|
|
|
//所有供应商
|
|
|
const bidQuotes = data.bidQuotes
|
|
@@ -423,7 +431,6 @@ export default {
|
|
|
}
|
|
|
this.totalScore = data
|
|
|
this.ZjNames = ZjNames
|
|
|
- this.canDownload = false
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -450,7 +457,6 @@ export default {
|
|
|
}
|
|
|
this.totalScore = data
|
|
|
this.ZjNames = ZjNames
|
|
|
- this.canDownload = false
|
|
|
}
|
|
|
})
|
|
|
},
|