apply-clients 7.1.47 → 7.1.49

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 (193) hide show
  1. package/dist.7z +0 -0
  2. package/package.json +5 -5
  3. package/src/components/product/Function/InstallFunction.vue +147 -147
  4. package/src/components/product/Function/InstallInfoSelect.vue +299 -281
  5. package/src/components/product/Process/ExplorationSelect.vue +42 -26
  6. package/src/components/product/Process/ExplorationUser.vue +135 -135
  7. package/src/components/product/Process/Processes/InstallationDetails.vue +520 -520
  8. package/src/components/product/Process/Processes/chargeManagement.vue +563 -563
  9. package/src/components/product/Process/Service/ServiceControl.vue +752 -752
  10. package/src/components/product/ReportForm/GasIgnitionSummary.vue +365 -352
  11. package/src/components/product/Supervisory/SupervisoryControl.vue +121 -121
  12. package/src/components/product/Supervisory/SupervisoryList.vue +41 -24
  13. package/src/components/product/VueUtils/ApplyUpload.vue +266 -266
  14. package/src/main.js +23 -23
  15. package/yarn-error.log +8797 -9060
  16. package/dist-android/static/0.50054aa998577d450157.js +0 -2
  17. package/dist-android/static/1.0b685d8dcbf4f3a8a5b2.js +0 -1
  18. package/dist-android/static/10.2a698c421c0ff5f57336.js +0 -2
  19. package/dist-android/static/11.75a39568e320abbddcc2.js +0 -2
  20. package/dist-android/static/12.4ac0c584da492acc599d.js +0 -1
  21. package/dist-android/static/13.5471bac3b39798923a79.js +0 -1
  22. package/dist-android/static/14.ee274728fdeb5107c357.js +0 -1
  23. package/dist-android/static/15.a1dc233c1804ede2ba87.js +0 -1
  24. package/dist-android/static/16.5081ea8a90d0dacbc748.js +0 -1
  25. package/dist-android/static/17.5b5184c9a9337a88d4f9.js +0 -1
  26. package/dist-android/static/18.0c99e5cb0de0f76008f6.js +0 -1
  27. package/dist-android/static/19.b50c8bf85b8e7fb27e2a.js +0 -1
  28. package/dist-android/static/2.16718caad0da13b463a3.js +0 -1
  29. package/dist-android/static/20.8f6767f58df1fde18784.js +0 -1
  30. package/dist-android/static/21.026f5cbfd90d70d8dd3a.js +0 -1
  31. package/dist-android/static/22.4631f8885615e9b6ad6e.js +0 -1
  32. package/dist-android/static/23.437b569f91863452daeb.js +0 -1
  33. package/dist-android/static/24.f1310985a29496bc5fd8.js +0 -1
  34. package/dist-android/static/25.b6dcf8c6d26f44035506.js +0 -1
  35. package/dist-android/static/27.2185c9e2e7116302e1e1.js +0 -13
  36. package/dist-android/static/28.b429eaf351968226c395.js +0 -3
  37. package/dist-android/static/29.aed6b18ccda9ca3748ce.js +0 -3
  38. package/dist-android/static/3.761de5413a2ed045ab10.js +0 -1
  39. package/dist-android/static/30.567f5fbffc0601227294.js +0 -2
  40. package/dist-android/static/31.179f87c71c11fd562feb.js +0 -1
  41. package/dist-android/static/32.8d45d3f6c5e874582cff.js +0 -1
  42. package/dist-android/static/33.32fd8d2f4e6e7b065a5c.js +0 -1
  43. package/dist-android/static/34.df47f9984baec20bdf5b.js +0 -1
  44. package/dist-android/static/35.5883200f073b546cb1a3.js +0 -1
  45. package/dist-android/static/36.477f89087e507526163f.js +0 -1
  46. package/dist-android/static/37.b82438692bca848519f6.js +0 -1
  47. package/dist-android/static/38.83c950bebdb997be2ef8.js +0 -1
  48. package/dist-android/static/39.333e42c6dbabf1bf2706.js +0 -1
  49. package/dist-android/static/4.eb190515d001a4e1bebd.js +0 -13
  50. package/dist-android/static/40.f6807724af2482375d7c.js +0 -1
  51. package/dist-android/static/41.92f39c44002772179f48.js +0 -1
  52. package/dist-android/static/42.662a0643f36dc759abc0.js +0 -1
  53. package/dist-android/static/43.5b55816aa2ca7b510d72.js +0 -1
  54. package/dist-android/static/44.4a6af5dd359e3973dea4.js +0 -1
  55. package/dist-android/static/45.d5992c604ad9eb4f40d2.js +0 -1
  56. package/dist-android/static/46.aa87912e9361ab053234.js +0 -1
  57. package/dist-android/static/47.b9efca55c1ea582c59e7.js +0 -2
  58. package/dist-android/static/48.8902ce91c715d61c63ef.js +0 -1
  59. package/dist-android/static/49.dd2591b071fe1901d2f2.js +0 -2
  60. package/dist-android/static/5.304b463f21c8253aa514.js +0 -13
  61. package/dist-android/static/50.e49f64d967a7f7350105.js +0 -1
  62. package/dist-android/static/51.0d311b6815373c5a3b1b.js +0 -1
  63. package/dist-android/static/52.344f9d59bb5cb156380d.js +0 -1
  64. package/dist-android/static/53.289984b9a04a7d11ffef.js +0 -1
  65. package/dist-android/static/54.5808cc57ddb689577efe.js +0 -1
  66. package/dist-android/static/55.9874aac28d0d80b55860.js +0 -1
  67. package/dist-android/static/56.babac04ffcc93c5573ed.js +0 -1
  68. package/dist-android/static/57.ca9993d9b0137ec93a81.js +0 -1
  69. package/dist-android/static/58.be8a5ac661eb638aff79.js +0 -1
  70. package/dist-android/static/59.2d0116e8a66e13cbabe2.js +0 -1
  71. package/dist-android/static/6.3f10426d99466042d079.js +0 -13
  72. package/dist-android/static/60.e60b562292633421a3d7.js +0 -1
  73. package/dist-android/static/61.492b25e8e1b66366329b.js +0 -1
  74. package/dist-android/static/62.24924f3f6fd5f97975d1.js +0 -1
  75. package/dist-android/static/63.7628250218be54b5c52f.js +0 -1
  76. package/dist-android/static/64.0c2d7593ebede3d30dc8.js +0 -1
  77. package/dist-android/static/65.220dfd6b1dd8e75c9d08.js +0 -1
  78. package/dist-android/static/66.da91b8ed2181ced4a4de.js +0 -1
  79. package/dist-android/static/67.75a3f13bea3c0ac4bbbe.js +0 -1
  80. package/dist-android/static/68.37aa2fd75666d1461dac.js +0 -1
  81. package/dist-android/static/69.e6a3e52929239e08b8d3.js +0 -1
  82. package/dist-android/static/7.57945431c1f505e425c1.js +0 -13
  83. package/dist-android/static/70.945cf028761bd66a2302.js +0 -1
  84. package/dist-android/static/71.0ae45dcfc105541b051d.js +0 -1
  85. package/dist-android/static/72.d89a35482e9c434d0bd0.js +0 -1
  86. package/dist-android/static/8.830a99f33590aeb637a3.js +0 -13
  87. package/dist-android/static/9.2432be88a7316649f45b.js +0 -12
  88. package/dist-android/static/appca71cf7af0c441a6b6ff.js +0 -135
  89. package/dist-android/static/doc.jpg +0 -0
  90. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  91. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  92. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  93. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  94. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  95. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  96. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  97. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  98. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  99. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  100. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  101. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  102. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  103. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  104. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  105. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  106. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  107. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  108. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  109. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  110. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  111. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  112. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  113. package/dist-android/static/imgerror.jpg +0 -0
  114. package/dist-android/static/jsoneditor-icons.svg +0 -893
  115. package/dist-android/static/newStyle/clear.png +0 -0
  116. package/dist-android/static/newStyle/fife.png +0 -0
  117. package/dist-android/static/newStyle/hidden.png +0 -0
  118. package/dist-android/static/newStyle/label-clear.png +0 -0
  119. package/dist-android/static/newStyle/left-img.png +0 -0
  120. package/dist-android/static/newStyle/list_ok.png +0 -0
  121. package/dist-android/static/newStyle/login-check.png +0 -0
  122. package/dist-android/static/newStyle/login-con.png +0 -0
  123. package/dist-android/static/newStyle/login-do.gif +0 -0
  124. package/dist-android/static/newStyle/login-f.png +0 -0
  125. package/dist-android/static/newStyle/login-info.png +0 -0
  126. package/dist-android/static/newStyle/login-left.png +0 -0
  127. package/dist-android/static/newStyle/login-org.png +0 -0
  128. package/dist-android/static/newStyle/login-pwd.png +0 -0
  129. package/dist-android/static/newStyle/login-user.png +0 -0
  130. package/dist-android/static/newStyle/loginbg.gif +0 -0
  131. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  132. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  133. package/dist-android/static/newStyle/setting.png +0 -0
  134. package/dist-android/static/newStyle/setting1.png +0 -0
  135. package/dist-android/static/newStyle/shirk.png +0 -0
  136. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  137. package/dist-android/static/newStyle/stretch_left.png +0 -0
  138. package/dist-android/static/newStyle/stretch_right.png +0 -0
  139. package/dist-android/static/newStyle/stretch_top.png +0 -0
  140. package/dist-android/static/newStyle/system-off.png +0 -0
  141. package/dist-android/static/pdf.jpg +0 -0
  142. package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
  143. package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
  144. package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
  145. package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
  146. 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
  147. 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
  148. package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
  149. package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
  150. package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
  151. package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
  152. package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
  153. package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
  154. package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
  155. package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
  156. package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
  157. package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  158. package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  159. package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
  160. package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
  161. package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
  162. package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
  163. package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
  164. package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
  165. package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
  166. package/dist-android/static//345/275/242/347/212/2664.png +0 -0
  167. package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
  168. package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
  169. package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
  170. package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  171. package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
  172. package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
  173. package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
  174. package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
  175. package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
  176. package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
  177. package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
  178. package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
  179. package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
  180. 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
  181. package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
  182. package/dist-android/static//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
  183. package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
  184. package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
  185. 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
  186. package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
  187. package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
  188. package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
  189. package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
  190. package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
  191. package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
  192. package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  193. package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
