wupengfei 2 years ago
parent
commit
c3fb408b9d
2 changed files with 5 additions and 1 deletions
  1. 1 1
      application/leave/view/flow/form.html
  2. 4 0
      application/leave/view/flow/index.html

+ 1 - 1
application/leave/view/flow/form.html

@@ -10,7 +10,7 @@
                 <div class="layui-input-block">
                     <select class="layui-select" name="type" >
                         {foreach [1=>'审批人',2=>'抄送人'] as $tk=>$tv}
-                        <option value="{$tk}" {if isset($vo.type) && $vo.type == $tk}selected{/if}>{$tv}</option>
+                         <option value="{$tk}" {if isset($vo.type) && $vo.type == $tk}selected{/if}>{$tv}</option>
                         {/foreach}
                     </select>
                 </div>

+ 4 - 0
application/leave/view/flow/index.html

@@ -19,6 +19,10 @@
         <tbody>
         {foreach $list as $key=>$vo}
         <tr>
+            <td class='text-left nowrap'>
+                {eq name ='vo.type' value = '1'}审批人{/eq}
+                {eq name ='vo.type' value = '2'}抄送人{/eq}
+            </td>
             <td class='text-left nowrap'>{$vo.name|default=''}</td>
             <td class='text-left nowrap'>{$vo.sort|default=''}</td>
             <td class='text-left' >