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,269 @@
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 like '%{}%'"
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
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
79
- v-on:keyup.enter="search"
80
- condition="f_address like '%{}%'">
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label for="startDate" class="font_normal_body">开始时间:</label>
84
- <datepicker id="startDate" placeholder="开始日期"
85
- style="width: 60%!important;"
86
- v-model="model.startDate"
87
- :value.sync="model.startDate"
88
- :format="'yyyy-MM-dd HH:mm:ss'"
89
- :show-reset-button="true"
90
- condition="f_apply_date >= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
91
- </datepicker>
92
- </div>
93
- <div class="form-group col-sm-3">
94
- <label for="endDate" class="font_normal_body">结束时间:</label>
95
- <datepicker id="endDate" placeholder="结束日期"
96
- style="width: 60%!important;"
97
- v-model="model.endDate"
98
- :value.sync="model.endDate"
99
- :format="'yyyy-MM-dd HH:mm:ss'"
100
- :show-reset-button="true"
101
- condition="f_apply_date <= to_date('{}', 'yyyy-mm-dd hh24:mi:ss')">
102
- </datepicker>
103
- </div>
104
- </div>
105
- </div>
106
- </criteria>
107
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
108
- <template partial='head'>
109
- <tr>
110
- <th style="white-space: nowrap;">序号</th>
111
- <th style="white-space: nowrap;">报建编号</th>
112
- <th style="white-space: nowrap;">客户名称</th>
113
- <th style="white-space: nowrap;">联系人</th>
114
- <th style="white-space: nowrap;">电话</th>
115
- <th style="white-space: nowrap;">报建类型</th>
116
- <th style="white-space: nowrap;">办理环节</th>
117
- <th style="white-space: nowrap;">类型</th>
118
- <th style="white-space: nowrap;">状态</th>
119
- <th style="white-space: nowrap;">终止原因</th>
120
- <th style="white-space: nowrap;">终止时间</th>
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
- </tr>
127
- </template>
128
- <template partial='body'>
129
- <tr>
130
- <td style="text-align: center;">
131
- <nobr>{{$index+1}}</nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr>{{row.f_apply_num}}</nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr>{{row.f_user_name}}</nobr>
138
- </td>
139
- <td style="text-align: center;">
140
- <nobr>{{row.f_contact}}</nobr>
141
- </td>
142
- <td style="text-align: center;">
143
- <nobr>{{row.f_phone}}</nobr>
144
- </td>
145
- <td style="text-align: center;">
146
- <nobr>{{row.f_apply_type}}</nobr>
147
- </td>
148
- <td style="text-align: center;">
149
- <nobr>{{row.defname}}</nobr>
150
- </td>
151
- <td style="text-align: center;">
152
- <nobr>{{row.f_type}}</nobr>
153
- </td>
154
- <td style="text-align: center;">
155
- <nobr>{{row.f_state}}</nobr>
156
- </td>
157
- <td style="text-align: center;">
158
- <nobr>{{row.f_stop_reason}}</nobr>
159
- </td>
160
- <td style="text-align: center;">
161
- <nobr>{{row.f_stop_date}}</nobr>
162
- </td>
163
- <td style="text-align: center;">
164
- <nobr>{{row.f_operator}}</nobr>
165
- </td>
166
- <td style="text-align: center;">
167
- <nobr>{{row.f_cancel_reason}}</nobr>
168
- </td>
169
- <td style="text-align: center;">
170
- <nobr>{{row.f_cancel_date}}</nobr>
171
- </td>
172
- <td style="text-align: center;">
173
- <nobr>{{row.f_cancel_operator}}</nobr>
174
- </td>
175
- <td style="text-align: center;">
176
- <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
177
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
178
- <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
179
- </button>
180
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
181
- <li>
182
- <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
183
- </li>
184
- </ul>
185
- </dropdown>
186
- </td>
187
- </tr>
188
- </template>
189
- </data-grid>
190
- </criteria-paged>
191
- </div>
192
- </template>
193
- <script>
194
- import {PagedList} from 'vue-client'
195
- import {isEmpty} from '../../Util'
196
- export default {
197
- title: '勘探详情',
198
- data () {
199
- return {
200
- model: new PagedList('rs/sql/getStopApply', 20, {
201
- data: {
202
- orgid: this.$login.f.orgid
203
- }
204
- }),
205
- curorgid: [this.$login.f.orgid],
206
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
207
- defnames: [{label: '全部', value: ''}], // 流程节点
208
- criteriaShow: false
209
- }
210
- },
211
- ready () {
212
- // 调用查询
213
- this.search()
214
- },
215
- events: {
216
- },
217
- methods: {
218
- // 查询
219
- search () {
220
- this.$dispatch('search')
221
- },
222
- click (row) {
223
- this.$dispatch('cancelStopApply', row)
224
- },
225
- async applyTypeChange () {
226
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
227
- let res = await this.$resetpost('rs/logic/getDefnameByType',
228
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
229
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
230
- )
231
-
232
- this.defnames = [{label: '全部', value: ''}, ...res.data]
233
- } else {
234
- this.defnames = [{label: '全部', value: ''}]
235
- }
236
- },
237
- clear () {
238
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
239
- this.$refs.cp.$refs.cri.model[key] = null
240
- })
241
- },
242
- getorg (val) {
243
- if (val.length <= 0) {
244
- return
245
- }
246
- this.model.params.data.orgid = val[0]
247
- }
248
- },
249
- computed: {
250
- }
251
- }
252
- </script>
253
- <style scoped>
254
- </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_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>