| | |
| | | if (obj.url.indexOf('http') !== 0) { |
| | | url = SettingIplatform.ftpUrl + url |
| | | } |
| | | window.open(routeUrl.href + '?url=' + encodeURIComponent(url) + '&docName=' + encodeURIComponent(encodeURIComponent(obj.fileName)), '_blank') |
| | | const newWindow = window.open(routeUrl.href + '?url=' + encodeURIComponent(url) + '&docName=' + encodeURIComponent(encodeURIComponent(obj.fileName)), '_blank') |
| | | if (newWindow) newWindow.opener = null |
| | | } else { |
| | | Message.warning('文件格式不支持预览!') |
| | | } |
| | |
| | | <el-col :span="24"> |
| | | <el-form> |
| | | <el-form-item v-if="templateSettings.templateUrl != null" label="下载模板:" prop="lon"> |
| | | <a class="blue-txt" style="color:#409EFF" :href="templateSettings.templateUrl" target="_blank">{{ templateSettings.templateName }}</a> |
| | | <a class="blue-txt" style="color:#409EFF" :href="templateSettings.templateUrl" target="_blank" rel="noreferrer noopener">{{ templateSettings.templateName }}</a> |
| | | </el-form-item> |
| | | <el-form-item label="选取文件:" prop="lon"> |
| | | <el-upload |
| | |
| | | increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately |
| | | Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions. |
| | | <a |
| | | rel="noreferrer noopener" |
| | | target="_blank" |
| | | class="link-type" |
| | | href="https://panjiachen.github.io/vue-element-admin-site/guide/advanced/error.html" |
| | |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <h1 class="text-jumbo text-ginormous">Oops!</h1> |
| | | gif来源<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> 页面 |
| | | gif来源<a href="https://zh.airbnb.com/" target="_blank" rel="noreferrer noopener">airbnb</a> 页面 |
| | | <h2>你没有权限去该页面</h2> |
| | | <h6>如有不满请联系你领导</h6> |
| | | <ul class="list-unstyled"> |