apply-clients 3.3.89 → 3.3.93

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.
@@ -28,12 +28,27 @@ var proxyTable = {
28
28
  '/rs/entity/t_apply': {
29
29
  target: 'http://127.0.0.1:8080'
30
30
  },
31
+ '/rs/logic/ApplyProductService': {
32
+ target: 'http://127.0.0.1:8080'
33
+ },
34
+ '/rs/sql/checkuser': {
35
+ target: 'http://127.0.0.1:8080'
36
+ },
31
37
  '/rs/logic/exportfile': {
32
38
  target: ldap
33
39
  },
34
40
  '/rs/logic/getBatchOperaPro': {
35
41
  target: ldap
36
42
  },
43
+ '/rs/sql/getApplyCharge': {
44
+ target: 'http://127.0.0.1:8080'
45
+ },
46
+ '/rs/sql/getChargeAll': {
47
+ target: 'http://127.0.0.1:8080'
48
+ },
49
+ '/rs/sql/supervisory': {
50
+ target: 'http://127.0.0.1:8080'
51
+ },
37
52
  '/rs/logic/updateApplyOrder': {
38
53
  target: ldap
39
54
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.89",
3
+ "version": "3.3.93",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -552,10 +552,11 @@ export default {
552
552
  this.refurbish()
553
553
  },
554
554
  async addressTips () {
555
+ let res = ''
555
556
  if (this.show_data.f_apply_type === '报警器报建') {
556
- let res = await this.$showMessage('报警器报建下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
557
+ res = await this.$showMessage('报警器报建下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
557
558
  }else{
558
- let res = await this.$showMessage('增容改管下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
559
+ res = await this.$showMessage('增容改管下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
559
560
  }
560
561
  if (res == 'confirm') {
561
562
  return
@@ -656,10 +656,11 @@ export default {
656
656
  },
657
657
  async addressTips () {
658
658
  // console.log('======================='+this.show_data.f_apply_type)
659
+ let res = ''
659
660
  if (this.show_data.f_apply_type === '报警器报建') {
660
- let res = await this.$showMessage('报警器报建下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
661
+ res = await this.$showMessage('报警器报建下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
661
662
  }else{
662
- let res = await this.$showMessage('增容改管下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
663
+ res = await this.$showMessage('增容改管下单后将不能修改用户信息,请确认用户信息地址等是否正确,如不完善可在档案中进行修正!!!')
663
664
  }
664
665
  if (res == 'confirm') {
665
666
  return
@@ -1,334 +1,378 @@
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
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
- </div>
12
- <div class="form-group col-sm-3">
13
- <label class="font_normal_body">组织机构:</label>
14
- <res-select
15
- restype='organization'
16
- :initresid='$parent.$parent.curorgid'·
17
- @res-select="$parent.$parent.getorg"
18
- is-mul="false"
19
- ></res-select>
20
- </div>
21
- <!-- <div class="form-group col-sm-3">-->
22
- <!-- <label class="font_normal_body">工程编号:</label>-->
23
- <!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
24
- <!-- v-on:keyup.enter="search"-->
25
- <!-- condition="f_apply_num = '{}'">-->
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_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
- <export-excel :data="$parent.$parent.getCondition"
32
- :field="$parent.$parent.getfield"
33
- sqlurl="rs/logic/applyExportfile"
34
- sql-name="supervisory"
35
- template-name='报装信息导出'
36
- :choose-col="true"></export-excel>
37
- <div
38
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
- @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
- class="button_spacing"
41
- style="float: right">
42
- </div>
43
- </div>
44
- </div>
45
- <div class="row" v-show="$parent.$parent.criteriaShow">
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" v-model="model.f_user_name"-->
49
- <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
50
- <!-- </div>-->
51
- <div class="form-group col-sm-3">
52
- <label class="font_normal_body">工程编号:</label>
53
- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
54
- v-on:keyup.enter="search"
55
- condition="f_apply_num = '{}'">
56
- </div>
57
- <div class="form-group col-sm-3">
58
- <label class="font_normal_body">联系电话:</label>
59
- <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
60
- v-on:keyup.enter="search"
61
- condition="f_phone like '%{}%'">
62
- </div>
63
- <div class="form-group col-sm-3">
64
- <label class="font_normal_body">合同编号:</label>
65
- <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
66
- v-on:keyup.enter="search"
67
- condition="f_contract_number = '{}'">
68
- </div>
69
- <div class="form-group col-sm-3">
70
- <label class="font_normal_body">报建类型:</label>
71
- <v-select
72
- v-model="model.f_apply_type"
73
- placeholder='报建类型'
74
- condition="f_apply_type = '{}'"
75
- :value.sync="model.f_apply_type"
76
- :options='$parent.$parent.applytype'
77
- class="select select_list"
78
- :value-single="true"
79
- @change="$parent.$parent.applyTypeChange()"
80
- close-on-select ></v-select>
81
- </div>
82
- <div class="form-group col-sm-3">
83
- <label class="font_normal_body">办理环节:</label>
84
- <v-select
85
- v-model="model.defname"
86
- placeholder='办理环节'
87
- condition="defname = '{}'"
88
- :value.sync="model.defname"
89
- :options='$parent.$parent.defnames'
90
- class="select select_list"
91
- :value-single="true"
92
- close-on-select ></v-select>
93
- </div>
94
- <div class="form-group col-sm-3">
95
- <label class="font_normal_body">报建性质:</label>
96
- <v-select
97
- v-model="model.f_apply_nature"
98
- placeholder='报建性质'
99
- condition="f_apply_nature = '{}'"
100
- :value.sync="model.f_apply_nature"
101
- :options='$parent.$parent.applyNatures'
102
- class="select select_list"
103
- :value-single="true"
104
- close-on-select ></v-select>
105
- </div>
106
- <div class="form-group col-sm-3">
107
- <label class="font_normal_body">流程状态:</label>
108
- <v-select
109
- v-model="model.f_sub_state"
110
- placeholder='流程状态'
111
- condition="f_sub_state = '{}'"
112
- :value.sync="model.f_sub_state"
113
- :options='$parent.$parent.subStates'
114
- class="select select_list"
115
- :value-single="true"
116
- close-on-select ></v-select>
117
- </div>
118
- <div class="form-group col-sm-3">
119
- <label class="font_normal_body">用户地址:</label>
120
- <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
121
- v-on:keyup.enter="search"
122
- condition="f_address like '%{}%'">
123
- </div>
124
- <div class="form-group col-sm-3">
125
- <label for="startDate" class="font_normal_body">开始时间:</label>
126
- <datepicker id="startDate" placeholder="开始日期"
127
- style="width: 60%!important;"
128
- v-model="model.startDate"
129
- :value.sync="model.startDate"
130
- :format="'yyyy-MM-dd 00:00:00'"
131
- :show-reset-button="true"
132
- condition="f_apply_date >= '{}'">
133
- </datepicker>
134
- </div>
135
- <div class="form-group col-sm-3">
136
- <label for="endDate" class="font_normal_body">结束时间:</label>
137
- <datepicker id="endDate" placeholder="结束日期"
138
- style="width: 60%!important;"
139
- v-model="model.endDate"
140
- :value.sync="model.endDate"
141
- :format="'yyyy-MM-dd 23:59:59'"
142
- :show-reset-button="true"
143
- condition="f_apply_date <= '{}'">
144
- </datepicker>
145
- </div>
146
- <div class="form-group col-sm-3">
147
- <label class="font_normal_body">施工单位:</label>
148
- <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
149
- v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
150
- </div>
151
- <div class="form-group col-sm-3">
152
- <label class="font_normal_body">表&emsp;&emsp;号:</label>
153
- <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
154
- v-on:keyup.enter="$parent.$parent.search()"
155
- condition="f_meternumber like '%{}%'">
156
- </div>
157
- </div>
158
- </div>
159
- </criteria>
160
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
161
- <template partial='head'>
162
- <tr>
163
- <th style="white-space: nowrap;">序号</th>
164
- <th style="white-space: nowrap;">工程编号</th>
165
- <th style="white-space: nowrap;">客户名称</th>
166
- <th style="white-space: nowrap;">合同编号</th>
167
- <th style="white-space: nowrap;">电话</th>
168
- <th style="white-space: nowrap;">地址</th>
169
- <th style="white-space: nowrap;">来源</th>
170
- <th style="white-space: nowrap;">报建类型</th>
171
- <th style="white-space: nowrap;">办理环节</th>
172
- <th style="white-space: nowrap;">流程状态</th>
173
- <th style="white-space: nowrap;">报建日期</th>
174
- <th style="white-space: nowrap;">安装项目</th>
175
- <th style="white-space: nowrap;">施工单位</th>
176
- <th style="white-space: nowrap;">施工时间</th>
177
- </tr>
178
- </template>
179
- <template partial='body'>
180
- <tr>
181
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
182
- <nobr>{{$index+1}}</nobr>
183
- </td>
184
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
185
- <nobr>{{row.f_apply_num}}</nobr>
186
- </td>
187
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
188
- <nobr>{{row.f_user_name}}</nobr>
189
- </td>
190
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
191
- <nobr>{{row.f_contract_number}}</nobr>
192
- </td>
193
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
194
- <nobr>{{row.f_phone}}</nobr>
195
- </td>
196
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
197
- <nobr>{{row.f_address}}</nobr>
198
- </td>
199
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
200
- <nobr>{{row.f_apply_source}}</nobr>
201
- </td>
202
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
203
- <nobr>{{row.f_apply_type}}</nobr>
204
- </td>
205
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
206
- <nobr>{{row.defname}}</nobr>
207
- </td>
208
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
209
- <nobr>{{row.f_sub_state}}</nobr>
210
- </td>
211
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
212
- <nobr>{{row.f_apply_date}}</nobr>
213
- </td>
214
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
215
- <nobr>{{row.f_install_project}}</nobr>
216
- </td>
217
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
218
- <nobr>{{row.f_construction_unit}}</nobr>
219
- </td>
220
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
221
- <nobr>{{row.f_construction_date}}</nobr>
222
- </td>
223
- </tr>
224
- </template>
225
- </data-grid>
226
- </criteria-paged>
227
- </div>
228
- </template>
229
- <script>
230
- import {PagedList} from 'vue-client'
231
- import {isEmpty} from '../../Util'
232
- export default {
233
- title: '勘探详情',
234
- props: ['showData'],
235
- data () {
236
- return {
237
- model: new PagedList('rs/sql/supervisory', 20, {
238
- data: {
239
- orgid: this.$login.f.orgid
240
- }
241
- }),
242
- curorgid: [this.$login.f.orgid],
243
- applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
244
- defnames: [{label: '全部', value: ''}], // 流程节点
245
- applyNatures: [{label: '全部', value: ''}], // 报建性质
246
- criteriaShow: false,
247
- subStates: [
248
- {label: '全部', value: ''},
249
- {label: '新增', value: '新增'},
250
- {label: '暂停', value: '暂停'},
251
- {label: '终止', value: '终止'},
252
- {label: '完工', value: '完工'},
253
- {label: '正在进行', value: '正在进行'}
254
- ], // 流程状态
255
- getfield: {
256
- 'f_apply_num': '工程编号',
257
- 'f_user_name': '客户名称',
258
- 'f_contract_number': '合同编号',
259
- 'f_phone': '电话',
260
- 'f_address': '地址',
261
- 'f_apply_type': '报建类型',
262
- 'f_apply_nature': '报建性质',
263
- 'f_cumulative_payment_money': '收费金额',
264
- 'defname': '办理环节',
265
- 'f_sub_state': '流程状态',
266
- 'f_apply_date': '报建日期',
267
- 'f_apply_remarks': '备注',
268
- 'f_payment_remarks': '缴费备注',
269
- 'f_operator': '发起人',
270
- 'f_install_project': '安装项目',
271
- 'f_construction_unit': '施工单位',
272
- 'f_construction_date': '施工时间',
273
- 'f_meternumber':'表号'
274
- }
275
- }
276
- },
277
- ready () {
278
- // 调用查询
279
- this.search()
280
- },
281
- events: {
282
- },
283
- methods: {
284
- loadPage () {
285
- this.$dispatch('loadPage')
286
- },
287
- // 查询
288
- search () {
289
- this.$dispatch('search')
290
- },
291
- check (val) {
292
- this.$dispatch('apply', val)
293
- },
294
- async applyTypeChange () {
295
- if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
296
- let res = await this.$resetpost('rs/logic/getDefnameByType',
297
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
298
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
299
- )
300
-
301
- this.defnames = [{label: '全部', value: ''}, ...res.data]
302
-
303
- 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}性质`)]
304
- } else {
305
- this.defnames = [{label: '全部', value: ''}]
306
- this.applyNatures = [{label: '全部', value: ''}]
307
- }
308
- },
309
- clear () {
310
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
311
- this.$refs.cp.$refs.cri.model[key] = null
312
- })
313
- },
314
- getorg (val) {
315
- if (val.length <= 0) {
316
- return
317
- }
318
- this.model.params.data.orgid = val[0]
319
- }
320
- },
321
- computed: {
322
- getCondition () {
323
- return {
324
- condition: this.model.condition,
325
- data: {
326
- orgid: this.$login.f.orgid
327
- }
328
- }
329
- }
330
- }
331
- }
332
- </script>
333
- <style scoped>
334
- </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
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
10
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
11
+ </div>
12
+ <div class="form-group col-sm-3">
13
+ <label class="font_normal_body">组织机构:</label>
14
+ <res-select
15
+ restype='organization'
16
+ :initresid='$parent.$parent.curorgid'·
17
+ @res-select="$parent.$parent.getorg"
18
+ is-mul="false"
19
+ ></res-select>
20
+ </div>
21
+ <!-- <div class="form-group col-sm-3">-->
22
+ <!-- <label class="font_normal_body">工程编号:</label>-->
23
+ <!-- <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"-->
24
+ <!-- v-on:keyup.enter="search"-->
25
+ <!-- condition="f_apply_num = '{}'">-->
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_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
30
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
31
+ <export-excel :data="$parent.$parent.getCondition"
32
+ :field="$parent.$parent.getfield"
33
+ sqlurl="rs/logic/applyExportfile"
34
+ sql-name="supervisory"
35
+ template-name='报装信息导出'
36
+ :choose-col="true"></export-excel>
37
+ <div
38
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
40
+ class="button_spacing"
41
+ style="float: right">
42
+ </div>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
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" v-model="model.f_user_name"-->
49
+ <!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>-->
50
+ <!-- </div>-->
51
+ <div class="form-group col-sm-3">
52
+ <label class="font_normal_body">工程编号:</label>
53
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
54
+ v-on:keyup.enter="search"
55
+ condition="f_apply_num = '{}'">
56
+ </div>
57
+ <div class="form-group col-sm-3">
58
+ <label class="font_normal_body">联系电话:</label>
59
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
60
+ v-on:keyup.enter="search"
61
+ condition="f_phone like '%{}%'">
62
+ </div>
63
+ <div class="form-group col-sm-3">
64
+ <label class="font_normal_body">合同编号:</label>
65
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
66
+ v-on:keyup.enter="search"
67
+ condition="f_contract_number = '{}'">
68
+ </div>
69
+ <div class="form-group col-sm-3">
70
+ <label class="font_normal_body">报建类型:</label>
71
+ <v-select
72
+ v-model="model.f_apply_type"
73
+ placeholder='报建类型'
74
+ condition="f_apply_type = '{}'"
75
+ :value.sync="model.f_apply_type"
76
+ :options='$parent.$parent.applytype'
77
+ class="select select_list"
78
+ :value-single="true"
79
+ @change="$parent.$parent.applyTypeChange()"
80
+ close-on-select ></v-select>
81
+ </div>
82
+ <div class="form-group col-sm-3">
83
+ <label class="font_normal_body">办理环节:</label>
84
+ <v-select
85
+ v-model="model.defname"
86
+ placeholder='办理环节'
87
+ condition="defname = '{}'"
88
+ :value.sync="model.defname"
89
+ :options='$parent.$parent.defnames'
90
+ class="select select_list"
91
+ :value-single="true"
92
+ close-on-select ></v-select>
93
+ </div>
94
+ <div class="form-group col-sm-3">
95
+ <label class="font_normal_body">报建性质:</label>
96
+ <v-select
97
+ v-model="model.f_apply_nature"
98
+ placeholder='报建性质'
99
+ condition="f_apply_nature = '{}'"
100
+ :value.sync="model.f_apply_nature"
101
+ :options='$parent.$parent.applyNatures'
102
+ class="select select_list"
103
+ :value-single="true"
104
+ close-on-select ></v-select>
105
+ </div>
106
+ <div class="form-group col-sm-3">
107
+ <label class="font_normal_body">流程状态:</label>
108
+ <v-select
109
+ v-model="model.f_sub_state"
110
+ placeholder='流程状态'
111
+ condition="f_sub_state = '{}'"
112
+ :value.sync="model.f_sub_state"
113
+ :options='$parent.$parent.subStates'
114
+ class="select select_list"
115
+ :value-single="true"
116
+ close-on-select ></v-select>
117
+ </div>
118
+ <div class="form-group col-sm-3">
119
+ <label class="font_normal_body">用户地址:</label>
120
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
121
+ v-on:keyup.enter="search"
122
+ condition="f_address like '%{}%'">
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label for="startDate" class="font_normal_body">开始时间:</label>
126
+ <datepicker id="startDate" placeholder="开始日期"
127
+ style="width: 60%!important;"
128
+ v-model="model.startDate"
129
+ :value.sync="model.startDate"
130
+ :format="'yyyy-MM-dd 00:00:00'"
131
+ :show-reset-button="true"
132
+ condition="f_apply_date >= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ <div class="form-group col-sm-3">
136
+ <label for="endDate" class="font_normal_body">结束时间:</label>
137
+ <datepicker id="endDate" placeholder="结束日期"
138
+ style="width: 60%!important;"
139
+ v-model="model.endDate"
140
+ :value.sync="model.endDate"
141
+ :format="'yyyy-MM-dd 23:59:59'"
142
+ :show-reset-button="true"
143
+ condition="f_apply_date <= '{}'">
144
+ </datepicker>
145
+ </div>
146
+ <div class="form-group col-sm-3">
147
+ <label class="font_normal_body">施工单位:</label>
148
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_construction_unit"
149
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_construction_unit like '%{}%'" placeholder='施工单位'>
150
+ </div>
151
+ <div class="form-group col-sm-3">
152
+ <label class="font_normal_body">表&emsp;&emsp;号:</label>
153
+ <input type="text" style="width:60%" class="input_search" placeholder='表号' v-model="model.f_meternumber"
154
+ v-on:keyup.enter="$parent.$parent.search()"
155
+ condition="f_meternumber like '%{}%'">
156
+ </div>
157
+ <div class="form-group col-sm-3">
158
+ <label class="font_normal_body">领用人:</label>
159
+ <input type="text" style="width:60%" class="input_search" placeholder='领用人' v-model="model.lyr"
160
+ v-on:keyup.enter="$parent.$parent.search()"
161
+ condition="lyr like '%{}%'">
162
+ </div>
163
+ <div class="form-group col-sm-3">
164
+ <label class="font_normal_body">发货人:</label>
165
+ <input type="text" style="width:60%" class="input_search" placeholder='发货人' v-model="model.fyr"
166
+ v-on:keyup.enter="$parent.$parent.search()"
167
+ condition="fyr like '%{}%'">
168
+ </div>
169
+ <div class="form-group col-sm-3">
170
+ <label class="font_normal_body">领用状态:</label>
171
+ <v-select
172
+ v-model="model.frstate"
173
+ placeholder='流程状态'
174
+ condition="frstate = '{}'"
175
+ :value.sync="model.frstate"
176
+ :options='$parent.$parent.lyStates'
177
+ class="select select_list"
178
+ :value-single="true"
179
+ close-on-select ></v-select>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </criteria>
184
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
185
+ <template partial='head'>
186
+ <tr>
187
+ <th style="white-space: nowrap;">序号</th>
188
+ <th style="white-space: nowrap;">工程编号</th>
189
+ <th style="white-space: nowrap;">客户名称</th>
190
+ <th style="white-space: nowrap;">合同编号</th>
191
+ <th style="white-space: nowrap;">电话</th>
192
+ <th style="white-space: nowrap;">地址</th>
193
+ <th style="white-space: nowrap;">来源</th>
194
+ <th style="white-space: nowrap;">报建类型</th>
195
+ <th style="white-space: nowrap;">办理环节</th>
196
+ <th style="white-space: nowrap;">流程状态</th>
197
+ <th style="white-space: nowrap;">报建日期</th>
198
+ <th style="white-space: nowrap;">安装项目</th>
199
+ <th style="white-space: nowrap;">施工单位</th>
200
+ <th style="white-space: nowrap;">施工时间</th>
201
+ <th style="white-space: nowrap;">缴费金额</th>
202
+ <th style="white-space: nowrap;">领用人</th>
203
+ <th style="white-space: nowrap;">发货人</th>
204
+ </tr>
205
+ </template>
206
+ <template partial='body'>
207
+ <tr>
208
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
209
+ <nobr>{{$index+1}}</nobr>
210
+ </td>
211
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
212
+ <nobr>{{row.f_apply_num}}</nobr>
213
+ </td>
214
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
215
+ <nobr>{{row.f_user_name}}</nobr>
216
+ </td>
217
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
218
+ <nobr>{{row.f_contract_number}}</nobr>
219
+ </td>
220
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
221
+ <nobr>{{row.f_phone}}</nobr>
222
+ </td>
223
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
224
+ <nobr>{{row.f_address}}</nobr>
225
+ </td>
226
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
227
+ <nobr>{{row.f_apply_source}}</nobr>
228
+ </td>
229
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
230
+ <nobr>{{row.f_apply_type}}</nobr>
231
+ </td>
232
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
233
+ <nobr>{{row.defname}}</nobr>
234
+ </td>
235
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
236
+ <nobr>{{row.f_sub_state}}</nobr>
237
+ </td>
238
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
239
+ <nobr>{{row.f_apply_date}}</nobr>
240
+ </td>
241
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
242
+ <nobr>{{row.f_install_project}}</nobr>
243
+ </td>
244
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
245
+ <nobr>{{row.f_construction_unit}}</nobr>
246
+ </td>
247
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
248
+ <nobr>{{row.f_construction_date}}</nobr>
249
+ </td>
250
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
251
+ <nobr>{{row.f_cumulative_payment_money}}</nobr>
252
+ </td>
253
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
254
+ <nobr>{{row.lyr}}</nobr>
255
+ </td>
256
+ <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
257
+ <nobr>{{row.fyr}}</nobr>
258
+ </td>
259
+ </tr>
260
+ </template>
261
+ </data-grid>
262
+ </criteria-paged>
263
+ </div>
264
+ </template>
265
+ <script>
266
+ import {PagedList} from 'vue-client'
267
+ import {isEmpty} from '../../Util'
268
+ export default {
269
+ title: '勘探详情',
270
+ props: ['showData'],
271
+ data () {
272
+ return {
273
+ model: new PagedList('rs/sql/supervisory', 20, {
274
+ data: {
275
+ orgid: this.$login.f.orgid
276
+ }
277
+ }),
278
+ curorgid: [this.$login.f.orgid],
279
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
280
+ defnames: [{label: '全部', value: ''}], // 流程节点
281
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
282
+ criteriaShow: false,
283
+ subStates: [
284
+ {label: '全部', value: ''},
285
+ {label: '新增', value: '新增'},
286
+ {label: '暂停', value: '暂停'},
287
+ {label: '终止', value: '终止'},
288
+ {label: '完工', value: '完工'},
289
+ {label: '正在进行', value: '正在进行'}
290
+ ], // 流程状态
291
+ lyStates: [
292
+ {label: '全部', value: ''},
293
+ {label: '已领', value: '已领'},
294
+ {label: '未领', value: '未领'}
295
+
296
+ ], // 流程状态
297
+ getfield: {
298
+ 'f_apply_num': '工程编号',
299
+ 'f_user_name': '客户名称',
300
+ 'f_contract_number': '合同编号',
301
+ 'f_phone': '电话',
302
+ 'f_address': '地址',
303
+ 'f_apply_type': '报建类型',
304
+ 'f_apply_nature': '报建性质',
305
+ 'f_cumulative_payment_money': '收费金额',
306
+ 'defname': '办理环节',
307
+ 'f_sub_state': '流程状态',
308
+ 'f_apply_date': '报建日期',
309
+ 'f_apply_remarks': '备注',
310
+ 'f_payment_remarks': '缴费备注',
311
+ 'f_operator': '发起人',
312
+ 'f_install_project': '安装项目',
313
+ 'f_construction_unit': '施工单位',
314
+ 'f_construction_date': '施工时间',
315
+ 'lyr': '领用人',
316
+ 'fyr': '发货人',
317
+ 'f_meternumber':'表号'
318
+ }
319
+ }
320
+ },
321
+ ready () {
322
+ // 调用查询
323
+ this.search()
324
+ },
325
+ events: {
326
+ },
327
+ methods: {
328
+ loadPage () {
329
+ this.$dispatch('loadPage')
330
+ },
331
+ // 查询
332
+ search () {
333
+ this.$dispatch('search')
334
+ },
335
+ check (val) {
336
+ this.$dispatch('apply', val)
337
+ },
338
+ async applyTypeChange () {
339
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
340
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
341
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
342
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
343
+ )
344
+
345
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
346
+
347
+ 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}性质`)]
348
+ } else {
349
+ this.defnames = [{label: '全部', value: ''}]
350
+ this.applyNatures = [{label: '全部', value: ''}]
351
+ }
352
+ },
353
+ clear () {
354
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
355
+ this.$refs.cp.$refs.cri.model[key] = null
356
+ })
357
+ },
358
+ getorg (val) {
359
+ if (val.length <= 0) {
360
+ return
361
+ }
362
+ this.model.params.data.orgid = val[0]
363
+ }
364
+ },
365
+ computed: {
366
+ getCondition () {
367
+ return {
368
+ condition: this.model.condition,
369
+ data: {
370
+ orgid: this.$login.f.orgid
371
+ }
372
+ }
373
+ }
374
+ }
375
+ }
376
+ </script>
377
+ <style scoped>
378
+ </style>