package/dist.7z ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "7.1.47",
3
+ "version": "7.1.49",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -78,23 +78,23 @@
78
78
  "karma-sourcemap-loader": "^0.3.7",
79
79
  "karma-spec-reporter": "0.0.31",
80
80
  "karma-webpack": "^2.0.2",
81
- "ldap-clients": "3.0.18",
81
+ "ldap-clients": "0.4.5",
82
82
  "material-client": "^1.1.2",
83
83
  "mkdirp": "^0.5.1",
84
84
  "mocha": "^3.2.0",
85
85
  "ncp": "^2.0.0",
86
86
  "nightwatch": "^0.8.18",
87
87
  "rimraf": "^2.5.0",
88
- "sale-client": "^1.4.33",
88
+ "sale-client": "1.5.14-yulinzhongran",
89
89
  "selenium-server": "2.52.0",
90
90
  "sinon": "^2.1.0",
91
91
  "sinon-chai": "^2.8.0",
92
92
  "style": "0.0.3",
93
93
  "style-loader": "^0.20.3",
94
- "system-clients": "3.1.87",
94
+ "system-clients": "1.6.34",
95
95
  "system-phone": "1.1.18",
96
96
  "url-loader": "^0.5.7",
97
- "vue-client": "1.23.10",
97
+ "vue-client": "1.20.55",
98
98
  "vue-hot-reload-api": "^1.2.0",
