apply-clients 3.4.74 → 3.4.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/build/dev-server.js +119 -116
  2. package/dist-android/static/0.68b45dd6665d95e65c33.js +2 -0
  3. package/dist-android/static/1.80d8977616c7c12b7af9.js +1 -0
  4. package/dist-android/static/10.f5b38719cf759cdaf30b.js +2 -0
  5. package/dist-android/static/11.da9d1dc6b3d3b0afdfb0.js +2 -0
  6. package/dist-android/static/12.0a445de8782b0c9e90bf.js +1 -0
  7. package/dist-android/static/13.922509a433e667a476e5.js +1 -0
  8. package/dist-android/static/14.db06181765d81baf5cbb.js +1 -0
  9. package/dist-android/static/15.0d662b8ce36cc983f55f.js +1 -0
  10. package/dist-android/static/16.02ffeb80c794d52cc05b.js +1 -0
  11. package/dist-android/static/17.9df21714d8510c924622.js +1 -0
  12. package/dist-android/static/18.23870c83910093244c4d.js +1 -0
  13. package/dist-android/static/19.05a7de4086cdeaf941a3.js +1 -0
  14. package/dist-android/static/2.a8212d24013b8aff0e90.js +1 -0
  15. package/dist-android/static/20.77ef8859683206c4053b.js +1 -0
  16. package/dist-android/static/21.7a2b8cbdd87e750bb68c.js +1 -0
  17. package/dist-android/static/22.fcb6d54375cc2aed8d8a.js +1 -0
  18. package/dist-android/static/23.2a43413ded0c53f046b0.js +1 -0
  19. package/dist-android/static/24.773855dfeab42a232778.js +1 -0
  20. package/dist-android/static/25.4144e5e465dfe1930e8a.js +1 -0
  21. package/dist-android/static/27.92303edf5e513839988d.js +13 -0
  22. package/dist-android/static/28.ec077b1393009a6ac91d.js +3 -0
  23. package/dist-android/static/29.6519a95fc0f8cf001aca.js +3 -0
  24. package/dist-android/static/3.d03c06455952af580398.js +1 -0
  25. package/dist-android/static/30.da90dfe911c6c930a460.js +2 -0
  26. package/dist-android/static/31.7510bed78757fe6f5429.js +1 -0
  27. package/dist-android/static/32.4fde305b2f004b2f8ae6.js +1 -0
  28. package/dist-android/static/33.b7c4eebaca777a1739cc.js +2 -0
  29. package/dist-android/static/34.b8fce20028dae1fe22c7.js +1 -0
  30. package/dist-android/static/35.bacc1f42bc3aaba3f6c1.js +1 -0
  31. package/dist-android/static/36.be29bd4ca2eee30d18d3.js +1 -0
  32. package/dist-android/static/37.b6b19986f63d12cb6583.js +1 -0
  33. package/dist-android/static/38.fce6d8c12747a01dd095.js +1 -0
  34. package/dist-android/static/39.a559012aafe7aff96d0d.js +1 -0
  35. package/dist-android/static/4.4aafc84956e965362a8c.js +13 -0
  36. package/dist-android/static/40.61ff080ce5dea5d201d5.js +1 -0
  37. package/dist-android/static/41.7029304a3d33521ca1c6.js +1 -0
  38. package/dist-android/static/42.de71132c19548f6f89a7.js +1 -0
  39. package/dist-android/static/43.4eca68b0f272638b9797.js +1 -0
  40. package/dist-android/static/44.321d337802ce2f113887.js +1 -0
  41. package/dist-android/static/45.f0b260e67c4cdb5845aa.js +1 -0
  42. package/dist-android/static/46.3d8bf661bd9d1167ddce.js +1 -0
  43. package/dist-android/static/47.d3039cbe7ef9270019b8.js +1 -0
  44. package/dist-android/static/48.612417d81cafc13f8142.js +1 -0
  45. package/dist-android/static/49.fba314518cbdab8a90e7.js +1 -0
  46. package/dist-android/static/5.0d01bce56926c132aa6b.js +13 -0
  47. package/dist-android/static/50.486e579f125840977f43.js +1 -0
  48. package/dist-android/static/51.8324ad7f396f978a05e8.js +1 -0
  49. package/dist-android/static/52.886647248ac26f5140db.js +1 -0
  50. package/dist-android/static/53.93a2ccb1a3130abfa79e.js +1 -0
  51. package/dist-android/static/54.0a74c8035e75eeb595c5.js +1 -0
  52. package/dist-android/static/55.9976fa21f7ddcfdfc4a0.js +1 -0
  53. package/dist-android/static/56.219c17b93279098dbddb.js +1 -0
  54. package/dist-android/static/57.8492d8c5c99205b55dc7.js +1 -0
  55. package/dist-android/static/58.312d1b2ee57d0d64b52f.js +2 -0
  56. package/dist-android/static/59.2d4f7176b27424e3009e.js +1 -0
  57. package/dist-android/static/6.bce74f8df7973b9c7451.js +13 -0
  58. package/dist-android/static/60.12567cf9aff324a95a7d.js +1 -0
  59. package/dist-android/static/61.66e9834fbb82ee452f8e.js +2 -0
  60. package/dist-android/static/62.328ba82e50967bd864f6.js +1 -0
  61. package/dist-android/static/63.19e45135d67e7e7026bd.js +2 -0
  62. package/dist-android/static/64.a43534ecf2a1a17a1314.js +1 -0
  63. package/dist-android/static/65.c51325b67a704bcf87d4.js +1 -0
  64. package/dist-android/static/66.6def8535daa57eac38fe.js +1 -0
  65. package/dist-android/static/67.1263ab1b5bf1005070a7.js +1 -0
  66. package/dist-android/static/68.bf2224572c3cd510c532.js +1 -0
  67. package/dist-android/static/69.d5b8358203dfa6e4cc62.js +1 -0
  68. package/dist-android/static/7.39164eae605d873940b6.js +13 -0
  69. package/dist-android/static/70.b129fa555a5a7daaf0a8.js +1 -0
  70. package/dist-android/static/71.503ac7365bb788a3c2ba.js +1 -0
  71. package/dist-android/static/72.f46bd9238f50d475747b.js +1 -0
  72. package/dist-android/static/73.d33ed35134b25f21bc08.js +1 -0
  73. package/dist-android/static/74.be31f1b4d678ba6e0387.js +1 -0
  74. package/dist-android/static/75.41da68b38db6400ed47f.js +1 -0
  75. package/dist-android/static/76.6323b38d846ed3faf8e3.js +1 -0
  76. package/dist-android/static/77.002152fa076232e2a7ef.js +1 -0
  77. package/dist-android/static/78.589f59b4c82a65920bce.js +1 -0
  78. package/dist-android/static/79.cd5521b0b7b86d567459.js +1 -0
  79. package/dist-android/static/8.667600d040abe33aa1d4.js +13 -0
  80. package/dist-android/static/80.f3549dbf5a1b23a294a1.js +1 -0
  81. package/dist-android/static/81.ca2ec2b72e1b4449853c.js +1 -0
  82. package/dist-android/static/82.2bdcb170eaa5bdee9aaf.js +1 -0
  83. package/dist-android/static/83.a168d74f18a60c9b2a67.js +1 -0
  84. package/dist-android/static/84.772e2e67ba55134fec9a.js +1 -0
  85. package/dist-android/static/85.8680fd727f1e68d8b5f1.js +1 -0
  86. package/dist-android/static/86.1532b3659b8c032df0a3.js +1 -0
  87. package/dist-android/static/87.3c45f14e992d0d0de21a.js +1 -0
  88. package/dist-android/static/88.34c3d55993269cb4bee7.js +1 -0
  89. package/dist-android/static/89.8c0cd296c36febba47d6.js +1 -0
  90. package/dist-android/static/9.7f2db78822a32aaa40cd.js +13 -0
  91. package/dist-android/static/90.6534c9442526cb9627b6.js +1 -0
  92. package/dist-android/static/91.67ac346acb5c96fc6c7e.js +1 -0
  93. package/dist-android/static/appf2f018d386daaf983c8f.js +136 -0
  94. package/dist-android/static/doc.jpg +0 -0
  95. package/dist-android/static/dwg.png +0 -0
  96. package/dist-android/static/images/lefticon/anjianjihua.png +0 -0
  97. package/dist-android/static/images/lefticon/danganguanli.png +0 -0
  98. package/dist-android/static/images/lefticon/shouqishoufei.png +0 -0
  99. package/dist-android/static/images/lefticon/wulianwang.png +0 -0
  100. package/dist-android/static/images/lefticon/xitongguanli.png +0 -0
  101. package/dist-android/static/images/lefticon/yingyechaxun.png +0 -0
  102. package/dist-android/static/images/lefticon/yuyinkefu.png +0 -0
  103. package/dist-android/static/images/lefticon/zongheyewu.png +0 -0
  104. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  105. package/dist-android/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  106. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  107. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  108. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  109. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  110. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  111. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  112. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  113. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  114. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  115. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  116. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  117. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  118. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  119. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  120. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  121. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  122. package/dist-android/static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  123. package/dist-android/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  124. package/dist-android/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  125. package/dist-android/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  126. package/dist-android/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  127. package/dist-android/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
  128. package/dist-android/static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  129. package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  130. package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  131. package/dist-android/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  132. package/dist-android/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  133. package/dist-android/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  134. package/dist-android/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  135. package/dist-android/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  136. package/dist-android/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  137. package/dist-android/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  138. package/dist-android/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  139. package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  140. package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  141. package/dist-android/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  142. package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  143. package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  144. package/dist-android/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  145. package/dist-android/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  146. package/dist-android/static/imgerror.jpg +0 -0
  147. package/dist-android/static/jsoneditor-icons.svg +893 -0
  148. package/dist-android/static/newStyle/clear.png +0 -0
  149. package/dist-android/static/newStyle/fife.png +0 -0
  150. package/dist-android/static/newStyle/hidden.png +0 -0
  151. package/dist-android/static/newStyle/label-clear.png +0 -0
  152. package/dist-android/static/newStyle/left-img.png +0 -0
  153. package/dist-android/static/newStyle/list_ok.png +0 -0
  154. package/dist-android/static/newStyle/login-check.png +0 -0
  155. package/dist-android/static/newStyle/login-con.png +0 -0
  156. package/dist-android/static/newStyle/login-do.gif +0 -0
  157. package/dist-android/static/newStyle/login-f.png +0 -0
  158. package/dist-android/static/newStyle/login-info.png +0 -0
  159. package/dist-android/static/newStyle/login-left.png +0 -0
  160. package/dist-android/static/newStyle/login-org.png +0 -0
  161. package/dist-android/static/newStyle/login-pwd.png +0 -0
  162. package/dist-android/static/newStyle/login-user.png +0 -0
  163. package/dist-android/static/newStyle/loginbg.gif +0 -0
  164. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  165. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  166. package/dist-android/static/newStyle/setting.png +0 -0
  167. package/dist-android/static/newStyle/setting1.png +0 -0
  168. package/dist-android/static/newStyle/shirk.png +0 -0
  169. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  170. package/dist-android/static/newStyle/stretch_left.png +0 -0
  171. package/dist-android/static/newStyle/stretch_right.png +0 -0
  172. package/dist-android/static/newStyle/stretch_top.png +0 -0
  173. package/dist-android/static/newStyle/system-off.png +0 -0
  174. package/dist-android/static/pdf.jpg +0 -0
  175. package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
  176. package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
  177. package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
  178. package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
  179. package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
  180. package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
  181. package/dist-android/static//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
  182. package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
  183. package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
  184. package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
  185. package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
  186. package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
  187. package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
  188. package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
  189. package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
  190. package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
  191. package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  192. package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  193. package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
  194. package/dist-android/static//345/256/211/346/243/200/347/273/264/344/277/256/346/226/275/345/267/245.png +0 -0
  195. package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
  196. package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
  197. package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
  198. package/dist-android/static//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
  199. package/dist-android/static//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
  200. package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
  201. package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
  202. package/dist-android/static//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
  203. package/dist-android/static//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
  204. package/dist-android/static//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
  205. package/dist-android/static//345/267/245/347/250/213/351/230/237/346/264/276/345/267/245.png +0 -0
  206. package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
  207. package/dist-android/static//345/275/242/347/212/2664.png +0 -0
  208. package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
  209. package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
  210. package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
  211. package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  212. package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
  213. package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
  214. package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
  215. package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
  216. package/dist-android/static//346/226/275/345/267/245/344/277/241/346/201/257.png +0 -0
  217. package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
  218. package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
  219. package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
  220. package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
  221. package/dist-android/static//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
  222. package/dist-android/static//347/233/221/347/220/206/345/215/225/344/275/215/346/264/276/345/267/245.png +0 -0
  223. package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
  224. package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
  225. package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
  226. package/dist-android/static//347/273/264/344/277/256/346/264/276/345/215/225.png +0 -0
  227. package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
  228. package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
  229. package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
  230. package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
  231. package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
  232. package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
  233. package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
  234. package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
  235. package/dist-android/static//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
  236. package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
  237. package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  238. package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
  239. package/package.json +1 -1
  240. package/src/components/product/Ignition/IgnitionListManage.vue +420 -413
  241. package/src/components/product/Process/Service/ServiceControl.vue +1928 -1921
  242. package/src/filiale/hongda/pc/ServiceView.vue +1037 -1037
  243. package/src/filiale/hongda/pc.js +6 -6
  244. package/src/main.js +23 -23
