样式调整

This commit is contained in:
GYYM
2024-12-03 17:13:47 +08:00
parent a91367a16e
commit 33004e081d
7 changed files with 48 additions and 15 deletions

View File

@@ -47,7 +47,7 @@
</el-table-column>
<el-table-column prop="action" label="操作" width="100">
<template #default="scope">
<el-button type='primary' link :icon='View' :disabled="scope.row.processValue < 100">查看</el-button>
<el-button type='primary' link :icon='Download' :disabled="scope.row.processValue < 100">下载</el-button>
</template>
</el-table-column>
</el-table>
@@ -69,7 +69,7 @@ import { ElMessage, type FormItemRule } from 'element-plus'
import { addPqDev, updatePqDev } from '@/api/device/device'
import { computed, reactive, type Ref, ref } from 'vue'
import { useDictStore } from '@/stores/modules/dict'
import { CirclePlus, Delete, EditPen,View } from '@element-plus/icons-vue'
import { CirclePlus, Delete, Download,View } from '@element-plus/icons-vue'
@@ -78,7 +78,7 @@ import { CirclePlus, Delete, EditPen,View } from '@element-plus/icons-vue'
const errorSysName = ref('Q/GDW 10650.2-2021');
const dataRule = ref('所有值');
const scriptSwitch = ref(true);
const currentScriptDsc = ref('频率准确度检测频率42.5Hz Ua=46.192V 0° Ub=46.192V -120° Uc=46.192V 120° Ia=1A 0° Ib=1A -120° Ic=1A 120°');
const currentScriptDsc = ref('电压准确度检测频率42.5Hz Ua=46.192V 0° Ub=46.192V -120° Uc=46.192V 120° Ia=1A 0° Ib=1A -120° Ic=1A 120°');
const reportData = ref([
{ id: '1', deviceName: '被检设备1', processValue: '100' , action:'查看' },