|
@@ -102,49 +102,10 @@
|
|
|
<CopyButton :copyText="formData.commonFollowProject" />
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="24" :lg="24" class="item">
|
|
|
+ <el-col :xs="24" :sm="24" :lg="24" class="item" v-if="shenheshangchuan">
|
|
|
<div class="label" style="height: auto">审核上传</div>
|
|
|
<div class="value" style="height: auto">
|
|
|
<ImageUpload class="mg-b" :file-list="formData.files" :multiple="true" />
|
|
|
- <!-- <template v-else>
|
|
|
- <div
|
|
|
- v-for="item in formData.files"
|
|
|
- :key="item.fileUrl"
|
|
|
- style="display: flex; width: 120px; height: 120px; align-items: center; justify-content: center"
|
|
|
- >
|
|
|
- <el-image
|
|
|
- v-if="checkFileType(item.fileUrl) == 'image'"
|
|
|
- ref="img"
|
|
|
- :src="$imageUrl + item.fileUrl"
|
|
|
- fit="cover"
|
|
|
- :preview-src-list="[$imageUrl + item.fileUrl]"
|
|
|
- class="elImageClose"
|
|
|
- />
|
|
|
- <div
|
|
|
- style="
|
|
|
- display: flex;
|
|
|
- width: 120px;
|
|
|
- height: 120px;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- cursor: pointer;
|
|
|
- "
|
|
|
- @click="openPdf(item)"
|
|
|
- >
|
|
|
- <img v-if="checkFileType(item.fileUrl) == 'word'" class="file" src="@/assets/common/word.png">
|
|
|
- <img v-if="checkFileType(item.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png">
|
|
|
- <img v-if="checkFileType(item.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png">
|
|
|
- <img
|
|
|
- v-if="checkFileType(item.fileUrl) == 'pdf'"
|
|
|
- class="file"
|
|
|
- style="cursor: pointer"
|
|
|
- src="@/assets/common/pdf.png"
|
|
|
- >
|
|
|
-
|
|
|
- <img v-if="checkFileType(item.fileUrl) == 'file'" class="file aaa" src="@/assets/common/zip.jpeg">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </template> -->
|
|
|
<div style="margin-left: 20px">注:可上传文件、附件</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -217,7 +178,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- ...mapGetters(['isTradeExaminer', 'isCustomer'])
|
|
|
+ ...mapGetters(['isTradeExaminer', 'isCustomer']),
|
|
|
+ shenheshangchuan() {
|
|
|
+ var { isService, isTradeExaminer } = localStorage.getItem('supply_user') || {}
|
|
|
+ return this.isTradeExaminer && isTradeExaminer
|
|
|
+ ? true
|
|
|
+ : isService && this.$route.name === crossDistrictkList
|
|
|
+ ? true
|
|
|
+ : false
|
|
|
+ }
|
|
|
},
|
|
|
watch: {
|
|
|
'formData.id': {
|