@@ -1,413 +1,420 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
- <div class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
- <div class="form-group col-sm-2">
9
- <label class="font_normal_body">片&emsp;&emsp;区:</label>
10
- <v-select
11
- v-model="model.f_slice_area"
12
- placeholder='片区'
13
- condition="ui.f_slice_area = '{}'"
14
- :value.sync="model.f_slice_area"
15
- :options='$parent.$parent.sliceareas'
16
- class="select select_list"
17
- :value-single="true"
18
- close-on-select >
19
- </v-select>
20
- </div>
21
- <div class="form-group col-sm-2">
22
- <label class="font_normal_body">发卡状态:</label>
23
- <v-select
24
- v-model="model.f_whether_hairpin"
25
- placeholder='发卡状态'
26
- condition="uf.f_whether_hairpin = '{}'"
27
- :value.sync="model.f_whether_hairpin"
28
- :options='$parent.$parent.whether_hairpin'
29
- class="select select_list"
30
- :value-single="true"
31
- close-on-select >
32
- </v-select>
33
- </div>
34
- <div class="form-group col-sm-2">
35
- <label for="startDate" class="font_normal_body">发卡时间:</label>
36
- <datepicker id="startDate" placeholder="开始日期"
37
- style="width: 60%!important;"
38
- v-model="model.startDate"
39
- :value.sync="model.startDate"
40
- :format="'yyyy-MM-dd 00:00:00'"
41
- :show-reset-button="true"
42
- condition="uf.f_open_date >= '{}'">
43
- </datepicker>
44
- </div>
45
- <div class="form-group col-sm-2">
46
- <label for="endDate" class="font_normal_body">发卡时间:</label>
47
- <datepicker id="endDate" placeholder="结束日期"
48
- style="width: 60%!important;"
49
- v-model="model.endDate"
50
- :value.sync="model.endDate"
51
- :format="'yyyy-MM-dd 23:59:59'"
52
- :show-reset-button="true"
53
- condition="uf.f_open_date <= '{}'">
54
- </datepicker>
55
- </div>
56
- <div class="form-group col-sm-3 button-range">
57
- <button class="button_export button_spacing" @click="$parent.$parent.openOperatorModal()">批量派单</button>
58
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
59
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
60
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
61
- <div
62
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
63
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
64
- class="button_spacing"
65
- style="float: right">
66
- </div>
67
- </div>
68
- </div>
69
- <div class="row" v-show="$parent.$parent.criteriaShow">
70
- <div class="form-group col-sm-2">
71
- <label class="font_normal_body">工程编号:</label>
72
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_applycode"
73
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_applycode = '{}'" placeholder='工程编号'>
74
- </div>
75
- <div class="form-group col-sm-2">
76
- <label class="font_normal_body">用户类型:</label>
77
- <v-select
78
- v-model="model.f_user_type"
79
- placeholder='用户类型'
80
- condition="uf.f_user_type = '{}'"
81
- :value.sync="model.f_user_type"
82
- :options='$parent.$parent.usertype'
83
- class="select select_list"
84
- :value-single="true"
85
- close-on-select >
86
- </v-select>
87
- </div>
88
- <div class="form-group col-sm-2">
89
- <label class="font_normal_body">用户编号:</label>
90
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
91
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_userinfo_id = '{}'" placeholder='用户编号'>
92
- </div>
93
- <div class="form-group col-sm-2">
94
- <label class="font_normal_body">用&ensp;户&ensp;名:</label>
95
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
96
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_name = '{}'" placeholder='用户名'>
97
- </div>
98
- <div class="form-group col-sm-2">
99
- <label class="font_normal_body">电&emsp;&emsp;话:</label>
100
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
101
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_phone = '{}'" placeholder='电话'>
102
- </div>
103
- <div class="form-group col-sm-2">
104
- <label class="font_normal_body">小&emsp;&emsp;区:</label>
105
- <input type="text" class="input_search" style="width: 60%" v-model="model.f_residential_area"
106
- v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_residential_area = '{}'" placeholder='小区'>
107
- </div>
108
- </div>
109
- </div>
110
- </criteria>
111
- <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
112
- <template partial='head'>
113
- <tr>
114
- <th style="white-space: nowrap;">序号</th>
115
- <th style="white-space: nowrap;">报建编号</th>
116
- <th style="white-space: nowrap;">用户编号</th>
117
- <th style="white-space: nowrap;">用户姓名</th>
118
- <th style="white-space: nowrap;">联系电话</th>
119
- <th style="white-space: nowrap;">用户类型</th>
120
- <th style="white-space: nowrap;">地址</th>
121
- <th style="white-space: nowrap;">片区</th>
122
- <!-- <th>定位地址</th>-->
123
- <th style="white-space: nowrap;">气表分类</th>
124
- <th style="white-space: nowrap;">表号</th>
125
- <th style="white-space: nowrap;">气表品牌</th>
126
- <th style="white-space: nowrap;">气表型号</th>
127
- <th style="white-space: nowrap;">发卡状态</th>
128
- <th style="white-space: nowrap;">发卡时间</th>
129
- <th style="white-space: nowrap;">报建人</th>
130
- <th style="white-space: nowrap;">报建联系电话</th>
131
- </tr>
132
- </template>
133
- <template partial='body'>
134
- <tr >
135
- <td style="text-align: center;">
136
- <nobr><font>{{$index+1}}</font></nobr>
137
- </td>
138
- <td style="text-align: center;">
139
- <nobr><font>{{row.f_apply_num}}</font></nobr>
140
- </td>
141
- <td style="text-align: center;">
142
- <nobr><font>{{row.f_userinfo_id}}</font></nobr>
143
- </td>
144
- <td style="text-align: center;">
145
- <nobr><font>{{row.f_user_name}}</font></nobr>
146
- </td>
147
- <td style="text-align: center;">
148
- <nobr><font>{{row.f_user_phone}}</font></nobr>
149
- </td>
150
- <td style="text-align: center;">
151
- <nobr><font>{{row.f_user_type}}</font></nobr>
152
- </td>
153
- <td style="text-align: center;">
154
- <nobr><font>{{row.f_address}}{{row.f_address_detail}}</font></nobr>
155
- </td>
156
- <td style="text-align: center;">
157
- <nobr><font>{{row.f_area}}</font></nobr>
158
- </td>
159
- <!-- <td style="text-align: center;">-->
160
- <!-- <nobr><font>-->
161
- <!-- <a @click="$parent.$parent.$parent.openAmap(row)" style="text-decoration: none">-->
162
- <!-- {{row.f_location_address}}-->
163
- <!-- </a>-->
164
- <!-- </font></nobr>-->
165
- <!-- </td>-->
166
- <td style="text-align: center;">
167
- <nobr><font>{{row.f_meter_classify}}</font></nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr><font>{{row.f_meternumber}}</font></nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr><font>{{row.f_meter_brand}}</font></nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <nobr><font>{{row.f_meter_style}}</font></nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr><font>{{row.f_whether_hairpin}}</font></nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr><font>{{row.f_faka_date}}</font></nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr><font>{{row.f_contact}}</font></nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr><font>{{row.f_phone}}</font></nobr>
189
- </td>
190
- </tr>
191
- </template>
192
- </data-grid>
193
- </criteria-paged>
194
- </div>
195
- </div>
196
-
197
- <modal v-if="showAmap" :show.sync="showAmap" v-ref:amap :large="true" :backdrop="false" title="定位信息">
198
- <header slot="modal-header" class="modal-header">
199
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
200
- <h4 class="modal-title">定位信息</h4>
201
- </header>
202
- <article slot="modal-body" class="modal-body clearfix" style="height: 500px">
203
- <amap-location
204
- :isshowsearch="false"
205
- :mylocationinfo="false"
206
- :isshowmapmodel="false"
207
- :islocation="false"
208
- mapmodel="dragMarker"
209
- :labelmarksarray="labelmarksarray"
210
- ></amap-location>
211
- </article>
212
- <footer slot="modal-footer" class="modal-footer">
213
- </footer>
214
- </modal>
215
-
216
- <validator name="v">
217
- <modal v-if="showOperator" :show.sync="showOperator" v-ref:operator :large="true" :backdrop="false" title="批量派单">、
218
- <header slot="modal-header" class="modal-header">
219
- <button type="button" class="close" @click="closeModal('details')"><span>&times;</span></button>
220
- <h4 class="modal-title">批量派单</h4>
221
- </header>
222
- <article slot="modal-body" class="modal-body clearfix">
223
- <!-- 基本信息 -->
224
- <div class="form-group col-sm-12" :class="[$v.operator.required ? 'has-error' : '']">
225
- <label class="col-sm-2 control-label">操作人:</label>
226
- <div class="col-sm-10">
227
- <input type="text" v-show="false" v-model="operator.id" :value.sync="operator.id" v-validate:operator = "['required']" >
228
- <input-select
229
- class="select select_list"
230
- :value.sync="operator"
231
- v-model="operator"
232
- :options="operatorList"></input-select>
233
- </div>
234
- </div>
235
- <div class="form-group col-sm-12">
236
- <label class="col-sm-2 control-label">是否共享:</label>
237
- <div class="col-sm-10">
238
- <input-select
239
- class="select select_list"
240
- :value.sync="f_shared_dispatch"
241
- v-model="f_shared_dispatch"
242
- :options="sharedOptions"></input-select>
243
- </div>
244
- </div>
245
- </article>
246
- <footer slot="modal-footer" class="modal-footer">
247
- <button type="button" class="btn btn-primary" @click="batchDispatch()" :disabled="!$v.valid">确定</button>
248
- </footer>
249
- </modal>
250
- </validator>
251
-
252
- </template>
253
-
254
- <script>
255
- import {PagedList} from 'vue-client'
256
-
257
- export default {
258
- title: '点火派单',
259
- props: ['showData'],
260
- data () {
261
- return {
262
- model: new PagedList('rs/sql/getWaitIgnitionTask', 20, null),
263
- criteriaShow: false,
264
- source: 'this.getParentByType($organization$).getChildByName($通气组报装$).getChildren()',
265
- operatorList: [],
266
- showOperator: false,
267
- operator: null,
268
- f_shared_dispatch:'否',
269
- sharedOptions:[{label: "是", value: "是"}, {label: "否", value: "否" }],
270
- showAmap: false,
271
- labelmarksarray: [],
272
- sliceareas: [], // 片区
273
- whether_hairpin: [{label: "全部", value: ""}, {label: "已发卡", value: "已发"}, {label: "未发卡", value: "未发"}],//发卡状态
274
- usertype:[{label: "全部", value: ""}, {label: "民用", value: "民用"}, {label: "非民用", value: "非民用"}]//用户类型
275
- }
276
- },
277
- ready () {
278
- this.search()
279
- this.getOperator()
280
- setTimeout (this.getsliceareas,500)
281
- },
282
- methods: {
283
- loadPage () {
284
- this.$dispatch('loadPage')
285
- },
286
- openAmap (row) {
287
- this.labelmarksarray = [{
288
- data: {
289
- data: this.selectdata,
290
- label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
291
- <h5>${row.f_user_name}</h5>
292
- <h5>${row.f_user_phone}</h5>
293
- <h5>${row.f_location_address}</h5>
294
- </div>`
295
- },
296
- position: [row.f_lng, row.f_lat],
297
- isclearmarker: false
298
- }]
299
-
300
- this.showAmap = true
301
- },
302
- async batchDispatch () {
303
- let selectdata = this.$refs.cp.$refs.grid.getRowData()
304
- if (selectdata.length > 0) {
305
- for (let i = 0; i < selectdata.length; i++){
306
- if(selectdata[i].f_whether_hairpin === '未发' && (!selectdata[i].f_user_name.includes('原处') || !selectdata[i].f_contact.includes('原处'))){
307
- let res = await this.$showMessage(`第${selectdata.length}条数据未开户,无法派单!`)
308
- if (res == 'confirm') {
309
- return
310
- }
311
- }
312
- // if(selectdata[i].f_surplus_money > 0 ){
313
- // let res = await this.$showMessage(`第${selectdata.length}条报建费用未结清,无法派单!`)
314
- // if (res == 'confirm') {
315
- // return
316
- // }
317
- // }
318
- }
319
- let data = {
320
- operator: this.$login.f,
321
- f_userinfo_ids: selectdata.map(item => {
322
- return {
323
- f_apply_num: item.f_apply_num,
324
- f_userinfo_id: item.f_userinfo_id
325
- }
326
- }),
327
- ignitionOperator: this.operator,
328
- f_shared_dispatch:this.f_shared_dispatch
329
- }
330
-
331
- let res = await this.$resetpost(
332
- 'rs/logic/batchDispatchGas',
333
- {data: data},
334
- {resolveMsg: null, rejectMsg: '批量派单失败!!!'}
335
- )
336
-
337
- this.closeModal('details')
338
- this.search()
339
- } else {
340
- this.$showAlert('至少选择1个工单', 'warning', 3000)
341
- }
342
- },
343
- async getsliceareas () {
344
-
345
- let res = await this.$resetpost(
346
- 'rs/logic/getsliceareas',{data:null},
347
- {resolveMsg: null, rejectMsg: '获取片区失败!!!'}
348
- )
349
- this.sliceareas = [{label: '全部', value: ''}, ...res.data]
350
- },
351
- async openOperatorModal () {
352
- let selectdata = this.$refs.cp.$refs.grid.getRowData()
353
- if (selectdata.length > 0) {
354
- let res = await this.$showMessage(`当前数据条数: ${selectdata.length}, 条数过大时派单时间可能会过长, 是否确认派单?`)
355
- if (res == 'confirm') {
356
- this.showOperator = true
357
- }
358
- } else {
359
- this.$showAlert('至少选择1个工单', 'warning', 3000)
360
- }
361
- },
362
- async getOperator () {
363
- let data = {
364
- source: this.source,
365
- userid: this.$login.f.id
366
- }
367
-
368
- let res = await this.$resetpost(
369
- 'rs/search',
370
- {data: data},
371
- {resolveMsg: null, rejectMsg: '点火人员查询失败!!!'}
372
- )
373
-
374
- this.operatorList = res.data.map(item => {
375
- return {
376
- label: item.name,
377
- value: item
378
- }
379
- })
380
- },
381
- searchCondition (args) {
382
- args.condition = args.condition + ` and ir.id is null`
383
- console.log("this.showDatade",this.showData)
384
- // args.condition = args.condition + ` and ui.f_process_id = '${this.showData.f_process_id}'`
385
- args.condition = args.condition + ` and ui.f_process_id is not null`
386
- this.model.search(args.condition, args.model)
387
- },
388
- // 查询
389
- search () {
390
- this.$refs.cp.$refs.cri.search()
391
- },
392
- clear () {
393
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
394
- this.$refs.cp.$refs.cri.model[key] = null
395
- })
396
- },
397
- closeModal (type) {
398
- this.showAmap = false
399
- this.showOperator = false
400
-
401
- this.labelmarksarray = []
402
- this.operator = null
403
-
404
- if (type === 'details') {
405
- this.$refs.cp.$refs.grid.selectInit()
406
- }
407
- }
408
- }
409
- }
410
- </script>
411
-
412
- <style scoped>
413
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
6
+ <div class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="form-group col-sm-2">
9
+ <label class="font_normal_body">片&emsp;&emsp;区:</label>
10
+ <v-select
11
+ v-model="model.f_slice_area"
12
+ placeholder='片区'
13
+ condition="ui.f_slice_area = '{}'"
14
+ :value.sync="model.f_slice_area"
15
+ :options='$parent.$parent.sliceareas'
16
+ class="select select_list"
17
+ :value-single="true"
18
+ close-on-select >
19
+ </v-select>
20
+ </div>
21
+ <div class="form-group col-sm-2">
22
+ <label class="font_normal_body">发卡状态:</label>
23
+ <v-select
24
+ v-model="model.f_whether_hairpin"
25
+ placeholder='发卡状态'
26
+ condition="uf.f_whether_hairpin = '{}'"
27
+ :value.sync="model.f_whether_hairpin"
28
+ :options='$parent.$parent.whether_hairpin'
29
+ class="select select_list"
30
+ :value-single="true"
31
+ close-on-select >
32
+ </v-select>
33
+ </div>
34
+ <div class="form-group col-sm-2">
35
+ <label for="startDate" class="font_normal_body">发卡时间:</label>
36
+ <datepicker id="startDate" placeholder="开始日期"
37
+ style="width: 60%!important;"
38
+ v-model="model.startDate"
39
+ :value.sync="model.startDate"
40
+ :format="'yyyy-MM-dd 00:00:00'"
41
+ :show-reset-button="true"
42
+ condition="uf.f_open_date >= '{}'">
43
+ </datepicker>
44
+ </div>
45
+ <div class="form-group col-sm-2">
46
+ <label for="endDate" class="font_normal_body">发卡时间:</label>
47
+ <datepicker id="endDate" placeholder="结束日期"
48
+ style="width: 60%!important;"
49
+ v-model="model.endDate"
50
+ :value.sync="model.endDate"
51
+ :format="'yyyy-MM-dd 23:59:59'"
52
+ :show-reset-button="true"
53
+ condition="uf.f_open_date <= '{}'">
54
+ </datepicker>
55
+ </div>
56
+ <div class="form-group col-sm-3 button-range">
57
+ <button class="button_export button_spacing" @click="$parent.$parent.openOperatorModal()">批量派单</button>
58
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
59
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
60
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
61
+ <div
62
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
63
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
64
+ class="button_spacing"
65
+ style="float: right">
66
+ </div>
67
+ </div>
68
+ </div>
69
+ <div class="row" v-show="$parent.$parent.criteriaShow">
70
+ <div class="form-group col-sm-2">
71
+ <label class="font_normal_body">工程编号:</label>
72
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_applycode"
73
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_applycode = '{}'" placeholder='工程编号'>
74
+ </div>
75
+ <div class="form-group col-sm-2">
76
+ <label class="font_normal_body">用户类型:</label>
77
+ <v-select
78
+ v-model="model.f_user_type"
79
+ placeholder='用户类型'
80
+ condition="uf.f_user_type = '{}'"
81
+ :value.sync="model.f_user_type"
82
+ :options='$parent.$parent.usertype'
83
+ class="select select_list"
84
+ :value-single="true"
85
+ close-on-select >
86
+ </v-select>
87
+ </div>
88
+ <div class="form-group col-sm-2">
89
+ <label class="font_normal_body">用户编号:</label>
90
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_id"
91
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_userinfo_id = '{}'" placeholder='用户编号'>
92
+ </div>
93
+ <div class="form-group col-sm-2">
94
+ <label class="font_normal_body">用&ensp;户&ensp;名:</label>
95
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
96
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_name = '{}'" placeholder='用户名'>
97
+ </div>
98
+ <div class="form-group col-sm-2">
99
+ <label class="font_normal_body">电&emsp;&emsp;话:</label>
100
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_phone"
101
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_user_phone = '{}'" placeholder='电话'>
102
+ </div>
103
+ <div class="form-group col-sm-2">
104
+ <label class="font_normal_body">小&emsp;&emsp;区:</label>
105
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_residential_area"
106
+ v-on:keyup.enter="$parent.$parent.search()" condition="ui.f_residential_area = '{}'" placeholder='小区'>
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </criteria>
111
+ <data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
112
+ <template partial='head'>
113
+ <tr>
114
+ <th style="white-space: nowrap;">序号</th>
115
+ <th style="white-space: nowrap;">报建编号</th>
116
+ <th style="white-space: nowrap;">用户编号</th>
117
+ <th style="white-space: nowrap;">用户姓名</th>
118
+ <th style="white-space: nowrap;">联系电话</th>
119
+ <th style="white-space: nowrap;">用户类型</th>
120
+ <th style="white-space: nowrap;">地址</th>
121
+ <th style="white-space: nowrap;">片区</th>
122
+ <!-- <th>定位地址</th>-->
123
+ <th style="white-space: nowrap;">气表分类</th>
124
+ <th style="white-space: nowrap;">表号</th>
125
+ <th style="white-space: nowrap;">气表品牌</th>
126
+ <th style="white-space: nowrap;">气表型号</th>
127
+ <th style="white-space: nowrap;">发卡状态</th>
128
+ <th style="white-space: nowrap;">发卡时间</th>
129
+ <th style="white-space: nowrap;">报建人</th>
130
+ <th style="white-space: nowrap;">报建联系电话</th>
131
+ </tr>
132
+ </template>
133
+ <template partial='body'>
134
+ <tr >
135
+ <td style="text-align: center;">
136
+ <nobr><font>{{$index+1}}</font></nobr>
137
+ </td>
138
+ <td style="text-align: center;">
139
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
140
+ </td>
141
+ <td style="text-align: center;">
142
+ <nobr><font>{{row.f_userinfo_id}}</font></nobr>
143
+ </td>
144
+ <td style="text-align: center;">
145
+ <nobr><font>{{row.f_user_name}}</font></nobr>
146
+ </td>
147
+ <td style="text-align: center;">
148
+ <nobr><font>{{row.f_user_phone}}</font></nobr>
149
+ </td>
150
+ <td style="text-align: center;">
151
+ <nobr><font>{{row.f_user_type}}</font></nobr>
152
+ </td>
153
+ <td style="text-align: center;">
154
+ <nobr><font>{{row.f_address}}{{row.f_address_detail}}</font></nobr>
155
+ </td>
156
+ <td style="text-align: center;">
157
+ <nobr><font>{{row.f_area}}</font></nobr>
158
+ </td>
159
+ <!-- <td style="text-align: center;">-->
160
+ <!-- <nobr><font>-->
161
+ <!-- <a @click="$parent.$parent.$parent.openAmap(row)" style="text-decoration: none">-->
162
+ <!-- {{row.f_location_address}}-->
163
+ <!-- </a>-->
164
+ <!-- </font></nobr>-->
165
+ <!-- </td>-->
166
+ <td style="text-align: center;">
167
+ <nobr><font>{{row.f_meter_classify}}</font></nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr><font>{{row.f_meternumber}}</font></nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr><font>{{row.f_meter_brand}}</font></nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr><font>{{row.f_meter_style}}</font></nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr><font>{{row.f_whether_hairpin}}</font></nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr><font>{{row.f_faka_date}}</font></nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr><font>{{row.f_contact}}</font></nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <nobr><font>{{row.f_phone}}</font></nobr>
189
+ </td>
190
+ </tr>
191
+ </template>
192
+ </data-grid>
193
+ </criteria-paged>
194
+ </div>
195
+ </div>
196
+
197
+ <modal v-if="showAmap" :show.sync="showAmap" v-ref:amap :large="true" :backdrop="false" title="定位信息">
198
+ <header slot="modal-header" class="modal-header">
199
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
200
+ <h4 class="modal-title">定位信息</h4>
201
+ </header>
202
+ <article slot="modal-body" class="modal-body clearfix" style="height: 500px">
203
+ <amap-location
204
+ :isshowsearch="false"
205
+ :mylocationinfo="false"
206
+ :isshowmapmodel="false"
207
+ :islocation="false"
208
+ mapmodel="dragMarker"
209
+ :labelmarksarray="labelmarksarray"
210
+ ></amap-location>
211
+ </article>
212
+ <footer slot="modal-footer" class="modal-footer">
213
+ </footer>
214
+ </modal>
215
+
216
+ <validator name="v">
217
+ <modal v-if="showOperator" :show.sync="showOperator" v-ref:operator :large="true" :backdrop="false" title="批量派单">、
218
+ <header slot="modal-header" class="modal-header">
219
+ <button type="button" class="close" @click="closeModal('details')"><span>&times;</span></button>
220
+ <h4 class="modal-title">批量派单</h4>
221
+ </header>
222
+ <article slot="modal-body" class="modal-body clearfix">
223
+ <!-- 基本信息 -->
224
+ <div class="form-group col-sm-12" :class="[$v.operator.required ? 'has-error' : '']">
225
+ <label class="col-sm-2 control-label">操作人:</label>
226
+ <div class="col-sm-10">
227
+ <input type="text" v-show="false" v-model="operator.id" :value.sync="operator.id" v-validate:operator = "['required']" >
228
+ <input-select
229
+ class="select select_list"
230
+ :value.sync="operator"
231
+ v-model="operator"
232
+ :options="operatorList"></input-select>
233
+ </div>
234
+ </div>
235
+ <div class="form-group col-sm-12">
236
+ <label class="col-sm-2 control-label">是否共享:</label>
237
+ <div class="col-sm-10">
238
+ <input-select
239
+ class="select select_list"
240
+ :value.sync="f_shared_dispatch"
241
+ v-model="f_shared_dispatch"
242
+ :options="sharedOptions"></input-select>
243
+ </div>
244
+ </div>
245
+ </article>
246
+ <footer slot="modal-footer" class="modal-footer">
247
+ <button type="button" class="btn btn-primary" @click="batchDispatch()" :disabled="!$v.valid">确定</button>
248
+ </footer>
249
+ </modal>
250
+ </validator>
251
+
252
+ </template>
253
+
254
+ <script>
255
+ import {HttpResetClass, PagedList} from 'vue-client'
256
+
257
+ export default {
258
+ title: '点火派单',
259
+ props: ['showData'],
260
+ data () {
261
+ return {
262
+ model: new PagedList('rs/sql/getWaitIgnitionTask', 20, null),
263
+ criteriaShow: false,
264
+ source: 'this.getParentByType($organization$).getChildByName($通气组报装$).getChildren()',
265
+ operatorList: [],
266
+ showOperator: false,
267
+ operator: null,
268
+ f_shared_dispatch:'否',
269
+ sharedOptions:[{label: "是", value: "是"}, {label: "否", value: "否" }],
270
+ showAmap: false,
271
+ labelmarksarray: [],
272
+ sliceareas: [], // 片区
273
+ whether_hairpin: [{label: "全部", value: ""}, {label: "已发卡", value: "已发"}, {label: "未发卡", value: "未发"}],//发卡状态
274
+ usertype:[{label: "全部", value: ""}, {label: "民用", value: "民用"}, {label: "非民用", value: "非民用"}]//用户类型
275
+ }
276
+ },
277
+ ready () {
278
+ this.search()
279
+ this.getOperator()
280
+ setTimeout (this.getsliceareas,500)
281
+ },
282
+ methods: {
283
+ loadPage () {
284
+ this.$dispatch('loadPage')
285
+ },
286
+ openAmap (row) {
287
+ this.labelmarksarray = [{
288
+ data: {
289
+ data: this.selectdata,
290
+ label: `<div style="background: #fff;border-radius: 5px;height: 100px;padding: 5px">
291
+ <h5>${row.f_user_name}</h5>
292
+ <h5>${row.f_user_phone}</h5>
293
+ <h5>${row.f_location_address}</h5>
294
+ </div>`
295
+ },
296
+ position: [row.f_lng, row.f_lat],
297
+ isclearmarker: false
298
+ }]
299
+
300
+ this.showAmap = true
301
+ },
302
+ async batchDispatch () {
303
+ let selectdata = this.$refs.cp.$refs.grid.getRowData()
304
+ if (selectdata.length > 0) {
305
+ for (let i = 0; i < selectdata.length; i++){
306
+ if(selectdata[i].f_whether_hairpin === '未发' && (!selectdata[i].f_user_name.includes('原处') || !selectdata[i].f_contact.includes('原处'))){
307
+ let res = await this.$showMessage(`第${selectdata.length}条数据未开户,无法派单!`)
308
+ if (res == 'confirm') {
309
+ return
310
+ }
311
+ }
312
+ // if(selectdata[i].f_surplus_money > 0 ){
313
+ // let res = await this.$showMessage(`第${selectdata.length}条报建费用未结清,无法派单!`)
314
+ // if (res == 'confirm') {
315
+ // return
316
+ // }
317
+ // }
318
+ }
319
+ let data = {
320
+ operator: this.$login.f,
321
+ f_userinfo_ids: selectdata.map(item => {
322
+ return {
323
+ f_apply_num: item.f_apply_num,
324
+ f_userinfo_id: item.f_userinfo_id
325
+ }
326
+ }),
327
+ ignitionOperator: this.operator,
328
+ f_shared_dispatch:this.f_shared_dispatch
329
+ }
330
+
331
+ let res = await this.$resetpost(
332
+ 'rs/logic/batchDispatchGas',
333
+ {data: data},
334
+ {resolveMsg: null, rejectMsg: '批量派单失败!!!'}
335
+ )
336
+
337
+ this.closeModal('details')
338
+ this.search()
339
+ } else {
340
+ this.$showAlert('至少选择1个工单', 'warning', 3000)
341
+ }
342
+ },
343
+ async getsliceareas () {
344
+ let data = {
345
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
346
+ userid: this.$login.f.id
347
+ }
348
+
349
+ let http = new HttpResetClass()
350
+ let res = await http.load(
351
+ 'POST',
352
+ `rs/search`,
353
+ {data: data},
354
+ {resolveMsg: null, rejectMsg: '片区查询失败!!!'}
355
+ )
356
+ this.sliceareas = [{label: '全部', value: ''}, ...res.data]
357
+ },
358
+ async openOperatorModal () {
359
+ let selectdata = this.$refs.cp.$refs.grid.getRowData()
360
+ if (selectdata.length > 0) {
361
+ let res = await this.$showMessage(`当前数据条数: ${selectdata.length}, 条数过大时派单时间可能会过长, 是否确认派单?`)
362
+ if (res == 'confirm') {
363
+ this.showOperator = true
364
+ }
365
+ } else {
366
+ this.$showAlert('至少选择1个工单', 'warning', 3000)
367
+ }
368
+ },
369
+ async getOperator () {
370
+ let data = {
371
+ source: this.source,
372
+ userid: this.$login.f.id
373
+ }
374
+
375
+ let res = await this.$resetpost(
376
+ 'rs/search',
377
+ {data: data},
378
+ {resolveMsg: null, rejectMsg: '点火人员查询失败!!!'}
379
+ )
380
+
381
+ this.operatorList = res.data.map(item => {
382
+ return {
383
+ label: item.name,
384
+ value: item
385
+ }
386
+ })
387
+ },
388
+ searchCondition (args) {
389
+ args.condition = args.condition + ` and ir.id is null`
390
+ console.log("this.showDatade",this.showData)
391
+ // args.condition = args.condition + ` and ui.f_process_id = '${this.showData.f_process_id}'`
392
+ args.condition = args.condition + ` and ui.f_process_id is not null`
393
+ this.model.search(args.condition, args.model)
394
+ },
395
+ // 查询
396
+ search () {
397
+ this.$refs.cp.$refs.cri.search()
398
+ },
399
+ clear () {
400
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
401
+ this.$refs.cp.$refs.cri.model[key] = null
402
+ })
403
+ },
404
+ closeModal (type) {
405
+ this.showAmap = false
406
+ this.showOperator = false
407
+
408
+ this.labelmarksarray = []
409
+ this.operator = null
410
+
411
+ if (type === 'details') {
412
+ this.$refs.cp.$refs.grid.selectInit()
413
+ }
414
+ }
415
+ }
416
+ }
417
+ </script>
418
+
419
+ <style scoped>
420
+ </style>