apply-clients 3.5.5-9 → 3.5.5-90

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 (81) hide show
  1. package/build/dev-server.js +7 -6
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/components/QXClient.js +333 -0
  5. package/src/components/SignTools.js +65 -0
  6. package/src/components/android/AppCheckTakePic.vue +168 -168
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
  11. package/src/components/product/Install/ContractCharge.vue +210 -210
  12. package/src/components/product/PcZhihuanManagement.vue +160 -160
  13. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  14. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  15. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  16. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  17. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  18. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  19. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  20. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  21. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  22. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  23. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  24. package/src/filiale/fugou/android/AppServiceControl.vue +75 -17
  25. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  26. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  27. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  28. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  29. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  30. package/src/filiale/fugou/pc/InstallationDetails.vue +1 -1
  31. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  34. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  35. package/src/filiale/fugou/pc/chargeReport.vue +215 -143
  36. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  37. package/src/filiale/fugou/pc.js +3 -1
  38. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  39. package/src/filiale/gongyi/pc.js +25 -24
  40. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  41. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  42. package/src/filiale/jinhuang/android.js +6 -0
  43. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  44. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  45. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  46. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  47. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  48. package/src/filiale/jinhuang/pc.js +3 -0
  49. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  50. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  51. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -769
  52. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  53. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  54. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1382
  55. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  56. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  57. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
  58. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  59. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  60. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  61. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  62. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  63. package/src/filiale/yangchunboneng/android.js +21 -20
  64. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  65. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  66. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  68. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  69. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  70. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  71. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  72. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  73. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  74. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  75. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  76. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  77. package/src/filiale/yangchunboneng/pc.js +29 -24
  78. package/src/main.js +4 -3
  79. package/src/test/SessionTestServlet.java +0 -69
  80. package/webapp/WEB-INF/web.xml +0 -52
  81. package/webapp/session-test.jsp +0 -59
@@ -692,7 +692,7 @@
692
692
  data: res.data[i],
693
693
  user: this.$login.f
694
694
  }
695
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/stopApply`, {data: data}, {resolveMsg: null, rejectMsg: null})
695
+ new HttpResetClass().load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/stopApply`, {data: data}, {resolveMsg: null, rejectMsg: null})
696
696
  }
697
697
  }
698
698
  })
@@ -1823,6 +1823,8 @@
1823
1823
  num = 'GA'
1824
1824
  }else if (this.show_data.fields[index].value == '内投合同' ){
1825
1825
  num = 'NT'
1826
+ }else if (this.show_data.fields[index].value == '公用合同' ){
1827
+ num = 'GA'
1826
1828
  }
1827
1829
  this.setLabelValue('性质代码', num)
1828
1830
  },
