apply-clients 3.3.217 → 3.4.2

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 (121) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +84 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +39 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/index.html +33 -33
  19. package/package.json +3 -3
  20. package/src/AndroidApp.vue +35 -30
  21. package/src/App.vue +20 -20
  22. package/src/android.js +21 -21
  23. package/src/apply.js +81 -90
  24. package/src/applyAndroid.js +32 -53
  25. package/src/components/android/AppOnetomany.vue +301 -285
  26. package/src/components/android/AppServiceView.vue +566 -570
  27. package/src/components/android/AppSign.vue +142 -142
  28. package/src/components/android/AppTakePic.vue +143 -144
  29. package/src/components/android/Process/AppExplorationUser.vue +320 -270
  30. package/src/components/android/Process/AppServiceControl.vue +757 -686
  31. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -466
  32. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -0
  33. package/src/components/android/ProgressReport/ProgressReportList.vue +209 -0
  34. package/src/components/android/Supervisory/AppProcessSupervisory.vue +73 -152
  35. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -115
  36. package/src/components/android/TaskGraph.vue +125 -0
  37. package/src/components/build/Install/ExplorationUser.vue +304 -0
  38. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  39. package/src/components/product/ApplyCharge/ApplyChargeList.vue +36 -50
  40. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  41. package/src/components/product/Function/InstallFunction.vue +125 -122
  42. package/src/components/product/Function/InstallInfoSelect.vue +292 -318
  43. package/src/components/product/Function/Service/FunctionServiceControl.vue +222 -254
  44. package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
  45. package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
  46. package/src/components/product/Function/functions/StopInstall.vue +106 -0
  47. package/src/components/product/Onetomany.vue +377 -296
  48. package/src/components/product/Order/OrderApply.vue +30 -30
  49. package/src/components/product/Order/OrderApplyList.vue +78 -67
  50. package/src/components/product/Order/OrderMessage.vue +11 -87
  51. package/src/components/product/Process/ExplorationSelect.vue +410 -369
  52. package/src/components/product/Process/ExplorationUser.vue +138 -128
  53. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -504
  54. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  55. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  56. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  57. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  58. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  59. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
  60. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -181
  61. package/src/components/product/Process/Processes/chargeManagement.vue +639 -638
  62. package/src/components/product/Process/Processes/devicesManagement.vue +22 -2
  63. package/src/components/product/Process/Processes/selectApply.vue +1 -1
  64. package/src/components/product/Process/Service/ServiceControl.vue +1254 -883
  65. package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
  66. package/src/components/product/ServiceView.vue +631 -741
  67. package/src/components/product/Stop/StopApply.vue +103 -103
  68. package/src/components/product/Stop/StopApplyList.vue +269 -254
  69. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -517
  70. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -108
  71. package/src/components/product/Supervisory/SupervisoryList.vue +233 -253
  72. package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -124
  73. package/src/components/product/VueUtils/ApplyUpload.vue +273 -264
  74. package/src/components/product/VueUtils/HighMeter.vue +208 -0
  75. package/src/expandcssAndroid.less +1034 -517
  76. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +731 -414
  77. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -456
  78. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -0
  79. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -0
  80. package/src/{components/android/Process/Processes/AppBuildSign.vue → filiale/yuchuan/android/Sign/BuildSign.vue} +50 -47
  81. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -0
  82. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -0
  83. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -0
  84. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -0
  85. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -0
  86. package/src/filiale/yuchuan/android.js +14 -8
  87. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -517
  88. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  89. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +270 -231
  90. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -131
  91. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -0
  92. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -0
  93. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -0
  94. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +470 -0
  95. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1074 -517
  96. package/src/filiale/yuchuan/pc.js +12 -13
  97. package/src/main.js +23 -23
  98. package/src/components/android/Function/AppFunctionServiceControl.vue +0 -329
  99. package/src/components/android/Function/AppInstallFunction.vue +0 -330
  100. package/src/components/android/Process/Processes/AppChargeManagement.vue +0 -468
  101. package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -490
  102. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +0 -297
  103. package/src/components/android/Process/Processes/AppjiaSign.vue +0 -47
  104. package/src/components/android/Process/Processes/AppjiafangSign.vue +0 -47
  105. package/src/components/android/Process/Processes/ApptechnologySign.vue +0 -47
  106. package/src/components/image/dwg.jpg +0 -0
  107. package/src/components/image/yasuobao.jpg +0 -0
  108. package/src/components/product/Function/Inform.vue +0 -73
  109. package/src/components/product/Function/MarketSurvey.vue +0 -81
  110. package/src/components/product/Process/Processes/printCharge.vue +0 -121
  111. package/src/components/product/Process/ShowBackReason.vue +0 -33
  112. package/src/components/product/Supervisory/Service/printChargeNode.vue +0 -873
  113. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +0 -1090
  114. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  115. package/src/components/product/VueUtils/Tree.vue +0 -330
  116. package/src/filiale/wuan/android.js +0 -0
  117. package/src/filiale/wuan/pc.js +0 -4
  118. package/src/filiale/yuchuan/android/AppServiceView.vue +0 -599
  119. package/src/filiale/yuchuan/android/Reserve/ApplyReserve.vue +0 -200
  120. package/src/filiale/yuchuan/android/SiteSurvey/TaskGraph.vue +0 -137
  121. package/src/filiale/yuchuan/pc/Process/Processes/MapCom.vue +0 -51
