| | |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 状态变更审批详情 --> |
| | | <template v-else-if="row.businessType === 19"> |
| | | <div class="device-status-detail"> |
| | | <el-divider content-position="left">设备状态变更详情</el-divider> |
| | | <el-descriptions :column="2" border> |
| | | <el-descriptions-item label="设备名称">{{ detailData.deviceName || "--" }}</el-descriptions-item> |
| | | <el-descriptions-item label="目标状态"> |
| | | <el-tag :type="detailData.targetStatus === 1 ? 'success' : 'danger'"> |
| | | {{ detailData.targetStatusName || "--" }} |
| | | </el-tag> |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="变更原因" :span="2">{{ detailData.reason || "--" }}</el-descriptions-item> |
| | | </el-descriptions> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | <div v-if="attachmentList.length" |
| | | class="detail-block"> |
| | |
| | | const formResolved = computed(() => resolveInstanceFormFields(props.row)); |
| | | |
| | | |
| | | // 是否为特殊审批类型(采购、发货、报价) |
| | | // 是否为特殊审批类型(采购、发货、报价、设备状态变更) |
| | | const isSpecialApprovalType = computed(() => { |
| | | return [5, 7, 6].includes(props.row.businessType); |
| | | return [5, 7, 6, 19].includes(props.row.businessType); |
| | | }); |
| | | |
| | | // 详情数据(直接使用传入的 detail-data 参数) |