apply-clients 3.4.2 → 3.4.4

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 (130) hide show
  1. package/android.html +23 -23
  2. package/build/dev-server.js +119 -119
  3. package/build/webpack.base.conf.js +2 -1
  4. package/build/webpack.dev.conf.js +12 -0
  5. package/dingding.html +23 -0
  6. package/index.html +33 -33
  7. package/package.json +2 -1
  8. package/src/AndroidApp.vue +35 -35
  9. package/src/DingDingApp.vue +51 -0
  10. package/src/android.js +21 -21
  11. package/src/apply.js +38 -13
  12. package/src/applyAndroid.js +46 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +343 -301
  15. package/src/components/android/AppServiceView.vue +189 -10
  16. package/src/components/android/AppSign.vue +19 -7
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/AreaSelect/AppQrcodeReader.vue +73 -0
  19. package/src/components/android/AreaSelect/AppResAreaMapGroup.vue +148 -0
  20. package/src/components/android/AreaSelect/AppResAreaSelect.vue +108 -0
  21. package/src/components/android/AreaSelect/AppResAreaSelectGroup.vue +142 -0
  22. package/src/components/android/Function/AppFunctionServiceControl.vue +344 -0
  23. package/src/components/android/Function/AppInstallFunction.vue +366 -0
  24. package/src/components/android/Process/AppExplorationUser.vue +500 -320
  25. package/src/components/android/Process/AppServiceControl.vue +999 -48
  26. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +477 -0
  27. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -0
  28. package/src/components/android/Process/Processes/AppChargeManagement.vue +637 -0
  29. package/src/components/android/Process/Processes/AppDevicesManagement.vue +519 -0
  30. package/src/components/android/Process/Processes/AppInstallationDetails.vue +116 -90
  31. package/src/components/android/Process/Processes/AppSupplementalAgreement.vue +298 -0
  32. package/src/components/android/Process/Processes/selectApply.vue +250 -0
  33. package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
  34. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  35. package/src/components/android/Supervisory/AppProcessSupervisory.vue +205 -71
  36. package/src/components/android/Supervisory/AppSupervisoryCart.vue +69 -34
  37. package/src/components/android/TaskGraph.vue +125 -125
  38. package/src/components/common/TabButton.vue +149 -0
  39. package/src/components/common/Tabs.vue +67 -0
  40. package/src/components/image/dwg.jpg +0 -0
  41. package/src/components/image/txt.jpg +0 -0
  42. package/src/components/image//345/221/250/345/217/243/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  43. package/src/components/image//350/245/277/345/215/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  44. package/src/components/image//351/203/270/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  45. package/src/components/image//351/241/271/345/237/216/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  46. package/src/components/image//351/271/277/351/202/221/346/224/266/346/254/276/344/270/223/347/224/250/347/253/240.png +0 -0
  47. package/src/components/product/ApplyCharge/ApplyChargeList.vue +272 -53
  48. package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +3 -3
  49. package/src/components/product/AreaSelect/MyAreaSelect.vue +423 -0
  50. package/src/components/product/AreaSelect/ResAreaSelect.vue +106 -0
  51. package/src/components/product/AreaSelect/ResAreaSelectGroup.vue +150 -0
  52. package/src/components/product/AreaSelect/utils/EventListener.js +29 -0
  53. package/src/components/product/AreaSelect/utils/coerceBoolean.js +7 -0
  54. package/src/components/product/Business/BusinessApply.vue +269 -0
  55. package/src/components/product/Business/CivilApply.vue +269 -0
  56. package/src/components/product/Function/InstallFunction.vue +132 -125
  57. package/src/components/product/Function/InstallInfoSelect.vue +320 -292
  58. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -222
  59. package/src/components/product/GaoDeMapComponents/GaoDeMap.vue +231 -0
  60. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  61. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  62. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  63. package/src/components/product/Install/InstallProject.vue +194 -0
  64. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  65. package/src/components/product/OldApply/Handle/HandleApply.vue +337 -0
  66. package/src/components/product/OldApply/Monitor/MonitorApply.vue +360 -0
  67. package/src/components/product/OldApply/OldApply.vue +209 -0
  68. package/src/components/product/OldApply/OldApplyMessage.vue +420 -0
  69. package/src/components/product/Onetomany.vue +406 -377
  70. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  71. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  72. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  73. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  74. package/src/components/product/Process/ExplorationSelect.vue +495 -410
  75. package/src/components/product/Process/ExplorationUser.vue +189 -138
  76. package/src/components/product/Process/Processes/InstallationDetails.vue +25 -7
  77. package/src/components/product/Process/Processes/Print/printCharge.vue +41 -17
  78. package/src/components/product/Process/Processes/Print/printChargepc.vue +142 -0
  79. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -0
  80. package/src/components/product/Process/Processes/addMaterialScience.vue +454 -0
  81. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -207
  82. package/src/components/product/Process/Processes/chargeManagement.vue +20 -3
  83. package/src/components/product/Process/Processes/devicesManagement.vue +484 -478
  84. package/src/components/product/Process/Processes/selectApply.vue +2 -2
  85. package/src/components/product/Process/Service/ServiceControl.vue +638 -20
  86. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  87. package/src/components/product/Process/ShowBackReason.vue +33 -0
  88. package/src/components/product/ServiceView.vue +357 -7
  89. package/src/components/product/Stop/StopApply.vue +101 -103
  90. package/src/components/product/Stop/StopApplyList.vue +271 -269
  91. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +884 -186
  92. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -100
  93. package/src/components/product/Supervisory/SupervisoryList.vue +201 -30
  94. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -107
  95. package/src/components/product/VueUtils/ApplyUpload.vue +275 -273
  96. package/src/components/product/VueUtils/GaoPaiYi/HighMeter.vue +1090 -0
  97. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  98. package/src/components/product/VueUtils/ToolsPage.vue +51 -0
  99. package/src/components/product/VueUtils/Tree.vue +330 -0
  100. package/src/dingding.js +19 -0
  101. package/src/expandcssAndroid.less +517 -1034
  102. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  103. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  104. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  105. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  106. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  107. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  108. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  109. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  110. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  111. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  112. package/src/filiale/yuchuan/android.js +14 -14
  113. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  114. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  115. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  116. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  117. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  118. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  119. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  120. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  121. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  122. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  123. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  124. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  125. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  126. package/src/filiale/yuchuan/pc.js +20 -12
  127. package/src/main.js +4 -1
  128. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  129. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  130. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -1,269 +1,271 @@
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
- <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="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
-
28
- <div class="form-group col-sm-2 button-range">
29
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
30
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
- <div
32
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
33
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
34
- class="button_spacing"
35
- style="float: right">
36
- </div>
37
- </div>
38
- </div>
39
- <div class="row" v-show="$parent.$parent.criteriaShow">
40
- <div class="form-group col-sm-3">
41
- <label class="font_normal_body">客户名称:</label>
42
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
43
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
44
- </div>
45
- <div class="form-group col-sm-3">
46
- <label class="font_normal_body">联&ensp;系&ensp;人:</label>
47
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contact"
48
- v-on:keyup.enter="$parent.$parent.search()" condition="f_contact like '%{}%'" placeholder='联系人'>
49
- </div>
50
- <div class="form-group col-sm-3">
51
- <label class="font_normal_body">合同编号:</label>
52
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
53
- v-on:keyup.enter="search"
54
- condition="f_contract_number = '{}'">
55
- </div>
56
- <div class="form-group col-sm-3">
57
- <label class="font_normal_body">报建类型:</label>
58
- <v-select
59
- v-model="model.f_apply_type"
60
- placeholder='报建类型'
61
- condition="f_apply_type like '%{}%'"
62
- :value.sync="model.f_apply_type"
63
- :options='$parent.$parent.applytype'
64
- class="select select_list"
65
- :value-single="true"
66
- @change="$parent.$parent.applyTypeChange()"
67
- close-on-select ></v-select>
68
- </div>
69
- <div class="form-group col-sm-3">
70
- <label class="font_normal_body">办理环节:</label>
71
- <v-select
72
- v-model="model.defname"
73
- placeholder='办理环节'
74
- condition="defname = '{}'"
75
- :value.sync="model.defname"
76
- :options='$parent.$parent.defnames'
77
- class="select select_list"
78
- :value-single="true"
79
- close-on-select ></v-select>
80
- </div>
81
- <div class="form-group col-sm-3">
82
- <label class="font_normal_body">联系电话:</label>
83
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
84
- v-on:keyup.enter="search"
85
- condition="f_phone like '%{}%'">
86
- </div>
87
- <div class="form-group col-sm-3">
88
- <label class="font_normal_body">用户地址:</label>
89
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
90
- v-on:keyup.enter="search"
91
- condition="f_address like '%{}%'">
92
- </div>
93
- <div class="form-group col-sm-3">
94
- <label for="startDate" class="font_normal_body">开始时间:</label>
95
- <datepicker id="startDate" placeholder="开始日期"
96
- style="width: 60%!important;"
97
- v-model="model.startDate"
98
- :value.sync="model.startDate"
99
- :format="'yyyy-MM-dd HH:mm:ss'"
100
- :show-reset-button="true"
101
- condition="f_apply_date >= '{}'">
102
- </datepicker>
103
- </div>
104
- <div class="form-group col-sm-3">
105
- <label for="endDate" class="font_normal_body">结束时间:</label>
106
- <datepicker id="endDate" placeholder="结束日期"
107
- style="width: 60%!important;"
108
- v-model="model.endDate"
109
- :value.sync="model.endDate"
110
- :format="'yyyy-MM-dd HH:mm:ss'"
111
- :show-reset-button="true"
112
- condition="f_apply_date <= '{}'">
113
- </datepicker>
114
- </div>
115
- </div>
116
- </div>
117
- </criteria>
118
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
119
- <template partial='head'>
120
- <tr>
121
- <th style="white-space: nowrap;">序号</th>
122
- <th style="white-space: nowrap;">报建编号</th>
123
- <th style="white-space: nowrap;">项目名称</th>
124
- <th style="white-space: nowrap;">客户名称</th>
125
- <th style="white-space: nowrap;">联系人</th>
126
- <th style="white-space: nowrap;">电话</th>
127
- <th style="white-space: nowrap;">报建类型</th>
128
- <th style="white-space: nowrap;">办理环节</th>
129
- <th style="white-space: nowrap;">类型</th>
130
- <th style="white-space: nowrap;">状态</th>
131
- <th style="white-space: nowrap;">终止原因</th>
132
- <th style="white-space: nowrap;">终止时间</th>
133
- <th style="white-space: nowrap;">终止人</th>
134
- <th style="white-space: nowrap;">撤销原因</th>
135
- <th style="white-space: nowrap;">撤销时间</th>
136
- <th style="white-space: nowrap;">撤销人</th>
137
- <th style="white-space: nowrap;">操作</th>
138
- </tr>
139
- </template>
140
- <template partial='body'>
141
- <tr>
142
- <td style="text-align: center;">
143
- <nobr>{{$index+1}}</nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr>{{row.f_apply_num}}</nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr>{{row.f_entry_name}}</nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_user_name}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_contact}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{row.f_phone}}</nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr>{{row.f_apply_type}}</nobr>
162
- </td>
163
- <td style="text-align: center;">
164
- <nobr>{{row.defname}}</nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr>{{row.f_type}}</nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr>{{row.f_state}}</nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr>{{row.f_stop_reason}}</nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <nobr>{{row.f_stop_date}}</nobr>
177
- </td>
178
- <td style="text-align: center;">
179
- <nobr>{{row.f_operator}}</nobr>
180
- </td>
181
- <td style="text-align: center;">
182
- <nobr>{{row.f_cancel_reason}}</nobr>
183
- </td>
184
- <td style="text-align: center;">
185
- <nobr>{{row.f_cancel_date}}</nobr>
186
- </td>
187
- <td style="text-align: center;">
188
- <nobr>{{row.f_cancel_operator}}</nobr>
189
- </td>
190
- <td style="text-align: center;">
191
- <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
192
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
193
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
194
- </button>
195
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
196
- <li>
197
- <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
198
- </li>
199
- </ul>
200
- </dropdown>
201
- </td>
202
- </tr>
203
- </template>
204
- </data-grid>
205
- </criteria-paged>
206
- </div>
207
- </template>
208
- <script>
209
- import {PagedList} from 'vue-client'
210
- import {isEmpty} from '../../Util'
211
- export default {
212
- title: '勘探详情',
213
- data () {
214
- return {
215
- model: new PagedList('rs/sql/getStopApply', 20, {
216
- data: {
217
- orgid: this.$login.f.orgid
218
- }
219
- }),
220
- curorgid: [this.$login.f.orgid],
221
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
222
- defnames: [{label: '全部', value: ''}], // 流程节点
223
- criteriaShow: false
224
- }
225
- },
226
- ready () {
227
- // 调用查询
228
- this.search()
229
- },
230
- events: {
231
- },
232
- methods: {
233
- // 查询
234
- search () {
235
- this.$dispatch('search')
236
- },
237
- click (row) {
238
- this.$dispatch('cancelStopApply', row)
239
- },
240
- async applyTypeChange () {
241
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
242
- let res = await this.$resetpost('rs/logic/getDefnameByType',
243
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
244
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
245
- )
246
-
247
- this.defnames = [{label: '全部', value: ''}, ...res.data]
248
- } else {
249
- this.defnames = [{label: '全部', value: ''}]
250
- }
251
- },
252
- clear () {
253
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
254
- this.$refs.cp.$refs.cri.model[key] = null
255
- })
256
- },
257
- getorg (val) {
258
- if (val.length <= 0) {
259
- return
260
- }
261
- this.model.params.data.orgid = val[0]
262
- }
263
- },
264
- computed: {
265
- }
266
- }
267
- </script>
268
- <style scoped>
269
- </style>
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
+ <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="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-2 button-range">
28
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
30
+ <div
31
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
32
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
33
+ class="button_spacing"
34
+ style="float: right">
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="row" v-show="$parent.$parent.criteriaShow">
39
+ <div class="form-group col-sm-3">
40
+ <label class="font_normal_body">联系电话:</label>
41
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
42
+ v-on:keyup.enter="search"
43
+ condition="f_phone like '%{}%'">
44
+ </div>
45
+ <div class="form-group col-sm-3">
46
+ <label class="font_normal_body">合同编号:</label>
47
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
48
+ v-on:keyup.enter="search"
49
+ condition="f_contract_number = '{}'">
50
+ </div>
51
+ <div class="form-group col-sm-3">
52
+ <label class="font_normal_body">报建类型:</label>
53
+ <v-select
54
+ v-model="model.f_apply_type"
55
+ placeholder='报建类型'
56
+ condition="f_apply_type = '{}'"
57
+ :value.sync="model.f_apply_type"
58
+ :options='$parent.$parent.applytype'
59
+ class="select select_list"
60
+ :value-single="true"
61
+ @change="$parent.$parent.applyTypeChange()"
62
+ close-on-select ></v-select>
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">办理环节:</label>
66
+ <v-select
67
+ v-model="model.defname"
68
+ placeholder='办理环节'
69
+ condition="defname = '{}'"
70
+ :value.sync="model.defname"
71
+ :options='$parent.$parent.defnames'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ close-on-select ></v-select>
75
+ </div>
76
+ <div class="form-group col-sm-3">
77
+ <label class="font_normal_body">报建性质:</label>
78
+ <v-select
79
+ v-model="model.f_apply_nature"
80
+ placeholder='报建性质'
81
+ condition="f_apply_nature = '{}'"
82
+ :value.sync="model.f_apply_nature"
83
+ :options='$parent.$parent.applyNatures'
84
+ class="select select_list"
85
+ :value-single="true"
86
+ close-on-select ></v-select>
87
+ </div>
88
+ <div class="form-group col-sm-3">
89
+ <label class="font_normal_body">用户地址:</label>
90
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
91
+ v-on:keyup.enter="search"
92
+ condition="f_address like '%{}%'">
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label for="startDate" class="font_normal_body">开始时间:</label>
96
+ <datepicker id="startDate" placeholder="开始日期"
97
+ style="width: 60%!important;"
98
+ v-model="model.startDate"
99
+ :value.sync="model.startDate"
100
+ :format="'yyyy-MM-dd 00:00:00'"
101
+ :show-reset-button="true"
102
+ condition="f_apply_date >= '{}'">
103
+ </datepicker>
104
+ </div>
105
+ <div class="form-group col-sm-3">
106
+ <label for="endDate" class="font_normal_body">结束时间:</label>
107
+ <datepicker id="endDate" placeholder="结束日期"
108
+ style="width: 60%!important;"
109
+ v-model="model.endDate"
110
+ :value.sync="model.endDate"
111
+ :format="'yyyy-MM-dd 23:59:59'"
112
+ :show-reset-button="true"
113
+ condition="f_apply_date <= '{}'">
114
+ </datepicker>
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </criteria>
119
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
120
+ <template partial='head'>
121
+ <tr>
122
+ <th style="white-space: nowrap;">序号</th>
123
+ <th style="white-space: nowrap;">报建编号</th>
124
+ <th style="white-space: nowrap;">客户名称</th>
125
+ <th style="white-space: nowrap;">联系人</th>
126
+ <th style="white-space: nowrap;">电话</th>
127
+ <th style="white-space: nowrap;">报建类型</th>
128
+ <th style="white-space: nowrap;">办理环节</th>
129
+ <th style="white-space: nowrap;">类型</th>
130
+ <th style="white-space: nowrap;">状态</th>
131
+ <th style="white-space: nowrap;">终止原因</th>
132
+ <th style="white-space: nowrap;">终止时间</th>
133
+ <th style="white-space: nowrap;">终止人</th>
134
+ <th style="white-space: nowrap;">撤销原因</th>
135
+ <th style="white-space: nowrap;">撤销时间</th>
136
+ <th style="white-space: nowrap;">撤销人</th>
137
+ <th style="white-space: nowrap;">操作</th>
138
+ </tr>
139
+ </template>
140
+ <template partial='body'>
141
+ <tr>
142
+ <td style="text-align: center;">
143
+ <nobr>{{$index+1}}</nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr>{{row.f_apply_num}}</nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_user_name}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_contact}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_phone}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_apply_type}}</nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr>{{row.defname}}</nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr>{{row.f_type}}</nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_state}}</nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr>{{row.f_stop_reason}}</nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_stop_date}}</nobr>
174
+ </td>
175
+ <td style="text-align: center;">
176
+ <nobr>{{row.f_operator}}</nobr>
177
+ </td>
178
+ <td style="text-align: center;">
179
+ <nobr>{{row.f_cancel_reason}}</nobr>
180
+ </td>
181
+ <td style="text-align: center;">
182
+ <nobr>{{row.f_cancel_date}}</nobr>
183
+ </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.f_cancel_operator}}</nobr>
186
+ </td>
187
+ <td style="text-align: center;">
188
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
189
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
190
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
191
+ </button>
192
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
193
+ <li>
194
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
195
+ </li>
196
+ </ul>
197
+ </dropdown>
198
+ </td>
199
+ </tr>
200
+ </template>
201
+ </data-grid>
202
+ </criteria-paged>
203
+ </div>
204
+ </template>
205
+ <script>
206
+ import {PagedList} from 'vue-client'
207
+ import {isEmpty} from '../../Util'
208
+ export default {
209
+ title: '勘探详情',
210
+ data () {
211
+ return {
212
+ model: new PagedList('rs/sql/getStopApply', 20, {
213
+ data: {
214
+ orgid: this.$login.f.orgid
215
+ }
216
+ }),
217
+ curorgid: [this.$login.f.orgid],
218
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
219
+ defnames: [{label: '全部', value: ''}], // 流程节点
220
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
221
+ criteriaShow: false
222
+ }
223
+ },
224
+ ready () {
225
+ // 调用查询
226
+ this.search()
227
+ },
228
+ events: {
229
+ },
230
+ methods: {
231
+ // 查询
232
+ search () {
233
+ this.$dispatch('search')
234
+ },
235
+ click (row) {
236
+ this.$dispatch('cancelStopApply', row)
237
+ },
238
+ async applyTypeChange () {
239
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
240
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
241
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
242
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
243
+ )
244
+
245
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
246
+
247
+ 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}性质`)]
248
+ } else {
249
+ this.defnames = [{label: '全部', value: ''}]
250
+
251
+ this.applyNatures = [{label: '全部', value: ''}]
252
+ }
253
+ },
254
+ clear () {
255
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
256
+ this.$refs.cp.$refs.cri.model[key] = null
257
+ })
258
+ },
259
+ getorg (val) {
260
+ if (val.length <= 0) {
261
+ return
262
+ }
263
+ this.model.params.data.orgid = val[0]
264
+ }
265
+ },
266
+ computed: {
267
+ }
268
+ }
269
+ </script>
270
+ <style scoped>
271
+ </style>