Merge branch 'feature/work_order' of wmtx/platform into release

修改样式问题
master
廖金灵 5 years ago committed by Gogs
commit 112134ec93

@ -105,12 +105,17 @@
<div <?php if (empty($data['process_log']) || $data['type'] == 1):?>hidden<?php endif;?> >
<div style="font-size:large;">工单进度</div>
<div style="width: 600px;border: 0.5px solid #000;height: 100%;padding-top: 20px;padding-right: 50px;padding-left: 50px;margin-bottom: 50px;">
<div style="width: 600px;border: 0.5px solid #000;height: 700px;padding-top: 20px;padding-right: 50px;padding-left: 50px;margin-bottom: 50px;overflow: scroll;">
<?php foreach($data['process_log'] as $index => $log):?>
<p style="font-weight: bold;font-size: medium;margin-top: 10px;">{$index+1}. {$log['title']}</p>
<?php if ($log['type'] == 2):?>
<?php foreach($log['detail'] as $detail):?>
<p style="margin-left: 20px;">--<?php echo $detail['key_name'] . " 旧值:".$detail['old']." 新值:".$detail['new'] ?></p>
<p style="margin-left: 20px;word-break: break-all;">
<span style="color: blue;">--<?php echo $detail['key_name'];?></span></br>
<span style="color: red;font-size: x-small;">旧值:</span></br>
<span><?php echo $detail['old'];?></span></br>
<span style="color: red;font-size: x-small;">新值:</span></br>
<span><?php echo $detail['new'];?></span>
<?php endforeach;?>
<?php elseif($log['type'] == 3):?>
<p style="margin-left: 20px;"><label>内容:</label><span style="color: gray;">{$log['detail']}</span></p>

@ -240,12 +240,17 @@
<div <?php if (empty($data['process_log']) || $data['type'] == 1):?>hidden<?php endif;?> >
<div style="font-size:large;">工单进度</div>
<div style="width: 600px;border: 0.5px solid #000;height: 100%;padding-top: 20px;padding-right: 50px;padding-left: 50px;margin-bottom: 50px;">
<div style="width: 600px;border: 0.5px solid #000;height: 700px;padding-top: 20px;padding-right: 50px;padding-left: 50px;margin-bottom: 50px;overflow: scroll;">
<?php foreach($data['process_log'] as $index => $log):?>
<p style="font-weight: bold;font-size: medium;margin-top: 10px;">{$index+1}. {$log['title']}</p>
<?php if ($log['type'] == 2):?>
<?php foreach($log['detail'] as $detail):?>
<p style="margin-left: 20px;">--<?php echo $detail['key_name'] . " 旧值:".$detail['old']." 新值:".$detail['new'] ?></p>
<p style="margin-left: 20px;word-break: break-all;">
<span style="color: blue;">--<?php echo $detail['key_name'];?></span></br>
<span style="color: red;font-size: x-small;">旧值:</span></br>
<span><?php echo $detail['old'];?></span></br>
<span style="color: red;font-size: x-small;">新值:</span></br>
<span><?php echo $detail['new'];?></span>
<?php endforeach;?>
<?php elseif($log['type'] == 3):?>
<p style="margin-left: 20px;"><label>内容:</label><span style="color: gray;">{$log['detail']}</span></p>

Loading…
Cancel
Save