Commit 8d347143 by 杨北旺

添加服务类型区别/空状态

1 parent ed5bb009
<template>
<div class="contaienr">
<cliaims v-if="type == 'claims'"></cliaims>
<!-- <div class="upload_box_wrapper">
<div class="title flex_scb">
<span class="require">*</span>
<span>基础资料</span>
</div>
<div class="main_pannel" @click="toClickUpoload()">
<van-uploader
:before-delete="beforeDelete"
v-on:click-upload="beforeRead"
:before-read="checkRead"
:after-read="afterRread"
:preview-size="size"
max-count="4"
>
<div class="box_wrap flex_ccc" :style="{ width: size, height: size }">
<van-icon name="add-o" size="20px" color="#999999" />
<p>添加</p>
</div>
</van-uploader>
</div>
</div> -->
<van-empty image="error" v-if="showError" description="链接缺少type参数" />
</div>
</template>
<script>
......@@ -37,7 +17,8 @@ export default {
uploadList: [],
fileURL: {},
loadingFinish: false,
type: ''
type: '',
showError:false
}
},
created() {
......@@ -48,6 +29,7 @@ export default {
getQuery() {
const { type } = window.vm.$route.query
this.type = type
this.showError = type?false:true
},
// 获取当前点击的位置
toClickUpoload() {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!