系数校准多装置按行展示
This commit is contained in:
@@ -91,10 +91,10 @@
|
||||
<!--下方表格数据-->
|
||||
<el-tabs class='tabs-menu' type='border-card' @tab-change='handleTabsChange' v-model='editableTabsValue'
|
||||
:style='{ height: tabsHeight }'>
|
||||
<el-tab-pane :label='tabLabel1' :style='{ height: tabPaneHeight }'>
|
||||
<el-tab-pane :label='tabLabel1' :style='{ height: tabPaneHeight}'>
|
||||
<!-- 列表数据 -->
|
||||
<div class='container_table' :style='{ height: tableHeight }'>
|
||||
<Table ref='tableRef1' :id='currentId' :isTimeCheck='isTimeCheck'></Table>
|
||||
<Table ref='tableRef1' :id='currentId' :isTimeCheck='isTimeCheck' :plan = 'select_Plan'></Table>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
@@ -146,6 +146,7 @@ const tableHeight = ref('calc(100% - 50px)') // 初始高度
|
||||
|
||||
const isTimeCheck = ref<boolean>(false)
|
||||
const planList = ref<ResultData<Plan.ReqPlan[]>>()
|
||||
const select_Plan = ref<Plan.ReqPlan>()
|
||||
const handleCollapseChange = (val: CollapseModelValue) => {
|
||||
|
||||
// 计算新的高度
|
||||
@@ -271,6 +272,7 @@ const getPieData = async (id: string) => {
|
||||
const boundPqDevList = ref<Device.ResPqDev[]>([])//根据检测计划id查询出所有已绑定的设备
|
||||
const plan = findPlanById(planList.value?.data || [], id)
|
||||
planName.value = '所选计划:' + plan.name
|
||||
select_Plan.value = plan
|
||||
if (plan) {
|
||||
//isTimeCheck.value = plan.timeCheck === 1; // 将 1 转换为 true,0 转换为 false
|
||||
isTimeCheck.value = false // 将 1 转换为 true,0 转换为 false ----目前不用守时检测,先去除
|
||||
@@ -433,6 +435,7 @@ onUnmounted(() => {
|
||||
|
||||
</script>
|
||||
<style lang='scss' scoped>
|
||||
|
||||
.static {
|
||||
|
||||
.left_tree {
|
||||
@@ -538,7 +541,7 @@ onUnmounted(() => {
|
||||
padding: 0 15px;
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
font-size: 18px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -617,4 +620,7 @@ onUnmounted(() => {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user