@@ -1942,7 +1944,7 @@
1942
1944
  await http.load('post',`rs/sql/apply_singleTable`,{data: data},{rejectMsg:null,resolveMsg:null}).then( res=>{
1943
1945
  //判断res.data.length == 0,则子流程已经完工,然后将付流程进行到下一步
1944
1946
  if (res.data.length == 0){
1945
- http.load('post',`rs/sql/checkuser`,{data: {condition:` f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
1947
+ http.load('post',`rs/sql/supervisory`,{data: {condition:` u.f_process_id= '${this.show_data.f_parent_process_id}'`, data: {id: this.$login.f.id,orgid: this.$login.f.orgid}}},{resolveMsg:null,rejectMsg:null}).then(row=>{
1946
1948
  const show_data = row.data[0]
1947
1949
  show_data.user = this.$login.f
1948
1950
  show_data.start_activity ='报装申请'
@@ -0,0 +1,294 @@
1
+ <template>
2
+ <div class="col-sm-12">
3
+ <criteria-paged :model="model" v-ref:cp>
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
+
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工程编号:</label>
10
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
+ v-on:keyup.enter="search"
12
+ condition="f_apply_num like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">客户名称:</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="form-group col-sm-3">
20
+ <label class="font_normal_body">用户地址:</label>
21
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
22
+ v-on:keyup.enter="search"
23
+ condition="f_address like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-2 button-range">
26
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <div
29
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
31
+ class="button_spacing"
32
+ style="float: right">
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="row" v-show="$parent.$parent.criteriaShow">
37
+ <div class="form-group col-sm-3">
38
+ <label class="font_normal_body">组织机构:</label>
39
+ <res-select
40
+ restype='organization'
41
+ :initresid='$parent.$parent.curorgid'
42
+ @res-select="$parent.$parent.getorg"
43
+ is-mul="false"
44
+ ></res-select>
45
+ </div>
46
+ <div class="form-group col-sm-3">
47
+ <label class="font_normal_body">用户编号:</label>
48
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
49
+ v-on:keyup.enter="$parent.$parent.search()"
50
+ condition="f_userinfo_code like '%{}%'">
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">联系电话:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
55
+ v-on:keyup.enter="search"
56
+ condition="f_phone like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">合同编号:</label>
60
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
61
+ v-on:keyup.enter="search"
62
+ condition="f_contract_number = '{}'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">报建类型:</label>
66
+ <v-select
67
+ v-model="model.f_apply_type"
68
+ placeholder='报建类型'
69
+ condition="f_apply_type = '{}'"
70
+ :value.sync="model.f_apply_type"
71
+ :options='$parent.$parent.applytype'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ @change="$parent.$parent.applyTypeChange()"
75
+ close-on-select ></v-select>
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">类型:</label>
79
+ <v-select
80
+ v-model="model.f_type"
81
+ placeholder='报建类型'
82
+ condition="f_type = '{}'"
83
+ :value.sync="model.f_type"
84
+ :options='$parent.$parent.types'
85
+ class="select select_list"
86
+ :value-single="true"
87
+ close-on-select ></v-select>
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">办理环节:</label>
91
+ <v-select
92
+ v-model="model.defname"
93
+ placeholder='办理环节'
94
+ condition="defname = '{}'"
95
+ :value.sync="model.defname"
96
+ :options='$parent.$parent.defnames'
97
+ class="select select_list"
98
+ :value-single="true"
99
+ close-on-select ></v-select>
100
+ </div>
101
+ <div class="form-group col-sm-3">
102
+ <label class="font_normal_body">报建性质:</label>
103
+ <v-select
104
+ v-model="model.f_apply_nature"
105
+ placeholder='报建性质'
106
+ condition="f_apply_nature = '{}'"
107
+ :value.sync="model.f_apply_nature"
108
+ :options='$parent.$parent.applyNatures'
109
+ class="select select_list"
110
+ :value-single="true"
111
+ close-on-select ></v-select>
112
+ </div>
113
+ <div class="form-group col-sm-3">
114
+ <label for="startDate" class="font_normal_body">开始时间:</label>
115
+ <datepicker id="startDate" placeholder="开始日期"
116
+ style="width: 60%!important;"
117
+ v-model="model.startDate"
118
+ :value.sync="model.startDate"
119
+ :format="'yyyy-MM-dd 00:00:00'"
120
+ :show-reset-button="true"
121
+ condition="f_apply_date >= '{}'">
122
+ </datepicker>
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label for="endDate" class="font_normal_body">结束时间:</label>
126
+ <datepicker id="endDate" placeholder="结束日期"
127
+ style="width: 60%!important;"
128
+ v-model="model.endDate"
129
+ :value.sync="model.endDate"
130
+ :format="'yyyy-MM-dd 23:59:59'"
131
+ :show-reset-button="true"
132
+ condition="f_apply_date <= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
139
+ <template partial='head'>
140
+ <tr>
141
+ <th style="white-space: nowrap;">序号</th>
142
+ <th style="white-space: nowrap;">操作</th>
143
+ <th style="white-space: nowrap;">报建编号</th>
144
+ <th style="white-space: nowrap;">客户名称</th>
145
+ <th style="white-space: nowrap;">联系人</th>
146
+ <th style="white-space: nowrap;">电话</th>
147
+ <th style="white-space: nowrap;">报建类型</th>
148
+ <th style="white-space: nowrap;">办理环节</th>
149
+ <th style="white-space: nowrap;">类型</th>
150
+ <th style="white-space: nowrap;">状态</th>
151
+ <th style="white-space: nowrap;">终止原因</th>
152
+ <th style="white-space: nowrap;">终止时间</th>
153
+ <th style="white-space: nowrap;">终止人</th>
154
+ <th style="white-space: nowrap;">撤销原因</th>
155
+ <th style="white-space: nowrap;">撤销时间</th>
156
+ <th style="white-space: nowrap;">撤销人</th>
157
+ </tr>
158
+ </template>
159
+ <template partial='body'>
160
+ <tr>
161
+ <td style="text-align: center;">
162
+ <nobr>{{$index+1}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效' && $parent.$parent.$parent.stopStart ">
166
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
167
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
168
+ </button>
169
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
170
+ <li>
171
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
172
+ </li>
173
+ </ul>
174
+ </dropdown>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_apply_num}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{row.f_user_name}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_contact}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_phone}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_apply_type}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.defname}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_type}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_state}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_stop_reason}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_stop_date}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_operator}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_cancel_reason}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_cancel_date}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_cancel_operator}}</nobr>
217
+ </td>
218
+ </tr>
219
+ </template>
220
+ </data-grid>
221
+ </criteria-paged>
222
+ </div>
223
+ </template>
224
+ <script>
225
+ import {PagedList} from 'vue-client'
226
+ import {isEmpty} from '../../../components/Util'
227
+ export default {
228
+ title: '勘探详情',
229
+ data () {
230
+ return {
231
+ model: new PagedList('rs/sql/getStopApply', 20, {
232
+ data: {
233
+ orgid: this.$login.f.orgid
234
+ }
235
+ }),
236
+ curorgid: [this.$login.f.orgid],
237
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
+ types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
239
+ defnames: [{label: '全部', value: ''}], // 流程节点
240
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
241
+ criteriaShow: false
242
+ }
243
+ },
244
+ ready () {
245
+ // 调用查询
246
+ this.search()
247
+ },
248
+ events: {
249
+ },
250
+ methods: {
251
+ // 查询
252
+ search () {
253
+ this.$dispatch('search')
254
+ },
255
+ click (row) {
256
+ this.$dispatch('cancelStopApply', row)
257
+ },
258
+ async applyTypeChange () {
259
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
260
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
261
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
262
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
263
+ )
264
+
265
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
266
+
267
+ this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
268
+ } else {
269
+ this.defnames = [{label: '全部', value: ''}]
270
+
271
+ this.applyNatures = [{label: '全部', value: ''}]
272
+ }
273
+ },
274
+ clear () {
275
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
276
+ this.$refs.cp.$refs.cri.model[key] = null
277
+ })
278
+ },
279
+ getorg (val) {
280
+ if (val.length <= 0) {
281
+ return
282
+ }
283
+ this.model.params.data.orgid = val[0]
284
+ }
285
+ },
286
+ computed: {
287
+ stopStart () {
288
+ return this.$login.r.includes('暂停报建撤销')
289
+ },
290
+ }
291
+ }
292
+ </script>
293
+ <style scoped>
294
+ </style>
@@ -0,0 +1,141 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <supervisory-list v-ref:query :show-data="showData"></supervisory-list>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <supervisory-chart :selectdata="selectdata"></supervisory-chart>
10
+ </div>
11
+ <div class="col-sm-10" style="margin-top: 20px">
12
+ <tabset v-ref:tabs :close="false">
13
+ <tab :header='selectdata.defname'>
14
+ <supervisory-service-control :selectdata="selectdata" :node-snapshot="true"></supervisory-service-control>
15
+ </tab>
16
+ <tab header='附件'>
17
+ <apply-upload :blodid="selectdata.f_process_id"
18
+ :pblobid="selectdata.f_parent_process_id"
19
+ :isupload = "true"
20
+ :isdelete="true"
21
+ :isusetype="true"
22
+ :isremark = "true"
23
+ :takeimg="false"
24
+ :issearch="true"
25
+ :defname="selectdata.defname">
26
+ </apply-upload>
27
+ </tab>
28
+ </tabset>
29
+ </div>
30
+ <div style="height: 1%">
31
+
32
+ </div>
33
+ </div>
34
+ </div>
35
+ </div>
36
+
37
+ </template>
38
+ <script>
39
+ import Vue from 'vue'
40
+ import {HttpResetClass} from 'vue-client'
41
+ export default {
42
+ title: '流程监控',
43
+ data () {
44
+ return {
45
+ showtotal: false, // 控制详细信息显示
46
+ showData: true,
47
+ selectdata: {},
48
+ xmlname: '' // 配置文件名称
49
+ }
50
+ },
51
+ created () {
52
+ },
53
+ methods: {
54
+ // 获取页面配置json文件
55
+ async loadName () {
56
+ let data = {
57
+ workname: this.selectdata.processname
58
+ }
59
+
60
+ let res = await this.$resetpost(
61
+ 'rs/logic/ApplyGetConfigs',
62
+ {data: data},
63
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
64
+ )
65
+
66
+ Vue.prototype.$workflow_vue = res.data
67
+ }
68
+ },
69
+ events: {
70
+ // 刷新控制层
71
+ async 'breakControl' (servicedata) {
72
+
73
+ if (servicedata.id) {
74
+ let data = {
75
+ condition: `u.id = ${servicedata.id}`,
76
+ data: {
77
+ orgid: this.$login.f.orgid
78
+ }
79
+ }
80
+ let res = await this.$resetpost(
81
+ 'rs/sql/supervisory',
82
+ {data: data},
83
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
84
+ )
85
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
86
+ } else {
87
+ this.selectdata = servicedata
88
+ }
89
+
90
+ this.showtotal = false
91
+ this.$nextTick(() => {
92
+ this.showtotal = true
93
+ })
94
+
95
+ },
96
+ 'onMessage' (data) {
97
+ console.log('接收消息')
98
+ console.log(data)
99
+ if (data.type === 'apply-task') {
100
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
101
+ }
102
+ },
103
+ async 'apply' (val) {
104
+ this.selectdata = null
105
+ this.selectdata = val
106
+ this.showtotal = false
107
+
108
+ // 获取配置文件
109
+ await this.loadName()
110
+
111
+ this.$refs.query.$refs.cp.pager = false
112
+ this.showData = false
113
+
114
+ this.showtotal = true
115
+ },
116
+ 'search' () {
117
+ // 关闭详细
118
+ this.showtotal = false
119
+ // 显示列表数据
120
+ this.showData = true
121
+ // 显示分页
122
+ this.$refs.query.$refs.cp.pager = true
123
+ // 调用查询
124
+ this.$refs.query.$refs.cp.$refs.cri.search()
125
+ },
126
+ 'loadPage' () {
127
+ // 关闭详细
128
+ this.showtotal = false
129
+ // 显示列表数据
130
+ this.showData = true
131
+ // 显示分页
132
+ this.$refs.query.$refs.cp.pager = true
133
+ // 调用查询
134
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
135
+ }
136
+ },
137
+
138
+ watch: {
139
+ }
140
+ }
141
+ </script>