Commit 4b78567a by 林家欣

修改服务中心案例介绍、服务商列表显示问题

parent 117d5d27
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<el-option <el-option
v-for="item in serviceList" v-for="item in serviceList"
:key="item.value" :key="item.value"
:label="item.value" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
...@@ -60,21 +60,21 @@ export default { ...@@ -60,21 +60,21 @@ export default {
total: 0, total: 0,
}, },
search: { search: {
service: "全部服务行业", service: "",
}, },
serviceList: [ serviceList: [
{ value: "全部服务行业" }, { value: "", label: "全部服务行业" },
{ value: "医疗" }, { value: "医疗", label: "医疗" },
{ value: "零售" }, { value: "零售", label: "零售" },
{ value: "电子商务" }, { value: "电子商务", label: "电子商务" },
{ value: "食品烟酒" }, { value: "食品烟酒", label: "食品烟酒" },
{ value: "物流" }, { value: "物流", label: "物流" },
{ value: "服装" }, { value: "服装", label: "服装" },
{ value: "快速消费品" }, { value: "快速消费品", label: "快速消费品" },
{ value: "消费电子产品" }, { value: "消费电子产品", label: "消费电子产品" },
{ value: "制造和零部件" }, { value: "制造和零部件", label: "制造和零部件" },
{ value: "建材" }, { value: "建材", label: "建材" },
{ value: "其他" }, { value: "其他", label: "其他" },
], ],
list: [], list: [],
}; };
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<el-option <el-option
v-for="item in technologyList" v-for="item in technologyList"
:key="item.value" :key="item.value"
:label="item.value" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<el-option <el-option
v-for="item in serviceList" v-for="item in serviceList"
:key="item.value" :key="item.value"
:label="item.value" :label="item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
...@@ -79,30 +79,30 @@ export default { ...@@ -79,30 +79,30 @@ export default {
total: 0, total: 0,
}, },
search: { search: {
technology: "全部技术领域", technology: "",
service: "全部服务行业", service: "",
}, },
technologyList: [ technologyList: [
{ value: "全部技术领域" }, { value: "", label: '全部技术领域' },
{ value: "标识的打印和制作" }, { value: "标识的打印和制作", label: '标识的打印和制作' },
{ value: "系统集成" }, { value: "系统集成", label: '系统集成' },
{ value: "信息服务" }, { value: "信息服务", label: '信息服务' },
{ value: "咨询服务" }, { value: "咨询服务", label: '咨询服务' },
{ value: "其他" }, { value: "其他", label: '其他' },
], ],
serviceList: [ serviceList: [
{ value: "全部服务行业" }, { value: "", label: '全部服务行业' },
{ value: "医疗" }, { value: "医疗", label: '医疗' },
{ value: "零售" }, { value: "零售", label: '零售' },
{ value: "电子商务" }, { value: "电子商务", label: '电子商务' },
{ value: "食品烟酒" }, { value: "食品烟酒", label: '食品烟酒' },
{ value: "物流" }, { value: "物流", label: '物流' },
{ value: "服装" }, { value: "服装", label: '服装' },
{ value: "快速消费品" }, { value: "快速消费品", label: '快速消费品' },
{ value: "消费电子产品" }, { value: "消费电子产品", label: '消费电子产品' },
{ value: "制造和零部件" }, { value: "制造和零部件", label: '制造和零部件' },
{ value: "建材" }, { value: "建材", label: '建材' },
{ value: "其他" }, { value: "其他", label: '其他' },
], ],
list: [], list: [],
}; };
...@@ -142,6 +142,9 @@ export default { ...@@ -142,6 +142,9 @@ export default {
console.log(data, "服务商列表"); console.log(data, "服务商列表");
this.pageParams.total = data.totalCount; this.pageParams.total = data.totalCount;
this.list = data.list; this.list = data.list;
this.list.forEach(el => {
el.title = el.firmname;
})
} }
}, },
}, },
......
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