apply-clients 5.0.35-99 → 5.0.35-ezhou-1

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 (43) hide show
  1. package/dist.7z +0 -0
  2. package/package.json +111 -111
  3. package/src/apply.js +1 -13
  4. package/src/components/app_apply/ApplyToDoList.vue +2586 -76
  5. package/src/components/app_apply/PlaceControler.vue +0 -12
  6. package/src/components/app_apply/ServiceControl.vue +348 -687
  7. package/src/components/app_apply/ezhou/ServiceView.vue +57 -139
  8. package/src/components/product/Common/ApplyValidateBill.vue +6 -13
  9. package/src/components/product/Common/PrintBill.vue +6 -7
  10. package/src/components/product/Function/InstallInfoSelect.vue +2 -3
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -37
  12. package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
  13. package/src/components/product/Function/functions/InstallFee.vue +22 -103
  14. package/src/components/product/Function/functions/InstallFeeInfo.vue +1 -6
  15. package/src/components/product/Process/ExplorationSelect.vue +670 -653
  16. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
  17. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +39 -126
  18. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +1 -1
  19. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1495 -1880
  20. package/src/components/product/ServiceView.vue +5 -15
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +10 -56
  22. package/src/components/product/Supervisory/SupervisoryList.vue +12 -76
  23. package/src/components/product/stopInfo/ApplyStopInfo.vue +1 -2
  24. package/src/ezhouAndroid.js +0 -4
  25. package/src/plugins/commonService.js +1 -1
  26. package/yarn-error.log +8796 -9048
  27. package/src/components/app_apply/Gongcheng.vue +0 -3631
  28. package/src/components/app_apply/OneToMany.vue +0 -194
  29. package/src/components/image/doc.jpg +0 -0
  30. package/src/components/image/dwg.png +0 -0
  31. package/src/components/image/dxf.png +0 -0
  32. package/src/components/image/excel.jpg +0 -0
  33. package/src/components/image/pdf.jpg +0 -0
  34. package/src/components/product/EngineeringManagement/EngineerUpload.vue +0 -304
  35. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +0 -137
  36. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +0 -586
  37. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +0 -281
  38. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +0 -132
  39. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +0 -340
  40. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +0 -490
  41. package/src/components/product/Function/functions/ApplyUpload.vue +0 -556
  42. package/src/components/product/applyReport/ApplyReport.vue +0 -205
  43. package/src/components/product/applyReport/PrintApplyReport.vue +0 -116
@@ -10,13 +10,13 @@
10
10
  <!--</div>-->
11
11
  <validator name="v">
12
12
  <form class="form-horizontal">
13
- <div class="col-sm-12 form-group form-group1">
13
+ <div class="col-sm-12 form-group">
14
14
  <div v-for="(index,item) in data.fields">
15
15
  <!--input-->
16
16
  <div :style="item.style+';height: 34px;'"
17
17
  v-if="item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email'"
18
18
  v-show="!item.hidden"
19
- :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
19
+ :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
20
20
  <label :style="item.label_style? item.label_style:''+';width:85px;'"
21
21
  :class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':item.label_style?'':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
22
22
  <div :style="item.value_style? item.value_style:''"
@@ -36,7 +36,7 @@
36
36
  <!--时间datepicker-->
37
37
  <div :style="item.style? item.style+';height: 34px;':'height: 34px;'" v-if="item.type==='datepicker'"
38
38
  v-show="!item.hidden"
39
- :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
39
+ :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
40
40
  <label style="width:85px"
41
41
  :class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':'control-label control-label-justify col-sm-6'">{{item.label}}</label>
42
42
  <div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'">
@@ -94,7 +94,7 @@
94
94
 
95
95
  <!--select-->
96
96
  <div style="height: 34px" v-if="item.type==='select'" v-show="!item.hidden"
97
- :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group ':'col-sm-4 form-group']">
97
+ :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
98
98
  <label style="width:85px;"
99
99
  :class="item.label_bootstraped?item.label_bootstraped+' control-label control-label-justify':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
100
100
  <input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur="check_disable"
@@ -106,7 +106,6 @@
106
106
 
107
107
  </div>
108
108
 
109
-
110
109
  <!--checkbox-->
111
110
  <div v-if="item.type==='checkbox'"
112
111
  :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-12 form-group']">
@@ -123,7 +122,7 @@
123
122
  </div>
124
123
  <!-- onetomany -->
125
124
  <div class="col-sm-12" v-for="(i,datagrid) in data.onetomany">
126
- <table v-show="!datagrid.hidden" class="table table-bordered table-striped table-hover" style="margin-top: 80px">
125
+ <table v-show="!datagrid.hidden" class="table table-bordered table-striped table-hover">
127
126
  <tr style="background-color: #00A3F0">
128
127
  <th style="text-align: center;border-color: #00A3F0"><font color="white">序号</font></th>
129
128
  <th v-for="labels in datagrid.fields" style="text-align: center;border-color: #00A3F0">
@@ -507,12 +506,6 @@
507
506
  },
508
507
  // 初始化数据
509
508
  initializtion() {
510
- if(this.data.f_apply_type='集体报建' && this.data.f_user_type=='非民用' && this.data.defname=='验收'){
511
- for(let j=0;j< this.data.fields.length;j++) {
512
- this.data.fields[j].required = false
513
- }
514
- }
515
-
516
509
  let fields = this.data.fields
517
510
  let flag = false
518
511
  for (let i = 0; i < fields.length; i++) {
@@ -804,7 +797,4 @@
804
797
  tr {
805
798
  height: 34px;
806
799
  }
807
- .form-group{
808
- margin-top:20px;
809
- }
810
800
  </style>
@@ -20,7 +20,6 @@
20
20
  </template>
21
21
  <script>
22
22
  import {HttpResetClass} from 'vue-client'
23
- import Vue from "vue";
24
23
  export default {
25
24
  title: '报建监控控制层',
26
25
  props: ['selectdata'],
@@ -37,45 +36,6 @@
37
36
  },
38
37
  // json配置数据处理 比如下拉框的options
39
38
  async initializtion() {
40
- // onetomany 数据获取
41
- if (this.data.onetomany) {
42
- console.log('判断是onetomany,this.data.onetomany的数据为=>' + JSON.stringify(this.data.onetomany))
43
- for (let index = 0; index < this.data.onetomany.length; index++) {
44
- let http = new HttpResetClass()
45
- let data = {}
46
- if (this.data.onetomany[index].tables[0] == 't_charge_record') {
47
- data = {
48
- tablename: this.data.onetomany[index].tables[0],
49
- condition: `f_apply_num = '${this.selectdata.f_apply_num}' and f_process_id='${this.selectdata.f_process_id}' and f_charging_status != '作废'`
50
- }
51
- } else {
52
- data = {
53
- tablename: this.data.onetomany[index].tables[0],
54
- condition: `f_process_id='${this.selectdata.f_process_id}'`
55
- }
56
- }
57
- let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
58
- resolveMsg: null,
59
- rejectMsg: 'onetomany查询失败'
60
- })
61
- // 初始化 onetomany
62
- let rows = []
63
- console.log('查询返回结果res.data=>' + JSON.stringify(res.data))
64
- this.data.onetomany[index].rows = res.data
65
- // console.log(JSON.stringify('this.data.onetomany[index].rows=>' + JSON.stringify(this.data.onetomany[index].rows)))
66
-
67
- // 初始化onetomany中的fields
68
- for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
69
- // 如果配置类型为select,优先从参数列表获取options
70
- if (this.data.onetomany[index].fields[j].type === 'select') {
71
- let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
72
- if (temp && temp.length > 0) {
73
- this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
74
- }
75
- }
76
- }
77
- }
78
- }
79
39
  // selectdata 填充 data
80
40
  if (this.selectdata.f_survey_name) {
81
41
  let buyerinfos = []
@@ -133,11 +93,11 @@
133
93
  }
134
94
  this.data.fields[i].readonly = true
135
95
  this.data.fields[i].disabled = true
136
- if(this.$login.r.find(value => value == '报建流程修改') && this.$login.r.includes('报建流程修改')){
96
+ if(this.$login.r.find(value => value == '报建流程修改') && this.data.f_apply_type=='个人报建' && this.$login.r.includes('报建流程修改')){
137
97
  this.data.fields[i].readonly = false
138
98
  this.data.fields[i].disabled = false
139
99
  }
140
- if(this.$login.r.find(value => value == '集体报建流程修改') && this.$login.r.includes('报建流程修改')){
100
+ if(this.$login.r.find(value => value == '集体报建流程修改') && this.data.f_apply_type=='集体报建' && this.$login.r.includes('报建流程修改')){
141
101
  this.data.fields[i].readonly = false
142
102
  this.data.fields[i].disabled = false
143
103
  }
@@ -157,7 +117,7 @@
157
117
  }
158
118
  }
159
119
  this.data.buttons = null
160
- if( this.$login.r.find(value => value == '报建流程修改') ){
120
+ if( this.$login.r.find(value => value == '报建流程修改') && this.data.f_apply_type=='个人报建' ){
161
121
  // 仅留保存按钮
162
122
  this.data.buttons = [
163
123
  {
@@ -165,7 +125,7 @@
165
125
  }
166
126
  ]
167
127
  }
168
- if(this.$login.r.includes('集体报建流程修改')){
128
+ if(this.data.f_apply_type=='集体报建' && this.$login.r.includes('集体报建流程修改')){
169
129
  // 仅留保存按钮
170
130
  this.data.buttons = [
171
131
  {
@@ -173,6 +133,7 @@
173
133
  }
174
134
  ]
175
135
  }
136
+
176
137
  }
177
138
  },
178
139
  events:{
@@ -429,18 +390,11 @@
429
390
  this.data = jsonData
430
391
  this.initializtion()
431
392
  // 完成时间和完成人,部门,分公司
432
- if(this.selectdata.defname =='完工'){ this.data.filiale = this.selectdata.f_filiale
433
- this.data.f_parentname = this.selectdata.f_parentname
434
- this.data.operate_date = this.selectdata.sendtime
435
- this.data.operator = this.selectdata.sender
436
- this.showview = true
437
- }else{
438
- this.data.f_parentname = this.selectdata.f_parentname
439
- this.data.operate_date = this.selectdata.finishtime
440
- this.data.operator = this.selectdata.person
441
- this.showview = true
442
- }
443
-
393
+ this.data.filiale = this.selectdata.f_filiale
394
+ this.data.f_parentname = this.selectdata.f_parentname
395
+ this.data.operate_date = this.selectdata.finishtime
396
+ this.data.operator = this.selectdata.sender
397
+ this.showview = true
444
398
  } else if (sum == 0) {
445
399
  this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
446
400
  } else {
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div class="d1">
3
- <div class="left col-sm-12" style="height:90%;">
3
+ <div class="left col-sm-12">
4
4
  <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
6
  <form novalidate class="" partial>
7
7
  <div class="col-sm-12">
8
8
  <div class="col-sm-2 ">
@@ -53,15 +53,7 @@
53
53
  </v-select>
54
54
  </div>
55
55
  </div>
56
- <div class="col-sm-2" >
57
- <label class="col-sm-4 control-label">支付账户</label>
58
- <div class="col-sm-8">
59
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'安泰',value:'安泰'},{label:'欣泰',value:'欣泰'}]"
60
- condition="f_payment_account = '{}'" placeholder='支付账户'
61
- v-model="model.f_payment_account" :value.sync="model.f_payment_account" close-on-select>
62
- </v-select>
63
- </div>
64
- </div>
56
+
65
57
  </div>
66
58
  <div class="col-sm-12" style="margin-top:5px;">
67
59
  <div class="col-sm-2">
@@ -128,7 +120,7 @@
128
120
  </div>
129
121
  </div>
130
122
  <div class="col-sm-1" style="margin-left:20px;">
131
- <button style="margin-left:5%;" class="btn btn-primary btn-sm width-80 button_spacing" type="button" @click="search(),$parent.$parent.cleaner()">
123
+ <button style="margin-left:5%;" class="btn btn-primary btn-sm width-80 button_spacing" type="button" @click="search(),$parent.$parent.close()">
132
124
  <span class="glyphicon glyphicon-search"></span>查询
133
125
  </button>
134
126
  <button class="btn-primary btn btn-sm button_spacing" @click.prevent="$parent.$parent.clear()">清空</button>
@@ -172,15 +164,6 @@
172
164
  <th>
173
165
  <nobr>报建类型</nobr>
174
166
  </th>
175
- <th>
176
- <nobr>应缴金额</nobr>
177
- </th>
178
- <th>
179
- <nobr>已缴金额</nobr>
180
- </th>
181
- <th>
182
- <nobr>未缴金额</nobr>
183
- </th>
184
167
  <th>
185
168
  <nobr>报建日期</nobr>
186
169
  </th>
@@ -221,15 +204,6 @@
221
204
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
222
205
  <nobr>{{row.f_apply_type}}</nobr>
223
206
  </td>
224
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
225
- <nobr>{{row.f_total_cost}}</nobr>
226
- </td>
227
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
228
- <nobr>{{row.f_cumulative_money}}</nobr>
229
- </td>
230
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
231
- <nobr>{{row.f_unaccounts_money}}</nobr>
232
- </td>
233
207
  <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
234
208
  <nobr>{{row.f_apply_date}}</nobr>
235
209
  </td>
@@ -238,15 +212,6 @@
238
212
  </data-grid>
239
213
  </criteria-paged>
240
214
  </div>
241
- <div class="flex" style="height: 10%;width: 100%;">
242
- <div novalidate class="form-inline auto" partial>
243
- <p class="bg-info text-center" style="padding: 8px;font-size: 20px">合计收费记录共
244
- <span style="color: red">{{model.rows.length}}</span>笔,
245
- 合计应缴总金额<span style="color: red">{{price.rows[0].f_total_cost}}</span>元,
246
- 已缴<span style="color: red">{{price.rows[0].f_cumulative_money}}</span>元,未缴<span style="color: red">{{price.rows[0].f_unaccounts_money}}</span>元
247
- </p>
248
- </div>
249
- </div>
250
215
  </div>
251
216
  </template>
252
217
  <script>
@@ -281,18 +246,9 @@
281
246
  model: new PagedList('rs/sql/supervisory', 20, {
282
247
  data: {
283
248
  id: `${this.$login.f.name}`,
284
- fengongsi: `${this.$login.f.f_fengongsi}`,
285
- f_product_id :0
286
- }
287
- }),
288
- modeluse: new PagedList('rs/sql/supervisory', 999999, {
289
- data: {
290
- id: `${this.$login.f.name}`,
291
- fengongsi: `${this.$login.f.f_fengongsi}`,
292
- f_product_id :0
249
+ fengongsi: `${this.$login.f.f_fengongsi}`
293
250
  }
294
251
  }),
295
- price: new PagedList('rs/sql/getChargeAllSum', 999999, {orderitem: '`f_total_cost`'}),
296
252
  condition: '',
297
253
  select: '',
298
254
  alloptions:[]
@@ -301,30 +257,10 @@
301
257
  ready() {
302
258
  this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
303
259
  this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
304
- this.search()
260
+ this.$refs.cp.$refs.cri.search()
305
261
  this.getConfig();
306
262
  },
