|
@@ -24,7 +24,7 @@
|
|
|
<el-card class="box-card" shadow="never" style="margin-top: 2rem">
|
|
|
<el-row>
|
|
|
<el-col class="list" :span="24" v-for="(item, index) in list" :key="index">
|
|
|
- <el-col :span="3" class="image">
|
|
|
+ <el-col :span="3" class="image" v-if="item.logo_url">
|
|
|
<el-image style="width:80px;height:80px;" :src="item.logo_url"></el-image>
|
|
|
</el-col>
|
|
|
<el-col :span="20" class="info">
|
|
@@ -79,10 +79,11 @@ export default {
|
|
|
}
|
|
|
let result = await this.jobinfoOperation({ type: 'list', data: { skip: skip, limit: this.$limit, ...this.searchInfo } });
|
|
|
if (`${result.errcode}` === '0') {
|
|
|
- for (const val of result.data) {
|
|
|
- let { identity } = await this.corpOperation({ type: 'search', data: { corpid: val.corpid } });
|
|
|
- val.logo_url = identity.logo_url;
|
|
|
- }
|
|
|
+ // for (const val of result.data) {
|
|
|
+ // let { identity } = await this.corpOperation({ type: 'search', data: { corpid: val.corpid } });
|
|
|
+ // val.logo_url = identity.logo_url;
|
|
|
+ // console.log(identity);
|
|
|
+ // }
|
|
|
this.$set(this, `totalRow`, result.total);
|
|
|
this.$set(this, `list`, result.data);
|
|
|
} else {
|