gdzc_edit.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. <style>
  2. .row {
  3. position: relative;
  4. }
  5. .left {
  6. width: 20%;
  7. position: absolute;
  8. left: 0;
  9. top: 0
  10. }
  11. /* 修改人信息 */
  12. .left .worker_message {
  13. width: 100%;
  14. height: 161px;
  15. background-color: #f9fbff;
  16. padding-left: 16px;
  17. }
  18. .left .worker_message .head {
  19. font-size: 14px;
  20. font-weight: bold;
  21. height: 36px;
  22. line-height: 36px
  23. }
  24. .left .worker_message .body {
  25. height: 125px;
  26. }
  27. .left .worker_message .body .pit {
  28. width: 30%;
  29. float: left;
  30. height: 100px;
  31. text-align: center;
  32. }
  33. .left .worker_message .body .pit img {
  34. width: 64%;
  35. }
  36. .left .worker_message .body .cot {
  37. float: left;
  38. font-size: 12px;
  39. width: 64%;
  40. }
  41. .left .worker_message .body .cot li {
  42. height: 20px;
  43. line-height: 20px;
  44. color: #858687;
  45. width: 100%;
  46. overflow: hidden;
  47. white-space: nowrap;
  48. text-overflow: ellipsis;
  49. }
  50. /* 资产属性 */
  51. .left .attribute_message {
  52. width: 100%;
  53. height: 394px;
  54. background-color: #f9fbff;
  55. padding-left: 16px;
  56. margin-top: 10px;
  57. padding-right: 16px;
  58. overflow: hidden;
  59. }
  60. .left .attribute_message .head {
  61. font-size: 14px;
  62. font-weight: bold;
  63. height: 36px;
  64. line-height: 36px;
  65. }
  66. .left .attribute_message .body li {
  67. height: 60px;
  68. line-height: 60px;
  69. border-bottom: 2px #f5f6f9 solid;
  70. font-size: 12px
  71. }
  72. .left .attribute_message .body .tit {
  73. float: left;
  74. }
  75. .left .attribute_message .body .neirong {
  76. float: right;
  77. }
  78. .right {
  79. /* width: 853px; */
  80. width: 76%;
  81. height: 564px;
  82. border: 1px #eeeeee solid;
  83. position: absolute;
  84. left: 21%;
  85. top: 0
  86. }
  87. .right .row {
  88. margin: 0
  89. }
  90. .right .submit {
  91. height: 57px;
  92. /* width: 851px; */
  93. width: 100%;
  94. /* background-color: red; */
  95. position: relative;
  96. left: 0;
  97. bottom: 0;
  98. text-align: center;
  99. /* line-height: 57px; */
  100. border-top: 1px #eeeeee solid;
  101. }
  102. .right .submit .sub {
  103. width: 80px;
  104. height: 34px;
  105. background-color: #123f8f;
  106. border: 1px #123f8f solid;
  107. border-radius: 2px;
  108. color: white;
  109. margin-top: 9px;
  110. margin-left: 0;
  111. }
  112. .right .submit .clo {
  113. width: 80px;
  114. height: 34px;
  115. background-color: #f2f2f2;
  116. border: 1px #d1d1d1 solid;
  117. border-radius: 2px;
  118. color: #d1d1d1;
  119. margin-top: 9px;
  120. }
  121. .container-fullw {
  122. border-bottom: 0;
  123. height: 800px;
  124. }
  125. .rightrow {
  126. overflow: hidden;
  127. height: 447px;
  128. overflow-y: scroll;
  129. margin-right: -15px;
  130. margin-left: 0;
  131. width: 100%;
  132. }
  133. .rightrowbottom {
  134. overflow: hidden;
  135. height: 600px;
  136. overflow-y: scroll;
  137. margin-right: -15px;
  138. margin-left: 0;
  139. width: 100%;
  140. }
  141. .right .panel {
  142. margin-top: 15px;
  143. background-color: #ddedff!important;
  144. }
  145. .right div.form-group label {
  146. margin-left: 8px
  147. }
  148. .right .titl_head {
  149. height: 58px;
  150. width: 100%;
  151. background-color: #f9fbff;
  152. }
  153. .haha {
  154. background-color: #ddedff!important;
  155. border-top: 5px #4a90e2 solid!important;
  156. }
  157. .right .titl_head .titl {
  158. float: left;
  159. height: 56px;
  160. line-height: 56px;
  161. padding: 0 16px;
  162. background-color: #f9fbff;
  163. border-top: 5px #eeeeee solid;
  164. cursor: pointer;
  165. font-size: 13px;
  166. margin-right: 1px;
  167. }
  168. .xianzhi {
  169. display: inline-block;
  170. width: 100px;
  171. overflow: hidden;
  172. white-space: nowrap;
  173. text-overflow: ellipsis
  174. }
  175. .tab-content>.tab-pane,
  176. .pill-content>.pill-pane {
  177. display: block;
  178. /* undo display:none */
  179. height: 0;
  180. /* height:0 is also invisible */
  181. overflow-y: hidden;
  182. /* no-overflow */
  183. }
  184. .tab-content>.active,
  185. .pill-content>.active {
  186. height: auto;
  187. /* let the content decide it */
  188. }
  189. .headmap {
  190. font-size: 14px;
  191. font-weight: bold;
  192. height: 36px;
  193. line-height: 36px;
  194. }
  195. .btn {
  196. transition: all 0.3s ease 0s !important;
  197. background-image: none !important;
  198. /* box-shadow: none !important; */
  199. outline: none !important;
  200. position: relative;
  201. padding: 6px 12px;
  202. border-radius: 2px;
  203. }
  204. </style>
  205. <!-- <section id="page-title">
  206. <div class="row">
  207. <div class="col-sm-8">
  208. <h1 class="mainTitle">固定资产列表
  209. <i tooltip='固定资产列表,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  210. </h1>
  211. </div>
  212. </div>
  213. </section> -->
  214. <section id="page-title">
  215. <div class="row">
  216. <!-- <i class="iconfont icon-bianji pull-left"></i> -->
  217. <div class="col-sm-8">
  218. <h1 class="mainTitle">固定资产编辑<i tooltip='固定资产,点击操作可编辑固定资产' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  219. </div>
  220. </div>
  221. </section>
  222. <div class="modal-body">
  223. <div class="container-fluid container-fullw bg-white" ng-controller="gdzc_meansformCtrl">
  224. <div class="row" id="searchid">
  225. <div class="left">
  226. <div class="worker_message">
  227. <div class="head">
  228. 修改人信息
  229. </div>
  230. <div class="body">
  231. <div class="pit">
  232. <img src="assets/images/cmdb/icon_touxiang.png" alt="">
  233. </div>
  234. <ul class="cot">
  235. <li>
  236. <span>姓名:{{user.name||'暂无'}}</span>
  237. </li>
  238. <li>
  239. <span>科室:{{user.dept.dept||'暂无'}}</span>
  240. </li>
  241. <li>
  242. <span>手机:{{user.phone||'暂无'}}</span>
  243. </li>
  244. <li>
  245. <span>电话:{{user.telephone||'暂无'}}</span>
  246. </li>
  247. <li>
  248. <span>邮箱:{{user.email||'暂无'}}</span>
  249. </li>
  250. </ul>
  251. </div>
  252. </div>
  253. <div class="attribute_message">
  254. <div class="head">
  255. 资产属性
  256. </div>
  257. <ul class="body">
  258. <li>
  259. <span class="tit">内部编码:</span><span class="neirong">{{jry_shuxing.model.uuid||'暂无'}}</span>
  260. </li>
  261. <li>
  262. <span class="tit">最后更新人:</span>
  263. <span class="neirong">{{jry_shuxing.model.props.lastupdateperson||'暂无'}}</span>
  264. </li>
  265. <li>
  266. <span class="tit">创建时间:</span>
  267. <span class="neirong">{{jry_shuxing.model.createtime||'暂无'}}</span>
  268. </li>
  269. </ul>
  270. </div>
  271. </div>
  272. <div class="right">
  273. <form ng-submit="vm.submit(vm.model,vm.model.id,templateitem,'gray')">
  274. <div class="row">
  275. <!-- <div class="col-md-12 col-sm-4"> -->
  276. <!-- <div class="col-md-12"> -->
  277. <!-- <div ng-repeat="tab in vm.tabs" heading="{{tab.title}}" active="tab.active" disable="tab.disabled">
  278. <div class="panel col-xs-12 bg-grey">
  279. <div class="panel-heading px-nested-panel-heading panel-heading-background clearfix">
  280. <h3 class="panel-title text-head">{{tab.title}} </h3>
  281. </div>
  282. </div>
  283. <formly-form model="tab.form.model" fields="tab.form.fields" form="vm.form" options="tab.form.options">
  284. </formly-form>
  285. </div> -->
  286. <!-- <div class="titl_head">
  287. <div ng-click="toindex($index)" ng-class="{true:'haha'}[$index==xianshi]" class="titl" ng-repeat="tab in vm.tabs">{{tab.title}} </div>
  288. </div> -->
  289. <!-- <div class="rightrow">
  290. <tabset ng-class="{backborder:vm.tabs}" class="margin-bottom-15">
  291. <tab ng-repeat="tab in vm.tabs" heading="{{tab.title}}" active="tab.active" disable="tab.disabled">
  292. <formly-form model="tab.form.model" fields="tab.form.fields" form="vm.form" options="tab.form.options" class="col-xs-12" style="height:400px;overflow: auto;margin-top: 30px;">
  293. </formly-form>
  294. </tab>
  295. <tab heading="关系图">
  296. <div class="container-fluid container-fullw bg-white">
  297. <div class="row">
  298. <div class="col-md-12">
  299. <div class="row" style="height:600px">
  300. <div class="row" id="meansmap" style="height:100%"></div>
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </tab>
  306. </tabset>
  307. </div> -->
  308. <div class="titl_head">
  309. <div ng-click="toindex($index)" ng-class="{true:'haha'}[$index==xianshi]" class="titl" ng-repeat="tab in vm.tabs">{{tab.title}} </div>
  310. <!-- <button ng-click="openmap(vm.tabs.length)" class="titl pull-right">资产关系图</button> -->
  311. <!-- <a class="btn btn-zancun pull-right" style="margin-top:10px;margin-right:10px" ng-click="lookoutsystem(tab)" data-dismiss="modal">查看性能</a> -->
  312. <button class="btn btn-primary pull-right" style="margin-top:10px;margin-right:10px" ng-click="lookmap(tab)" data-dismiss="modal">资产关系图</button>
  313. <!-- <button type="submit " ladda="ldloading.gray " ng-disabled="!vm.form.$$parentForm.$valid " class="col-md-offset-8 btn btn-primary sub pull-right">资产关系图</button> -->
  314. </div>
  315. <div id="mapwidth">
  316. <div ng-repeat="tab in vm.tabs" ng-show="$index==xianshi" class="rightrow">
  317. <formly-form model="tab.form.model" fields="tab.form.fields" form="vm.form" options="tab.form.options">
  318. </formly-form>
  319. </div>
  320. <!-- <div class="row" ng-show="vm.tabs.length==xianshi">
  321. <div class="pull-left" style="padding:10px" ng-style='width'>
  322. <div style="border:1px solid #eee;;border-radius: 2px">
  323. <div class="padding-10"><span>资产关系图</span>
  324. <button class="btn btn-searchbutton steelbutton pull-right" ng-click="changemeans()" ng-disabled="!guanlianable" type="button">新增关联</button>
  325. </div>
  326. <div class="rightrowbottom">
  327. <div class="row" id="meansmap" style="height:430px;width:100%;min-width:600px"></div>
  328. </div>
  329. </div>
  330. </div>
  331. <div class="attribute_message pull-right" style="margin-right:0px;padding-right:10px;padding-top:10px;padding-bottom:10px;width:200px">
  332. <div style="border:1px solid #eee;padding:5px;color:#666;height:430px;border-radius: 2px">
  333. <div class="headmap padding-5">
  334. 资产现状
  335. </div>
  336. <div class="body" style="color:#999">
  337. <div class=" padding-5 ">
  338. <span class="tit ">内部编码:</span>
  339. <span class="neirong ">{{cmdbtype.uuid||'暂无'}}</span>
  340. </div>
  341. <div class="padding-5 ">
  342. <span class="tit ">配置标题:</span>
  343. <span class="neirong ">{{cmdbtype.name||'暂无'}}</span>
  344. </div>
  345. <div class="padding-5 ">
  346. <span class="tit ">状态:</span>
  347. <span class="neirong ">{{cmdbtype.status||'暂无'}}</span>
  348. </div>
  349. <div class="padding-5 ">
  350. <span class="tit ">资产管理员:</span>
  351. <span class="neirong ">{{cmdbtype.person||'暂无'}}</span>
  352. </div>
  353. </ul>
  354. </div>
  355. </div>
  356. </div>
  357. </div> -->
  358. <!-- </div> -->
  359. <!-- </div> -->
  360. </div>
  361. <div class="submit ">
  362. <button type="submit " ladda="ldloading.gray " ng-disabled="!vm.form.$$parentForm.$valid " class="col-md-offset-8 btn btn-primary sub ">保存</button>
  363. <button type="close " class=" btn btn-primary clo " ng-click="closeModel() " translate="form.button.CLOSE ">CLOSE </button>
  364. </div>
  365. </form>
  366. </div>
  367. </div>
  368. </div>
  369. </div>