apply-clients 3.5.5-3 → 3.5.5-31

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 (58) hide show
  1. package/build/dev-server.js +4 -16
  2. package/package.json +4 -2
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/Process/Processes/contractModel.vue +437 -458
  11. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  12. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  13. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  14. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  15. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  16. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  17. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  18. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  19. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  20. package/src/filiale/fugou/pc.js +3 -1
  21. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  22. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  23. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  24. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  25. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  26. package/src/filiale/gongyi/android.js +18 -18
  27. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  28. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  29. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  30. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  31. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  32. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  33. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  34. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  35. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  36. package/src/filiale/gongyi/pc.js +24 -24
  37. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  38. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  39. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  40. package/src/filiale/jinhuang/android.js +6 -0
  41. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  42. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  43. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +39 -1
  44. package/src/filiale/jinhuang/pc.js +2 -0
  45. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  46. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  47. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +2 -2
  48. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +570 -518
  49. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1113 -1087
  50. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +0 -3
  51. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +176 -156
  52. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +644 -617
  53. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +592 -547
  54. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2115
  55. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +684 -683
  56. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +4 -3
  57. package/src/main.js +3 -3
  58. package/~/chatbot/main.py +0 -57
@@ -137,12 +137,13 @@
137
137
  <div class="col-sm-8">
138
138
  <input-select
139
139
  class="select select_list"
140
- :value.sync="item.material"
141
- v-model="item.material"
140
+ v-model="item.material_unique_value"
141
+ :value.sync="item.material_unique_value"
142
142
  :options="meterialOptions"
143
143
  :disable="mark === 1"
144
144
  @change="modifyOtherValue(i)"
145
- :valueSingle="true"></input-select>
145
+ :valueSingle="true">
146
+ </input-select>
146
147
  </div>
147
148
  </div>
148
149
  <div class="form-group col-sm-6" :class="[item.f_material_name ? '' : 'has-error']">
@@ -319,24 +320,27 @@
319
320
  )
320
321
 
321
322
  this.meterialOptions = res.data.map(item => {
323
+ const uniqueValue = item.f_material_code || `${item.f_material_name}--${item.f_material_style}`;
322
324
  return {
323
- 'label': `${item.f_material_name}--${item.f_material_style}`,
324
- 'value': item
325
+ label: `${item.f_material_name}--${item.f_material_style}`,
326
+ value: uniqueValue,
327
+ raw: item
325
328
  }
326
329
  })
327
330
  },
