pzxgl_wt.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907
  1. <!-- <div ng-controller="pzxgl_wtCtrl" class="">
  2. <section id="page-title">
  3. <div class="row">
  4. <div class="col-sm-8">
  5. <h1 class="mainTitle">配置项管理</h1>
  6. </div>
  7. </div>
  8. </section>
  9. <div class="col-sm-2 wt_cmdb_L">
  10. <div class="wt_cmdb_T">
  11. <span class="wt_cmdb_title">CMDB管理</span>
  12. </div>
  13. <div class="wt_cmdb_B">
  14. <button ng-click="add('text',1)">输入框</button>
  15. <button ng-click="add('text1',2)">大文本框</button>
  16. <button ng-click="add('time',3)">时间插件</button>
  17. <div class="flex">
  18. <div class="">
  19. <div class="DingW"><input type="text" class="SJFL_ipt" placeholder="请输入关键字" ng-model="jry_modelLeft" ng-change="left_serch()"><i class="glyphicon glyphicon-search jry_icon"></i></div>
  20. <div class="head">事件分类</div>
  21. <div class="body">
  22. <div class="box-tree" ng-show="jry_modelLeft==''">
  23. <span ng-if="doing_async">...加载中...</span>
  24. <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-fenlei" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
  25. </div>
  26. <div ng-show="jry_modelLeft!=''">
  27. <div ng-repeat="n in left_searchData" class="leftSearchData" ng-click="leftSearchGetData($index,n)" ng-class="{true:'leftSearchDatabg'}[$index==indexBG]">
  28. <i class="indented tree-icon iconfont icon-fenlei"></i><div>{{n.category}}</div>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="col-sm-7 wt_cmdb_C">
  37. <div class="wt_cmdb_T">
  38. </div>
  39. <div class="wt_cmdb_B">
  40. <div ng-drop="true" ng-class="{three:item.selectedSite=='3',two:item.selectedSite=='2',one:item.selectedSite=='1'}" class="wtwtt"
  41. ng-drop-success="dropComplete($index,$data)" ng-repeat="item in content" ng-click="editor(item)">
  42. <div ng-drag="true" ng-drag-data="item" class="wtttt">
  43. <label class="col-sm-12">
  44. 标题:{{item.label}}
  45. </label>
  46. <input type="text" class="col-sm-9" ng-if="item.type=='text'" placeholder={{item.placeholder}} disabled>
  47. <textarea name="" class="col-sm-9" id="" cols="30" rows="3" ng-if="item.type=='text1'" placeholder={{item.placeholder}} disabled></textarea>
  48. <input type="text" class="col-sm-9" ng-if="item.type=='time'" placeholder={{item.placeholder}} disabled>
  49. <div class="col-sm-3 text_rem">
  50. <span class="text_rem" ng-click="rem(item)">删除</span>
  51. <span class="text_rem" ng-click="copy(item)">复制</span>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="col-sm-3 wt_cmdb_R">
  58. <div class="wt_cmdb_T">
  59. <span class="wt_cmdb_title">属性编辑</span>
  60. </div>
  61. <div class="wt_cmdb_B">
  62. <div>
  63. <label class="col-sm-12"> 标题</label>
  64. <input class="col-sm-12" id="wt_input" type="text" ng-model="item.label">
  65. </div>
  66. <div>
  67. <label class="col-sm-12"> 输入字段提示</label>
  68. <input class="col-sm-12" id="wt_input1" type="text" ng-model="item.placeholder">
  69. </div>
  70. <div>
  71. <label class="col-sm-12"> 布局占比</label>
  72. <select class="col-sm-12" id="wt_input2" ng-model="selectedSite" ng-change="change1(selectedSite)">
  73. <option ng-repeat="item in accounted" value="{{item.id}}">{{item.name}}份</option>
  74. </select>
  75. </div>
  76. </div>
  77. </div>
  78. </div> -->
  79. <section id="page-title">
  80. <div class="row">
  81. <div class="col-sm-8">
  82. <h1 class="mainTitle">CMDB配置
  83. <!-- <i tooltip='新增或编辑事件分类' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i> -->
  84. </h1>
  85. </div>
  86. </div>
  87. </section>
  88. <div ng-controller="pzxgl_wtCtrl">
  89. <div style="background: #f3f3f3;
  90. padding: 10px;">
  91. <div class="mainDiv">
  92. <!-- 谁固定谁在前 -->
  93. <div class="mainDivLeft">
  94. <div class="mainDiv-head">
  95. <div class="wt_CMDB_top">
  96. <span>配置项类型</span>
  97. </div>
  98. <div class="mainDiv-head_right">
  99. <span class="mainDivLeft-span span-2 pointfont" ng-click="addType(output)">新增</span>
  100. <button id='changes1' class="mainDivLeft-span span-3 pointfont wt_bor tt" ng-click="changes(output)" ng-class="{'dis2':!subdata.label}">修改</button>
  101. <button id='remove' class="mainDivLeft-span span-3 pointfont tt" ng-click="remove(output)" ng-class="{'dis2':!subdata.label}">删除</button>
  102. </div>
  103. </div>
  104. <div class="mainDiv-body fixHeight wt_top">
  105. <div class="box-tree">
  106. <span ng-if="doing_async">...加载中...</span>
  107. <!-- <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-zuzhijiaose" icon-expand="ti-plus" icon-collapse="ti-minus "></abn-tree> -->
  108. <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-fenlei"
  109. icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
  110. </div>
  111. </div>
  112. </div>
  113. <div class="col-sm-7 wt_cmdb_C">
  114. <div class="wt_cmdb_T">
  115. <span style="font-size:14px;">{{wt_title||'配置项属性'}}</span>
  116. <!-- <span class="wt_textR">复制</span> -->
  117. <span class="wt_textR" ng-click="preview(content,wt_title)">预览</span>
  118. </div>
  119. <div class="wt_cmdb_B" style="padding-bottom: 20px;">
  120. <div ng-drop="true" class="wtwtt" ng-drop-success="dropComplete($index,$data)" ng-repeat="item in content" ng-click="editor(item,$index)"
  121. ng-class="{'active2':typeModel2==$index}">
  122. <div ng-drag="true" ng-drag-data="item" class="wtttt">
  123. <label class="col-sm-12" style="padding-left: 0px;">
  124. 标题:{{item.label}}
  125. </label>
  126. <input type="text" class="col-sm-9 wt_textI" ng-if="item.uiWidget.id==20||item.uiWidget.id==2||item.uiWidget.id==5" placeholder={{item.placeholder}}
  127. disabled>
  128. <textarea name="" class="col-sm-9 wt_textT" id="" cols="30" rows="3" ng-if="item.uiWidget.id==3" placeholder={{item.placeholder}}
  129. disabled></textarea>
  130. <!-- <input type="text" class="col-sm-9 wt_textI" ng-if="item.type=='time'" placeholder={{item.placeholder}} disabled> -->
  131. <input type="text" class=" col-sm-9 wt_textI" ng-if="item.uiWidget.id==61" datepicker-popuptime="yyyy-MM-dd" ng-model="searchkeys.acceptDate"
  132. max-date="searchkeys.acceptDateEnd" is-open="startOpened" hour-time=true ng-init="startOpened = false"
  133. close-text="关闭" ng-click="startOpen($event)" disabled/>
  134. <div class="tab-mainDiv-body-content wt_textI col-sm-9" ng-if="item.uiWidget.id==7" style='padding: 0px;'>
  135. <switch class="green"></switch>
  136. </div>
  137. <div class="col-sm-3 text_rem">
  138. <span class="text_rem" ng-click="rem(item)" ng-if="typeModel2==$index">删除</span>
  139. <span class="text_rem" ng-click="copy(item)" ng-if="typeModel2==$index">复制</span>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. <div class="wt_cmdb_F">
  145. <button ng-click="yes(content)" class="wt_b1" style="background: #005395;color:#fff;border: 1px solid #183958;
  146. border-radius: 2px;">确认</button>
  147. <button class="wt_b1" style="background: #F9F9F9;border: 1px solid #E2E2E2;
  148. border-radius: 2px;margin-left: 5px;">取消</button>
  149. </div>
  150. <!-- <div class="wt_cmdb_C">
  151. <button ng-click="yes()">确认</button>
  152. </div> -->
  153. </div>
  154. <div class="mainDivRight2">
  155. <div class="wt_Ctop">
  156. <span class="mainDivLeft-span span-2 pointfont wt_b50 wt_bor1" ng-click="controls('kj')" ng-class="{'active3':typeModel=='kj'}">控件选择</span>
  157. <span class="mainDivLeft-span span-3 pointfont wt_b50" ng-click="field('zd')" id="wt_zd" ng-class="{'active3':typeModel=='zd'}">字段属性</span>
  158. </div>
  159. <div class="wt_Cbom" ng-if="controlsType">
  160. <div class="wt_Ctext1" ng-click="add('input',2,'col-xs-4')" ng-class="{'active1':typeModel1=='input'}">
  161. <span>输入框</span>
  162. </div>
  163. <div class="wt_Ctext1 wt_mt" ng-click="add('binput',3,'col-xs-12')" ng-class="{'active1':typeModel1=='binput'}">
  164. <span>大字段输入框</span>
  165. </div>
  166. <div class="wt_Ctext1 wt_mt" ng-click="add('time',61,'col-xs-4')" ng-class="{'active1':typeModel1=='time'}">
  167. <span>日期选择</span>
  168. </div>
  169. </div>
  170. <div class="wt_Cbom" ng-if="fieldType">
  171. <!-- <div class="" style="margin-bottom: 10px;">
  172. <label class="col-sm-12" style="padding-left: 0px;">
  173. key值:
  174. </label>
  175. <input type="text" class="wt_inp" ng-model="">
  176. </div> -->
  177. <!-- <div class="tab-mainDiv-body-lineDiv-50 wt_501">
  178. <div class="tab-mainDiv-body-lable wt_body-lable">
  179. 是否隐藏:
  180. </div>
  181. <div class="tab-mainDiv-body-content">
  182. <switch ng-model="addparent" class="green"></switch>
  183. </div>
  184. </div> -->
  185. <div class="tab-mainDiv-body-lineDiv-50 wt_501">
  186. <div class="tab-mainDiv-body-lable wt_body-lable">
  187. 是否必填:
  188. </div>
  189. <div class="tab-mainDiv-body-content">
  190. <switch ng-model="item.required" class="green"></switch>
  191. </div>
  192. </div>
  193. <div class="tab-mainDiv-body-lineDiv-50 wt_501" ng-hide="item.uiWidget.id=='7'||item.uiWidget.id=='61'">
  194. <div class="tab-mainDiv-body-lable wt_body-lable">
  195. 是否可输入:
  196. </div>
  197. <div class="tab-mainDiv-body-content">
  198. <switch ng-model="item.readonly" class="green"></switch>
  199. </div>
  200. </div>
  201. <div class="" style="margin-bottom: 10px;">
  202. <label class="col-sm-12" style="padding-left: 0px;">
  203. 标题:
  204. </label>
  205. <input type="text" class="wt_inp" placeholder="请输入标题" ng-model="item.label">
  206. </div>
  207. <div class="" ng-hide="item.uiWidget.id=='7'||item.uiWidget.id=='61'">
  208. <label class="col-sm-12" style="padding-left: 0px;">
  209. 提示信息:
  210. </label>
  211. <input type="text" class="wt_inp" placeholder="请输入提示信息" ng-model="item.placeholder">
  212. </div>
  213. <!-- <div>
  214. <button>确认</button>
  215. <button>取消</button>
  216. </div> -->
  217. </div>
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. <style>
  223. /*滚动条样式*/
  224. .wt_top::-webkit-scrollbar {
  225. /*滚动条整体样式*/
  226. width: 4px;
  227. /*高宽分别对应横竖滚动条的尺寸*/
  228. height: 4px;
  229. }
  230. .wt_top::-webkit-scrollbar-thumb {
  231. /*滚动条里面小方块*/
  232. border-radius: 5px;
  233. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  234. background: rgba(0, 0, 0, 0.2);
  235. }
  236. .wt_top::-webkit-scrollbar-track {
  237. /*滚动条里面轨道*/
  238. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  239. border-radius: 0;
  240. background: rgba(255, 255, 255, 0.1);
  241. }
  242. /*滚动条样式*/
  243. .wt_cmdb_B::-webkit-scrollbar {
  244. /*滚动条整体样式*/
  245. width: 4px;
  246. /*高宽分别对应横竖滚动条的尺寸*/
  247. height: 4px;
  248. }
  249. .wt_cmdb_B::-webkit-scrollbar-thumb {
  250. /*滚动条里面小方块*/
  251. border-radius: 5px;
  252. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  253. background: rgba(0, 0, 0, 0.2);
  254. }
  255. .wt_cmdb_B::-webkit-scrollbar-track {
  256. /*滚动条里面轨道*/
  257. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  258. border-radius: 0;
  259. background: rgba(255, 255, 255, 0.1);
  260. }
  261. .wt_cmdb_B {
  262. padding-bottom: 20px;
  263. height: 82%;
  264. overflow: auto;
  265. }
  266. .active3 {
  267. background: #F3F3F3 !important;
  268. color: #005395!important;
  269. }
  270. .active1 {
  271. background: #E6EEF4!important;
  272. border: 1px dashed #005395!important;
  273. }
  274. .active2 {
  275. background: #f3f3f3!important;
  276. border-left: 4px solid #005395;
  277. }
  278. .wt_cmdb_F {
  279. /* position: absolute; */
  280. bottom: 0px;
  281. width: 100%;
  282. height: 58px;
  283. border-top: 1px solid #E1E1E1;
  284. background: #fff;
  285. text-align: center;
  286. padding-top: 10px;
  287. }
  288. .wt_cmdb_L {
  289. width: 14% !important;
  290. height: 600px;
  291. border: 1px solid #ddd;
  292. padding: 0px;
  293. }
  294. .wt_textR {
  295. float: right;
  296. font-size: 12px;
  297. margin-right: 20px;
  298. color: #005395;
  299. cursor: pointer;
  300. }
  301. .pointfont:hover {
  302. color: #005395!important;
  303. }
  304. .wt_50 {
  305. width: 100% !important;
  306. display: inline-block;
  307. margin-right: 0px !important;
  308. padding-left: 15px !important;
  309. }
  310. .wt_501 {
  311. /* width: 32% !important; */
  312. display: inline-block;
  313. margin-right: 0px !important;
  314. padding-left: 0px !important;
  315. }
  316. .wt_Cbom {
  317. background: #fff;
  318. height: 100%;
  319. width: 100%;
  320. padding-left: 15px;
  321. padding-right: 10px;
  322. padding-top: 15px;
  323. }
  324. .tt {
  325. background: #F8F8F8!important;
  326. height: 33px!important;
  327. }
  328. .wt_inp {
  329. width: 100%;
  330. height: 34px;
  331. border-radius: 2px;
  332. }
  333. .wt_Ctext1 {
  334. width: 100%;
  335. height: 34px;
  336. background: #F9F9F9;
  337. line-height: 34px;
  338. padding-left: 5px;
  339. color: #666;
  340. cursor: pointer;
  341. }
  342. .wt_Ctext1:hover {
  343. background: #E6EEF4!important;
  344. border: 1px dashed #005395!important;
  345. }
  346. .wt_mt {
  347. margin-top: 5px;
  348. }
  349. .wt_Ctop {
  350. background: #F9F9F9 !important;
  351. border-bottom: 1px solid #ddd;
  352. }
  353. .wt_bor1 {
  354. border-right: 1px solid #ddd !important;
  355. }
  356. .wt_b50 {
  357. width: 49% !important;
  358. }
  359. .wt_b50:hover {
  360. background: #F3F3F3 !important;
  361. color: #005395!important;
  362. }
  363. .wt_cmdb_T {
  364. height: 60px;
  365. border-bottom: 1px solid #ddd;
  366. padding: 0px;
  367. /* text-align: center; */
  368. padding-left: 24px;
  369. line-height: 60px;
  370. background: #E6EEF4;
  371. color: #585A5E;
  372. font-size: 14px;
  373. }
  374. .wt_cmdb_title {
  375. font-size: 16px;
  376. }
  377. .wt_cmdb_C {
  378. width: 58% !important;
  379. margin-left: 1%;
  380. height: 633px;
  381. border: 1px solid #ddd;
  382. padding: 0px;
  383. background: #fff;
  384. /* overflow: auto; */
  385. /* position: relative; */
  386. }
  387. .wt_b1 {
  388. width: 80px;
  389. height: 34px;
  390. }
  391. .wtwtt {
  392. display: inline-block;
  393. width: 100%;
  394. padding: 5px 5px;
  395. /* height: 50px; */
  396. cursor: pointer;
  397. /* background: #F9F9F9; */
  398. }
  399. .wtttt {
  400. cursor: pointer;
  401. width: 100%;
  402. height: 100%;
  403. padding-left: 20px;
  404. }
  405. .wt_textI {
  406. width: 256px;
  407. cursor: pointer !important;
  408. height: 34px;
  409. }
  410. .wtttt:hover {
  411. background: #f3f3f3;
  412. }
  413. .wtwtt:hover {
  414. background: #f3f3f3;
  415. cursor: pointer;
  416. }
  417. .text_rem {
  418. font-size: 10px;
  419. margin-top: 6px;
  420. }
  421. .four {
  422. width: 25%!important;
  423. }
  424. .three {
  425. width: 33%!important;
  426. }
  427. .two {
  428. width: 50%!important;
  429. }
  430. .one {
  431. width: 100%!important;
  432. }
  433. .wt_cmdb_R {
  434. width: 20% !important;
  435. margin-left: 1%;
  436. height: 600px;
  437. border: 1px solid #ECECEC;
  438. padding: 0px;
  439. }
  440. .dis2 {
  441. color: #666 !important;
  442. }
  443. .dis2:hover {
  444. color: #666!important;
  445. }
  446. /* 公共css,需要复用 */
  447. .iconfont {
  448. font-size: 14px;
  449. }
  450. .nav-pills>li>a {
  451. border-radius: 0px;
  452. }
  453. .nav-pills>li.active>a,
  454. .nav-pills>li.active>a:hover,
  455. .nav-pills>li.active>a:focus {
  456. background-color: #E6EEF4 color: white !important;
  457. }
  458. .panel-tabs,
  459. .tabbable {
  460. /* padding: 14px; */
  461. background-color: white;
  462. }
  463. .tab-content>.tab-pane,
  464. .pill-content>.pill-pane {
  465. padding: 14px;
  466. border-bottom: 1px solid #eeeeee;
  467. border-left: 1px solid #eeeeee;
  468. border-right: 1px solid #eeeeee;
  469. border-radius: 0px 0px 8px 8px;
  470. }
  471. .nav-tabs>li.active a,
  472. .nav-tabs>li.active a:hover,
  473. .nav-tabs>li.active a:focus {
  474. background-color: #006bc0;
  475. color: white;
  476. }
  477. .nav-tabs {
  478. border-top: 1px solid #eeeeee;
  479. border-bottom: 1px solid #eeeeee;
  480. border-left: 1px solid #eeeeee;
  481. border-right: 1px solid #eeeeee;
  482. border-radius: 8px 8px 0 0;
  483. height: 47px;
  484. }
  485. .nav-tabs>li {
  486. border-right: 1px solid #eeeeee;
  487. }
  488. .nav-tabs>li:last-child {
  489. border-right: none;
  490. }
  491. /* 独立css */
  492. .mainDiv {
  493. /* background: red; */
  494. /* padding: 14px; */
  495. /* height: 50px; */
  496. overflow: hidden;
  497. /* zoom: 1; */
  498. }
  499. .wt_top {
  500. /* margin-top: 2px; */
  501. border-top: 1px solid #ddd;
  502. }
  503. .wt_bor {
  504. border-left: 1px solid #ddd !important;
  505. border-right: 1px solid #ddd !important;
  506. }
  507. .mainDivLeft {
  508. border-radius: 2px;
  509. border: 1px solid #ddd;
  510. width: 20%;
  511. float: left;
  512. height: 633px;
  513. }
  514. .mainDivRight {
  515. margin-left: 1%;
  516. border-radius: 2px;
  517. border: 1px solid #ddd;
  518. width: 58%;
  519. float: left;
  520. }
  521. .mainDivRight2 {
  522. margin-left: 1%;
  523. border-radius: 2px;
  524. border: 1px solid #ddd;
  525. width: 20%;
  526. height: 633px;
  527. float: left;
  528. }
  529. .mainDiv-head1 {
  530. height: 74px;
  531. line-height: 74px;
  532. background: #E6EEF4;
  533. font-size: 16px;
  534. color: #606367;
  535. border-radius: 8px 8px 0 0;
  536. padding-left: 24px;
  537. }
  538. .mainDiv-head {
  539. height: 74px;
  540. /* line-height: 74px; */
  541. background: #F9F9F9;
  542. font-size: 16px;
  543. color: #606367;
  544. border-radius: 8px 8px 0 0;
  545. /* padding-left: 24px; */
  546. /* padding-right: 4px; */
  547. }
  548. .mainDiv-head_right {
  549. border-top: 1px solid #ddd;
  550. }
  551. .wt_CMDB_top {
  552. height: 40px;
  553. background: #fff;
  554. line-height: 40px;
  555. padding-left: 15px;
  556. }
  557. .mainDivLeft-span {
  558. border: 1px solid;
  559. /* padding: 15px 0px 15px 0px; */
  560. /* padding-left: 15px;
  561. padding-right: 15px;
  562. padding-top: 4px;
  563. padding-bottom: 4px; */
  564. height: 34px;
  565. line-height: 34px;
  566. /* border-radius: 4px;
  567. margin-right: 10px; */
  568. font-size: 14px;
  569. text-align: center;
  570. }
  571. .mainDiv-head-right {
  572. /* display: inline-block; */
  573. /* float: right; */
  574. height: 34px;
  575. width: 100%;
  576. }
  577. .edit-left {
  578. display: inline-block;
  579. /* float: left; */
  580. margin-left: 10px;
  581. }
  582. .span-1 {
  583. border-color: #006bc0;
  584. color: #006bc0;
  585. }
  586. .span-2 {
  587. border: none;
  588. color: #666;
  589. display: inline-block;
  590. width: 31%
  591. /* background-color: #006bc0; */
  592. }
  593. .span-3 {
  594. border: none;
  595. color: #666;
  596. display: inline-block;
  597. width: 31%
  598. /* background-color: #fc4c58; */
  599. }
  600. .mainDiv-body {
  601. /* border-radius: 8px; */
  602. /* border: 1px solid #ddd; */
  603. /* margin: 14px; */
  604. padding-top: 14px;
  605. background: #fff
  606. }
  607. .mainDiv-body-1 {
  608. height: 50px;
  609. line-height: 50px;
  610. font-size: 16px;
  611. color: #606367;
  612. padding: 0px 14px;
  613. border-bottom: 1px solid #ddd;
  614. }
  615. .mainDiv-body-2 {
  616. height: 70px;
  617. line-height: 70px;
  618. font-size: 14px;
  619. color: #606367;
  620. padding: 0px 30px;
  621. border-bottom: 1px solid #ddd;
  622. }
  623. .mainDiv-body-2:last-child {
  624. border-bottom: none;
  625. }
  626. .fixHeight {
  627. height: 89%;
  628. overflow: auto;
  629. }
  630. .mainDiv-body-3 {
  631. height: 50px;
  632. line-height: 50px;
  633. font-size: 14px;
  634. color: #606367;
  635. padding: 0px 30px;
  636. border-bottom: 1px solid #eeeeee;
  637. }
  638. .mainDiv-body-3:last-child {
  639. border-bottom: none;
  640. }
  641. .mainDiv-body-img {
  642. height: 90px;
  643. border-radius: 4px;
  644. margin: 14px;
  645. margin-bottom: 0px;
  646. overflow: hidden;
  647. }
  648. .mainDiv-body-noList {
  649. height: 110px;
  650. margin: 50px 0;
  651. text-align: center;
  652. }
  653. .form-control {
  654. display: inline-block;
  655. }
  656. .mainDivLeft-span-1 {
  657. border: 1px solid;
  658. padding-left: 15px;
  659. padding-right: 15px;
  660. /* padding-top: 4px; */
  661. /* padding-bottom: 4px; */
  662. height: 28px;
  663. line-height: 28px;
  664. border-radius: 4px;
  665. margin-right: 10px;
  666. font-size: 14px;
  667. display: inline-block;
  668. }
  669. .mainDivLeft-span-2 {
  670. border: 1px solid;
  671. padding-left: 15px;
  672. padding-right: 15px;
  673. /* padding-top: 4px; */
  674. /* padding-bottom: 4px; */
  675. height: 28px;
  676. line-height: 28px;
  677. border-radius: 4px;
  678. margin-right: 10px;
  679. font-size: 14px;
  680. display: inline-block;
  681. }
  682. .mainDivLeft-span-edit-1 {
  683. border: 1px solid;
  684. padding-left: 8px;
  685. padding-right: 8px;
  686. /* padding-top: 4px; */
  687. /* padding-bottom: 4px; */
  688. height: 22px;
  689. line-height: 22px;
  690. border-radius: 2px;
  691. margin-right: 10px;
  692. font-size: 12px;
  693. display: inline-block;
  694. }
  695. .mainDivLeft-span-edit-2 {
  696. border: 1px solid;
  697. padding-left: 8px;
  698. padding-right: 8px;
  699. /* padding-top: 4px; */
  700. /* padding-bottom: 4px; */
  701. height: 22px;
  702. line-height: 22px;
  703. border-radius: 2px;
  704. margin-right: 10px;
  705. font-size: 12px;
  706. display: inline-block;
  707. }
  708. /* tab内容css */
  709. .tab-mainDiv {
  710. border: 1px solid #eeeeee;
  711. border-radius: 8px;
  712. /* min-height: 360px; */
  713. }
  714. .tab-mainDiv-head {
  715. text-align: center;
  716. border-bottom: 1px solid #eeeeee;
  717. height: 34px;
  718. line-height: 34px;
  719. font-size: 14px;
  720. color: #93989e;
  721. }
  722. .tab-mainDiv-body {
  723. padding: 14px;
  724. min-height: 280px;
  725. max-height: 320px;
  726. overflow: auto;
  727. /* padding-top: 14px; */
  728. /* padding-bottom: 14px; */
  729. }
  730. .tab-mainDiv-body-lineDiv-50 {
  731. /* display: inline-block; */
  732. font-size: 14px;
  733. color: #93989e;
  734. margin-right: 14px;
  735. width: 47%;
  736. padding-left: 14px;
  737. }
  738. .tab-mainDiv-body-lineDiv-100 {
  739. /* display: inline-block; */
  740. font-size: 14px;
  741. color: #93989e;
  742. margin-right: 14px;
  743. width: 96%;
  744. padding-left: 14px;
  745. }
  746. .tab-mainDiv-body-lable {
  747. padding-bottom: 10px;
  748. /* width: 370px; */
  749. }
  750. .tab-mainDiv-body-content {
  751. padding-bottom: 10px;
  752. /* width: 370px; */
  753. }
  754. .tab-mainDiv-body-content>textarea {
  755. min-height: 68px;
  756. width: 100%;
  757. }
  758. .tab-mainDiv-foot {
  759. /* margin: 14px auto; */
  760. border-top: 1px solid #ddd;
  761. text-align: center;
  762. padding: 7px;
  763. background: #fff;
  764. }
  765. .tab-mainDiv-body-button-1 {
  766. display: inline-block;
  767. width: 80px;
  768. height: 34px;
  769. line-height: 34px;
  770. font-size: 14px;
  771. color: white;
  772. text-align: center;
  773. background-color: #006bc0;
  774. border-radius: 4px;
  775. margin-right: 14px;
  776. }
  777. .tab-mainDiv-body-button-2 {
  778. display: inline-block;
  779. width: 80px;
  780. height: 34px;
  781. line-height: 34px;
  782. font-size: 14px;
  783. color: #93989e;
  784. text-align: center;
  785. background-color: #f5f5f5;
  786. border-radius: 4px;
  787. box-sizing: border-box;
  788. border: 1px solid #eeeeee;
  789. }
  790. .abn-tree {}
  791. .tree-control .tree-view {
  792. width: inherit;
  793. z-index: 9999;
  794. }
  795. </style>