|
@@ -115,9 +115,13 @@
|
|
|
<el-button type="primary" hc-btn :loading="balenewDataClickLoading" @click="balenewDataClick">
|
|
|
<span>打包最新数据</span>
|
|
|
</el-button>
|
|
|
+ <el-button type="primary" hc-btn @click="downAppModal = true">
|
|
|
+ <HcIcon name="download-2" />
|
|
|
+ <span>下载客户端</span>
|
|
|
+ </el-button>
|
|
|
<el-button type="primary" hc-btn :loading="downUtilsClickLoading" @click="downUtilsClick">
|
|
|
<HcIcon name="download-2" />
|
|
|
- <span>下载脱机载体工具</span>
|
|
|
+ <span>下载数据包</span>
|
|
|
</el-button>
|
|
|
</div>
|
|
|
<HcTable :column="tableBasicColumn" :datas="tableBasicData" :is-index="false" is-new />
|
|
@@ -170,6 +174,36 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</hc-new-card>
|
|
|
+ <!--下载客户端-->
|
|
|
+ <hc-new-dialog v-model="downAppModal" title="下载客户端软件" :footer="false" widths="52rem" @close="downAppModal = false">
|
|
|
+ <el-alert title="客户端软件是独立的,数据包也是独立,但数据包需要客户端软件打开才能操作。客户端软件也支持多项目(多数据包)使用。" type="warning" :closable="false"/>
|
|
|
+ <div class="hc-down-app-title">Windows 平台</div>
|
|
|
+ <div class="hc-down-app-link-item">
|
|
|
+ <div class="hc-down-app-link-type">常规</div>
|
|
|
+ <div class="hc-down-app-link">
|
|
|
+ <el-link href="/local-archive-app/windows/档案脱机存档-1.0.0-安装包.exe">档案脱机存档-1.0.0-安装包.exe</el-link>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="hc-down-app-link-item">
|
|
|
+ <div class="hc-down-app-link-type">ARM64</div>
|
|
|
+ <div class="hc-down-app-link">
|
|
|
+ <el-link href="/local-archive-app/windows/档案脱机存档-arm64-1.0.0-安装包.exe">档案脱机存档-arm64-1.0.0-安装包.exe</el-link>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="hc-down-app-title mt-4">MacOs 平台</div>
|
|
|
+ <div class="hc-down-app-link-item">
|
|
|
+ <div class="hc-down-app-link-type">Intel</div>
|
|
|
+ <div class="hc-down-app-link">
|
|
|
+ <el-link href="/local-archive-app/mac/档案脱机存档-1.0.0-安装包.dmg">档案脱机存档-1.0.0-安装包.dmg</el-link>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="hc-down-app-link-item">
|
|
|
+ <div class="hc-down-app-link-type">M系统</div>
|
|
|
+ <div class="hc-down-app-link">
|
|
|
+ <el-link href="/local-archive-app/mac/档案脱机存档-M系列-1.0.0-安装包.dmg">档案脱机存档-M系列-1.0.0-安装包.dmg</el-link>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </hc-new-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -206,29 +240,26 @@ const backupTabClick = (num) => {
|
|
|
const downUtilsClickLoading = ref(false)
|
|
|
const downFileUrl = ref('')
|
|
|
const getFileData = async ()=>{
|
|
|
- const { error, response, data, res } = await backupApi.DownloadVersionInfo({
|
|
|
- projectId:projectId.value,
|
|
|
-
|
|
|
+ const { error, data } = await backupApi.DownloadVersionInfo({
|
|
|
+ projectId: projectId.value,
|
|
|
})
|
|
|
if (!error) {
|
|
|
downFileUrl.value = data?.fileUrl
|
|
|
tableBasicData.value[0].size = data?.fileSize
|
|
|
tableBasicData.value[0].num = data?.fileSize
|
|
|
tableBasicData.value[0].baledate = data?.uploadDate
|
|
|
-
|
|
|
} else {
|
|
|
downUtilsClickLoading.value = false
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
const downUtilsClick = () => {
|
|
|
if (downFileUrl.value) {
|
|
|
- toPdfPage(downFileUrl.value)
|
|
|
+ //toPdfPage(downFileUrl.value)
|
|
|
//window.open(downFileUrl.value, '_blank')
|
|
|
// console.log(setUrlHttps(downFileUrl.value), 'setUrlHttps(downFileUrl.value)')
|
|
|
// window.open( setUrlHttps(downFileUrl.value), '_blank')
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
//打包最新数据
|
|
@@ -259,6 +290,9 @@ const tableBasicColumn = [
|
|
|
const tableBasicData = ref([
|
|
|
{ name:'工程档案离线存储软件', type: '桌面、U盘、硬盘皆可支持安装存放', size: '2.3G', num: '', baledate:'' },
|
|
|
])
|
|
|
+
|
|
|
+//下载客户端
|
|
|
+const downAppModal = ref(false)
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|