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

@@ -123,7 +123,7 @@
<div class="title">飞行文件</div>

<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"
:upload-name="'视频'"
:limit="1"
@@ -131,7 +131,7 @@
@upload-status="vodStatusVideo"
/>
<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'"
:btn-name="'视频'"
:limit="1"
@@ -140,7 +140,7 @@
/>

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

<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"
class="btn"
:loading="loading"

Loading…
Cancel
Save