{if $value->for_department eq 4} {elseif $value->for_department eq 5} {if $value->view == 1} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {else} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {/if} {elseif $value->for_department eq 8} {if $value->view == 1} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {else} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {/if} {elseif $value->for_department eq 11} {if $value->view == 1} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {else} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {/if} {elseif $value->for_department eq 12} {if $value->view == 1} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {else} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {/if} {elseif $value->for_department eq 13} {if $value->view == 1} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {else} customer_add == 1} style="background-color: #f1f16d;" {/if}> {$i} {$value->patientName} {$value->statusno} {$value->for_department_name} {if !empty($value->operation_time) }{/if} {$value->detectionType} {/if} {/if}