apply-clients 3.3.2-81-test → 3.3.2-82-zk

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 (38) hide show
  1. package/build/dev-server.js +2 -8
  2. package/build/webpack.test.conf.js +3 -0
  3. package/package.json +2 -2
  4. package/src/apply.js +1 -18
  5. package/src/applyAndroid.js +2 -2
  6. package/src/components/android/AppSign.vue +2 -2
  7. package/src/components/android/Process/AppServiceControl.vue +5 -5
  8. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +56 -14
  9. package/src/components/android/Process/Processes/{AppAddMaterialCharge.vue → AppAddMaterialScienceNew.vue} +31 -65
  10. package/src/components/android/Process/Processes/AppAddSetMeal.vue +262 -426
  11. package/src/components/android/Supervisory/AppSupervisoryCart.vue +1 -1
  12. package/src/components/product/ApplyCharge/ApplyChargeList.vue +325 -347
  13. package/src/components/product/Function/InstallFunction.vue +133 -133
  14. package/src/components/product/Material/MaterialDetailed.vue +0 -8
  15. package/src/components/product/Print/BuildOrder/buildZbfOrderList.vue +16 -0
  16. package/src/components/product/Process/ExplorationSelect.vue +9 -26
  17. package/src/components/product/Process/ExplorationUser.vue +190 -190
  18. package/src/components/product/Process/Processes/addMaterialScience.vue +40 -34
  19. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +19 -154
  20. package/src/components/product/Process/Processes/chargeManagement.vue +4 -10
  21. package/src/components/product/Process/Processes/supplementalAgreement.vue +3 -15
  22. package/src/components/product/Process/Service/ServiceControl.vue +3 -32
  23. package/src/components/product/Supervisory/SupervisoryControl.vue +147 -147
  24. package/src/components/product/Supervisory/SupervisoryList.vue +0 -2
  25. package/src/components/product/VueUtils/ApplyUpload.vue +4 -30
  26. package/src/components/report/Baojianwancheng.vue +1 -1
  27. package/src/components/product/ApplyCharge/ApplyAgreementList.vue +0 -275
  28. package/src/components/product/ApplyCharge/ApplyUnpaidList.vue +0 -296
  29. package/src/components/product/GroupByApply/ApplyGroupAgreementByMain.vue +0 -53
  30. package/src/components/product/GroupByApply/ApplyGroupAgreementList.vue +0 -120
  31. package/src/components/product/GroupByApply/ApplyGroupByAgreement.vue +0 -212
  32. package/src/components/product/GroupByApply/ApplyGroupByContract.vue +0 -222
  33. package/src/components/product/GroupByApply/ApplyGroupContractByMain.vue +0 -53
  34. package/src/components/product/GroupByApply/ApplyGroupContractList.vue +0 -155
  35. package/src/components/product/Process/Processes/DeleteAddressAndUserinfoManagement.vue +0 -319
  36. package/src/components/product/Process/Processes/DeleteUserinfo.vue +0 -161
  37. package/src/components/product/Process/Processes/OperationsAddMaterialScience.vue +0 -456
  38. package/src/components/product/Process/Processes/returnChargeManagement.vue +0 -327
@@ -8,15 +8,9 @@ var compiler = webpack(config)
8
8
  // var proxy = httpProxy.createProxyServer()
9
9
  // var ldap = 'http://121.36.79.201:8400'
10
10
  // var applyinstall = 'http://121.36.79.201:8400'
