modify-the-label.html 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp">
  8. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  9. <meta name="referrer" content="no-referrer" />
  10. <title>服务记录</title>
  11. <link rel="shortcut icon" href="../../../favicon.ico">
  12. <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css" />
  13. <link rel="stylesheet" type="text/css" href="../../../css/cross.css" />
  14. <link rel="stylesheet" type="text/css" href="../../../css/cross.ui.css" />
  15. <link rel="stylesheet" type="text/css" href="../../../css/style.min.css" />
  16. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  17. <style type="text/css">
  18. body{background: #f5f5f5;}
  19. .flex-box{
  20. display: -webkit-box;
  21. display: -ms-flexbox;
  22. display: flex;
  23. -webkit-box-pack: center;
  24. -ms-flex-pack: center;
  25. justify-content: center;
  26. -webkit-box-align: center;
  27. -ms-flex-align: center;
  28. align-userInfos: center;
  29. }
  30. .flex-box-item{
  31. -webkit-box-flex: 1;
  32. -ms-flex: 1;
  33. flex: 1;
  34. }
  35. [v-cloak]{display: none;}
  36. .icon{width: 21px;height: 21px;vertical-align:middle;display: inline-block;background-size: auto 100%;background-position: center center;background-repeat: no-repeat;}
  37. .icon-submit{background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkI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JEKJjQUvKTWWkvWTFMlCPl7jd+bNjGnydev3n3Nnzv/cufcew3EcFQxLl6LD0Af1UAK3kIFFOFKm7RpiIVMPegMp2IFuaIFReIU92CWvTNINd0VLJ4nXYQamqPqmosPSDegG5KDVcNLNVQTXsIBhUv02LF2B2rApvzoCdzCt/jceoU2MCVhhtY8/VqtBz0AOJyHGWrgMJcxDe8TUhJ5CFuIsko39UP+A5JRniqMncA4dmJ7865Ar0IHFtGXPY7CEaZXnoRwGJPn24hUrFOM2DDIpCpnn3ESlukDiId7lPFMnei/XUUlwBWk+jkf2VhAY8vNy9EK24jdAP5M1mIUJkt+/OdU6dOurAfxetbS02DI8u/vLH4bE1d6VSfFjGKDwgxFpculDE3qhEYq95si4RU1730/9FGAA8H55RsdHM3kAAAAASUVORK5CYII=);width: 14px;height: 14px;}
  38. .c-container{width: 500px;margin: 0 auto;padding: 10px 10px 0;overflow: hidden;background: #fff;height: 360px;position: relative;}
  39. .label-title{font-size: 15px;font-weight: bold;line-height: 1;}
  40. .label-list{margin: 0;padding: 10px 0 0 10px;font-size: 0;list-style: none;}
  41. .label-list li{width: 80px;text-align: center;margin-right: 10px;margin-bottom: 10px;cursor: not-allowed;border-radius: 10px;display: inline-block;font-size: 12px;height: 20px;line-height: 20px;border: 1px solid #c8c8c8;color: #c8c8c8;}
  42. .scroll-box{overflow-x: auto;height: 300px;}
  43. .label-list li.active,.label-list li.optional,.label-list li.luck{cursor: pointer;}
  44. .luck{color: #fff!important;}
  45. .bgc-12b7f5 li.active{background-color: #12B7F5;color: #fff;border-color: #12B7F5;}
  46. .bgc-12b7f5 li.optional,.bgc-12b7f5 li.luck{border-color: #12B7F5;color: #12B7F5;}
  47. .bgc-2DBE55 li.active{background-color: #2DBE55;color: #fff;border-color: #2DBE55;}
  48. .bgc-2DBE55 li.optional{border-color: #2DBE55;color: #2DBE55;}
  49. .bgc-ff3b30 li.active{background-color: #ff3b30;color: #fff;border-color: #ff3b30;}
  50. .bgc-ff3b30 li.optional,.bgc-ff3b30 li.luck{border-color: #ff3b30;color: #ff3b30;}
  51. .bgc-FF9630 li.active{background-color: #FF9630;color: #fff;border-color: #FF9630;}
  52. .bgc-FF9630 li.optional,.bgc-FF9630 li.luck{border-color: #FF9630;color: #FF9630;}
  53. .edit-value{background-color: transparent;border: none;border-bottom: 1px solid #FF9630;height: 15px;width: 50px;}
  54. .edit-value:hover,.edit-value:active,.edit-value:visited,.edit-value:focus{box-shadow: none;outline: none;}
  55. .add-lable{display: block;}
  56. .clear-fixed-bottom{height: 44px;}
  57. .btn-box{position: absolute;bottom: 0;left: 0;right: 0;background-color: #fff;}
  58. .btn-save{margin: 8px auto;border-color: #12b7f5;color: #333;padding: 4px 15px;background-color: #fff;}
  59. </style>
  60. </head>
  61. <body>
  62. <div class="c-container" id="app" v-cloak>
  63. <div class="scroll-box">
  64. <div class="label-row mb5">
  65. <div class="label-title">服务类型</div>
  66. <ul class="label-list bgc-12b7f5">
  67. <li :class="fw.className" @click="changeFW(fw.className,fw.code,index)" v-for="(fw,index) in fwlx">{{fw.name}}</li>
  68. </ul>
  69. </div>
  70. <div class="label-row mb5">
  71. <div class="label-title">健康情况</div>
  72. <ul class="label-list bgc-2DBE55">
  73. <li :class="jk.className" @click="changeJK(jk.className,jk.labelCode,index)" v-for="(jk,index) in jkqk">{{jk.labelName}}</li>
  74. </ul>
  75. </div>
  76. <div class="label-row mb5">
  77. <div class="label-title">疾病类型</div>
  78. <ul class="label-list bgc-ff3b30">
  79. <li :class="jb.className" @click="changeJB(jb.className,jb.labelCode,index)" v-for="(jb,index) in jblx">{{jb.labelName}}</li>
  80. </ul>
  81. </div>
  82. <div class="label-row">
  83. <div class="label-title">团队标签</div>
  84. <ul class="label-list bgc-FF9630">
  85. <li :class="td.className" v-for="(td,index) in tdbq" @click="changeTD(td.className,td.labelCode,index)">{{td.labelName}}</li>
  86. <li class="optional">
  87. <span class="add-lable" v-if="!isEdit" @click="isEdit=true">+</span>
  88. <span v-else style="position: relative;top: -2px;">
  89. <input type="text" v-model="newLabel" class="edit-value" autofocus="autofocus" />
  90. <span class="icon icon-submit" @click="addTeamLabel"></span>
  91. </span>
  92. </li>
  93. </ul>
  94. </div>
  95. </div>
  96. <div class="clear-fixed-bottom">
  97. <div class="text-center btn-box mb10">
  98. <button class="btn btn-success mr20" @click="determine">确定</button>
  99. <button class="btn btn-default" @click="close">取消</button>
  100. </div>
  101. </div>
  102. </div>
  103. <script type="text/javascript" src="../../../js/vue.js"></script>
  104. <script type="text/javascript" src="../../../js/jquery-2.2.4.js"></script>
  105. <script src="../../../js/util.js"></script>
  106. <script src="../../../plugins/toastr/toastr.min.js"></script>
  107. <script src="../../../js/es6-promise.js" type="text/javascript" charset="utf-8"></script>
  108. <script src="../../../api/http-request.js"></script>
  109. <script src="../../../js/underscore.js"></script>
  110. <script src="../../../api/sign_api.js"></script>
  111. <script type="text/javascript" src="../../../plugins/layer/layer.min.js" ></script>
  112. <script type="text/javascript" src="../js/modify.js"></script>
  113. </body>
  114. </html>