完成承载能力评估联调
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
:check-strictly="true"
|
||||
ref="tree"
|
||||
></el-tree> -->
|
||||
<generalTestTree />
|
||||
<generalTestTree />
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <el-divider
|
||||
@@ -89,10 +89,13 @@
|
||||
:rows="2"
|
||||
v-model="textarea"
|
||||
></el-input> -->
|
||||
<div slot="footer" style="display: flex; justify-content: center">
|
||||
<el-button type="primary" size="small" class="ml20" @click="submitFn">提交</el-button>
|
||||
<el-button type="primary" size="small" class="ml20" @click="cancelFn">取消</el-button>
|
||||
</div>
|
||||
|
||||
<template #footer>
|
||||
<div>
|
||||
<el-button type="primary" @click="submitFn">提交</el-button>
|
||||
<el-button type="primary" @click="cancelFn">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</TableHeader>
|
||||
<Table ref="tableRef" />
|
||||
<!-- 新增 -->
|
||||
<planAdd ref="planAddRef"/>
|
||||
<planAdd ref="planAddRef"/>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, provide, nextTick } from 'vue'
|
||||
|
||||
@@ -207,6 +207,7 @@ const Export = () => {
|
||||
link.download = '终端入网检测录入模板' // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
})
|
||||
}
|
||||
// 下载报告
|
||||
@@ -225,6 +226,7 @@ const download = (row: any, type: number) => {
|
||||
link.download = type == 1 ? row.inspectionName : row.originalName // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
})
|
||||
}
|
||||
// excel导入
|
||||
@@ -244,6 +246,7 @@ const choose = (e: any) => {
|
||||
link.download = '模板错误信息' // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -262,6 +262,7 @@ const Export = () => {
|
||||
link.download = '终端入网检测录入模板' // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
})
|
||||
}
|
||||
// 下载报告
|
||||
@@ -280,6 +281,7 @@ const download = (row: any, type: number) => {
|
||||
link.download = type == 1 ? row.inspectionName : row.originalName // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
})
|
||||
}
|
||||
// excel导入
|
||||
@@ -299,6 +301,7 @@ const choose = (e: any) => {
|
||||
link.download = '模板错误信息' // 设置下载的文件名
|
||||
document.body.appendChild(link)
|
||||
link.click() //执行下载
|
||||
document.body.removeChild(link)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user