328
331
  modifyOtherValue(index) {
329
- console.log("进来了", index)
330
- console.log("dddd", this.materials[index].material)
331
- if(this.materials[index].material){
332
- let material = this.materials[index].material
333
- this.materials[index].f_material_price = material.f_material_price
334
- this.materials[index].f_material_name = material.f_material_name
335
- this.materials[index].f_material_style = material.f_material_style
336
- this.materials[index].f_material_unit = material.f_material_unit
337
- this.materials[index].f_material_number = material.f_material_number
338
- this.materials[index].f_material_code = material.f_material_code
339
- this.materials[index].f_userinfo_code = material.f_userinfo_code
332
+ const uniqueValue = this.materials[index].material_unique_value;
333
+ const selected = this.meterialOptions.find(opt => opt.value === uniqueValue);
334
+ if (selected) {
335
+ const material = selected.raw;
336
+ this.materials[index].material = material;
337
+ this.materials[index].f_material_price = material.f_material_price;
338
+ this.materials[index].f_material_name = material.f_material_name;
339
+ this.materials[index].f_material_style = material.f_material_style;
340
+ this.materials[index].f_material_unit = material.f_material_unit;
341
+ this.materials[index].f_material_number = material.f_material_number;
342
+ this.materials[index].f_material_code = material.f_material_code;
343
+ this.materials[index].f_userinfo_code = material.f_userinfo_code;
340
344
  }else{
341
345
  this.materials[index].f_material_price =''
342
346
  this.materials[index].f_material_name = ''
@@ -405,7 +405,9 @@ export default {
405
405
  )
406
406
 
407
407
  this.closeDevices()
408
- this.$dispatch('breakControl')
408
+ this.search()
409
+ //去掉控制层刷新,避免将没有保存的数据刷新掉
410
+ // this.$dispatch('breakControl')
409
411
  },
410
412
  pushDevice () {
411
413
  this.userfile.devicesinfo.push({})
@@ -346,7 +346,8 @@ export default {
346
346
  })
347
347
 
348
348
  this.closeUserFile()
349
- this.$dispatch('breakControl')
349
+ this.search()
350
+ // this.$dispatch('breakControl')
350
351
  },
351
352
  // 检查表号是否存在
352
353
  async meternumberValidate(i) {
@@ -163,7 +163,9 @@ export default {
163
163
  let checkList
164
164
  if (this.selectdata.f_apply_type == '工商户报建'){
165
165
  checkList = this.$appdata.getParam("报建非民用检查项目")
166
- }else {
166
+ }else if(this.selectdata.f_apply_type == '团购报建'){
167
+ checkList = this.$appdata.getParam("报建团购检查项目")
168
+ } else{
167
169
  checkList = this.$appdata.getParam("报建民用检查项目")
168
170
  }
169
171
 
@@ -0,0 +1,291 @@
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
+
8
+ <div class="form-group col-sm-3">
9
+ <label class="font_normal_body">工程编号:</label>
10
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
11
+ v-on:keyup.enter="search"
12
+ condition="f_apply_num like '%{}%'">
13
+ </div>
14
+ <div class="form-group col-sm-3">
15
+ <label class="font_normal_body">客户名称:</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
17
+ v-on:keyup.enter="$parent.$parent.search()" condition="a.f_user_name like '%{}%'" placeholder='客户名称'>
18
+ </div>
19
+ <div class="form-group col-sm-3">
20
+ <label class="font_normal_body">用户地址:</label>
21
+ <input type="text" style="width:60%" class="input_search" placeholder='用户地址' v-model="model.f_address"
22
+ v-on:keyup.enter="search"
23
+ condition="f_address like '%{}%'">
24
+ </div>
25
+ <div class="form-group col-sm-2 button-range">
26
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <div
29
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
30
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
31
+ class="button_spacing"
32
+ style="float: right">
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div class="row" v-show="$parent.$parent.criteriaShow">
37
+ <div class="form-group col-sm-3">
38
+ <label class="font_normal_body">组织机构:</label>
39
+ <res-select
40
+ restype='organization'
41
+ :initresid='$parent.$parent.curorgid'
42
+ @res-select="$parent.$parent.getorg"
43
+ is-mul="false"
44
+ ></res-select>
45
+ </div>
46
+ <div class="form-group col-sm-3">
47
+ <label class="font_normal_body">用户编号:</label>
48
+ <input type="text" style="width:60%" class="input_search" placeholder='用户编号' v-model="model.f_userinfo_code"
49
+ v-on:keyup.enter="$parent.$parent.search()"
50
+ condition="f_userinfo_code like '%{}%'">
51
+ </div>
52
+ <div class="form-group col-sm-3">
53
+ <label class="font_normal_body">联系电话:</label>
54
+ <input type="text" style="width:60%" class="input_search" placeholder='联系电话' v-model="model.f_phone"
55
+ v-on:keyup.enter="search"
56
+ condition="f_phone like '%{}%'">
57
+ </div>
58
+ <div class="form-group col-sm-3">
59
+ <label class="font_normal_body">合同编号:</label>
60
+ <input type="text" style="width:60%" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
61
+ v-on:keyup.enter="search"
62
+ condition="f_contract_number = '{}'">
63
+ </div>
64
+ <div class="form-group col-sm-3">
65
+ <label class="font_normal_body">报建类型:</label>
66
+ <v-select
67
+ v-model="model.f_apply_type"
68
+ placeholder='报建类型'
69
+ condition="f_apply_type = '{}'"
70
+ :value.sync="model.f_apply_type"
71
+ :options='$parent.$parent.applytype'
72
+ class="select select_list"
73
+ :value-single="true"
74
+ @change="$parent.$parent.applyTypeChange()"
75
+ close-on-select ></v-select>
76
+ </div>
77
+ <div class="form-group col-sm-3">
78
+ <label class="font_normal_body">类型:</label>
79
+ <v-select
80
+ v-model="model.f_type"
81
+ placeholder='报建类型'
82
+ condition="f_type = '{}'"
83
+ :value.sync="model.f_type"
84
+ :options='$parent.$parent.types'
85
+ class="select select_list"
86
+ :value-single="true"
87
+ close-on-select ></v-select>
88
+ </div>
89
+ <div class="form-group col-sm-3">
90
+ <label class="font_normal_body">办理环节:</label>
91
+ <v-select
92
+ v-model="model.defname"
93
+ placeholder='办理环节'
94
+ condition="defname = '{}'"
95
+ :value.sync="model.defname"
96
+ :options='$parent.$parent.defnames'
97
+ class="select select_list"
98
+ :value-single="true"
99
+ close-on-select ></v-select>
100
+ </div>
101
+ <div class="form-group col-sm-3">
102
+ <label class="font_normal_body">报建性质:</label>
103
+ <v-select
104
+ v-model="model.f_apply_nature"
105
+ placeholder='报建性质'
106
+ condition="f_apply_nature = '{}'"
107
+ :value.sync="model.f_apply_nature"
108
+ :options='$parent.$parent.applyNatures'
109
+ class="select select_list"
110
+ :value-single="true"
111
+ close-on-select ></v-select>
112
+ </div>
113
+ <div class="form-group col-sm-3">
114
+ <label for="startDate" class="font_normal_body">开始时间:</label>
115
+ <datepicker id="startDate" placeholder="开始日期"
116
+ style="width: 60%!important;"
117
+ v-model="model.startDate"
118
+ :value.sync="model.startDate"
119
+ :format="'yyyy-MM-dd 00:00:00'"
120
+ :show-reset-button="true"
121
+ condition="f_stop_date >= '{}'">
122
+ </datepicker>
123
+ </div>
124
+ <div class="form-group col-sm-3">
125
+ <label for="endDate" class="font_normal_body">结束时间:</label>
126
+ <datepicker id="endDate" placeholder="结束日期"
127
+ style="width: 60%!important;"
128
+ v-model="model.endDate"
129
+ :value.sync="model.endDate"
130
+ :format="'yyyy-MM-dd 23:59:59'"
131
+ :show-reset-button="true"
132
+ condition="f_stop_date <= '{}'">
133
+ </datepicker>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
139
+ <template partial='head'>
140
+ <tr>
141
+ <th style="white-space: nowrap;">序号</th>
142
+ <th style="white-space: nowrap;">操作</th>
143
+ <th style="white-space: nowrap;">报建编号</th>
144
+ <th style="white-space: nowrap;">客户名称</th>
145
+ <th style="white-space: nowrap;">联系人</th>
146
+ <th style="white-space: nowrap;">电话</th>
147
+ <th style="white-space: nowrap;">报建类型</th>
148
+ <th style="white-space: nowrap;">办理环节</th>
149
+ <th style="white-space: nowrap;">类型</th>
150
+ <th style="white-space: nowrap;">状态</th>
151
+ <th style="white-space: nowrap;">终止原因</th>
152
+ <th style="white-space: nowrap;">终止时间</th>
153
+ <th style="white-space: nowrap;">终止人</th>
154
+ <th style="white-space: nowrap;">撤销原因</th>
155
+ <th style="white-space: nowrap;">撤销时间</th>
156
+ <th style="white-space: nowrap;">撤销人</th>
157
+ </tr>
158
+ </template>
159
+ <template partial='body'>
160
+ <tr>
161
+ <td style="text-align: center;">
162
+ <nobr>{{$index+1}}</nobr>
163
+ </td>
164
+ <td style="text-align: center;">
165
+ <dropdown v-if="row.f_type === '暂停报建' && row.f_state === '有效'">
166
+ <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
167
+ <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
168
+ </button>
169
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-left">
170
+ <li>
171
+ <a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
172
+ </li>
173
+ </ul>
174
+ </dropdown>
175
+ </td>
176
+ <td style="text-align: center;">
177
+ <nobr>{{row.f_apply_num}}</nobr>
178
+ </td>
179
+ <td style="text-align: center;">
180
+ <nobr>{{row.f_user_name}}</nobr>
181
+ </td>
182
+ <td style="text-align: center;">
183
+ <nobr>{{row.f_contact}}</nobr>
184
+ </td>
185
+ <td style="text-align: center;">
186
+ <nobr>{{row.f_phone}}</nobr>
187
+ </td>
188
+ <td style="text-align: center;">
189
+ <nobr>{{row.f_apply_type}}</nobr>
190
+ </td>
191
+ <td style="text-align: center;">
192
+ <nobr>{{row.defname}}</nobr>
193
+ </td>
194
+ <td style="text-align: center;">
195
+ <nobr>{{row.f_type}}</nobr>
196
+ </td>
197
+ <td style="text-align: center;">
198
+ <nobr>{{row.f_state}}</nobr>
199
+ </td>
200
+ <td style="text-align: center;">
201
+ <nobr>{{row.f_stop_reason}}</nobr>
202
+ </td>
203
+ <td style="text-align: center;">
204
+ <nobr>{{row.f_stop_date}}</nobr>
205
+ </td>
206
+ <td style="text-align: center;">
207
+ <nobr>{{row.f_operator}}</nobr>
208
+ </td>
209
+ <td style="text-align: center;">
210
+ <nobr>{{row.f_cancel_reason}}</nobr>
211
+ </td>
212
+ <td style="text-align: center;">
213
+ <nobr>{{row.f_cancel_date}}</nobr>
214
+ </td>
215
+ <td style="text-align: center;">
216
+ <nobr>{{row.f_cancel_operator}}</nobr>
217
+ </td>
218
+ </tr>
219
+ </template>
220
+ </data-grid>
221
+ </criteria-paged>
222
+ </div>
223
+ </template>
224
+ <script>
225
+ import {PagedList} from 'vue-client'
226
+ import {isEmpty} from '../../../components/Util'
227
+ export default {
228
+ title: '勘探详情',
229
+ data () {
230
+ return {
231
+ model: new PagedList('rs/sql/getStopApply', 20, {
232
+ data: {
233
+ orgid: this.$login.f.orgid
234
+ }
235
+ }),
236
+ curorgid: [this.$login.f.orgid],
237
+ applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
238
+ types: [{label: '全部', value: ''},{label: '暂停报建', value: '暂停报建'}, {label: '终止报建', value: '终止报建'}],
239
+ defnames: [{label: '全部', value: ''}], // 流程节点
240
+ applyNatures: [{label: '全部', value: ''}], // 报建性质
241
+ criteriaShow: false
242
+ }
243
+ },
244
+ ready () {
245
+ // 调用查询
246
+ this.search()
247
+ },
248
+ events: {
249
+ },
250
+ methods: {
251
+ // 查询
252
+ search () {
253
+ this.$dispatch('search')
254
+ },
255
+ click (row) {
256
+ this.$dispatch('cancelStopApply', row)
257
+ },
258
+ async applyTypeChange () {
259
+ if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
260
+ let res = await this.$resetpost('rs/logic/getDefnameByType',
261
+ { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
262
+ {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
263
+ )
264
+
265
+ this.defnames = [{label: '全部', value: ''}, ...res.data]
266
+
267
+ 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}性质`)]
268
+ } else {
269
+ this.defnames = [{label: '全部', value: ''}]
270
+
271
+ this.applyNatures = [{label: '全部', value: ''}]
272
+ }
273
+ },
274
+ clear () {
275
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
276
+ this.$refs.cp.$refs.cri.model[key] = null
277
+ })
278
+ },
279
+ getorg (val) {
280
+ if (val.length <= 0) {
281
+ return
282
+ }
283
+ this.model.params.data.orgid = val[0]
284
+ }
285
+ },
286
+ computed: {
287
+ }
288
+ }
289
+ </script>
290
+ <style scoped>
291
+ </style>