|
|
|
|
@ -13,8 +13,11 @@
|
|
|
|
|
<el-tag>{{form.catalog_name}}</el-tag>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="form.area_ids">所属区域:
|
|
|
|
|
<template v-if="form.area_ids_details && form.area_ids_details.length>0">
|
|
|
|
|
<template v-for="(item,index) in form.area_ids_details">
|
|
|
|
|
<template v-if="form.area_ids_details && form.area_ids_details.length>0">
|
|
|
|
|
<template v-if="form.area_ids_details.length===areaList.length">
|
|
|
|
|
<el-tag style="margin-right:5px">全部区域</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else v-for="(item,index) in form.area_ids_details">
|
|
|
|
|
<el-tag style="margin-right:5px">{{item.name}}</el-tag>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
@ -70,7 +73,8 @@
|
|
|
|
|
isShow: false,
|
|
|
|
|
id: '',
|
|
|
|
|
table_name: 'records',
|
|
|
|
|
form: {},
|
|
|
|
|
form: {},
|
|
|
|
|
areaList:[]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
@ -95,11 +99,13 @@
|
|
|
|
|
}else{
|
|
|
|
|
this.$refs.viewFile.typeName = 'file'
|
|
|
|
|
if(item.url.includes('doc')||item.url.includes('DOC')){
|
|
|
|
|
|
|
|
|
|
this.$refs.viewFile.url = item.view_url
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
|
|
this.$refs.viewFile.url = item.url
|
|
|
|
|
if(item.url.includes('pdf') || item.url.includes('PDF')){
|
|
|
|
|
window.open(item.url,item.original_name)
|
|
|
|
|
}else{
|
|
|
|
|
this.$refs.viewFile.url = item.url
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.$refs.viewFile.diaShow = true
|
|
|
|
|
|