Browse Source

管理员可上传

tags/v1.0.0
吴迪 2 years ago
parent
commit
10636ee940
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/views/task-manage/components/DrawComp.vue

+ 6
- 6
src/views/task-manage/components/DrawComp.vue View File

<div class="title">飞行文件</div> <div class="title">飞行文件</div>


<UploadVod <UploadVod
v-if="data.photographyWay === 1 && roleId === data.flightHandId && !data.videoUrl"
v-if="data.photographyWay === 1 && (roleId === data.flightHandId || roleType === 1) && !data.videoUrl"
ref="videoRefs" ref="videoRefs"
:upload-name="'视频'" :upload-name="'视频'"
:limit="1" :limit="1"
@upload-status="vodStatusVideo" @upload-status="vodStatusVideo"
/> />
<fileOss <fileOss
v-if="data.photographyWay === 1 && roleId === data.flightHandId && data.videoUrl"
v-if="data.photographyWay === 1 && (roleId === data.flightHandId || roleType === 1) && data.videoUrl"
:file-type="'video'" :file-type="'video'"
:btn-name="'视频'" :btn-name="'视频'"
:limit="1" :limit="1"
/> />


<fileOss <fileOss
v-if="data.photographyWay === 1 && roleId === data.flightHandId"
v-if="data.photographyWay === 1 && (roleId === data.flightHandId || roleType === 1)"
ref="srtRefs" ref="srtRefs"
:file-type="'srt'" :file-type="'srt'"
:key-name="'srtUrl'" :key-name="'srtUrl'"
:class="{'uploads': remBtn}" :class="{'uploads': remBtn}"
/> />
<fileOss <fileOss
v-if="data.photographyWay === 2 && roleId === data.flightHandId"
v-if="data.photographyWay === 2 && (roleId === data.flightHandId || roleType === 1)"
:file-type="'tif'" :file-type="'tif'"
:key-name="'orthoUrl'" :key-name="'orthoUrl'"
:btn-name="'正射影像'" :btn-name="'正射影像'"
@upload-status="statusfile" @upload-status="statusfile"
/> />
<fileOss <fileOss
v-if="data.photographyWay === 3 && roleId === data.flightHandId"
v-if="data.photographyWay === 3 && (roleId === data.flightHandId || roleType === 1)"
:file-type="'tif'" :file-type="'tif'"
:key-name="'inclinedUrl'" :key-name="'inclinedUrl'"
:show-upload-btn="true" :show-upload-btn="true"
/> />


<n-button <n-button
v-if="data.photographyWay === 1 && roleId === data.flightHandId && !data.videoUrl"
v-if="data.photographyWay === 1 && (roleId === data.flightHandId || roleType === 1) && !data.videoUrl"
type="primary" type="primary"
class="btn" class="btn"
:loading="loading" :loading="loading"

Loading…
Cancel
Save