|
|
@ -425,22 +425,22 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item label="招标项目类型" prop="bidType"> |
|
|
|
<el-input |
|
|
|
<!-- <el-input |
|
|
|
v-model="detailsForm.bidType" |
|
|
|
placeholder="请输入招标项目类型" |
|
|
|
/> |
|
|
|
<!-- <el-select |
|
|
|
/> --> |
|
|
|
<el-select |
|
|
|
v-model="detailsForm.bidType" |
|
|
|
placeholder="请选择招标项目类型" |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="dict in bidType" |
|
|
|
v-for="dict in bidTypeOptions" |
|
|
|
:key="dict.dictValue" |
|
|
|
:label="dict.dictLabel" |
|
|
|
:value="dict.dictValue" |
|
|
|
></el-option> |
|
|
|
</el-select> --> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
@ -455,7 +455,7 @@ |
|
|
|
style="width: 100%" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="dict in bidTypeOptions" |
|
|
|
v-for="dict in bidMethodOptions" |
|
|
|
:key="dict.dictValue" |
|
|
|
:label="dict.dictLabel" |
|
|
|
:value="dict.dictValue" |
|
|
@ -976,7 +976,7 @@ |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<template slot="label"> 招标项目类型 </template> |
|
|
|
{{ this.detailsMsg.bidType }} |
|
|
|
{{ bidTypeFormat(this.detailsMsg) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item> |
|
|
|
<template slot="label"> 招标方式 </template> |
|
|
@ -1056,8 +1056,10 @@ export default { |
|
|
|
isConsolidatedBiddingOptions: [], |
|
|
|
// 是否依法必招项目字典 |
|
|
|
isMustProject: [], |
|
|
|
// 招标方式字典 |
|
|
|
// 招标项目类型字典 |
|
|
|
bidTypeOptions: [], |
|
|
|
// 招标方式字典 |
|
|
|
bidMethodOptions: [], |
|
|
|
// 查询参数 |
|
|
|
queryParams: { |
|
|
|
pageNum: 1, |
|
|
@ -1157,9 +1159,12 @@ export default { |
|
|
|
this.isConsolidatedBiddingOptions = response.data; |
|
|
|
this.isMustProject = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("Bid_type").then((response) => { |
|
|
|
this.getDicts("bid_pro_type").then((response) => { |
|
|
|
this.bidTypeOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("Bid_type").then((response) => { |
|
|
|
this.bidMethodOptions = response.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|
// 父组件 利用axios请求得到的值 传送到子组件,要监听,否则初始渲染时为空 |
|
|
|
watch: { |
|
|
@ -1191,8 +1196,11 @@ export default { |
|
|
|
this.bidProjectNameOptions = response.records; |
|
|
|
}); |
|
|
|
}, |
|
|
|
bidTypeFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.bidTypeOptions, row.bidType); |
|
|
|
}, |
|
|
|
bidMethodFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.bidTypeOptions, row.bidMethod); |
|
|
|
return this.selectDictLabel(this.bidMethodOptions, row.bidMethod); |
|
|
|
}, |
|
|
|
// 是否合并招标字典翻译 |
|
|
|
isConsolidatedBiddingFormat(row, column) { |
|
|
|