Commit d0a6b77d authored by 张冬's avatar 张冬

更新

parent 6b1a7b47
......@@ -44,8 +44,8 @@
</el-table-column>
<el-table-column slot="operate" label="符合性审查" align="center" fixed="right">
<template slot-scope="scope">
<div v-if="scope.row.conformityn==true">通过</div>
<div v-if="scope.row.conformityn==false">未通过</div>
<div v-if="scope.row.conformity==true">通过</div>
<div v-if="scope.row.conformity==false">未通过</div>
</template>
</el-table-column>
<el-table-column slot="operate" label="手动废标" align="center" fixed="right">
......@@ -185,10 +185,10 @@
conformity:[ { required: true, message: '请选择', trigger: 'change' }],
bidRejection:[ { required: true, message: '请选择', trigger: 'change' }],
conclusion:[ { required: true, message: '请选择', trigger: 'change' }],
commercialGrade:[ { required: true, message: '请选择', trigger: 'blur' }],
skillGrade:[ { required: true, message: '请选择', trigger: 'blur' }],
priceGrade:[ { required: true, message: '请选择', trigger: 'blur' }],
evaluationPrice:[ { required: true, message: '请选择', trigger: 'blur' }],
commercialGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
skillGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
priceGrade:[ { required: true, message: '请输入', trigger: 'blur' }],
evaluationPrice:[ { required: true, message: '请输入', trigger: 'blur' }],
winPerson:[ { required: true, message: '请选择', trigger: 'change' }]
},
file: [],
......@@ -278,7 +278,6 @@
},
deep: true
}
},
created() {
this.getbidFilelist();
......@@ -382,22 +381,24 @@
// 提交排名信息
async editCompanyRank() {
// this.$message.success(msg)
this.isRank = false
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'))
// try {
// const {
// code,
// msg
// } = await saveCompanyRank(this.rankForm)
// if (code === 200) {
// }
// } catch (e) {
// console.log(e)
// }
try {
const valid = await this.$refs['rankForm'].validate()
if(valid){
const {
code,
msg
} = await saveCompanyRank(this.rankForm)
if (code === 200) {
this.$message.success(msg)
this.isRank = false
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)
}
},
//评审信息编辑
......@@ -409,14 +410,17 @@
// 提交评审信息
async editCompanyEvaluate() {
try {
const {
code,
msg
} = await saveCompanyEvaluate(this.evaluateForm)
if (code === 200) {
this.$message.success(msg)
this.isEvaluate = false
this.$set(this.review, this.evaluateIdx, this.evaluateForm)
const valid = await this.$refs['evaluateForm'].validate()
if(valid){
const {
code,
msg
} = await saveCompanyEvaluate(this.evaluateForm)
if (code === 200) {
this.$message.success(msg)
this.isEvaluate = false
this.$set(this.review, this.evaluateIdx, this.evaluateForm)
}
}
} catch (e) {
console.log(e)
......
......@@ -10,7 +10,7 @@
<h3>{{bidCompanyName}}</h3>
<h5>我单位已收到贵公司发出的项目{{projectName}}澄清标题为{{title}}的澄清文件,特此回执</h5>
<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>
</div>
<div class="flex-center" style="margin-top:100px">
......@@ -104,4 +104,7 @@ export default {
.content h4 {
margin-left: -50px;
}
span{
color:#B21F2D
}
</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