307
263
  methods: {
308
- selfSearch (args) {
309
- args.condition = args.condition + ` and u.f_filiale = '${this.$login.f.f_fengongsi}' `
310
- this.model.search(args.condition,args.model)
311
- },
312
- search () {
313
- let startDate = Util.toStandardDateString() + ' 00:00:00'
314
- let endDate = Util.toStandardDateString() + ' 23:59:59'
315
- this.$refs.cp.$refs.cri.condition = this.$refs.cp.$refs.cri.condition + ` and u.f_filiale = '${this.$login.f.f_fengongsi}' `
316
- this.$refs.cp.$refs.cri.search()
317
- },
318
- cleaner () {
319
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
320
- this.$refs.cp.$refs.cri.model[key] = ''
321
- })
322
- let condition = this.$refs.cp.$refs.cri.condition + ` and u.f_filiale = '${this.$login.f.f_fengongsi}' `
323
- // console.log('condition2:', this.$refs.cp.$refs.cri.condition)
324
- // this.modeluse.search(condition)
325
- this.price.search(condition)
326
- this.$dispatch('close')
327
- },
328
264
  clear(){
329
265
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
330
266
  this.$refs.cp.$refs.cri.model[key] = []
@@ -400,12 +336,12 @@
400
336
  }
401
337
  </script>
402
338
  <style>
403
- /*label {*/
404
- /* display: flex;*/
405
- /* justify-content:center;*/
406
- /* align-items:Center;*/
407
- /* padding-top: 8px;*/
408
- /*}*/
339
+ label {
340
+ display: flex;
341
+ justify-content:center;
342
+ align-items:Center;
343
+ padding-top: 8px;
344
+ }
409
345
  tr.title {
410
346
  background-color: #6666ff;
411
347
  }
@@ -230,8 +230,7 @@
230
230
  model: new PagedList('rs/sql/checkuserStop', 20, {
231
231
  data: {
232
232
  id: this.$login.f.id,
233
- fengongsi: this.$login.f.f_fengongsi,
234
- f_product_id: 0
233
+ fengongsi: this.$login.f.f_fengongsi
235
234
  }
236
235
  }),
237
236
  condition: '',
@@ -11,8 +11,6 @@ export default function () {
11
11
  /** ***************************报建模块*********************************/
12
12
  // 报建 总入口
13
13
  Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
14
- // 报建 总入口
15
- Vue.component('one-to-many', (resolve) => { require(['./components/app_apply/OneToMany'], resolve) })
16
14
  // 报建 待办流程页
17
15
  Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
18
16
  // 报建 已办事项
@@ -43,6 +41,4 @@ export default function () {
43
41
  Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
44
42
  // Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
45
43
  // Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
46
- // 工程 待办事项
47
- Vue.component('gongcheng', (resolve) => { require(['./components/app_apply/Gongcheng'], resolve) })
48
44
  }
@@ -5,7 +5,7 @@ let openEticketGen = async function (param, type, conf) {
5
5
  let getEticket = await Vue.resetpost('rs/logic/bjcombineData', {param: param, charge_type: type, eticket: conf}, {resolveMsg: null, rejectMsg: '获取电子票数据出错'})
6
6
  console.log('获取的电子票数据', getEticket)
7
7
  try{
8
- let url= await Vue.resetpost('rs/logic/bjopenEticket', {sell_id: param.id,eticket_id:getEticket.data.eticket_id,conf:conf},{resolveMsg: null, rejectMsg: null})
8
+ let url= await Vue.resetpost('rs/logic/bjopenEticket', {sell_id: param.id,eticket_id:getEticket.data,conf:conf},{resolveMsg: null, rejectMsg: null})
9
9
  return url
10
10
  }catch (e) {
11
11
  Vue.showAlert(`电子发票开票失败,请在发票管理处重新开具`,'warning',3000)