apply-clients 3.5.4-8 → 3.5.4-80

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 (103) hide show
  1. package/build/dev-server.js +6 -2
  2. package/package.json +2 -2
  3. package/src/App.vue +4 -4
  4. package/src/apply.js +2 -3
  5. package/src/applyAndroid.js +2 -0
  6. package/src/assets//344/270/213/350/275/275.png +0 -0
  7. package/src/components/android/AppCheckTakePic.vue +168 -0
  8. package/src/components/android/Process/AppServiceControl.vue +4 -0
  9. package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
  10. package/src/components/image/dxf.png +0 -0
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -1
  12. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  13. package/src/components/product/MaterialsManage/MaterialsBase.vue +5 -1
  14. package/src/components/product/MaterialsManage/MaterialsManage.vue +2 -2
  15. package/src/components/product/PcZhihuanManagement.vue +160 -0
  16. package/src/components/product/Process/ExplorationSelect.vue +4 -1
  17. package/src/components/product/Process/ExplorationUser.vue +1 -0
  18. package/src/components/product/Process/Processes/chargeManagement.vue +1 -1
  19. package/src/components/product/ServiceView.vue +22 -1
  20. package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
  21. package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
  22. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +823 -0
  23. package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
  24. package/src/filiale/baiyin/android.js +8 -0
  25. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
  26. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  27. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -625
  28. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
  29. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
  30. package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
  31. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
  32. package/src/filiale/fugou/android.js +7 -1
  33. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  34. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
  35. package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
  36. package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
  37. package/src/filiale/fugou/pc/ServiceView.vue +941 -0
  38. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
  39. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  40. package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
  41. package/src/filiale/fugou/pc.js +13 -7
  42. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -481
  43. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
  44. package/src/filiale/gongyi/android/AppInstallationDetails.vue +15 -10
  45. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
  46. package/src/filiale/gongyi/android/AppSign.vue +16 -3
  47. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
  48. package/src/filiale/gongyi/android.js +3 -0
  49. package/src/filiale/gongyi/pc/ApplyUpload.vue +31 -39
  50. package/src/filiale/gongyi/pc/PcAddLogs.vue +12 -4
  51. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
  52. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
  53. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +1 -1
  54. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
  55. package/src/filiale/gongyi/pc/addMaterialScience.vue +43 -7
  56. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
  57. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
  58. package/src/filiale/gongyi/pc.js +6 -1
  59. package/src/filiale/hongda/pc/SupervisoryList.vue +13 -0
  60. package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
  61. package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
  62. package/src/filiale/jinhuang/pc.js +7 -0
  63. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
  64. package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
  65. package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
  66. package/src/filiale/qianneng/android.js +15 -14
  67. package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
  68. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
  69. package/src/filiale/qianneng/pc/Applydetail.vue +378 -383
  70. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  71. package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
  72. package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
  73. package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
  74. package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
  75. package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
  76. package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
  77. package/src/filiale/shexian/android/AppTakePic.vue +15 -55
  78. package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
  79. package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
  80. package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
  81. package/src/filiale/siyangRH/pc.js +1 -0
  82. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -511
  83. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +639 -609
  84. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
  85. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
  86. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1681 -1648
  87. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
  88. package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
  89. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
  90. package/src/filiale/yangchunboneng/android.js +1 -1
  91. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
  92. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +548 -508
  93. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
  94. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2075 -1871
  95. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
  96. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
  97. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
  98. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
  99. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
  100. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
  101. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1059 -960
  102. package/src/filiale/yangchunboneng/pc.js +7 -1
  103. package/src/main.js +1 -1
@@ -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,15 +25,39 @@
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="" :width="120" :height="170"/>
33
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'xls'||file.f_filetype === 'xlsx'" src="../../../components/image/excel.jpg" alt="" :width="120" :height="170"/>
34
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'doc'||file.f_filetype === 'docx'" src="../../../components/image/doc.jpg" alt="" :width="120" :height="170"/>
35
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'dwg'" src="../../../components/image/dwg.jpg" alt="" :width="120" :height="170"/>
36
+ <img style="width: -webkit-fill-available" v-if="file.f_filetype === 'dxf'" src="../../../components/image/dxf.png" alt="" :width="120" :height="170"/>
37
+ <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;" @click.prevent="delfile(file, index)">
38
+ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
39
+ <img v-if="isdelete" src="../../../../src/assets/下载.png" style="width: 15px;" @click.prevent="dowloadfile(file, index)">
40
+ <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{ file.f_uploaddate }}</span></p>
41
+ <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{ file.fusetype }}</span></p>
42
+ <p :title="row.defname" class="clears"><strong>上传节点:</strong><span>{{ file.defname }}</span></p>
34
43
  </div>
