apply-clients 3.3.16 → 3.3.17

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 (57) hide show
  1. package/index.html +33 -33
  2. package/package.json +1 -1
  3. package/src/AndroidApp.vue +30 -30
  4. package/src/android.js +21 -21
  5. package/src/apply.js +3 -6
  6. package/src/applyAndroid.js +35 -35
  7. package/src/components/android/AppOnetomany.vue +285 -285
  8. package/src/components/android/AppServiceView.vue +570 -570
  9. package/src/components/android/AppTakePic.vue +143 -143
  10. package/src/components/android/Function/AppFunctionServiceControl.vue +329 -329
  11. package/src/components/android/Function/AppInstallFunction.vue +327 -327
  12. package/src/components/android/Process/AppExplorationUser.vue +268 -268
  13. package/src/components/android/Process/AppServiceControl.vue +711 -686
  14. package/src/components/android/Process/Processes/AppChargeManagement.vue +468 -468
  15. package/src/components/android/Process/Processes/AppDevicesManagement.vue +490 -490
  16. package/src/components/android/Process/Processes/AppInstallationDetails.vue +466 -466
  17. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +297 -297
  18. package/src/components/android/Supervisory/AppProcessSupervisory.vue +261 -261
  19. package/src/components/android/Supervisory/AppSupervisoryCart.vue +115 -115
  20. package/src/components/product/ApplyCharge/ApplyChargeList.vue +265 -265
  21. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -30
  22. package/src/components/product/Function/InstallFunction.vue +122 -122
  23. package/src/components/product/Function/InstallInfoSelect.vue +289 -289
  24. package/src/components/product/Function/Service/FunctionServiceControl.vue +254 -254
  25. package/src/components/product/Onetomany.vue +296 -296
  26. package/src/components/product/Order/OrderApply.vue +47 -47
  27. package/src/components/product/Order/OrderApplyList.vue +62 -62
  28. package/src/components/product/Order/OrderMessage.vue +237 -237
  29. package/src/components/product/Process/ExplorationSelect.vue +145 -143
  30. package/src/components/product/Process/ExplorationUser.vue +128 -128
  31. package/src/components/product/Process/Processes/InstallationDetails.vue +421 -352
  32. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  33. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  34. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  35. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  36. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  37. package/src/components/product/Process/Processes/{printCharge.vue → Print/printCharge.vue} +139 -121
  38. package/src/components/product/Process/Processes/Print/printRefund.vue +193 -0
  39. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +181 -181
  40. package/src/components/product/Process/Processes/chargeManagement.vue +639 -639
  41. package/src/components/product/Process/Processes/devicesManagement.vue +458 -458
  42. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  43. package/src/components/product/Process/Processes/selectUserinfo.vue +182 -182
  44. package/src/components/product/Process/Processes/supplementalAgreement.vue +298 -298
  45. package/src/components/product/Process/Service/ServiceControl.vue +916 -810
  46. package/src/components/product/Process/ShowBackReason.vue +33 -33
  47. package/src/components/product/ServiceView.vue +301 -307
  48. package/src/components/product/Stop/StopApplyList.vue +254 -254
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +512 -517
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +226 -226
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +124 -124
  53. package/src/components/product/VueUtils/ApplyUpload.vue +262 -262
  54. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -1090
  55. package/src/main.js +23 -23
  56. package/src/components/product/Function/Inform.vue +0 -74
  57. package/src/components/product/Function/MarketSurvey.vue +0 -80
@@ -3,120 +3,114 @@
3
3
  <criteria-paged :model="model" v-ref:cp>
4
4
  <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
