Commit 8d347143 by 杨北旺

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

1 parent ed5bb009
<template> <template>
<div class="contaienr"> <div class="contaienr">
<cliaims v-if="type == 'claims'"></cliaims> <cliaims v-if="type == 'claims'"></cliaims>
<!-- <div class="upload_box_wrapper"> <van-empty image="error" v-if="showError" description="链接缺少type参数" />
<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> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -37,7 +17,8 @@ export default { ...@@ -37,7 +17,8 @@ export default {
uploadList: [], uploadList: [],
fileURL: {}, fileURL: {},
loadingFinish: false, loadingFinish: false,
type: '' type: '',
showError:false
} }
}, },
created() { created() {
...@@ -48,6 +29,7 @@ export default { ...@@ -48,6 +29,7 @@ export default {
getQuery() { getQuery() {
const { type } = window.vm.$route.query const { type } = window.vm.$route.query
this.type = type this.type = type
this.showError = type?false:true
}, },
// 获取当前点击的位置 // 获取当前点击的位置
toClickUpoload() {}, toClickUpoload() {},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!