首页、守时检测页样式调整
This commit is contained in:
@@ -112,8 +112,8 @@
|
||||
<!-- :disabled="!scope.isSelected || scope.selectedList.filter((item) => item.check_State === '检测完成').length === 0" -->
|
||||
<el-button type="primary" :icon="Notebook" @click="handleTest('批量归档')" v-if="form.activeTabs === 4"
|
||||
>归档</el-button>
|
||||
<el-button type="primary" :icon="CirclePlus" @click="addDevice('设备新增')" v-if="form.activeTabs === 0"
|
||||
>设备新增</el-button>
|
||||
<!-- <el-button type="primary" :icon="CirclePlus" @click="addDevice('设备新增')" v-if="form.activeTabs === 0"
|
||||
>设备新增</el-button> -->
|
||||
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -128,7 +128,17 @@
|
||||
v-if="form.activeTabs === 3 && form.activeChildTabs === 1"
|
||||
>查看</el-button
|
||||
>
|
||||
<div class='cn-render-buttons' v-if="form.activeTabs === 3 && form.activeChildTabs === 0">
|
||||
|
||||
<el-button
|
||||
type="primary"
|
||||
link
|
||||
:icon="Download"
|
||||
@click="openDrawer('报告下载', scope.row)"
|
||||
v-if="form.activeTabs === 3 && form.activeChildTabs === 0"
|
||||
>报告下载</el-button
|
||||
>
|
||||
|
||||
<!-- <div class='cn-render-buttons' v-if="form.activeTabs === 3 && form.activeChildTabs === 0">
|
||||
<el-dropdown trigger='click'>
|
||||
<el-button link type='primary' :icon="Download" class='table-operate'>
|
||||
<div class='table-operate-text'>报告下载</div>
|
||||
@@ -141,7 +151,7 @@
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<el-button
|
||||
type="primary"
|
||||
@@ -181,9 +191,24 @@
|
||||
link
|
||||
:icon="Switch"
|
||||
@click="openDrawer('误差体系更换', scope.row)"
|
||||
v-if="form.activeTabs === 5"
|
||||
v-if="form.activeTabs === 5 && scope.row.document_State === '已归档'"
|
||||
>误差体系更换</el-button
|
||||
>
|
||||
|
||||
<div class='cn-render-buttons' v-if="form.activeTabs === 5 && scope.row.document_State === '已归档'">
|
||||
<el-dropdown trigger='click'>
|
||||
<el-button link type='primary' :icon="Download" class='table-operate'>
|
||||
<div class='table-operate-text'>报告下载</div>
|
||||
</el-button>
|
||||
<template #dropdown>
|
||||
<el-dropdown-menu>
|
||||
<!-- <el-dropdown-item>Q/GDW 10650.2-2021 报告</el-dropdown-item> -->
|
||||
<el-dropdown-item>Q/GDW 1650.2-2016 报告</el-dropdown-item>
|
||||
<el-dropdown-item>GBT 19862-2016 报告</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
<!-- <el-button
|
||||
dictType="primary"
|
||||
link
|
||||
@@ -767,7 +792,7 @@ function tableHeaderInit(val: number) {
|
||||
case 5://数据查询
|
||||
disablecheckResultList("未检")
|
||||
disableCheckReportStatus("未检")
|
||||
columns[columns.length - 1].minWidth = 250;
|
||||
columns[columns.length - 1].minWidth = 290;
|
||||
operationShow.value = true;
|
||||
documentStateShow.value = true;
|
||||
checkStateShow.value = false;
|
||||
|
||||
Reference in New Issue
Block a user