|
|
@@ -190,6 +190,11 @@
|
|
|
下载FYDI指数
|
|
|
</el-button>
|
|
|
</div>
|
|
|
+ <div>
|
|
|
+ <el-button type="primary" size="small" @click="downloadUFile">
|
|
|
+ 下载培训手册
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
<el-dialog
|
|
|
@@ -660,6 +665,14 @@ async function getIndexSelect() {
|
|
|
router.beforeEach(() => {
|
|
|
myChart.value.dispose();
|
|
|
});
|
|
|
+async function downloadUFile() {
|
|
|
+ let res = await api.getUFile({
|
|
|
+ type: 1,
|
|
|
+ });
|
|
|
+ let a = document.createElement("a");
|
|
|
+ a.setAttribute("href", res.data.result);
|
|
|
+ a.click();
|
|
|
+}
|
|
|
onMounted(() => {
|
|
|
getIndexData("init");
|
|
|
getIndexSelect();
|