knowledgeform.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <style>
  2. .tree-control .tree-input {
  3. min-height: 30px!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. .jry_history{
  28. width: 100%;
  29. height: 40px;
  30. line-height: 40px;
  31. background-color: rgb(234,234,234);
  32. border-radius: 4px
  33. }
  34. .jry_history .tit{
  35. float: left;
  36. margin-left: 8px;
  37. font-weight: bold;
  38. font-size: 16px
  39. }
  40. .jry_history .more{
  41. float: right;
  42. margin-right: 8px;
  43. color: rgb(30, 108, 172);
  44. cursor: pointer;
  45. }
  46. .jry_lists_box{
  47. width: 100%;
  48. height: 200px;
  49. background-color: rgb(249,249,249);
  50. overflow: hidden;
  51. overflow-y: scroll
  52. }
  53. .jry_lists_box .jry_lists{
  54. width: 100%;
  55. height: 30px;
  56. line-height: 30px;
  57. }
  58. .jry_lists_box .jry_lists span{
  59. float: left;
  60. margin-left: 20px;
  61. color: rgb(160,160,160)
  62. }
  63. .jry_lists_box .jry_lists .yuan{
  64. width: 10px;
  65. height: 10px;
  66. border-radius: 50%;
  67. background-color: rgb(121,163,196);
  68. margin-top: 10px
  69. }
  70. .jry_lists_box .jry_lists .see{
  71. color: rgb(24,29,159);
  72. text-decoration: underline;
  73. cursor: pointer;
  74. }
  75. .jry_lists_box .jry_lists:nth-child(1) span{
  76. color: black
  77. }
  78. .jry_lists_box .jry_lists:nth-child(1) .yuan{
  79. background-color: rgb(0,67,122);
  80. }
  81. </style>
  82. <div ng-controller="knowledgeformCtrl">
  83. <!--{{title}}-->
  84. <form ng-submit="vm.submit(vm.model,'sm')">
  85. <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
  86. <div></div>
  87. <div class="col-xs-12 margin-top-30 margin-bottom-30 text-center">
  88. <div ng-if="lishi_show!='knowledge_create'">
  89. <div class="jry_history">
  90. <span class="tit">历史纪录</span>
  91. <span class="more" ng-click="to_history()">更多>></span>
  92. </div>
  93. <div class="jry_lists_box">
  94. <div class="jry_lists" ng-repeat="v in historyData" ng-click="other_to_lishi(v)">
  95. <span>{{v.solutionnumber}}</span>
  96. <span class="yuan"></span>
  97. <span>{{v.createtime}}</span>
  98. <span>{{v.createUser.name}}</span>
  99. <span><<{{v.title}}>></span>
  100. <span class="see">查看</span>
  101. </div>
  102. </div>
  103. </div>
  104. <button type="submit" ladda="ldloading.sm" class="btn btn-addbutton addbutton" translate="form.button.SUBMIT">Submit</button>
  105. <button type="close" class="btn btn-removebutton removebutton" ng-click="closeModel(vm.model)" translate="form.button.CLOSE">CLOSE </button>
  106. <!-- <button type="button" ladda="ldloading.sm" class="margin-left-5 btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET">Reset</button> -->
  107. </div>
  108. </formly-form>
  109. </form>
  110. </div>