Commit d0a6b77d authored by 张冬's avatar 张冬

更新

parent 6b1a7b47
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
</el-table-column> </el-table-column>
<el-table-column slot="operate" label="符合性审查" align="center" fixed="right"> <el-table-column slot="operate" label="符合性审查" align="center" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-if="scope.row.conformityn==true">通过</div> <div v-if="scope.row.conformity==true">通过</div>
<div v-if="scope.row.conformityn==false">未通过</div> <div v-if="scope.row.conformity==false">未通过</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column slot="operate" label="手动废标" align="center" fixed="right"> <el-table-column slot="operate" label="手动废标" align="center" fixed="right">
...@@ -185,10 +185,10 @@ ...@@ -185,10 +185,10 @@
conformity:[ { required: true, message: '请选择', trigger: 'change' }], conformity:[ { required: true, message: '请选择', trigger: 'change' }],
bidRejection:[ { required: true, message: '请选择', trigger: 'change' }], bidRejection:[ { required: true, message: '请选择', trigger: 'change' }],
conclusion:[ { required: true, message: '请选择', trigger: 'change' }], conclusion:[ { required: true, message: '请选择', trigger: 'change' }],
commercialGrade:[ { required: true, message: '请选择', trigger: 'blur' }], commercialGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
skillGrade:[ { required: true, message: '请选择', trigger: 'blur' }], skillGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
priceGrade:[ { required: true, message: '请选择', trigger: 'blur' }], priceGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
evaluationPrice:[ { required: true, message: '请选择', trigger: 'blur' }], evaluationPrice:[ { required: true, message: '请输入', trigger: 'blur' }],
winPerson:[ { required: true, message: '请选择', trigger: 'change' }] winPerson:[ { required: true, message: '请选择', trigger: 'change' }]
}, },
file: [], file: [],
...@@ -278,7 +278,6 @@ ...@@ -278,7 +278,6 @@
}, },
deep: true deep: true
} }
}, },
created() { created() {
this.getbidFilelist(); this.getbidFilelist();
...@@ -382,22 +381,24 @@ ...@@ -382,22 +381,24 @@
// 提交排名信息 // 提交排名信息
async editCompanyRank() { async editCompanyRank() {
// this.$message.success(msg) try {
this.isRank = false const valid = await this.$refs['rankForm'].validate()
this.rankForm.finalScore = this.rankForm.commercialGrade + this.rankForm.skillGrade + this.rankForm.priceGrade if(valid){
this.$set(this.rank, this.RankIdx, this.rankForm) const {
this.rank.sort(this.compare('finalScore')) code,
// try { msg
// const { } = await saveCompanyRank(this.rankForm)
// code, if (code === 200) {
// msg this.$message.success(msg)
// } = await saveCompanyRank(this.rankForm) this.isRank = false
// if (code === 200) { this.rankForm.finalScore = this.rankForm.commercialGrade + this.rankForm.skillGrade + this.rankForm.priceGrade
this.$set(this.rank, this.RankIdx, this.rankForm)
// } this.rank.sort(this.compare('finalScore'))
// } catch (e) { }
// console.log(e) }
// } } catch (e) {
console.log(e)
}
}, },
//评审信息编辑 //评审信息编辑
...@@ -409,14 +410,17 @@ ...@@ -409,14 +410,17 @@
// 提交评审信息 // 提交评审信息
async editCompanyEvaluate() { async editCompanyEvaluate() {
try { try {
const { const valid = await this.$refs['evaluateForm'].validate()
code, if(valid){
msg const {
} = await saveCompanyEvaluate(this.evaluateForm) code,
if (code === 200) { msg
this.$message.success(msg) } = await saveCompanyEvaluate(this.evaluateForm)
this.isEvaluate = false if (code === 200) {
this.$set(this.review, this.evaluateIdx, this.evaluateForm) this.$message.success(msg)
this.isEvaluate = false
this.$set(this.review, this.evaluateIdx, this.evaluateForm)
}
} }
} catch (e) { } catch (e) {
console.log(e) console.log(e)
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<h3>{{bidCompanyName}}</h3> <h3>{{bidCompanyName}}</h3>
<h5>我单位已收到贵公司发出的项目{{projectName}}澄清标题为{{title}}的澄清文件,特此回执</h5> <h5>我单位已收到贵公司发出的项目{{projectName}}澄清标题为{{title}}的澄清文件,特此回执</h5>
<div class="flex"> <div class="flex">
<h4 class='adjustment'>*回执文件</h4> <h4 class='adjustment'><span>*</span>回执文件</h4>
<singleUpload :limit="1" accept=".jpg,.jpeg,.gif,.png,.bmp" :max="10" tip="请下载澄清回执模板后,打印、盖章,再上传扫描件,单个文件不能超过10M,文件个数为1个,文件格式为图片。" @input="getfile"></singleUpload> <singleUpload :limit="1" accept=".jpg,.jpeg,.gif,.png,.bmp" :max="10" tip="请下载澄清回执模板后,打印、盖章,再上传扫描件,单个文件不能超过10M,文件个数为1个,文件格式为图片。" @input="getfile"></singleUpload>
</div> </div>
<div class="flex-center" style="margin-top:100px"> <div class="flex-center" style="margin-top:100px">
...@@ -104,4 +104,7 @@ export default { ...@@ -104,4 +104,7 @@ export default {
.content h4 { .content h4 {
margin-left: -50px; margin-left: -50px;
} }
span{
color:#B21F2D
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment