apply-clients 3.4.2 → 3.4.3

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 (85) 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 +7 -1
  12. package/src/applyAndroid.js +32 -32
  13. package/src/applyDingDing.js +12 -0
  14. package/src/components/android/AppOnetomany.vue +301 -301
  15. package/src/components/android/AppServiceView.vue +566 -566
  16. package/src/components/android/AppSign.vue +142 -142
  17. package/src/components/android/AppTakePic.vue +143 -143
  18. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  19. package/src/components/android/Process/AppServiceControl.vue +757 -757
  20. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  21. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  22. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  23. package/src/components/android/TaskGraph.vue +125 -125
  24. package/src/components/product/Business/BusinessApply.vue +269 -0
  25. package/src/components/product/Business/CivilApply.vue +269 -0
  26. package/src/components/product/Function/InstallFunction.vue +131 -125
  27. package/src/components/product/Function/InstallInfoSelect.vue +300 -292
  28. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  29. package/src/components/product/GroupByApply/ApplyGroupByList.vue +253 -0
  30. package/src/components/product/GroupByApply/ApplyGroupByMain.vue +53 -0
  31. package/src/components/product/GroupByApply/ApplyGroupByPaper.vue +376 -0
  32. package/src/components/product/Material/MaterialDetailed.vue +262 -0
  33. package/src/components/product/Onetomany.vue +377 -377
  34. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -0
  35. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +157 -0
  36. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  37. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +7 -0
  39. package/src/components/product/Process/ExplorationUser.vue +138 -138
  40. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  41. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  42. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  43. package/src/components/product/Process/Processes/chargeManagement.vue +638 -639
  44. package/src/components/product/Process/Service/ServiceControl.vue +10 -10
  45. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  46. package/src/components/product/ServiceView.vue +631 -631
  47. package/src/components/product/Stop/StopApply.vue +105 -103
  48. package/src/components/product/Stop/StopApplyList.vue +269 -269
  49. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +186 -186
  50. package/src/components/product/Supervisory/SupervisoryControl.vue +100 -100
  51. package/src/components/product/Supervisory/SupervisoryList.vue +233 -233
  52. package/src/components/product/Supervisory/SupervisoryhCart.vue +107 -107
  53. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  54. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  55. package/src/dingding.js +19 -0
  56. package/src/expandcssAndroid.less +1034 -1034
  57. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +735 -731
  58. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +824 -824
  59. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -650
  60. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -182
  61. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -50
  62. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -50
  63. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -50
  64. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -50
  65. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -60
  66. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +60 -60
  67. package/src/filiale/yuchuan/android.js +14 -14
  68. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +528 -528
  69. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +343 -343
  70. package/src/filiale/yuchuan/pc/Print/BuildOrder/buildOrderList.vue +264 -0
  71. package/src/filiale/yuchuan/pc/Print/BuildOrder/printBuildOrder.vue +152 -0
  72. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +149 -149
  73. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +67 -67
  74. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +809 -809
  75. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -595
  76. package/src/filiale/yuchuan/pc/Process/Processes/Print/printCharge.vue +125 -0
  77. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +621 -470
  78. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +1108 -1074
  79. package/src/filiale/yuchuan/pc/Sign/SignRecord.vue +24 -0
  80. package/src/filiale/yuchuan/pc/Sign/SignRecordList.vue +174 -0
  81. package/src/filiale/yuchuan/pc.js +20 -12
  82. package/src/main.js +1 -1
  83. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  84. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  85. package/src/components/product/Function/functions/StopInstall.vue +0 -106