@@ -1,254 +1,222 @@
1
- <template>
2
- <service-view v-ref:serviceview :data="show_data" v-if="showview"></service-view>
3
- </template>
4
- <script>
5
- import {HttpResetClass} from 'vue-client'
6
- import Vue from 'vue'
7
- export default {
8
- title: '报建功能业务控制层',
9
- props: ['selectdata'],
10
- data () {
11
- return {
12
- show_data: null, // 给通用页面显示的数据
13
- showview: false // 控制通用页面
14
- }
15
- },
16
- ready () {
17
- this.refurbish()
18
- },
19
- methods: {
20
- async refurbish () {
21
- // fields 字段填充值
22
- for (const item of this.selectdata.fields) {
23
- if (!item.value) {
24
- item.value = null
25
- }
26
-
27
- if (!item.value && (item.default || item.default === 0) && item.type !== 'datepicker') {
28
- if (item.eval) {
29
- item.value = eval(item.default)
30
- } else {
31
- item.value = item.default
32
- }
33
- }
34
-
35
- if (this.selectdata[item.field]) {
36
- // 将json字符串格式化赋值给value
37
- if (String(this.selectdata[item.field]).startsWith("{")) {
38
- item.value = JSON.parse(this.selectdata[item.field])
39
- } else {
40
- item.value = this.selectdata[item.field]
41
- }
42
- }
43
- if (this.selectdata[item.field] === 0) {
44
- item.value = 0
45
- }
46
-
47
- // datepicker
48
- if (item.type === 'datepicker' && !item.value && item.default) {
49
- item.value = new Date().Format(`${item.format ? item.format : 'yyyy-MM-dd HH:mm:ss'}`)
50
- }
51
-
52
- // 如果配置类型为select,优先从参数列表获取options
53
- if (item.type === 'select' || item.type === 'checkbox') {
54
- if (item.param) {
55
- let temp = this.$appdata.getParam(item.label)
56
-
57
- if (temp && temp.length > 0) {
58
- item.options = temp
59
- }
60
-
61
- if (item.paramLabel) {
62
- temp = this.$appdata.getParam(item.paramLabel)
63
- if (temp && temp.length > 0) {
64
- item.options = temp
65
- }
66
- }
67
- }
68
-
69
- if (item.ready) {
70
- item.options = await this[item.ready]()
71
- }
72
- }
73
-
74
-
75
- if (item.type === 'checkbox') {
76
- if (this.selectdata[item.field]) {
77
- item.value = JSON.parse(this.selectdata[item.field])
78
- } else {
79
- item.value = []
80
- }
81
- }
82
- }
83
-
84
- // 控制组件
85
- if (this.selectdata.components) {
86
- this.selectdata.components.forEach(item => {
87
- item.mark = 2
88
- })
89
- }
90
-
91
- // 初始化onetomany
92
- if (this.selectdata.onetomany) {
93
- for (const item of this.selectdata.onetomany) {
94
- let res = null
95
- if (item.queryEvent) {
96
- res = this[item.queryEvent]()
97
- } else {
98
- let data = {
99
- tablename: item.tables[0],
100
- condition: `f_process_id='${this.selectdata.f_process_id}'`
101
- }
102
- res = await this.$resetpost(
103
- 'rs/sql/singleTable',
104
- {data: data},
105
- {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
106
- )
107
- }
108
-
109
- item.rows = res.data
110
-
111
- // 初始化onetomany中的fields
112
- for (const field of item.fields) {
113
- if (!field.value) {
114
- if (field.value !== 0) {
115
- field.value = null
116
- }
117
- }
118
-
119
- if (field.default || field.default === 0) {
120
- field.value = field.default
121
- }
122
-
123
- // datepicker
124
- if (field.type === 'datepicker' && !field.value && field.default) {
125
- field.value = new Date().Format(`${field.format ? field.format : 'yyyy-MM-dd HH:mm:ss'}`)
126
- }
127
-
128
- if (field.type === 'select') {
129
- let temp = this.$appdata.getParam(field.label)
130
-
131
- if (temp && temp.length > 0) {
132
- field.options = temp
133
- }
134
-
135
- if (field.paramLabel) {
136
- temp = this.$appdata.getParam(field.paramLabel)
137
- if (temp && temp.length > 0) {
138
- item.options = temp
139
- }
140
- }
141
- }
142
- }
143
- }
144
- }
145
-
146
- // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
147
- let temp = JSON.parse(JSON.stringify(this.selectdata))
148
-
149
- this.show_data = temp
150
- this.$nextTick(() => {
151
- this.showview = true
152
- })
153
- }
154
- },
155
- events: {
156
- async 'stopApply' () {
157
-
158
- let data = {
159
- data: this.show_data,
160
- user: this.$login.f
161
- }
162
-
163
- let res = await this.$resetpost(
164
- `rs/logic/stopApply`,
165
- {data: data},
166
- {resolveMsg: null, rejectMsg: '终止报建失败!!!'}
167
- )
168
-
169
- this.$dispatch('search')
170
- },
171
- async 'pauseApply' () {
172
-
173
- let data = {
174
- data: this.show_data,
175
- user: this.$login.f
176
- }
177
-
178
- let res = await this.$resetpost(
179
- `rs/logic/pauseApply`,
180
- {data: data},
181
- {resolveMsg: null, rejectMsg: '暂停报建失败!!!'}
182
- )
183
-
184
- this.$dispatch('search')
185
- },
186
- // 获取view层button事件
187
- async 'button' (){
188
-
189
- let res = await this.$resetpost(
190
- `rs/entity/t_apply`,
191
- this.show_data,
192
- {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
193
- )
194
-
195
- this.$dispatch('search')
196
- },
197
- // 失去焦点出触发事件
198
- 'onchange' (index) {
199
- },
200
- 'onblur' (index) {},
201
- 'oninput' (index) {},
202
- 'initializtionView' () {},
203
- async 'onchangeModal' (index, fieldIndex) {
204
- },
205
- async 'onblurModal' (index, fieldIndex) {
206
-
207
- },
208
- async 'oninputModal' (index, fieldIndex) {
209
-
210
- },
211
- async 'onetomanydelete' (index, rowIndex) {
212
-
213
- let http = new HttpResetClass()
214
-
215
- let res = await http.load(
216
- 'DELETE',
217
- `rs/entity/${this.show_data.onetomany[index].tables[0]}/${this.show_data.onetomany[index].rows[rowIndex].id}`,
218
- null,
219
- {resolveMsg: null, rejectMsg: '删除失败!!!'}
220
- )
221
-
222
- this.$dispatch('breakControl', this.show_data)
223
- },
224
- async 'onetomanyupdate' (index, rowIndex) {
225
- let data = this.show_data.onetomany[index].rows[rowIndex]
226
-
227
- this.show_data.onetomany[index].fields.forEach(item => {
228
- data[item.field] = item.value
229
- })
230
- let res = await this.$resetpost(
231
- `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
232
- data
233
- )
234
-
235
- this.$dispatch('breakControl', this.show_data)
236
- },
237
- async 'onetomanyadd' (index) {
238
- let data = {
239
- f_process_id : this.show_data.f_process_id
240
- }
241
- this.show_data.onetomany[index].fields.forEach(item => {
242
- data[item.field] = item.value
243
- })
244
- let res = await this.$resetpost(
245
- `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
246
- data
247
- )
248
- this.$dispatch('breakControl', this.show_data)
249
- }
250
- },
251
- watch:{
252
- }
253
- }
254
- </script>
1
+ <template>
2
+ <service-view v-ref:serviceview :data="show_data" v-if="showview"></service-view>
3
+ </template>
4
+ <script>
5
+ import {HttpResetClass} from 'vue-client'
6
+ import Vue from 'vue'
7
+ export default {
8
+ title: '报建功能业务控制层',
9
+ props: ['selectdata'],
10
+ data () {
11
+ return {
12
+ show_data: null, // 给通用页面显示的数据
13
+ showview: false // 控制通用页面
14
+ }
15
+ },
16
+ ready () {
17
+ this.refurbish()
18
+ },
19
+ methods: {
20
+ async refurbish () {
21
+ // fields 字段填充值
22
+ this.selectdata.fields.forEach(item => {
23
+ if (!item.value) {
24
+ item.value = null
25
+ }
26
+
27
+ if (item.default || item.default === 0) {
28
+ item.value = item.default
29
+ }
30
+
31
+ if (this.selectdata[item.field]) {
32
+ // 将json字符串格式化赋值给value
33
+ if (String(this.selectdata[item.field]).startsWith("{")) {
34
+ item.value = JSON.parse(this.selectdata[item.field])
35
+ this.selectdata[item.field] = JSON.parse(this.selectdata[item.field])
36
+ } else {
37
+ item.value = this.selectdata[item.field]
38
+ }
39
+ }
40
+ if (this.selectdata[item.field] === 0) {
41
+ item.value = 0
42
+ }
43
+
44
+ // datepicker
45
+ if (item.type === 'datepicker' && !item.value && item.default) {
46
+ item.value = new Date().Format(`${item.format ? item.format : 'yyyy-MM-dd HH:mm:ss'}`)
47
+ }
48
+
49
+ // 如果配置类型为select,优先从参数列表获取options
50
+ if (item.type === 'select') {
51
+
52
+ let temp = this.$appdata.getParam(item.label)
53
+
54
+ if (temp && temp.length > 0) {
55
+ item.options = temp
56
+ }
57
+
58
+ if (item.paramLabel) {
59
+ temp = this.$appdata.getParam(item.paramLabel)
60
+ if (temp && temp.length > 0) {
61
+ item.options = temp
62
+ }
63
+ }
64
+ }
65
+ })
66
+
67
+ // 控制组件
68
+ if (this.selectdata.components) {
69
+ this.selectdata.components.forEach(item => {
70
+ item.mark = 2
71
+ })
72
+ }
73
+
74
+ // 初始化onetomany
75
+ if (this.selectdata.onetomany) {
76
+ for (const item of this.selectdata.onetomany) {
77
+ let res = null
78
+ if (item.queryEvent) {
79
+ res = this[item.queryEvent]()
80
+ } else {
81
+ let data = {
82
+ tablename: item.tables[0],
83
+ condition: `f_process_id='${this.selectdata.f_process_id}'`
84
+ }
85
+ res = await this.$resetpost(
86
+ 'rs/sql/singleTable',
87
+ {data: data},
88
+ {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
89
+ )
90
+ }
91
+
92
+ item.rows = res.data
93
+
94
+ // 初始化onetomany中的fields
95
+ for (const field of item.fields) {
96
+ if (!field.value) {
97
+ if (field.value !== 0) {
98
+ field.value = null
99
+ }
100
+ }
101
+
102
+ if (field.default || field.default === 0) {
103
+ field.value = field.default
104
+ }
105
+
106
+ // datepicker
107
+ if (field.type === 'datepicker' && !field.value && field.default) {
108
+ field.value = new Date().Format(`${field.format ? field.format : 'yyyy-MM-dd HH:mm:ss'}`)
109
+ }
110
+
111
+ if (field.type === 'select') {
112
+ let temp = this.$appdata.getParam(field.label)
113
+
114
+ if (temp && temp.length > 0) {
115
+ field.options = temp
116
+ }
117
+
118
+ if (field.paramLabel) {
119
+ temp = this.$appdata.getParam(field.paramLabel)
120
+ if (temp && temp.length > 0) {
121
+ item.options = temp
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ // 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
130
+ let temp = JSON.parse(JSON.stringify(this.selectdata))
131
+
132
+ this.show_data = temp
133
+ this.$nextTick(() => {
134
+ this.showview = true
135
+ })
136
+ }
137
+ },
138
+ events: {
139
+ async 'pauseApply' () {
140
+
141
+ let data = {
142
+ data: this.show_data,
143
+ user: this.$login.f
144
+ }
145
+
146
+ let res = await this.$resetpost(
147
+ `rs/logic/pauseApply`,
148
+ {data: data},
149
+ {resolveMsg: null, rejectMsg: '暂定报建失败!!!'}
150
+ )
151
+
152
+ this.$dispatch('search')
153
+ },
154
+ // 获取view层button事件
155
+ async 'button' (){
156
+
157
+ let res = await this.$resetpost(
158
+ `rs/entity/t_apply`,
159
+ this.show_data,
160
+ {resolveMsg: null, rejectMsg: '数据保存失败!!!'}
161
+ )
162
+
163
+ this.$dispatch('search')
164
+ },
165
+ // 失去焦点出触发事件
166
+ 'onchange' (index) {
167
+ },
168
+ 'onblur' (index) {},
169
+ 'oninput' (index) {},
170
+ 'initializtionView' () {},
171
+ async 'onchangeModal' (index, fieldIndex) {
172
+ },
173
+ async 'onblurModal' (index, fieldIndex) {
174
+
175
+ },
176
+ async 'oninputModal' (index, fieldIndex) {
177
+
178
+ },
179
+ async 'onetomanydelete' (index, rowIndex) {
180
+
181
+ let http = new HttpResetClass()
182
+
183
+ let res = await http.load(
184
+ 'DELETE',
185
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}/${this.show_data.onetomany[index].rows[rowIndex].id}`,
186
+ null,
187
+ {resolveMsg: null, rejectMsg: '删除失败!!!'}
188
+ )
189
+
190
+ this.$dispatch('breakControl', this.show_data)
191
+ },
192
+ async 'onetomanyupdate' (index, rowIndex) {
193
+ let data = this.show_data.onetomany[index].rows[rowIndex]
194
+
195
+ this.show_data.onetomany[index].fields.forEach(item => {
196
+ data[item.field] = item.value
197
+ })
198
+ let res = await this.$resetpost(
199
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
200
+ data
201
+ )
202
+
203
+ this.$dispatch('breakControl', this.show_data)
204
+ },
205
+ async 'onetomanyadd' (index) {
206
+ let data = {
207
+ f_process_id : this.show_data.f_process_id
208
+ }
209
+ this.show_data.onetomany[index].fields.forEach(item => {
210
+ data[item.field] = item.value
211
+ })
212
+ let res = await this.$resetpost(
213
+ `rs/entity/${this.show_data.onetomany[index].tables[0]}`,
214
+ data
215
+ )
216
+ this.$dispatch('breakControl', this.show_data)
217
+ }
218
+ },
219
+ watch:{
220
+ }
221
+ }
222
+ </script>
@@ -0,0 +1,176 @@
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:paged :pager="false">
4
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="form-group col-sm-12 button-range">
8
+ <button class="button_search button_spacing" @click="search()">查询</button>
9
+ <div
10
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
11
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
12
+ class="button_spacing"
13
+ style="float: right">
14
+ </div>
15
+ </div>
16
+ </div>
17
+ <div class="row" v-show="$parent.$parent.criteriaShow">
18
+ <div class="form-group col-sm-12">
19
+ <label class="font_normal_body">&emsp;</label>
20
+ <input type="text" class="input_search" v-model="model.f_user_name"
21
+ v-on:keyup.enter="search" condition="f_user_name like '%{}%'" placeholder='联系人'>
22
+ </div>
23
+ <div class="form-group col-sm-12">
24
+ <label class="font_normal_body">&emsp;</label>
25
+ <input type="text" class="input_search" v-model="model.f_phone"
26
+ v-on:keyup.enter="search" condition="f_phone like '%{}%'" placeholder='电话号码'>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </criteria>
31
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
32
+ <template partial='head'>
33
+ <tr class="title">
34
+ <th colspan="2" style="white-space: nowrap;">已终止报建工程</th>
35
+ </tr>
36
+ </template>
37
+ <template partial='body'>
38
+ <tr>
39
+ <td style="text-align: center;">{{row.f_user_name}}</td>
40
+ <td style="text-align: center;">
41
+ <dropdown>
42
+ <button @click="" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
43
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
44
+ </button>
45
+ </dropdown>
46
+ </td>
47
+ </tr>
48
+ </template>
49
+ </data-grid>
50
+ <!-- <div partial="list" style="overflow: auto">-->
51
+ <!-- <div class="panel panel-default auto" v-for="item in model.rows">-->
52
+ <!-- <div class="panel-heading auto" style="background-color: #E8F4FF" @click="$parent.$parent.showTable(item)">-->
53
+ <!-- {{item.f_user_name}}-->
54
+ <!-- <div style="float: right">-->
55
+ <!-- <dropdown class="auto">-->
56
+ <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
57
+ <!-- <span class="glyphicon glyphicon-th-list"></span>-->
58
+ <!-- </button>-->
59
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right" style=" min-width: 60px;">-->
60
+ <!-- <li>-->
61
+ <!-- <a href="#" @click.stop="$parent.$parent.operate(item)">撤销</a>-->
62
+ <!-- </li>-->
63
+ <!-- </ul>-->
64
+ <!-- </dropdown>-->
65
+ <!-- </div>-->
66
+ <!-- </div>-->
67
+ <!-- <table class="table" v-if="$parent.$parent.tableShow(item)">-->
68
+ <!-- <tr>-->
69
+ <!-- <td><b>终止原因</b></td>-->
70
+ <!-- <td>-->
71
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_stop_remarks">-->
72
+ <!-- {{item.f_stop_remarks.length > 5 ? item.f_stop_remarks.substring(0,5) + '...' : item.f_stop_remarks.length}}-->
73
+ <!-- </span>-->
74
+ <!-- </td>-->
75
+ <!-- </tr>-->
76
+ <!-- <tr>-->
77
+ <!-- <td><b>流程节点</b></td>-->
78
+ <!-- <td>-->
79
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.defname">-->
80
+ <!-- {{item.defname.length > 5 ? item.defname.substring(0,5) + '...' : item.defname}}-->
81
+ <!-- </span>-->
82
+ <!-- </td>-->
83
+ <!-- </tr>-->
84
+ <!-- <tr>-->
85
+ <!-- <td><b>操作人</b></td>-->
86
+ <!-- <td>-->
87
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_operator">-->
88
+ <!-- {{item.f_operator.length > 5 ? item.f_operator.substring(0,5) + '...' : item.f_operator}}-->
89
+ <!-- </span>-->
90
+ <!-- </td>-->
91
+ <!-- </tr>-->
92
+ <!-- <tr>-->
93
+ <!-- <td><b>操作部门</b></td>-->
94
+ <!-- <td>-->
95
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_department">-->
96
+ <!-- {{item.f_department.length > 5 ? item.f_department.substring(0,5) + '...' : item.f_department}}-->
97
+ <!-- </span>-->
98
+ <!-- </td>-->
99
+ <!-- </tr>-->
100
+ <!-- <tr>-->
101
+ <!-- <td><b>操作日期</b></td>-->
102
+ <!-- <td>-->
103
+ <!-- <span data-toggle="tooltip" data-placement="left" :title="item.f_date">-->
104
+ <!-- {{new Date(item.f_date).Format('yyyy-MM-dd')}}...-->
105
+ <!-- </span>-->
106
+ <!-- </td>-->
107
+ <!-- </tr>-->
108
+ <!-- </table>-->
109
+ <!-- </div>-->
110
+ <!-- </div>-->
111
+ </criteria-paged>
112
+ </div>
113
+ </template>
114
+ <script>
115
+ /**
116
+ *操作记录信息
117
+ */
118
+ import {HttpResetClass} from 'vue-client'
119
+ import { PagedList } from 'vue-client'
120
+ Date.prototype.Format = function (fmt) {
121
+ var o = {
122
+ 'M+': this.getMonth() + 1, // 月份
123
+ 'd+': this.getDate(), // 日
124
+ 'H+': this.getHours(), // 小时
125
+ 'm+': this.getMinutes(), // 分
126
+ 's+': this.getSeconds(), // 秒
127
+ 'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
128
+ 'S': this.getMilliseconds() // 毫秒
129
+ }
130
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
131
+ for (var k in o) {
132
+ if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
133
+ }
134
+ return fmt
135
+ }
136
+ export default {
137
+ title: '操作汇总',
138
+ data () {
139
+ return {
140
+ model: new PagedList('rs/sql/getStopApply', 9999999, {
141
+ data: {
142
+ id: this.$login.f.id,
143
+ orgid: this.$login.f.orgid
144
+ }
145
+ }),
146
+ row: null, // 当前点击的数据
147
+ criteriaShow: false // 控制查询条件
148
+ }
149
+ },
150
+ props: {
151
+ },
152
+ ready () {
153
+ this.$refs.paged.$refs.cri.search()
154
+ },
155
+ methods: {
156
+ // 控制查询
157
+ hidden () {
158
+ this.criteriaShow = !this.criteriaShow
159
+ },
160
+ // 当前点击的卡片数据
161
+ showTable (row) {
162
+ this.row = row
163
+ },
164
+ // 判断是否显示详细信息
165
+ tableShow (row) {
166
+ return this.row === row
167
+ },
168
+ // 点击撤销
169
+ operate (row) {
170
+ this.$dispatch('operate', row)
171
+ }
172
+ },
173
+ watch: {
174
+ }
175
+ }
176
+ </script>