99
99
  "vue-html-loader": "^1.0.0",
100
100
  "vue-loader": "^8.2.1",
@@ -1,147 +1,147 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main" style="overflow: auto;width: 100%">
4
- <div class="col-sm-12">
5
- <div :class="showData ? 'top' : 'auto'">
6
- <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
7
- </div>
8
- <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
9
- <div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>
10
- <div class="panel-body" style="height: 89%">
11
- <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
12
- </div>
13
- </div>
14
- </div>
15
- <!--
16
- <div class="col-sm-2">
17
- <stop-apply-cardlist v-ref:card></stop-apply-cardlist>
18
- </div>
19
- -->
20
- </div>
21
- </div>
22
-
23
- </template>
24
- <script>
25
- import Vue from 'vue'
26
- import {HttpResetClass} from 'vue-client'
27
- export default {
28
- title: '报建业务',
29
- data () {
30
- return {
31
- selectdata: null,
32
- funcdata: null, // 选中功能
33
- showtotal: false, // 控制详情显示
34
- showData: true // 控制列表数据
35
- }
36
- },
37
- created () {
38
- this.getConfig()
39
- },
40
- methods: {
41
- // 获取功能配置
42
- getConfig () {
43
- let http = new HttpResetClass()
44
- let data = {
45
- data: this.$login.f
46
- }
47
- http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
48
- ).then((res) => {
49
- if (res.data.code && res.data.code === 200) {
50
- Vue.prototype.$function_vue = res.data.function_vue
51
- } else {
52
- this.$showMessage('获取配置失败,原因:' + res.data.msg)
53
- return
54
- }
55
- })
56
- }
57
- },
58
- events: {
59
- // 刷新控制层
60
- async 'breakControl' (servicedata) {
61
- let http = new HttpResetClass()
62
- let data = {
63
- condition: `u.id = ${servicedata.id}`,
64
- data: {
65
- id: this.$login.f.id,
66
- orgid: this.$login.f.f_orgids
67
- }
68
- }
69
-
70
- try {
71
- let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
72
-
73
- this.showtotal = false
74
- this.selectdata = res.data[0]
75
- this.$nextTick(() => {
76
- this.showtotal = true
77
- })
78
- } catch (e) {
79
- this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
80
- }
81
- },
82
- // 查询
83
- 'search' () {
84
- // 关闭详细
85
- this.showtotal = false
86
- // 显示列表数据
87
- this.showData = true
88
- // 显示分页
89
- this.$refs.query.$refs.cp.pager = true
90
- // 调用查询
91
- this.$refs.query.$refs.cp.$refs.cri.search()
92
- },
93
- // 点击功能操作
94
- 'func' (funcdata, row) {
95
- this.funcdata = funcdata
96
- this.selectdata = row
97
- // 关闭分页
98
- this.$refs.query.$refs.cp.pager = false
99
- // 关闭列表数据
100
- this.showData = false
101
-
102
- this.$nextTick(() => {
103
- this.showtotal = true
104
- })
105
- }
106
- /*
107
- 'operate' (row) {
108
- this.show = false
109
- this.funcdata = {
110
- title: '撤销'
111
- }
112
- let http = new HttpResetClass()
113
- let data = {
114
- tablename: 't_apply',
115
- condition: `f_process_id='${row.processid}'`
116
- }
117
- http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
118
- .then(res => {
119
- console.log(res.data[0])
120
- this.selectdata = res.data[0]
121
- this.selectdata.stopapply = row
122
- this.selectheight = '10%'
123
- this.funcheight = '90%'
124
- this.$refs.installselect.$refs.cp.pager = false
125
- this.show = true
126
- })
127
- }
128
-
129
- */
130
- }
131
- }
132
- </script>
133
- <style scoped>
134
- /*清除浮动*/
135
- .clearfix:after,.clearfix:before{
136
- display: table;
137
- }
138
- .clearfix:after{
139
- clear: both;
140
- }
141
- .head{
142
- height: auto;
143
- font-weight: bold;
144
- color: #000000;
145
- font-family: 微软雅黑;
146
- }
147
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main" style="overflow: auto;width: 100%">
4
+ <div class="col-sm-12">
5
+ <div :class="showData ? 'top' : 'auto'">
6
+ <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
7
+ </div>
8
+ <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
9
+ <div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>
10
+ <div class="panel-body" style="height: 89%">
11
+ <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ <!--
16
+ <div class="col-sm-2">
17
+ <stop-apply-cardlist v-ref:card></stop-apply-cardlist>
18
+ </div>
19
+ -->
20
+ </div>
21
+ </div>
22
+
23
+ </template>
24
+ <script>
25
+ import Vue from 'vue'
26
+ import {HttpResetClass} from 'vue-client'
27
+ export default {
28
+ title: '报建业务',
29
+ data () {
30
+ return {
31
+ selectdata: null,
32
+ funcdata: null, // 选中功能
33
+ showtotal: false, // 控制详情显示
34
+ showData: true // 控制列表数据
35
+ }
36
+ },
37
+ created () {
38
+ this.getConfig()
39
+ },
40
+ methods: {
41
+ // 获取功能配置
42
+ getConfig () {
43
+ let http = new HttpResetClass()
44
+ let data = {
45
+ data: this.$login.f
46
+ }
47
+ http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
48
+ ).then((res) => {
49
+ if (res.data.code && res.data.code === 200) {
50
+ Vue.prototype.$function_vue = res.data.function_vue
51
+ } else {
52
+ this.$showMessage('获取配置失败,原因:' + res.data.msg)
53
+ return
54
+ }
55
+ })
56
+ }
57
+ },
58
+ events: {
59
+ // 刷新控制层
60
+ async 'breakControl' (servicedata) {
61
+ let http = new HttpResetClass()
62
+ let data = {
63
+ condition: `u.id = ${servicedata.id}`,
64
+ data: {
65
+ id: this.$login.f.id,
66
+ orgid: this.$login.f.f_orgids
67
+ }
68
+ }
69
+
70
+ try {
71
+ let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
72
+
73
+ this.showtotal = false
74
+ this.selectdata = res.data[0]
75
+ this.$nextTick(() => {
76
+ this.showtotal = true
77
+ })
78
+ } catch (e) {
79
+ this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
80
+ }
81
+ },
82
+ // 查询
83
+ 'search' () {
84
+ // 关闭详细
85
+ this.showtotal = false
86
+ // 显示列表数据
87
+ this.showData = true
88
+ // 显示分页
89
+ this.$refs.query.$refs.cp.pager = true
90
+ // 调用查询
91
+ this.$refs.query.$refs.cp.$refs.cri.search()
92
+ },
93
+ // 点击功能操作
94
+ 'func' (funcdata, row) {
95
+ this.funcdata = funcdata
96
+ this.selectdata = row
97
+ // 关闭分页
98
+ this.$refs.query.$refs.cp.pager = false
99
+ // 关闭列表数据
100
+ this.showData = false
101
+
102
+ this.$nextTick(() => {
103
+ this.showtotal = true
104
+ })
105
+ }
106
+ /*
107
+ 'operate' (row) {
108
+ this.show = false
109
+ this.funcdata = {
110
+ title: '撤销'
111
+ }
112
+ let http = new HttpResetClass()
113
+ let data = {
114
+ tablename: 't_apply',
115
+ condition: `f_process_id='${row.processid}'`
116
+ }
117
+ http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null,rejectMsg: '工程查询失败'})
118
+ .then(res => {
119
+ console.log(res.data[0])
120
+ this.selectdata = res.data[0]
121
+ this.selectdata.stopapply = row
122
+ this.selectheight = '10%'
123
+ this.funcheight = '90%'
124
+ this.$refs.installselect.$refs.cp.pager = false
125
+ this.show = true
126
+ })
127
+ }
128
+
129
+ */
130
+ }
131
+ }
132
+ </script>
133
+ <style scoped>
134
+ /*清除浮动*/
135
+ .clearfix:after,.clearfix:before{
136
+ display: table;
137
+ }
138
+ .clearfix:after{
139
+ clear: both;
140
+ }
141
+ .head{
142
+ height: auto;
143
+ font-weight: bold;
144
+ color: #000000;
145
+ font-family: 微软雅黑;
146
+ }
147
+ </style>