11
- var ldap = 'http://192.168.20.28:8400'
12
- var applyinstall = 'http://192.168.20.28:8400'
11
+ var ldap = 'http://192.168.20.28:8400/'
12
+ var applyinstall = 'http://192.168.20.28:8400/'
13
13
  var proxyTable = {
14
- '/zhoukou-oracle':{
15
- target: ldap
16
- },
17
- '/webapps/applyinstall/excel':{
18
- target: ldap
19
- },
20
14
  '/wx': {
21
15
  target: ldap
22
16
  },
@@ -6,6 +6,9 @@ var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.base.conf')
7
7
 
8
8
  var webpackConfig = merge(baseConfig, {
9
+ module: {
10
+ rules: utils.styleLoaders()
11
+ },
9
12
  // use inline sourcemap for karma-sourcemap-loader
10
13
  devtool: '#inline-source-map',
11
14
  resolveLoader: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.2-81-test",
3
+ "version": "3.3.2-82-zk",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -92,7 +92,7 @@
92
92
  "sinon-chai": "^2.8.0",
93
93
  "style": "0.0.3",
94
94
  "style-loader": "^0.20.3",
95
- "system-clients": "3.2.24",
95
+ "system-clients": "3.1.87",
96
96
  "system-phone": "1.2.96",
97
97
  "url-loader": "^0.5.7",
98
98
  "vue-client": "1.24.33",
package/src/apply.js CHANGED
@@ -77,7 +77,6 @@ export default function () {
77
77
  Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
78
78
  Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
79
79
  Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
80
- Vue.component('image-preview', (resolve) => { require(['./components/product/VueUtils/ImagePreview.vue'], resolve) })
81
80
  // Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
82
81
  Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
83
82
 
@@ -117,21 +116,5 @@ export default function () {
117
116
  Vue.component('build-zbf-order-list', (resolve) => { require(['./components/product/Print/BuildOrder/buildZbfOrderList'], resolve) })
118
117
  Vue.component('dimission-person', (resolve) => { require(['./components/product/Process/DimissionPerson.vue'], resolve) })
119
118
  Vue.component('apply-res-select', (resolve) => { require(['./components/product/Process/ResSelect'], resolve) })
120
- Vue.component('delete-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/DeleteAddressAndUserinfoManagement.vue'], resolve) })
121
- Vue.component('delete-userinfo', (resolve) => { require(['./components/product/Process/Processes/DeleteUserinfo.vue'], resolve) })
122
- Vue.component('return-charge-management', (resolve) => { require(['./components/product/Process/Processes/returnChargeManagement.vue'], resolve) })
123
- /** 团购主子流程合同查看**/
124
- Vue.component('apply-group-contract-main', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupContractByMain'], resolve) })
125
- Vue.component('apply-group-contract', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByContract'], resolve) })
126
- Vue.component('apply-group-contract-list', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupContractList'], resolve) })
127
- /** 主合同与附加协议**/
128
- Vue.component('apply-group-agreement-main', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupAgreementByMain'], resolve) })
129
- Vue.component('apply-group-agreement', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByAgreement'], resolve) })
130
- Vue.component('apply-group-agreement-list', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupAgreementList'], resolve) })
131
- /** 欠费统计**/
132
- Vue.component('apply-unpaid-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyUnpaidList.vue'], resolve) })
133
- /** 附加协议记录**/
134
- Vue.component('apply-agreement-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyAgreementList.vue'], resolve) })
135
- /** 获取所有分类的材料*/
136
- Vue.component('operations-material-science', (resolve) => { require(['./components/product/Process/Processes/OperationsAddMaterialScience.vue'], resolve) })
119
+ Vue.component('image-preview', (resolve) => { require(['./components/product/VueUtils/ImagePreview.vue'], resolve) })
137
120
  }
@@ -23,7 +23,7 @@ export default function () {
23
23
  Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
24
24
 
25
25
  Vue.component('app-add-material-science', (resolve) => { require(['./components/android/Process/Processes/AppAddMaterialScience'], resolve) })
26
-
26
+ Vue.component('app-add-material-science-new', (resolve) => { require(['./components/android/Process/Processes/AppAddMaterialScienceNew.vue'], resolve) })
27
27
  Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
28
28
  Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
29
29
  Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
@@ -45,7 +45,7 @@ export default function () {
45
45
  Vue.component('app-qrcode-reader', (resolve) => { require(['./components/android/AreaSelect/AppQrcodeReader'], resolve) })
46
46
  // 报建接单
47
47
  Vue.component('app-exploration-receivingorders', (resolve) => { require(['./components/android/Process/AppExplorationReceivingorders'], resolve) })
48
-
49
48
  Vue.component('app-input-select', (resolve) => { require(['./components/product/InputAndSelect'], resolve) })
50
49
  Vue.component('app-v-select', (resolve) => { require(['./components/product/Select'], resolve) })
50
+ Vue.component('app-add-set-meal', (resolve) => { require(['./components/android/Process/Processes/AppAddSetMeal'], resolve) })
51
51
  }
@@ -40,7 +40,7 @@ export default {
40
40
  this.$emit('sign-clean')
41
41
  },
42
42
  sign () {
43
-
43
+ debugger
44
44
  this.type='手机签字'
45
45
  console.log('==============签字打印this============',this)
46
46
  this.delAudioFile(this.f_sign_path)
@@ -89,7 +89,7 @@ export default {
89
89
  HostApp.__this__.getFiles(res.id)
90
90
  },
91
91
  async getFiles (fileid) {
92
-
92
+ debugger
93
93
  console.log('=========进来===============')
94
94
  let http = new HttpResetClass()
95
95
  console.log('=========进来===============')
@@ -456,7 +456,7 @@ export default {
456
456
  {resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
457
457
  )
458
458
  console.log('打印查询的内容',restp2)
459
-
459
+ debugger
460
460
  if(restp2.length>0){
461
461
  let _this = this
462
462
  // this.$dispatch('gotoson', {
@@ -470,7 +470,7 @@ export default {
470
470
  this.excessive=false
471
471
  }else{
472
472
  this.excessive=false
473
-
473
+ debugger
474
474
  this.$dispatch('confirm')
475
475
  this.$dispatch('confirm')
476
476
  this.$dispatch('confirm')
@@ -1794,9 +1794,6 @@ export default {
1794
1794
  }
1795
1795
  }))
1796
1796
  },
1797
- 'addMaterial' (price) {
1798
- this.setLabelValue('约定合同金额',price)
1799
- },
1800
1797
  // 选择用户档案信息
1801
1798
  'selectUserinfo' (row) {
1802
1799
  this.setLabelValue('用户编号', row.f_userinfo_code)
@@ -1809,6 +1806,9 @@ export default {
1809
1806
  this.show_data.f_userinfo_id = row.f_userinfo_id
1810
1807
  this.show_data.f_userinfo_code = row.f_userinfo_code
1811
1808
  },
1809
+ 'addMaterial' (price) {
1810
+ this.setLabelValue('约定合同金额',price)
1811
+ },
1812
1812
  // 地址类型失去焦点
1813
1813
  'addressTypeChange' (index) {
1814
1814
  this.setLabelValue('街道/乡镇', null)
@@ -8,6 +8,9 @@
8
8
  <th class="textNoLineBreak">材料型号</th>
9
9
  <th class="textNoLineBreak">材料单位</th>
10
10
  <th class="textNoLineBreak">材料数量</th>
11
+ <th class="textNoLineBreak">材料编号</th>
12
+ <th class="textNoLineBreak">材料标识</th>
13
+ <th class="textNoLineBreak">用户编号</th>
11
14
  <th class="textNoLineBreak">
12
15
  <button class="button_new button_spacing" type="button" @click="$parent.$parent.openMaterialModal()">添加
13
16
  </button>
@@ -31,6 +34,15 @@
31
34
  <td style="text-align: center;">
32
35
  <nobr>{{row.f_material_number}}</nobr>
33
36
  </td>
37
+ <td style="text-align: center;">
38
+ <nobr>{{row.f_bjq_sid}}</nobr>
39
+ </td>
40
+ <td style="text-align: center;">
41
+ <nobr>{{row.f_material_code}}</nobr>
42
+ </td>
43
+ <td style="text-align: center;">
44
+ <nobr>{{row.f_userinfo_code}}</nobr>
45
+ </td>
34
46
  <td style="text-align: center;">
35
47
  <button type="button" class="button_search button_spacing"
36
48
  @click="$parent.$parent.updateMaterial($index,row)">修改
@@ -143,6 +155,48 @@
143
155
  />
144
156
  </div>
145
157
  </div>
158
+ <div class="form-group col-sm-6">
159
+ <label class="col-sm-4 control-label"></label>
160
+ <div class="col-sm-8">
161
+
162
+ </div>
163
+ </div>
164
+ <div class="form-group col-sm-6">
165
+ <label class="col-sm-4 control-label"></label>
166
+ <div class="col-sm-8">
167
+
168
+ </div>
169
+ </div>
170
+ <div class="form-group col-sm-6">
171
+ <label class="col-sm-4 control-label"></label>
172
+ <div class="col-sm-8">
173
+
174
+ </div>
175
+ </div>
176
+ <div class="form-group col-sm-6">
177
+ <label class="col-sm-4 control-label"></label>
178
+ <div class="col-sm-8">
179
+
180
+ </div>
181
+ </div>
182
+ <div class="form-group col-sm-6">
183
+ <label class="col-sm-4 control-label"></label>
184
+ <div class="col-sm-8">
185
+
186
+ </div>
187
+ </div>
188
+ <div class="form-group col-sm-6">
189
+ <label class="col-sm-4 control-label"></label>
190
+ <div class="col-sm-8">
191
+
192
+ </div>
193
+ </div>
194
+ <div class="form-group col-sm-6">
195
+ <label class="col-sm-4 control-label"></label>
196
+ <div class="col-sm-8">
197
+
198
+ </div>
199
+ </div>
146
200
  <div v-if=" (this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建')">
147
201
  <app-qrcode-reader :istype = fmaterialname :index = i v-show="isShow[i]"></app-qrcode-reader>
148
202
  </div>
@@ -162,9 +216,11 @@
162
216
  </modal>
163
217
  </div>
164
218
  </template>
219
+
165
220
  <script>
166
221
  import Vue from 'vue'
167
222
  import {HttpResetClass} from 'vue-client'
223
+
168
224
  export default {
169
225
  name: 'addMaterialScience',
170
226
  props: {
@@ -177,7 +233,6 @@ export default {
177
233
  onetomany: {
178
234
  rows: []
179
235
  },
180
- totalPrice:0,
181
236
  title: '新增',
182
237
  showMaterialModal: false,
183
238
  materials: [
@@ -216,10 +271,6 @@ export default {
216
271
  {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
217
272
  )
218
273
  this.onetomany.rows = res.data
219
- this.totalPrice = 0
220
- for (let i = 0; i < this.onetomany.rows.length; i++) {
221
- this.totalPrice=this.totalPrice+(parseFloat(this.onetomany.rows[i].f_material_price)*parseFloat(this.onetomany.rows[i].f_material_number))
222
- }
223
274
  },
224
275
  async openMaterialModal() {
225
276
  this.getMateralNames()
@@ -298,7 +349,6 @@ export default {
298
349
  this.title = '新增'
299
350
  let data = {
300
351
  f_process_id: this.selectdata.f_process_id,
301
- f_userinfo_code: this.selectdata.f_userinfo_code,
302
352
  f_operator_id: Vue.user.id,
303
353
  f_operator: Vue.user.name,
304
354
  f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
@@ -319,10 +369,6 @@ export default {
319
369
  `${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
320
370
  data
321
371
  )
322
- await this.getOnetoManyData()
323
- if(this.selectdata.f_apply_type='改管报建'){
324
- this.$dispatch('addMaterial', this.totalPrice)
325
- }
326
372
  this.closeMaterials()
327
373
  },
328
374
  async deleteMaterial(row) {
@@ -338,10 +384,6 @@ export default {
338
384
  {data: row},
339
385
  {resolveMsg: null, rejectMsg: '材料删除失败!!!'}
340
386
  )
341
- await this.getOnetoManyData()
342
- if(this.selectdata.f_apply_type='改管报建'){
343
- this.$dispatch('addMaterial', this.totalPrice)
344
- }
345
387
  this.closeMaterials()
346
388
  }
347
389
  }
@@ -142,7 +142,7 @@
142
142
  <template v-if="mark !== 1">
143
143
  <span class="modal-title me-3">累计金额:{{totalmoney}}</span>
144
144
  <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="pushMaterial()">添加材料</button>
145
- <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addMaterialBefore()"
145
+ <button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addMaterial()"
146
146
  :disabled="!$v.valid">确认添加
147
147
  </button>
148
148
  <button type="button" class="btn btn-primary" v-if="title==='修改'" @click="updateConfirm()"
@@ -151,37 +151,6 @@
151
151
  </template>
152
152
  </footer>
153
153
  </modal>
154
- <modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
155
- <header slot="modal-header" class="modal-header">
156
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
157
- <h4 class="modal-title">材料收费</h4>
158
- </header>
159
- <article slot="modal-body" class="modal-body clearfix">
160
- <div class="form-group row vertical-center">
161
- <label class="col-xs-4 control-label">付款方式:</label>
162
- <div class="col-xs-8">
163
- <input-select class="select select_list"
164
- v-model="f_payment_method"
165
- :value.sync="f_payment_method"
166
- :options='paymentMethod'
167
- @change="paymentMethodChange"
168
- :value-single="true"
169
- close-on-select ></input-select>
170
- </div>
171
- </div>
172
- <div class="text-center" v-if="f_payment_method=='二维码'">
173
- <p><b>收费金额:{{ totalmoney }}¥</b></p>
174
- <div id="qrcode" class="qrcode" v-ref:qrcode></div>
175
- <p>
176
- 等待支付,剩余&ensp;<span style="color: #ff791a">{{timeLeft}}</span>&ensp;秒
177
- </p>
178
- <button type="button" @click="closeQRCode">取消支付</button>
179
- </div>
180
- </article>
181
- <footer slot="modal-footer" class="modal-footer">
182
- <button v-if="f_payment_method!='二维码'" id="savebut" type="button" class="btn btn-primary" @click.prevent="addMaterial()">确认</button>
183
- </footer>
184
- </modal>
185
154
  </div>
186
155
  </template>
187
156
  <script>
@@ -227,16 +196,7 @@ export default {
227
196
  bjqChecklag:[],
228
197
  fmaterialname:{},
229
198
  filiale:"",
230
- paymentMethod:[
231
- {
232
- value: '现金',
233
- label: '现金'
234
- },
235
- {
236
- value: '二维码',
237
- label: '二维码'
238
- }
239
- ],
199
+ totalPrice:0,
240
200
  isShow:[false],
241
201
  charge: {
242
202
  payment_terms:[]
@@ -303,6 +263,10 @@ export default {
303
263
  {resolveMsg: null, rejectMsg: 'onetomany查询失败'}
304
264
  )
305
265
  this.onetomany.rows = res.data
266
+ this.totalPrice = 0
267
+ for (let i = 0; i < this.onetomany.rows.length; i++) {
268
+ this.totalPrice=this.totalPrice+(parseFloat(this.onetomany.rows[i].f_material_price)*parseFloat(this.onetomany.rows[i].f_material_number))
269
+ }
306
270
  },
307
271
  async openMaterialModal() {
308
272
  this.getMateralNames()
@@ -468,6 +432,7 @@ export default {
468
432
  this.title = '新增'
469
433
  let data = {
470
434
  f_process_id: this.selectdata.f_process_id,
435
+ f_userinfo_code: this.selectdata.f_userinfo_code,
471
436
  f_operator_id: Vue.user.id,
472
437
  f_operator: Vue.user.name,
473
438
  f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
@@ -488,28 +453,32 @@ export default {
488
453
  `${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
489
454
  data
490
455
  )
456
+ await this.getOnetoManyData()
457
+ if(this.selectdata.f_apply_type=='改管报建'){
458
+ this.$dispatch('addMaterial', this.totalPrice)
459
+ }
491
460
  this.closeMaterials()
492
461
  },
493
- saveCharge(){
494
- for (let i = 0; i < this.materials.length; i++) {
495
- this.charge.payment_terms.push(
496
- {
497
- f_payment_term: this.materials[i].f_material_name,
498
- f_charge_money: this.materials[i].price,
499
- f_amount_words:this.smalltoBIG(this.materials[i].price),
500
- f_payment_method : '手机APP'
501
- })
502
- }
503
- let info = {
504
- apply: this.selectdata,
505
- charge: this.charge,
506
- user: Vue.user,
507
- f_out_trade_no:this.order.f_out_trade_no
508
- }
509
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/NewAddChargeRecord`,{data:info},{
510
- resolveMsg: null,
511
- rejectMsg: null
512
- })
462
+ saveCharge(){
463
+ for (let i = 0; i < this.materials.length; i++) {
464
+ this.charge.payment_terms.push(
465
+ {
466
+ f_payment_term: this.materials[i].f_material_name,
467
+ f_charge_money: this.materials[i].price,
468
+ f_amount_words:this.smalltoBIG(this.materials[i].price),
469
+ f_payment_method : '手机APP'
470
+ })
471
+ }
472
+ let info = {
473
+ apply: this.selectdata,
474
+ charge: this.charge,
475
+ user: Vue.user,
476
+ f_out_trade_no:this.order.f_out_trade_no
477
+ }
478
+ http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/NewAddChargeRecord`,{data:info},{
479
+ resolveMsg: null,
480
+ rejectMsg: null
481
+ })
513
482
  },
514
483
  async addMaterialAfter() {
515
484
  let data = {
@@ -628,9 +597,6 @@ export default {
628
597
  }
629
598
  },
630
599
  beforeDestroy() {
631
- clearInterval(this.paymentInterval)
632
- clearInterval(this.orderInterval)
633
- this.clearQrCode() // 清理二维码DOM
634
600
  }
635
601
  }
636
602