apply-clients 3.5.4-2 → 3.5.4-21

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 (48) hide show
  1. package/build/dev-server.js +137 -133
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/components/android/Process/AppServiceControl.vue +5 -0
  5. package/src/components/android/Process/Processes/AppAddMaterialScience.vue +493 -493
  6. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -3
  7. package/src/components/image/dxf.png +0 -0
  8. package/src/components/product/Process/ExplorationUser.vue +1 -0
  9. package/src/components/product/Process/Processes/addMaterialScience.vue +471 -471
  10. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  11. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +801 -0
  12. package/src/filiale/baiyin/android/ByDeviceManagement.vue +917 -0
  13. package/src/filiale/baiyin/android.js +8 -0
  14. package/src/filiale/fugou/android/AppChargeManagement.vue +132 -1
  15. package/src/filiale/fugou/pc/ServiceControl.vue +27 -6
  16. package/src/filiale/qianneng/android/AppExplorationUser.vue +38 -0
  17. package/src/filiale/qianneng/android/AppInstallationDetails.vue +20 -11
  18. package/src/filiale/qianneng/pc/ApplyUpload.vue +292 -291
  19. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +11 -6
  20. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -586
  21. package/src/filiale/qianneng/pc/ServiceControl.vue +1 -0
  22. package/src/filiale/qianneng/pc/printactivatecard.vue +6 -6
  23. package/src/filiale/ruihua/pc/InstallationDetails.vue +610 -0
  24. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  25. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  26. package/src/filiale/ruihua/pc.js +1 -0
  27. package/src/filiale/shexian/android/AppServiceControl.vue +1758 -1753
  28. package/src/filiale/shexian/android/AppTakePic.vue +94 -140
  29. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  30. package/src/filiale/siyangRH/pc.js +1 -0
  31. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +4 -0
  32. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  33. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +7 -3
  34. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +17 -1
  35. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  36. package/src/filiale/yangchunboneng/android/AppUpload.vue +50 -8
  37. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +230 -219
  38. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +53 -13
  39. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +183 -2
  40. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +140 -0
  41. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -13
  42. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +613 -0
  43. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  44. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  45. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  46. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +99 -12
  47. package/src/filiale/yangchunboneng/pc.js +6 -1
  48. package/src/main.js +23 -23
@@ -8,6 +8,7 @@ let specialComp = {
8
8
  'apply-charge-list': (resolve) => { require(['./pc/ApplyChargeList'], resolve) },
9
9
  'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) },
10
10
  'apply-high-meter': (resolve) => { require(['./pc/HighMeterCard.vue'], resolve) },
11
+ 'apply-charge-management': (resolve) => { require(['./pc/chargeManagement'], resolve) },
11
12
  'exploration-user': (resolve) => { require(['./pc/ExplorationUser.vue'], resolve) }
12
13
  }
13
14
  exports.specialComp = specialComp
@@ -23,6 +23,10 @@
23
23
  <p class="col-xs-4 text-left font"><b>收费人员</b></p>
24
24
  <p class="col-xs-8 text-left input-font">{{ row.f_charge_collectors }}</p>
25
25
  </div>
26
+ <div class="row">
27
+ <p class="col-xs-4 text-left font"><b>实际收款日期</b></p>
28
+ <p class="col-xs-8 text-left input-font">{{row.f_actual_date}}</p>
29
+ </div>
26
30
  <div class="row">
27
31
  <p class="col-xs-4 text-left font"><b>收费日期</b></p>
28
32
  <p class="col-xs-8 text-left input-font">{{ row.f_charge_date }}</p>
@@ -157,6 +157,18 @@
157
157
  <p class="col-xs-3 text-left font"><b>客户编号:</b></p>
158
158
  <p :class="[ row.defname =='通气点火' && (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉') ? 'redy' : (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉' ? 'pred': (row.defname =='通气点火' ? 'p1':''))]" class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
159
159
  </div>
