meansformdetail.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <style>
  2. .tree-control .tree-input {
  3. min-height: 34px!important;
  4. padding-top: 5px;
  5. }
  6. .tree-control .tree-view .item-container:hover,
  7. .tree-control .tree-view .selected,
  8. .tree-control .tree-view .active {
  9. background-color: #428bca;
  10. background-image: linear-gradient(#428bca, #428bca)!important;
  11. background: #428bca;
  12. color: #fff;
  13. }
  14. .tree-control .tree-view .item-container:hover .expand,
  15. .tree-control .tree-view .selected .expand,
  16. .tree-control .tree-view .active .expand {
  17. border-left: 10px solid #fff;
  18. }
  19. .tree-control .tree-view .item-container:hover .expand-opened,
  20. .tree-control .tree-view .selected .expand-opened,
  21. .tree-control .tree-view .active .expand-opened {
  22. border-bottom: 0px solid transparent;
  23. border-left: 6px solid transparent;
  24. border-right: 6px solid transparent;
  25. border-top: 10px solid #fff;
  26. }
  27. </style>
  28. <section id="page-title">
  29. <div class="row">
  30. <div class="col-sm-8">
  31. <h1 class="mainTitle">新建资产</h1><span class="mainDescription">新建资产,选择资产类型填写相应的信息,“*”为必填项”</span></div>
  32. </div>
  33. </section>
  34. <div ng-controller="meansformCtrl">
  35. <form ng-submit="vm.submit(vm.model,cifilter_classic,templateitem,'gray')">
  36. <div class="col-md-4" style="float:left;display:inline;min-width:200px;">
  37. <multi-select-tree ng-model="cifilter_classic" data-input-model="select_treedata" data-output-model="cifilter_classic" theme="bootstrap" multi-select="false" data-default-label="资产分类" data-callback="onFilterCallback(item)" data-select-only-leafs="true"
  38. data-trans-label="label" data-switch-view="false"></multi-select-tree>
  39. </div>
  40. <div class="col-md-12">
  41. <tabset class="backborder">
  42. <tab ng-repeat="tab in vm.tabs" heading="{{tab.title}}" active="tab.active" disable="tab.disabled">
  43. <formly-form model="tab.form.model" fields="tab.form.fields" form="vm.form" options="tab.form.options" class="row">
  44. </formly-form>
  45. </tab>
  46. </tabset>
  47. </div>
  48. <div class="col-xs-12 margin-top-30 margin-bottom-30">
  49. <button type="submit" ladda="ldloading.gray" ng-disabled="!vm.form.$$parentForm.$valid" class="col-md-offset-8 btn btn-primary"><span translate="form.button.SUBMIT">Submit</span></button>
  50. <!-- <a ladda="ldloading.gray" class="btn btn-danger" data-style="expand-right" data-spinner-color="#999999" ng-click="vm.remove(vm.model,'gray')">
  51. <span translate="form.button.REMOVE">DELETE</span>
  52. </a> -->
  53. <button type="close" class=" btn btn-primary" ng-click="closeModel()" translate="form.button.CLOSE">CLOSE </button>
  54. </div>
  55. </form>
  56. </div>