🐞 fix: 设备管理bug修复

This commit is contained in:
砂糖
2025-09-24 15:23:07 +08:00
parent d660009610
commit 429081460a
22 changed files with 163 additions and 140 deletions

View File

@@ -88,7 +88,7 @@
<el-table v-loading="loading" :data="checkplanList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="方案编号" align="center" prop="planCode" >
<template slot-scope="scope">
<template #default="scope">
<el-button
type="text"
@click="handleView(scope.row)"
@@ -97,22 +97,22 @@
</el-table-column>
<el-table-column label="方案名称" align="center" prop="planName" />
<el-table-column label="方案类型" align="center" width="120px" prop="planType">
<template slot-scope="scope">
<template #default="scope">
<dict-tag :options="dv_plan_type" :value="scope.row.planType"/>
</template>
</el-table-column>
<el-table-column label="开始日期" align="center" prop="startDate" width="180">
<template slot-scope="scope">
<template #default="scope">
<span>{{ parseTime(scope.row.startDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="结束日期" align="center" prop="endDate" width="180">
<template slot-scope="scope">
<template #default="scope">
<span>{{ parseTime(scope.row.endDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="频率" width="100px" align="center" prop="cycleType">
<template slot-scope="scope">
<template #default="scope">
<span style="display: inline-flex;">
{{scope.row.cycleCount}}
<dict-tag :options="mes_cycle_type" :value="scope.row.cycleType"/>
@@ -120,12 +120,12 @@
</template>
</el-table-column>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<template #default="scope">
<dict-tag :options="mes_order_status" :value="scope.row.status"/>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="130px" class-name="small-padding fixed-width">
<template slot-scope="scope">
<template #default="scope">
<el-button
size="mini"
type="text"