configuration-inspect-inspects.component.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. @import "../../../../../../src/theme.less";
  2. :host {
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: space-between;
  7. background-color: #F0F2F5;
  8. .list-template__nzTable,
  9. .list-template__bottom{
  10. padding: 0!important;
  11. border: none!important;
  12. background: #fff!important;
  13. }
  14. .list-template{
  15. width: 100%!important;
  16. height: 100%!important;
  17. padding: 0!important;
  18. }
  19. .content{
  20. flex: 1;
  21. min-height: 0;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: space-between;
  25. border: 1px solid #EEF3F9;
  26. &.priority{
  27. background-color: #fff;
  28. .contentInner{
  29. padding: 0 16px 16px;
  30. border: 1px solid #E8EBEF;
  31. }
  32. }
  33. .contentItem{
  34. padding: 4px 16px;
  35. cursor: pointer;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. &.active{
  40. color: @primary-color;
  41. background-color: #F0F6ED;
  42. border-radius: 4px;
  43. }
  44. }
  45. .contentInner{
  46. flex: 1;
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: center;
  50. padding: 0 16px;
  51. gap: 16px;
  52. .contentHead{
  53. height: 45px;
  54. display: flex;
  55. justify-content: space-between;
  56. align-items: center;
  57. gap: 16px;
  58. padding: 0 16px;
  59. font-size: 16px;
  60. font-weight: bold;
  61. border-bottom: 1px solid #D9D9D9;
  62. .title{
  63. overflow: hidden;
  64. text-overflow: ellipsis;
  65. white-space: nowrap;
  66. }
  67. .btns{
  68. flex-shrink: 0;
  69. }
  70. }
  71. .contentBody{
  72. padding: 0 8px;
  73. margin: 4px 0;
  74. flex: 1;
  75. }
  76. .address{
  77. flex: 1;
  78. height: 100%;
  79. background: #FFFFFF;
  80. border: 1px solid #E8EBEF;
  81. display: flex;
  82. flex-direction: column;
  83. width: 0;
  84. }
  85. .addressAssign{
  86. flex: 3;
  87. height: 100%;
  88. background: #FFFFFF;
  89. border: 1px solid #E8EBEF;
  90. display: flex;
  91. flex-direction: column;
  92. width: 0;
  93. }
  94. .list-template__searchItem {
  95. .label {
  96. color: #333;
  97. display: inline-block;
  98. width: 70px;
  99. text-align-last: justify;
  100. text-align: justify;
  101. &.label--big {
  102. width: 100px;
  103. }
  104. }
  105. .formItem {
  106. width: 135px;
  107. }
  108. }
  109. }
  110. .contentBtns{
  111. margin-bottom: 16px;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. }
  116. }
  117. .save {
  118. position: fixed;
  119. left: 0;
  120. top: 0;
  121. width: 100%;
  122. height: 100%;
  123. background: rgba(0, 0, 0, 0.4);
  124. z-index: 99;
  125. .tips{
  126. margin-bottom: 16px!important;
  127. }
  128. .modalBody {
  129. width: 350px;
  130. background: #fff;
  131. border-radius: 5px;
  132. padding: 10px 20px;
  133. color: #333;
  134. .title {
  135. width: 100%;
  136. text-align: center;
  137. font-size: 18px;
  138. position: relative;
  139. i {
  140. position: absolute;
  141. right: 0;
  142. top: 0;
  143. font-size: 20px;
  144. color: #666;
  145. cursor: pointer;
  146. padding: 0 5px;
  147. }
  148. }
  149. .content {
  150. width: 310px;
  151. background: #f9fafb;
  152. border: 1px solid #e5e9ed;
  153. border-radius: 5px;
  154. overflow: hidden;
  155. margin-top: 12px;
  156. padding: 16px 0;
  157. .busyList{
  158. display: flex;
  159. margin-bottom: 8px;
  160. .busyContent{
  161. margin-right: 8px;
  162. flex: 1;
  163. }
  164. }
  165. & > div {
  166. text-align: center;
  167. margin: 0;
  168. &.icon {
  169. // margin-top: 17px;
  170. i {
  171. color: #34b349;
  172. font-size: 30px !important;
  173. &.transport-wenhao {
  174. color: #f5a523;
  175. }
  176. &.transport-shibai {
  177. color: #ff3a52;
  178. }
  179. }
  180. }
  181. &.defeat {
  182. color: #333;
  183. font-size: 14px;
  184. }
  185. &:nth-child(3) {
  186. font-size: 14px;
  187. color: #666;
  188. }
  189. }
  190. .workAssignmentTips {
  191. font-size: 12px;
  192. }
  193. }
  194. button {
  195. margin-top: 10px;
  196. &.btn {
  197. margin-left: 8px;
  198. }
  199. }
  200. }
  201. // 新增
  202. &.add {
  203. .modalBody {
  204. width: 480px;
  205. height: auto;
  206. .content {
  207. width: 100%;
  208. height: auto;
  209. padding: 16px;
  210. max-height: 497px;
  211. overflow-y: auto;
  212. .addForm {
  213. .ant-form-item {
  214. margin-bottom: 0;
  215. .ant-form-item-label {
  216. text-align: left;
  217. }
  218. .desc {
  219. margin-top: 5px;
  220. }
  221. }
  222. .datesControl {
  223. margin-top: -16px;
  224. .ant-form-item-label {
  225. line-height: 40px;
  226. }
  227. }
  228. .timer {
  229. .ant-form-item-label {
  230. width: 100%;
  231. text-align: left;
  232. }
  233. .numInp {
  234. margin-right: 5px;
  235. }
  236. .line {
  237. margin-right: 5px;
  238. }
  239. }
  240. .timer2 {
  241. .ant-form-item-label {
  242. line-height: 20px;
  243. }
  244. }
  245. }
  246. .editForm {
  247. .ant-form-item {
  248. margin-bottom: 15px;
  249. .ant-form-item-label {
  250. line-height: 14px;
  251. text-align: left;
  252. }
  253. }
  254. }
  255. }
  256. }
  257. }
  258. }
  259. }