5
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-3">
8
- <label class="font_normal_body">组织机构:</label>
9
- <res-select
10
- restype='organization'
11
- :initresid='$parent.$parent.curorgid'
12
- @res-select="$parent.$parent.getorg"
13
- is-mul="false"
14
- ></res-select>
15
- </div>
16
- <div class="form-group col-sm-3">
17
- <label class="font_normal_body">工程编号:</label>
18
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
19
- v-on:keyup.enter="$parent.$parent.search()"
20
- condition="f_apply_num = '{}'">
21
- </div>
22
- <div class="form-group col-sm-3">
23
- <label class="font_normal_body">项目名称:</label>
24
- <input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
25
- v-on:keyup.enter="$parent.$parent.search()" condition="f_entry_name like '%{}%'" placeholder='项目名称'>
26
- </div>
27
- <div class="form-group col-sm-3 button-range">
28
- <button class="button_new button_spacing" style="width: max-content"
29
- @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
30
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
- <div
33
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
- class="button_spacing"
36
- style="float: right">
6
+ <div class="row">
7
+ <div class="form-group col-sm-3">
8
+ <label class="font_normal_body">组织机构:</label>
9
+ <res-select
10
+ restype='organization'
11
+ :initresid='$parent.$parent.curorgid'
12
+ @res-select="$parent.$parent.getorg"
13
+ is-mul="false"
14
+ ></res-select>
15
+ </div>
16
+ <div class="form-group col-sm-3">
17
+ <label class="font_normal_body">工程编号:</label>
18
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
19
+ v-on:keyup.enter="$parent.$parent.search()"
20
+ condition="f_apply_num = '{}'">
21
+ </div>
22
+ <div class="form-group col-sm-3">
23
+ <label class="font_normal_body">客户名称:</label>
24
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
25
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
26
+ </div>
27
+ <div class="form-group col-sm-3 button-range">
28
+ <button class="button_new button_spacing" style="width: max-content"
29
+ @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
30
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+ <div
33
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
34
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
35
+ class="button_spacing"
36
+ style="float: right">
37
+ </div>
37
38
  </div>
38
39
  </div>
39
- </div>
40
- <div class="row" v-show="$parent.$parent.criteriaShow">
41
- <div class="form-group col-sm-3">
42
- <label class="font_normal_body">客户名称:</label>
43
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
44
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
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_phone"
49
- v-on:keyup.enter="$parent.$parent.search()"
50
- condition="f_phone 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_contract_number"
55
- v-on:keyup.enter="$parent.$parent.search()"
56
- condition="f_contract_number = '{}'">
57
- </div>
58
- <div class="form-group col-sm-3">
59
- <label class="font_normal_body">报建类型:</label>
60
- <v-select
61
- v-model="model.f_apply_type"
62
- placeholder='报建类型'
63
- condition="f_apply_type like '%{}%'"
64
- :value.sync="model.f_apply_type"
65
- :options='$parent.$parent.applytype'
66
- class="select select_list"
67
- :value-single="true"
68
- @change="$parent.$parent.applyTypeChange()"
69
- close-on-select ></v-select>
70
- </div>
71
- <div class="form-group col-sm-3">
72
- <label class="font_normal_body">办理环节:</label>
73
- <v-select
74
- v-model="model.defname"
75
- placeholder='办理环节'
76
- condition="defname = '{}'"
77
- :value.sync="model.defname"
78
- :options='$parent.$parent.defnames'
79
- class="select select_list"
80
- :value-single="true"
81
- close-on-select ></v-select>
82
- </div>
83
- <div class="form-group col-sm-3">
84
- <label class="font_normal_body">用户地址:</label>
85
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
86
- v-on:keyup.enter="$parent.$parent.search()"
87
- condition="f_address like '%{}%'">
88
- </div>
89
- <div class="form-group col-sm-3">
90
- <label for="startDate" class="font_normal_body">开始时间:</label>
91
- <datepicker id="startDate" placeholder="开始日期"
92
- style="width: 60%!important;"
93
- v-model="model.startDate"
94
- :value.sync="model.startDate"
95
- :format="'yyyy-MM-dd HH:mm:ss'"
96
- :show-reset-button="true"
97
- condition="f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
98
- </datepicker>
99
- </div>
100
- <div class="form-group col-sm-3">
101
- <label for="endDate" class="font_normal_body">结束时间:</label>
102
- <datepicker id="endDate" placeholder="结束日期"
103
- style="width: 60%!important;"
104
- v-model="model.endDate"
105
- :value.sync="model.endDate"
106
- :format="'yyyy-MM-dd HH:mm:ss'"
107
- :show-reset-button="true"
108
- condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
109
- </datepicker>
40
+ <div class="row" v-show="$parent.$parent.criteriaShow">
41
+ <div class="form-group col-sm-3">
42
+ <label class="font_normal_body">联系电话:</label>
43
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
44
+ v-on:keyup.enter="$parent.$parent.search()"
45
+ condition="f_phone like '%{}%'">
46
+ </div>
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">合同编号:</label>
49
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="f_contract_number = '{}'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">报建类型:</label>
55
+ <v-select
56
+ v-model="model.f_apply_type"
57
+ placeholder='报建类型'
58
+ condition="f_apply_type like '%{}%'"
59
+ :value.sync="model.f_apply_type"
60
+ :options='$parent.$parent.applytype'
61
+ class="select select_list"
62
+ :value-single="true"
63
+ @change="$parent.$parent.applyTypeChange()"
64
+ close-on-select ></v-select>
65
+ </div>
66
+ <div class="form-group col-sm-3">
67
+ <label class="font_normal_body">办理环节:</label>
68
+ <v-select
69
+ v-model="model.defname"
70
+ placeholder='办理环节'
71
+ condition="defname = '{}'"
72
+ :value.sync="model.defname"
73
+ :options='$parent.$parent.defnames'
74
+ class="select select_list"
75
+ :value-single="true"
76
+ close-on-select ></v-select>
77
+ </div>
78
+ <div class="form-group col-sm-3">
79
+ <label class="font_normal_body">用户地址:</label>
80
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
81
+ v-on:keyup.enter="$parent.$parent.search()"
82
+ condition="f_address like '%{}%'">
83
+ </div>
84
+ <div class="form-group col-sm-3">
85
+ <label for="startDate" class="font_normal_body">开始时间:</label>
86
+ <datepicker id="startDate" placeholder="开始日期"
87
+ style="width: 60%!important;"
88
+ v-model="model.startDate"
89
+ :value.sync="model.startDate"
90
+ :format="'yyyy-MM-dd HH:mm:ss'"
91
+ :show-reset-button="true"
92
+ condition="f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
93
+ </datepicker>
94
+ </div>
95
+ <div class="form-group col-sm-3">
96
+ <label for="endDate" class="font_normal_body">结束时间:</label>
97
+ <datepicker id="endDate" placeholder="结束日期"
98
+ style="width: 60%!important;"
99
+ v-model="model.endDate"
100
+ :value.sync="model.endDate"
101
+ :format="'yyyy-MM-dd HH:mm:ss'"
102
+ :show-reset-button="true"
103
+ condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
104
+ </datepicker>
105
+ </div>
110
106
  </div>
