<title>模板中心</title>
|
<div class="split_form" ng-click="show_sign_all();$event.stopPropagation();$(event).preventDefault();" id="templates_center">
|
<div class="main travel_expense form_container" style="padding-left:230px;padding-right:0px;">
|
<div class="content">
|
<div class="container">
|
<ul class="business_items forms_center">
|
|
<li ng-repeat="business in indus_templates">
|
<div ng-mouseenter="mouseover_business_item($event)" ng-mouseleave="mouseout_business_item($event)">
|
<label ng-bind="business.inName"></label>
|
<ul>
|
<li ng-bind="business.inDesc">
|
<!--{{business.inDesc}}-->
|
</li>
|
</ul>
|
<img src="{{business.inBigIcon}}" />
|
<span ng-bind="business.inName"></span>
|
</div>
|
</li>
|
|
<!--
|
<li>
|
<a ng-href="javascript:void(0);" ng-click="show_more();">
|
<img src="./static/img/more_collapse.png" />
|
<label class="bottom_label"> {{business_card_shown?'返回':'更多'}}</label>
|
</a>
|
</li>
|
-->
|
</ul>
|
</div>
|
</div>
|
</div>
|
|
<div class="left" style="width:230px;">
|
<div class="containr_header">
|
模板管理
|
</div>
|
<ul class="ul-tree templates_list">
|
<li ng-repeat="template in indus_templates">
|
<div class="template_list_top">
|
<a ng-href="javascript:void(0);" ng-click="collapse=!collapse">
|
<img src="{{template.inBigIcon}}"><i style="font-style: normal;" ng-bind="template.inName"></i>
|
</a>
|
|
<!--加入标志符-->
|
<span ng-style="template.o1" ng-click="show_sign(template);$event.stopPropagation();">i</span>
|
</div>
|
|
<!--表单内容-->
|
<div class="list-operation" ng-show="template.num1==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div class="list-group list-operation-centent" ng-init="indus_change_type=0">
|
<a ng-show="permission_check('add_bussiness')" ng-href="javascript:void(0);" class="list-group-item" ng-click="template.num2=1;template.num1=0;indus_change_type=1;" id="add_bussiness">添加行业</a>
|
<a ng-show="permission_check('edit_bussiness')" ng-href="javascript:void(0);" class="list-group-item" ng-click="template.num2=1;template.num1=0;indus_change_type=2;" id="edit_bussiness">修改行业</a>
|
<a ng-show="permission_check('delete_bussiness')" ng-href="javascript:void(0);" class="list-group-item" ng-click="delete_indus(template);template.num3=0;template.num1=0;indus_change_type=3;" id="delete_bussiness">删除行业</a>
|
</div>
|
</div>
|
<div class="list-change" ng-show="template.num2==1||template.num3==1">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div class="list-change-centent">
|
<label ng-show="template.num2==1">标题 </label><input ng-show="template.num2==1" type="text" ng-model="$parent.template_title">
|
<!-- <div ng-show="permission_check('template_pass')&&template.num2==1"> -->
|
<div ng-show="false">
|
<label>图标</label><input type="file" file-model="images" ngf-select onchange="angular.element(this).scope().img_change(this.files)" name="file" ngf-pattern="image/*" accept="image/jpg,image/jpeg,image/png" ngf-max-size="5MB" ngf-min-height="100"/>
|
<img src={{images}} alt="" ng-show="template.img_show_flag">
|
</div>
|
<div class="list-button">
|
<button type="button" class="btn btn-primary" ng-click="indus_change(template,indus_change_type)" id="template_pass">确定</button>
|
<button type="button" class="btn btn-default" data-dismiss="modal" ng-click="template.num1=0;template.num2=0;template.num3=0;template.o1={}" id="template_cancle">取消</button>
|
</div>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
|
<ul ng-if="collapse" class="list_detail_ul">
|
<li class="list_detail_li">
|
<div class="template_list_second">
|
<!--<img src="./static/img/doc.png">-->
|
<img src="./static/img/rebuise_card.png"/>
|
<a ng-href="javascript:void(0);" ng-click="budget_show =! budget_show;$event.stopPropagation();">
|
预算单
|
</a>
|
<!--加入标志符-->
|
<span ng-style="template.o1_budget" ng-click="show_sign_budget(template);$event.stopPropagation();">i</span>
|
</div>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="template.num1_budget==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('add_budget_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="redirect_to_args('/budget_form_customize',10,template.inCode,'',3)" id="add_budget_template">添加预算单模版</a>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
<ul ng-if="budget_show">
|
<li class="list_detail" ng-repeat="budget in template.budgets">
|
<a ng-href="javascript:void(0);" ng-click="show_saved_form( template.inCode,10,3,budget.guId);$event.stopPropagation();">
|
{{budget.guTempName}}
|
</a>
|
<!--加入标志符-->
|
<span ng-style="budget.o1_detail" ng-click="show_sign_budget_detail(template,budget);$event.stopPropagation();">i</span>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="budget.num1_detail==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('delete_budget_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="delete_form(budget);budget.num3=1;budget.num1=0" id="delete_budget_template">删除预算单模版</a>
|
</div>
|
</div>
|
<div class="list-change" ng-show="budget.num2==1||budget.num3==1">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
</li>
|
</ul>
|
</li>
|
<li class="list_detail_li">
|
<div class="template_list_second">
|
<!--<img src="./static/img/doc.png">-->
|
<img src="./static/img/rebuise_card.png"/>
|
<a ng-href="javascript:void(0);" ng-click="apply_show =!apply_show;$event.stopPropagation();">
|
申请单
|
</a>
|
<!--加入标志符-->
|
<span ng-style="template.o1_apply" ng-click="show_sign_apply(template);$event.stopPropagation();">i</span>
|
</div>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="template.num1_apply==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('add_apply_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="redirect_to_args('/budget_form_customize',20,template.inCode,'',3)" id="add_apply_template">添加申请单模版</a>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
<ul ng-if="apply_show">
|
<li class="list_detail" ng-repeat="apply in template.applys">
|
<a ng-href="javascript:void(0);" ng-click="show_saved_form( template.inCode,20,3,apply.guId);$event.stopPropagation();">
|
{{apply.guTempName}}
|
</a>
|
<!--加入标志符-->
|
<span ng-style="apply.o1_detail" ng-click="show_sign_apply_budget_detail(template,apply);$event.stopPropagation();">i</span>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="apply.num1_detail==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('delete_apply_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="delete_form(apply);apply.num3=1;apply.num1=0" id="delete_apply_template">删除申请单模版</a>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
</li>
|
</ul>
|
</li>
|
<li class="list_detail_li">
|
<div class="template_list_second">
|
<!--<img src="./static/img/doc.png">-->
|
<img src="./static/img/rebuise_card.png"/>
|
<a ng-href="javascript:void(0);" ng-click="expend_show =! expend_show;$event.stopPropagation();">
|
报销单
|
</a>
|
<!--加入标志符-->
|
<span ng-style="template.o1_reimbursement" ng-click="show_sign_reimbursement(template);$event.stopPropagation();">i</span>
|
</div>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="template.num1_reimbursement==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('add_expend_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="redirect_to_args('/budget_form_customize',30,template.inCode,'',3)" id="add_expend_template">添加报销单模版</a>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
<ul ng-if="expend_show">
|
<li class="list_detail" ng-repeat="expend in template.expends">
|
<a ng-href="javascript:void(0);" ng-click="show_saved_form( template.inCode,30,3,expend.guId);$event.stopPropagation();">
|
{{expend.guTempName}}
|
</a>
|
<!--加入标志符-->
|
<span ng-style="expend.o1_detail" ng-click="show_sign_extend_detail(template,expend);$event.stopPropagation();">i</span>
|
<!--表单内容-->
|
<div class="list-operation" ng-show="expend.num1_detail==1&&temp_show_falg">
|
<div class="list-triangle-top">
|
<div class="list-triangle-top-in"></div>
|
<div class="list-triangle-top-out"></div>
|
</div>
|
<div ng-show="permission_check('delete_expend_template')" class="list-group list-operation-centent">
|
<a ng-href="javascript:void(0);" class="list-group-item" ng-click="delete_form(expend);expend.num3=1;expend.num1=0;" id="delete_expend_template">删除报销单模版</a>
|
</div>
|
</div>
|
<!--表单内容结束-->
|
</li>
|
</ul>
|
</li>
|
</ul>
|
</li>
|
</ul>
|
</div>
|
</div>
|