160
+ <div class="col-xs-12">
161
+ <p class="col-xs-3 text-left font"><b>合同金额:</b></p>
162
+ <p class="col-xs-9 text-left input-font">{{ row.f_contract_money}}</p>
163
+ </div>
164
+ <div class="col-xs-12">
165
+ <p class="col-xs-3 text-left font"><b>已收金额:</b></p>
166
+ <p class="col-xs-9 text-left input-font">{{ row.f_cumulative_payment_money}}</p>
167
+ </div>
168
+ <div class="col-xs-12">
169
+ <p class="col-xs-3 text-left font"><b>未收金额:</b></p>
170
+ <p class="col-xs-9 text-left input-font">{{ row.f_surplus_money}}</p>
171
+ </div>
160
172
  <div class="col-xs-12">
161
173
  <p class="col-xs-3 text-left font"><b>报建类型:</b></p>
162
174
  <p class="col-xs-9 text-left input-font">{{ row.f_apply_type }}</p>
@@ -385,11 +385,15 @@
385
385
  addUserFile() {
386
386
  this.material.push({
387
387
  f_material_name: "",
388
- unit: "",
389
- f_material_price: "",
388
+ unit: 0,
389
+ f_material_price: 0,
390
390
  f_typenumber: "",
391
391
  f_typename: "",
392
- material_type: ""
392
+ material_type: "",
393
+ f_overlength_unitprice:"0",
394
+ f_overlength_number:"0",
395
+ f_discounts_money_detail:"0",
396
+ f_actual_materials_detail:"0"
393
397
  })
394
398
  },
395
399
  getmaterialTYPE() {
@@ -12,7 +12,7 @@
12
12
  <app-sign :blobid="selectdata.f_process_id" :defname="selectdata.defname" @sign-success="signSuccess" :file-path="selectdata.f_process_id"@sign-clean="signClean"></app-sign>
13
13
  </panel>
14
14
  <panel header="附件" :is-open="false" type="primary" v-if="selectdata.f_process_id">
15
- <app-upload :blobid="selectdata.f_process_id" :isdelete="true" ></app-upload>
15
+ <app-upload :blobid="selectdata.f_process_id" :pblobid="selectdata.f_parent_process_id" :isdelete="true" :defname="selectdata.defname"></app-upload>
16
16
  </panel>
17
17
  </accordion>
18
18
  </div>
@@ -670,6 +670,22 @@ export default {
670
670
  }
671
671
  throw '用户信息确认!!!'
672
672
  },
673
+ //通气前置,添加设备
674
+ async addDeviceBefore () {
675
+ let http = new HttpResetClass()
676
+ var condition1=`f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
677
+ let data = {
678
+ condition: condition1
679
+ }
680
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getUserFilesAndDevicesAmount`, {data:data}, {
681
+ resolveMsg: null,
682
+ rejectMsg: '获取表具失败!!!'
683
+ })
684
+ if (res.data.amount===0) {
685
+ this.$showMessage('请添加设备!!!', 'warning', 3000)
686
+ throw null
687
+ }
688
+ },
673
689
  // 缴费前置