111
107
  </div>
112
- </div>
113
108
  </criteria>
114
109
  <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
115
110
  <template partial='head'>
116
111
  <tr>
117
112
  <th style="white-space: nowrap;">序号</th>
118
113
  <th style="white-space: nowrap;">工程编号</th>
119
- <th style="white-space: nowrap;">项目名称</th>
120
114
  <th style="white-space: nowrap;">客户名称</th>
121
115
  <th style="white-space: nowrap;">合同编号</th>
122
116
  <th style="white-space: nowrap;">电话</th>
@@ -126,59 +120,56 @@
126
120
  <th style="white-space: nowrap;">办理环节</th>
127
121
  <th style="white-space: nowrap;">流程状态</th>
128
122
  <th style="white-space: nowrap;">报建日期</th>
129
- <th style="white-space: nowrap;">操作</th>
123
+ <!-- <th style="white-space: nowrap;">操作</th>-->
130
124
  </tr>
131
125
  </template>
132
126
  <template partial='body'>
133
127
  <tr >
134
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
128
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
135
129
  <nobr><font>{{$index+1}}</font></nobr>
136
130
  </td>
137
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
131
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
138
132
  <nobr><font>{{row.f_apply_num}}</font></nobr>
139
133
  </td>
140
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
141
- <nobr><font>{{row.f_entry_name}}</font></nobr>
142
- </td>
143
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
134
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
144
135
  <nobr><font>{{row.f_user_name}}</font></nobr>
145
136
  </td>
146
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
137
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
147
138
  <nobr><font>{{row.f_contract_number}}</font></nobr>
148
139
  </td>
149
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
140
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
150
141
  <nobr><font>{{row.f_phone}}</font></nobr>
151
142
  </td>
152
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
143
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
153
144
  <nobr><font>{{row.f_address}}</font></nobr>
154
145
  </td>
155
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
146
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
156
147
  <nobr><font>{{row.f_apply_source}}</font></nobr>
157
148
  </td>
158
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
149
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
159
150
  <nobr><font>{{row.f_apply_type}}</font></nobr>
160
151
  </td>
161
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
152
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
162
153
  <nobr><font>{{row.defname}}</font></nobr>
163
154
  </td>
164
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
155
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
165
156
  <nobr><font>{{row.f_sub_state}}</font></nobr>
166
157
  </td>
167
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
158
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
168
159
  <nobr><font>{{row.f_apply_date}}</font></nobr>
169
160
  </td>
170
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
171
- <dropdown>
172
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
173
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
174
- </button>
175
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
176
- <li>
177
- <a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
178
- </li>
179
- </ul>
180
- </dropdown>
181
- </td>
161
+ <!-- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">-->
162
+ <!-- <dropdown>-->
163
+ <!-- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">-->
164
+ <!-- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>-->
165
+ <!-- </button>-->
166
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">-->
167
+ <!-- <li>-->
168
+ <!-- <a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>-->
169
+ <!-- </li>-->
170
+ <!-- </ul>-->
171
+ <!-- </dropdown>-->
172
+ <!-- </td>-->
182
173
  </tr>
