|
@@ -75,6 +75,11 @@
|
|
|
<!-- 添加/编辑联系人 -->
|
|
|
<contact-save-en-dia :contactsSubmitForm="contactsSubmitForm" title="编辑联系人" :showAddDia.sync="showAddDia"
|
|
|
:companyId="0" @updateList="getList"></contact-save-en-dia>
|
|
|
+
|
|
|
+ <el-image-viewer
|
|
|
+ v-if="showViewer"
|
|
|
+ :on-close="()=>{this.showViewer = false}"
|
|
|
+ :url-list="[imgUrl]" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -82,12 +87,13 @@
|
|
|
import clickNumberDetail from "../compontents/clickNumberDetailDia.vue"
|
|
|
import ContactSaveEnDia from './components/ContactSaveEnDia.vue';
|
|
|
import mPage from '@/components/mPage.vue';
|
|
|
+import ElImageViewer from 'element-ui/packages/image/src/image-viewer'
|
|
|
import { customInterence } from '@/api/api.js'
|
|
|
|
|
|
export default {
|
|
|
name:'contactLimitList',
|
|
|
components:{
|
|
|
- mPage,clickNumberDetail,ContactSaveEnDia
|
|
|
+ mPage,clickNumberDetail,ContactSaveEnDia,ElImageViewer
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -110,7 +116,9 @@ import { customInterence } from '@/api/api.js'
|
|
|
contactsId:""
|
|
|
},
|
|
|
showAddDia:false,
|
|
|
- contactsSubmitForm:{}
|
|
|
+ contactsSubmitForm:{},
|
|
|
+ showViewer:false,
|
|
|
+ imgUrl:''
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
@@ -208,6 +216,10 @@ import { customInterence } from '@/api/api.js'
|
|
|
})
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
+ reviewCard(url){
|
|
|
+ this.imgUrl = url
|
|
|
+ this.showViewer = true
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|