| | |
| | | <el-form-item label="文件名"> |
| | | <fileUpload ref="childFile" @closePopup="getList();lookPawsd($event)" v-model="form.file" v-if="type === 0" /> |
| | | <imageUpload v-model="form.file" v-if="type === 1" /> |
| | | <video-upload v-model="form.file" v-if="type === 2" />" |
| | | <video-upload v-model="form.file" v-if="type === 2" /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <template #footer> |
| | |
| | | <el-dialog :title="titleDownload" v-model="visibleCode" width="500px" append-to-body> |
| | | <p style="color: red">提取码将会在24小时后失效请尽快下载!</p> |
| | | <span v-show="titleDownload=='查看提取码'">{{testtxt}}</span> |
| | | <div > |
| | | |
| | | </div> |
| | | <el-input style="margin: 10px 0" ref="inputRef" :style="inputSty" v-show="titleDownload=='输入提取码'" v-model="pasTxt" v-if="isContains(useUserStore().permissions, 'system:oss:download')" placeholder="请输入文件提取码"></el-input> |
| | | <el-input style="margin: 10px 0" ref="inputRef" :style="inputSty" v-show="titleDownload=='请输入提取码'" v-model="pasTxt" placeholder="请输入文件提取码"></el-input> |
| | | <el-button link type="primary" v-show="titleDownload=='输入提取码'" icon="Download" @click="handleDownloadFile()" v-if="isContains(useUserStore().permissions, 'system:oss:download')">下载</el-button> |
| | | <el-button link type="primary" v-show="titleDownload=='请输入提取码'" icon="Delete" @click="delFile()" >删除</el-button> |
| | | <!-- <el-button link type="primary" v-show="titleDownload=='输入提取码'" icon="Download" @click="handleDownloadFile()" v-if="isContains(useUserStore().permissions, 'system:oss:download')">下载</el-button>--> |
| | | <!-- <el-button link type="primary" v-show="titleDownload=='请输入提取码'" icon="Delete" @click="delFile()" >删除</el-button>--> |
| | | <template #footer> |
| | | <div class="dialog-footer"> |
| | | <el-button type="primary" @click="visibleCode = false">确 定</el-button> |
| | | <el-button link type="primary" v-show="titleDownload=='输入提取码'" icon="Download" @click="handleDownloadFile()" v-if="isContains(useUserStore().permissions, 'system:oss:download')">下载</el-button> |
| | | <el-button link type="primary" v-show="titleDownload=='请输入提取码'" icon="Delete" @click="delFile()" >删除</el-button> |
| | | <!-- <el-button type="primary" @click="visibleCode = false">确 定</el-button>--> |
| | | <el-button @click="visibleCode = false">取 消</el-button> |
| | | </div> |
| | | </template> |
| | |
| | | } |
| | | // inputRef.value.style.border = '1px solid red' |
| | | } |
| | | |
| | | visibleCode.value=false |
| | | } |
| | | /** 用户状态修改 */ |
| | | /** 删除按钮操作 */ |