yzx 7 ay önce
ebeveyn
işleme
a618bb589f
1 değiştirilmiş dosya ile 21 ekleme ve 12 silme
  1. 21 12
      app/mobile/view/index/detail.html

+ 21 - 12
app/mobile/view/index/detail.html

@@ -715,19 +715,28 @@
                             <span style="color: darkgray;"><b>派遣人数:{$vo.dispatch_num}</b></span>
                         </div>
                             {if $unit_type != 1}
-                            {switch $vo.audit_status}
-                            {case 0}
-                            {if $vo.operate}
-                            <button type="button" class="layui-btn layui-btn-normal " lay-submit lay-filter="appointmentAgree" style="background-color:rgb(146,208,80);">通过</button>
-                            <button type="button" class="layui-btn layui-bg-red layui-btn-normal" lay-submit lay-filter="appointmentDisagree">拒绝</button>
+                                {switch $vo.audit_status}
+                                {case 0}
+                                {if $vo.operate}
+                                <button type="button" class="layui-btn layui-btn-normal " lay-submit lay-filter="appointmentAgree" style="background-color:rgb(146,208,80);">通过</button>
+                                <button type="button" class="layui-btn layui-bg-red layui-btn-normal" lay-submit lay-filter="appointmentDisagree">拒绝</button>
+                                {else}
+                                待审核
+                                {/if}
+                                {/case}
+                                {case 1}通过{/case}
+                                {case 2}拒绝{/case}
+                                {default /}未知
+                                {/switch}
                             {else}
-                            待审核
-                            {/if}
-                            {/case}
-                            {case 1}通过{/case}
-                            {case 2}拒绝{/case}
-                            {default /}未知
-                            {/switch}
+                                {switch $vo.audit_status}
+                                {case 0}
+                                待审核
+                                {/case}
+                                {case 1}通过{/case}
+                                {case 2}拒绝{/case}
+                                {default /}未知
+                                {/switch}
                             {/if}
                         </form>
                     </div>