Commit 10455607 authored by 王晓倩's avatar 王晓倩

空白

parent cca679d6
......@@ -51,13 +51,27 @@
<el-table v-loading="loading" :data="contractorInfoList">
<el-table-column label="单位名称" align="center" prop="contractorName" />
<el-table-column label="主要负责人" align="center" prop="keyPerson" />
<el-table-column label="主要负责人手机" align="center" prop="keyPersonPhone" />
<el-table-column label="主要负责人" align="center" prop="keyPerson" >
<template slot-scope="scope">
<span v-if="scope.row.keyPerson != null && scope.row.keyPerson != ''">{{scope.row.keyPerson}}</span>
<span v-else>
-
</span>
</template>
</el-table-column>
<el-table-column label="主要负责人手机" align="center" prop="keyPersonPhone" >
<template slot-scope="scope">
<span v-if="scope.row.keyPersonPhone != null && scope.row.keyPersonPhone != ''">{{scope.row.keyPersonPhone}}</span>
<span v-else>
-
</span>
</template>
</el-table-column>
<el-table-column label="单位资质" align="center" prop="certificateUrl" style="text-align:center;">
<template slot-scope="scope">
<span v-if="scope.row.certificateUrl != null && scope.row.certificateUrl != ''">
<img :src="scope.row.certificateUrl" style="width: 20%;vertical-align:middle;cursor:pointer;" @click="showPicture(scope.row)"/>
<el-image :ref="'a'+scope.row.id" :src="scope.row.certificateUrl" v-show="false" :preview-src-list="[scope.row.certificateUrl]" v-if="scope.row.certificateUrl != '' && scope.row.certificateUrl != null"></el-image>
<img :src="scope.row.certificateUrl" style="width: 20%;vertical-align:middle;cursor:pointer;" @click="showPicture(scope.row)"/>
<el-image :ref="'a'+scope.row.id" :src="scope.row.certificateUrl" v-show="false" :preview-src-list="[scope.row.certificateUrl]" v-if="scope.row.certificateUrl != '' && scope.row.certificateUrl != null"></el-image>
</span>
<span v-else>
-
......
......@@ -67,8 +67,13 @@
<el-table-column label="设备编号" align="center" prop="deviceCode" />
<el-table-column label="现场照片" align="center" prop="fileUrl" >
<template slot-scope="scope">
<img :src="scope.row.fileUrl" style="width: 20%;vertical-align:middle;cursor:pointer;" @click="showPicture(scope.row)"/>
<el-image :ref="'a'+scope.row.id" :src="scope.row.fileUrl" v-show="false" :preview-src-list="[scope.row.fileUrl]" v-if="scope.row.fileUrl != '' && scope.row.fileUrl != null"></el-image>
<span v-if="scope.row.fileUrl != null && scope.row.fileUrl != ''">
<img :src="scope.row.fileUrl" style="width: 20%;vertical-align:middle;cursor:pointer;" @click="showPicture(scope.row)"/>
<el-image :ref="'a'+scope.row.id" :src="scope.row.fileUrl" v-show="false" :preview-src-list="[scope.row.fileUrl]" v-if="scope.row.fileUrl != '' && scope.row.fileUrl != null"></el-image>
</span>
<span v-else>
-
</span>
</template>
</el-table-column>
<el-table-column label="故障描述" align="center" prop="troubleDescribe" />
......
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