674
690
  async chargeBefore () {
675
691
  if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
@@ -9,7 +9,7 @@
9
9
  <app-take-pic :blobid="selectdata.f_process_id" :defname="selectdata.defname" :isdelete="false" :istakepic="false" :istype="false"></app-take-pic>
10
10
  </panel>
11
11
  <panel header="附件" :is-open="false" type="primary" v-if="selectdata.f_process_id">
12
- <app-upload :blobid="selectdata.f_process_id" :isdelete="true" ></app-upload>
12
+ <app-upload :blobid="selectdata.f_process_id" :pblobid="selectdata.f_parent_process_id" :isdelete="true" ></app-upload>
13
13
  </panel>
14
14
  </accordion>
15
15
  </div>
@@ -25,12 +25,19 @@
25
25
  <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="getFiles">搜索</button>
26
26
  </div>
27
27
  <div style="overflow: scroll;display: flex;flex-wrap: wrap;">
28
- <div class=" showData" v-for="(index,file) in fileList">
29
- <img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
30
- <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;" @click.prevent="delfile(file, index)">
31
- <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{ file.f_uploaddate }}</span></p>
32
- <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{ file.fusetype }}</span></p>
33
- <p :title="row.defname" class="clears"><strong>上传节点:</strong><span>{{ file.defname }}</span></p>
28
+ <div class=" showData" v-for="(index,file) in fileList" >
29
+ <img-self
30
+ v-if="file.f_filetype=='jpg'|| file.f_filetype =='png' || file.f_filetype == 'gif' || file.f_filetype == 'bmp'"
31
+ :src="file.f_downloadURL" :width="120" :height="170"></img-self>
32
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'pdf'" src="../../../components/image/pdf.jpg" alt=""/>
33
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'xls'||file.f_filetype === 'xlsx'" src="../../../components/image/excel.jpg" alt=""/>
34
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'doc'||file.f_filetype === 'docx'" src="../../../components/image/doc.jpg" alt=""/>
35
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'dwg'" src="../../../components/image/dwg.jpg" alt="" />
36
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'dxf'" src="../../../components/image/dxf.png" alt="" />
37
+ <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;" @click.prevent="delfile(file, index)">
38
+ <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{ file.f_uploaddate }}</span></p>
39
+ <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{ file.fusetype }}</span></p>
40
+ <p :title="row.defname" class="clears"><strong>上传节点:</strong><span>{{ file.defname }}</span></p>
34
41
  </div>
35
42
  </div>
36
43
  </div>
@@ -43,7 +50,7 @@ import {guid, toStandardTimeString} from '../../../components/Util'
43
50
  import Vue from 'vue'
44
51
  export default {
45
52
  title: '附件',
46
- props: ['blobid', 'isdelete'],
53
+ props: ['blobid', 'isdelete','pblobid', 'defname'],
47
54
  data () {
48
55
  return {
49
56
  fileList: [],
@@ -55,6 +62,36 @@ export default {
55
62
  this.getFiles()
56
63
  },
57
64
  methods: {
65
+ //查询父工程附件
66
+ async pgetFiles () {
67
+ if(this.pblobid==''||this.pblobid==null){
68
+ return
69
+ }
70
+ let http = new HttpResetClass()
71
+ let data = {
72
+ tablename: 't_files',
73
+ condition: `f_blobid = '${this.pblobid}' `
74
+ }
75
+ if (this.type){
76
+ data.condition += `and fusetype = '${this.type}'`
77
+ }
78
+ if (this.defname){
79
+ data.condition += `and defname = '${this.defname}'`
80
+ }
81
+ data.condition += ` order by f_uploaddate desc `
82
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
83
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
84
+ warnMsg: null,
85
+ resolveMsg: null
86
+ })
87
+
88
+ for (var i = 0; i < res.data.length; i++) {
89
+ console.log('-----------地址----------------')
90
+ console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
91
+ res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
92
+ this.fileList.push(res.data[i])
93
+ }
94
+ },
58
95
  async getFiles () {
59
96
  console.log('----------------开始查询图片----------------')
60
97
  this.fileList = []
@@ -63,7 +100,7 @@ export default {
63
100
 
64
101
  let data = {
65
102
  tablename: 't_files',
66
- condition: `f_blobid = '${this.blobid}' and f_filetype in ('jpg','png') `
103
+ condition: `f_blobid = '${this.blobid}'`
67
104
  }
68
105
  if (this.type){
69
106
  data.condition += `and fusetype = '${this.type}'`
@@ -85,8 +122,13 @@ export default {
85
122
  }
86
123
 
87
124
  this.fileList = res.data
125
+ this.pgetFiles()
88
126
  },
89
127
  delfile (file, index) {
128
+ if (this.defname !== file.defname) {
129
+ this.$showMessage('当前环节和附件上传节点不一致,无法删除')
130
+ return
131
+ }
90
132
  this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
91
133
  this.$dispatch("delResid", file.id)
92
134
  this.getFiles()