@@ -1,233 +1,233 @@
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 v-if="$parent.showData" :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
- </tr>
132
- </template>
133
- <template partial='body'>
134
- <tr>
135
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
136
- <nobr>{{$index+1}}</nobr>
137
- </td>
138
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
139
- <nobr>{{row.f_apply_num}}</nobr>
140
- </td>
141
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
142
- <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
143
- </td>
144
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
145
- <nobr>{{row.f_contract_number}}</nobr>
146
- </td>
147
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
148
- <nobr>{{row.f_phone}}</nobr>
149
- </td>
150
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
151
- <nobr>{{row.f_address}}</nobr>
152
- </td>
153
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
154
- <nobr>{{row.f_apply_type}}</nobr>
155
- </td>
156
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
157
- <nobr>{{row.defname}}</nobr>
158
- </td>
159
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
160
- <nobr>{{row.f_sub_state}}</nobr>
161
- </td>
162
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
163
- <nobr>{{row.f_apply_date}}</nobr>
164
- </td>
165
- </tr>
166
- </template>
167
- </data-grid>
168
- </criteria-paged>
169
- </div>
170
- </template>
171
- <script>
172
- import {PagedList} from 'vue-client'
173
- import {isEmpty} from '../../Util'
174
- export default {
175
- title: '勘探详情',
176
- props: ['showData'],
177
- data () {
178
- return {
179
- model: new PagedList('rs/sql/supervisory', 20, {
180
- data: {
181
- orgid: this.$login.f.orgid
182
- }
183
- }),
184
- curorgid: [this.$login.f.orgid],
185
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
186
- defnames: [{label: '全部', value: ''}], // 流程节点
187
- criteriaShow: false
188
- }
189
- },
190
- ready () {
191
- // 调用查询
192
- this.search()
193
- },
194
- events: {
195
- },
196
- methods: {
197
- // 查询
198
- search () {
199
- this.$dispatch('search')
200
- },
201
- check (val) {
202
- this.$dispatch('apply', val)
203
- },
204
- async applyTypeChange () {
205
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
206
- let res = await this.$resetpost('rs/logic/getDefnameByType',
207
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
208
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
209
- )
210
-
211
- this.defnames = [{label: '全部', value: ''}, ...res.data]
212
- } else {
213
- this.defnames = [{label: '全部', value: ''}]
214
- }
215
- },
216
- clear () {
217
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
218
- this.$refs.cp.$refs.cri.model[key] = null
219
- })
220
- },
221
- getorg (val) {
222
- if (val.length <= 0) {
223
- return
224
- }
225
- this.model.params.data.orgid = val[0]
226
- }
227
- },
228
- computed: {
229
- }
230
- }
231
- </script>
232
- <style scoped>
233
- </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 v-if="$parent.showData" :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
+ </tr>
132
+ </template>
133
+ <template partial='body'>
134
+ <tr>
135
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
136
+ <nobr>{{$index+1}}</nobr>
137
+ </td>
138
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
139
+ <nobr>{{row.f_apply_num}}</nobr>
140
+ </td>
141
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
142
+ <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
143
+ </td>
144
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
145
+ <nobr>{{row.f_contract_number}}</nobr>
146
+ </td>
147
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
148
+ <nobr>{{row.f_phone}}</nobr>
149
+ </td>
150
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
151
+ <nobr>{{row.f_address}}</nobr>
152
+ </td>
153
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
154
+ <nobr>{{row.f_apply_type}}</nobr>
155
+ </td>
156
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
157
+ <nobr>{{row.defname}}</nobr>
158
+ </td>
159
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
160
+ <nobr>{{row.f_sub_state}}</nobr>
161
+ </td>
162
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
163
+ <nobr>{{row.f_apply_date}}</nobr>
164
+ </td>
165
+ </tr>
166
+ </template>
167
+ </data-grid>
168
+ </criteria-paged>
169
+ </div>
170
+ </template>
171
+ <script>
172
+ import {PagedList} from 'vue-client'
173
+ import {isEmpty} from '../../Util'
174
+ export default {
175
+ title: '勘探详情',
176
+ props: ['showData'],
177
+ data () {
178
+ return {
179
+ model: new PagedList('rs/sql/supervisory', 20, {
180
+ data: {
181
+ orgid: this.$login.f.orgid
182
+ }
183
+ }),
184
+ curorgid: [this.$login.f.orgid],
185
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
186
+ defnames: [{label: '全部', value: ''}], // 流程节点
187
+ criteriaShow: false
188
+ }
189
+ },
190
+ ready () {
191
+ // 调用查询
192
+ this.search()
193
+ },
194
+ events: {
195
+ },
196
+ methods: {
197
+ // 查询
198
+ search () {
199
+ this.$dispatch('search')
200
+ },
201
+ check (val) {
202
+ this.$dispatch('apply', val)
203
+ },
204
+ async applyTypeChange () {
205
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
206
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
207
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
208
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
209
+ )
210
+
211
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
212
+ } else {
213
+ this.defnames = [{label: '全部', value: ''}]
214
+ }
215
+ },
216
+ clear () {
217
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
218
+ this.$refs.cp.$refs.cri.model[key] = null
219
+ })
220
+ },
221
+ getorg (val) {
222
+ if (val.length <= 0) {
223
+ return
224
+ }
225
+ this.model.params.data.orgid = val[0]
226
+ }
227
+ },
228
+ computed: {
229
+ }
230
+ }
231
+ </script>
232
+ <style scoped>
233
+ </style>