183
174
  </template>
184
175
  </data-grid>
@@ -213,7 +204,7 @@
213
204
  </div>
214
205
  </template>
215
206
  <script>
216
- import {PagedList} from 'vue-client'
207
+ import {HttpResetClass, PagedList} from 'vue-client'
217
208
  import {isEmpty} from '../../Util'
218
209
 
219
210
  export default {
@@ -249,7 +240,9 @@
249
240
  let data = {
250
241
  workname: processname
251
242
  }
252
- let res = await this.$resetpost(
243
+ let http = new HttpResetClass()
244
+ let res = await http.load(
245
+ 'POST',
253
246
  'rs/logic/getProcessId',
254
247
  {data: data},
255
248
  {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
@@ -266,18 +259,27 @@
266
259
  let data = {
267
260
  f_apply_type: this.applyType
268
261
  }
269
- if (this.applyType === '开发商集体报建') {
270
- data.processname = '开发商集体报建流程'
271
- data.defname = '用户受理'
262
+ if (this.applyType === '散户报建') {
263
+ data.processname = '散户报建流程'
264
+ data.defname = '报装申请'
272
265
  } else if (this.applyType === '工商户报建') {
273
266
  data.processname = '工商户报建流程'
274
- data.defname = '用户受理'
275
- } else if (this.applyType === '散户报建') {
276
- data.processname = '散户报建流程'
277
- data.defname = '用户受理'
278
- } else if (this.applyType === '预埋管报建') {
279
- data.processname = '预埋管报建流程'
280
- data.defname = '用户受理'
267
+ data.defname = '报装申请'
268
+ } else if (this.applyType === '改管报建') {
269
+ data.processname = '改管报建流程'
270
+ data.defname = '报装申请'
271
+ } else if (this.applyType === '增容报建') {
272
+ data.processname = '增容报建流程'
273
+ data.defname = '报装申请'
274
+ } else if (this.applyType === '团购报建') {
275
+ data.processname = '团购报建流程'
276
+ data.defname = '报装申请'
277
+ } else if (this.applyType === '退款报建') {
278
+ data.processname = '退款报建流程'
279
+ data.defname = '终止报建'
280
+ } else if (this.applyType === '团购转散户') {
281
+ data.processname = '团购转散户报建流程'
282
+ data.defname = '信息确认'
281
283
  } else {
282
284
  this.$showMessage('暂无此类报装')
283
285
  return
@@ -1,128 +1,128 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
- <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.defname'>
10
- <service-control v-ref:service :selectdata="selectdata"></service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload :blodid="selectdata.f_process_id"
14
- :isupload = "true"
15
- :isdelete="true"
16
- :isusetype="true"
17
- :isremark = "true"
18
- :takeimg="true"
19
- :issearch="true"
20
- :defname="selectdata.defname">
21
- </apply-upload>
22
- </tab>
23
- </tabset>
24
- </div>
25
- </div>
26
- </div>
27
- </template>
28
- <script>
29
- import Vue from 'vue'
30
- import {HttpResetClass} from 'vue-client'
31
- export default {
32
- title: '报建流程',
33
- data () {
34
- return {
35
- showQuery: true, // 控制查询页
36
- showData: true, // 控制列表数据
37
- showtotal: false, // 详情显示
38
- selectdata: {},
39
- xmlname: '' // 配置文件名
40
- }
41
- },
42
- ready () {
43
- },
44
- methods: {
45
- // 获取页面配置json文件
46
- async loadName () {
47
-
48
- let data = {
49
- workname: this.selectdata.processname
50
- }
51
- let http = new HttpResetClass()
52
- let res = await http.load(
53
- 'POST',
54
- 'rs/logic/ApplyGetConfigs',
55
- {data: data},
56
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
57
- )
58
-
59
- Vue.prototype.$workflow_vue = res.data
60
- }
61
- },
62
- events: {
63
- 'onMessage' (data) {
64
- console.log('接收消息')
65
- console.log(data)
66
- if (data.type === 'apply-task') {
67
- this.$refs.query.$refs.cp.$refs.cri.search()
68
- }
69
- },
70
- // 刷新控制层
71
- async 'breakControl' (servicedata) {
72
-
73
- if (servicedata.id) {
74
- let data = {
75
- condition: `u.id = ${servicedata.id}`,
76
- data: {
77
- id: this.$login.f.id,
78
- orgid: this.$login.f.orgid
79
- }
80
- }
81
- let res = await this.$resetpost(
82
- 'rs/sql/checkuser',
83
- {data: data},
84
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
85
- )
86
-
87
- this.selectdata = res.data[0]
88
- } else {
89
- this.selectdata = servicedata
90
- }
91
-
92
- this.showtotal = false
93
- this.$nextTick(() => {
94
- this.showtotal = true
95
- })
96
-
97
- },
98
- // 初始化
99
- async 'apply' (val) {
100
- this.showtotal = false
101
- this.selectdata = val
102
-
103
- // 次方法必须同步执行,否则后续会出问题
104
- // 获取页面json配置文件
105
- await this.loadName()
106
-
107
- // 显示详细
108
- this.showtotal = true
109
- // 关闭列表数据
110
- this.showData = false
111
- // 关闭分页
112
- this.$refs.query.$refs.cp.pager = false
113
- },
114
- 'search' () {
115
- // 关闭详细
116
- this.showtotal = false
117
- // 显示列表数据
118
- this.showData = true
119
- // 显示分页
120
- this.$refs.query.$refs.cp.pager = true
121
- // 调用查询
122
- this.$refs.query.$refs.cp.$refs.cri.search()
123
- }
124
- },
125
- watch: {
126
- }
127
- }
128
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
+ <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.defname'>
10
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload :blodid="selectdata.f_process_id"
14
+ :isupload = "true"
15
+ :isdelete="true"
16
+ :isusetype="true"
17
+ :isremark = "true"
18
+ :takeimg="true"
19
+ :issearch="true"
20
+ :defname="selectdata.defname">
21
+ </apply-upload>
22
+ </tab>
23
+ </tabset>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </template>
28
+ <script>
29
+ import Vue from 'vue'
30
+ import {HttpResetClass} from 'vue-client'
31
+ export default {
32
+ title: '报建流程',
33
+ data () {
34
+ return {
35
+ showQuery: true, // 控制查询页
36
+ showData: true, // 控制列表数据
37
+ showtotal: false, // 详情显示
38
+ selectdata: {},
39
+ xmlname: '' // 配置文件名
40
+ }
41
+ },
42
+ ready () {
43
+ },
44
+ methods: {
45
+ // 获取页面配置json文件
46
+ async loadName () {
47
+
48
+ let data = {
49
+ workname: this.selectdata.processname
50
+ }
51
+ let http = new HttpResetClass()
52
+ let res = await http.load(
53
+ 'POST',
54
+ 'rs/logic/ApplyGetConfigs',
55
+ {data: data},
56
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
57
+ )
58
+
59
+ Vue.prototype.$workflow_vue = res.data
60
+ }
61
+ },
62
+ events: {
63
+ 'onMessage' (data) {
64
+ console.log('接收消息')
65
+ console.log(data)
66
+ if (data.type === 'apply-task') {
67
+ this.$refs.query.$refs.cp.$refs.cri.search()
68
+ }
69
+ },
70
+ // 刷新控制层
71
+ async 'breakControl' (servicedata) {
72
+
73
+ if (servicedata.id) {
74
+ let data = {
75
+ condition: `u.id = ${servicedata.id}`,
76
+ data: {
77
+ id: this.$login.f.id,
78
+ orgid: this.$login.f.orgid
79
+ }
80
+ }
81
+ let res = await this.$resetpost(
82
+ 'rs/sql/checkuser',
83
+ {data: data},
84
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
85
+ )
86
+
87
+ this.selectdata = res.data[0]
88
+ } else {
89
+ this.selectdata = servicedata
90
+ }
91
+
92
+ this.showtotal = false
93
+ this.$nextTick(() => {
94
+ this.showtotal = true
95
+ })
96
+
97
+ },
98
+ // 初始化
99
+ async 'apply' (val) {
100
+ this.showtotal = false
101
+ this.selectdata = val
102
+
103
+ // 次方法必须同步执行,否则后续会出问题
104
+ // 获取页面json配置文件
105
+ await this.loadName()
106
+
107
+ // 显示详细
108
+ this.showtotal = true
109
+ // 关闭列表数据
110
+ this.showData = false
111
+ // 关闭分页
112
+ this.$refs.query.$refs.cp.pager = false
113
+ },
114
+ 'search' () {
115
+ // 关闭详细
116
+ this.showtotal = false
117
+ // 显示列表数据
118
+ this.showData = true
119
+ // 显示分页
120
+ this.$refs.query.$refs.cp.pager = true
121
+ // 调用查询
122
+ this.$refs.query.$refs.cp.$refs.cri.search()
123
+ }
124
+ },
125
+ watch: {
126
+ }
127
+ }
128
+ </script>