35
44
  </div>
36
45
  </div>
46
+ <modal v-if="showModal" :show.sync="showModal" v-ref:modal :large="true"
47
+ :backdrop="false">
48
+ <header slot="modal-header" class="modal-header">
49
+ <button type="button" class="close" @click="closeM"><span>&times;</span></button>
50
+ <h4 class="modal-title" style="color: red">请复制链接到浏览器下载</h4>
51
+ </header>
52
+ <article slot="modal-body" class="modal-body clearfix">
53
+ <span>{{linke}}</span>
54
+ </article>
55
+ <footer slot="modal-footer" class="modal-footer">
56
+ <template >
57
+ <button type="button" class="btn btn-primary" @click="closeM">关闭</button>
58
+ </template>
59
+ </footer>
60
+ </modal>
37
61
  </div>
38
62
  </template>
39
63
 
@@ -43,18 +67,58 @@ import {guid, toStandardTimeString} from '../../../components/Util'
43
67
  import Vue from 'vue'
44
68
  export default {
45
69
  title: '附件',
46
- props: ['blobid', 'isdelete'],
70
+ props: ['blobid', 'isdelete','pblobid', 'defname'],
47
71
  data () {
48
72
  return {
49
73
  fileList: [],
50
74
  type:'',
51
- defname:''
75
+ defname:'',
76
+ linke:'',
77
+ showModal: false,
52
78
  }
53
79
  },
54
80
  ready () {
55
81
  this.getFiles()
56
82
  },
57
83
  methods: {
84
+ closeM(){
85
+ this. showModal=false
86
+ this.linke =''
87
+ },
88
+ dowloadfile(file, index){
89
+ this.showModal = true
90
+ this.linke = file.f_downloadURL
91
+ },
92
+ //查询父工程附件
93
+ async pgetFiles () {
94
+ if(this.pblobid==''||this.pblobid==null){
95
+ return
96
+ }
97
+ let http = new HttpResetClass()
98
+ let data = {
99
+ tablename: 't_files',
100
+ condition: `f_blobid = '${this.pblobid}' `
101
+ }
102
+ if (this.type){
103
+ data.condition += `and fusetype = '${this.type}'`
104
+ }
105
+ if (this.defname){
106
+ data.condition += `and defname = '${this.defname}'`
107
+ }
108
+ data.condition += ` order by f_uploaddate desc `
109
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
110
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
111
+ warnMsg: null,
112
+ resolveMsg: null
113
+ })
114
+
115
+ for (var i = 0; i < res.data.length; i++) {
116
+ console.log('-----------地址----------------')
117
+ console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
118
+ res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
119
+ this.fileList.push(res.data[i])
120
+ }
121
+ },
58
122
  async getFiles () {
59
123
  console.log('----------------开始查询图片----------------')
60
124
  this.fileList = []
@@ -63,7 +127,7 @@ export default {
63
127
 
64
128
  let data = {
65
129
  tablename: 't_files',
66
- condition: `f_blobid = '${this.blobid}' and f_filetype in ('jpg','png') `
130
+ condition: `f_blobid = '${this.blobid}'`
67
131
  }
68
132
  if (this.type){
69
133
  data.condition += `and fusetype = '${this.type}'`
@@ -85,8 +149,13 @@ export default {
85
149
  }
86
150
 
87
151
  this.fileList = res.data
152
+ this.pgetFiles()
88
153
  },
89
154
  delfile (file, index) {
155
+ if (this.defname !== file.defname) {
156
+ this.$showMessage('当前环节和附件上传节点不一致,无法删除')
157
+ return
158
+ }
90
159
  this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
91
160
  this.$dispatch("delResid", file.id)
92
161
  this.getFiles()
@@ -18,19 +18,22 @@
18
18
  :options='newmaterialnameandcode'
19
19
  placeholder='请选择'
20
20
  close-on-select
21
- align='right'
22
21
  :value-single="true"
23
22
  @change="changeMaterialName"
24
23
  ></v-select>
25
24
  </div>
26
25
  <div class="y-form-item">
27
26
  <label>型号</label>
28
- <input class="form-control y-form-item-input"
29
- v-model="item.f_typenumber"
30
- readonly
31
- >
32
- <!-- <input type="text" class="form-control y-form-item-input" v-model="item.f_typenumber"
33
- :value.sync="item.f_typenumber" readonly>-->
27
+ <v-select
28
+ :width="'70%'"
29
+ :value.sync="item.f_typenumber"
30
+ v-model="item.f_typenumber"
31
+ :options='materialnameandtype'
32
+ placeholder='请选择'
33
+ close-on-select
34
+ @change="changeType"
35
+ :value-single="true"
36
+ ></v-select>
34
37
  </div>
35
38
  <div class="y-form-item">
36
39
  <label>单价(元/{{ item.unit }})</label>
@@ -41,7 +44,7 @@
41
44
  </div>
42
45
  <div class="y-form-item">
43
46
  <label>数量</label>
44
- <input type="number" class="form-control y-form-item-input" v-model="item.f_material_number" @change="material_number_chenge"
47
+ <input type="number" class="form-control y-form-item-input" v-model="item.f_material_number" @change="material_number_chenge"
45
48
  :readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
46
49
  </div>
47
50
  <div class="y-form-item">
@@ -65,31 +68,40 @@
65
68
  :readOnly="item.f_process_id && item.f_state != '未收费' ? true : false">
66
69
  </div>
67
70
  </div>
68
-
69
71
  </template>
70
72
  <script>
71
73
  export default {
72
- props:["index",'item','materialnameandcode','typenumbers','newmaterialnameandcode'],
74
+ props:["index",'item','materialnameandcode','typenumbers','newmaterialnameandcode','newmaterialnameandtype'],
73
75
  data(){
74
76
  return {
75
- materialtypenumber:[]
77
+ materialtypenumber:[],
78
+ materialnameandtype:[],
76
79
  }
77
80
  },
78
81
  methods:{
79
82
  changeMaterialName(val){
83
+ this.materialnameandtype=[]
80
84
  console.log(val)
81
85
  if(val){
82
- const res = this.materialnameandcode.filter((item)=>item.label === val)[0]
83
- console.log(res)
84
- if(res){
85
- this.item.f_typenumber = res['value']['materialNumber'].name
86
- this.item.unit = res['value']['materialNumber'].unit
87
- this.item.f_material_price = res['value']['materialNumber'].price
88
- this.item.f_typename = res['value']['typeName'].name
89
- this.item.material_type = res['value']['materialNumber'].material_type?res['value']['materialNumber'].material_type:'材料费'
86
+ for (let i = 0; i < this.newmaterialnameandtype.length; i++){
87
+
88
+ if(this.newmaterialnameandtype[i].parent_id == val.id){
89
+ this.materialnameandtype.push(
90
+ {
91
+ label:this.newmaterialnameandtype[i].name,
92
+ value: this.newmaterialnameandtype[i]
93
+ }
94
+ )
95
+ }
90
96
  }
91
97
  }
92
98
  },
99
+ changeType(val){
100
+ this.item.unit =val.unit
101
+ this.item.f_material_price =val.price
102
+ this.item.f_typename =val.name
103
+ this.item.material_type = this.item.f_material_name.name+val.name
104
+ },
93
105
  material_number_chenge(){
94
106
  this.$emit('number_chenge')
95
107
  },
@@ -11,7 +11,7 @@ let specialComp = {
11
11
  'app-super-service-control': (resolve) => { require(['./android/AppSuperServiceControl'], resolve) },
12
12
  'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
13
13
  'appinstallation-material': (resolve) => { require(['./android/AppInstallationMaterial'], resolve) },
14
- 'material-one': (resolve) => { require(['./android/MaterIialOne'], resolve) },
14
+ 'apply-material-one': (resolve) => { require(['./android/MaterIialOne'], resolve) },
15
15
  'app-supervisory-cart': (resolve) => { require(['./android/AppSupervisoryCart'], resolve) },
16
16
  'app-contract-charge': (resolve) => { require(['./android/AppContractCharge'], resolve) },
17
17
  'app-upload': (resolve) => { require(['./android/AppUpload'], resolve) }