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
@@ -1,140 +1,94 @@
1
- <template>
2
- <div class="panel">
3
- <div class="panel-body panel-self" style="background-color: #F8F8F8;">
4
- <div class="row form-group" style="height: 240px;overflow: scroll;">
5
- <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in fileList">
6
- <img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
7
- <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file, index)">
8
- </div>
9
- </div>
10
- <div class="row text-right form-group" v-if="istakepic">
11
- <v-select
12
- class="fileType"
13
- placeholder="请选择使用类型"
14
- v-if="istype"
15
- :search="false"
16
- close-on-select
17
- value-single
18
- :options="typeList"
19
- v-model="type"
20
- :value.sync="type"
21
- ></v-select>
22
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic(type)">拍照</button>
23
- </div>
24
- </div>
25
- </div>
26
- </template>
27
-
28
- <script>
29
- import {HttpResetClass} from 'vue-client'
30
- import {guid, toStandardTimeString} from '../../../components/Util'
31
- import Vue from 'vue'
32
- export default {
33
- title: '附件',
34
- props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
35
- data () {
36
- return {
37
- fileList: []
38
- }
39
- },
40
- ready () {
41
- this.getFiles()
42
- },
43
- methods: {
44
- async getFiles () {
45
- console.log('----------------开始查询图片----------------')
46
- this.fileList = []
47
-
48
- let http = new HttpResetClass()
49
-
50
- let data = {
51
- tablename: 't_files',
52
- condition: `f_blobid = '${this.blobid}' and defname = '${this.defname}' and fremarks = '手机拍照' order by f_uploaddate desc `
53
- }
54
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
55
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
56
- warnMsg: null,
57
- resolveMsg: null
58
- })
59
-
60
- for (var i = 0; i < res.data.length; i++) {
61
- console.log('-----------地址----------------')
62
- console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
63
- res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
64
- }
65
-
66
- this.fileList = res.data
67
- },
68
- delfile (file, index) {
69
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
70
- this.$dispatch("delResid", file.id)
71
- this.getFiles()
72
- })
73
- },
74
- cameraCallBack (fileName, fileUrl) {
75
- console.log('-----------cameraCallBack-----------------')
76
- let data = {
77
- blodid: HostApp.__this__.blobid,
78
- type: HostApp.__this__.type,
79
- defname: HostApp.__this__.defname,
80
- username: Vue.user.name,
81
- fremarks: '手机拍照',
82
- fileName: fileName,
83
- fileUrl: fileUrl
84
- }
85
- console.log('-----------bzLogic-----------------')
86
- let res=HostApp.bzLogic({
87
- 'logic': 'appFileUpload',
88
- 'data': data
89
- })
90
- console.log('----------------开始回调查询-------------------')
91
- HostApp.__this__.getFiles()
92
- console.log('----------------查询回调结束-------------------')
93
- HostApp.__callback__ = null
94
- HostApp.__this__ = null
95
- },
96
- takePic (title) {
97
- // 拍照成功回调
98
- HostApp.__callback__ = this.cameraCallBack
99
- HostApp.__this__ = this
100
- let fileName = guid() + '.jpg'
101
- // 打开相机
102
- HostApp._open_a_page({
103
- type: 'boomerang',
104
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
105
- param: {
106
- file: fileName,
107
- requestCode: 200,
108
- callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
109
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
110
- }
111
- })
112
- },
113
-
114
- },
115
- computed: {
116
- typeList () {
117
- if (this.typelabel) {
118
- return this.$appdata.getParam(this.typelabel)
119
- }
120
- return this.$appdata.getParam('使用类型')
121
- }
122
- },
123
- events: {
124
- }
125
- }
126
- </script>
127
-
128
- <style lang="less">
129
- .fileType {
130
- float: left;
131
- .select-style {
132
- background: #f8f8f8;
133
- border: 0px;
134
- }
135
- input {
136
- border-left: none;
137
- width: 100%;
138
- }
139
- }
140
- </style>
1
+ <template>
2
+ <div class="panel">
3
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;">
4
+ <div class="row form-group" style="height: 240px;overflow: scroll;">
5
+ <div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in selectdata.files">
6
+ <img-self :src="file.fileUrl" :width="120" :height="170"></img-self>
7
+ <img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file.fileUrl,index)">
8
+ </div>
9
+ </div>
10
+ <div class="row text-right form-group" v-if="istakepic">
11
+ <v-select
12
+ class="fileType"
13
+ placeholder="请选择使用类型"
14
+ v-if="istype"
15
+ :search="false"
16
+ close-on-select
17
+ value-single
18
+ :options="typeList"
19
+ v-model="type"
20
+ :value.sync="type"
21
+ ></v-select>
22
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic(type)">拍照</button>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </template>
27
+
28
+ <script>
29
+ import {guid, toStandardTimeString} from '../../../components/Util'
30
+ import Vue from 'vue'
31
+ export default {
32
+ title: '附件',
33
+ props: ['selectdata', 'blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
34
+ data () {
35
+ return {
36
+ }
37
+ },
38
+ ready () {
39
+ this.selectdata.files = []
40
+ },
41
+ methods: {
42
+ delfile (file, index) {
43
+ this.selectdata.files.splice(index, 1)
44
+ HostApp.delfile(file)
45
+ },
46
+ cameraCallBack (fileName, fileUrl) {
47
+ this.selectdata.files.push({fileName: fileName, fileUrl: fileUrl})
48
+ HostApp.__callback__ = null
49
+ HostApp.__this__ = null
50
+ },
51
+ takePic (title) {
52
+ // 拍照成功回调
53
+ HostApp.__callback__ = this.cameraCallBack
54
+ HostApp.__this__ = this
55
+ let fileName = guid() + '.jpg'
56
+ // 打开相机
57
+ HostApp._open_a_page({
58
+ type: 'boomerang',
59
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
60
+ param: {
61
+ file: fileName,
62
+ requestCode: 200,
63
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
64
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
65
+ }
66
+ })
67
+ }
68
+ },
69
+ computed: {
70
+ typeList () {
71
+ if (this.typelabel) {
72
+ return this.$appdata.getParam(this.typelabel)
73
+ }
74
+ return this.$appdata.getParam('使用类型')
75
+ }
76
+ },
77
+ events: {
78
+ }
79
+ }
80
+ </script>
81
+
82
+ <style lang="less">
83
+ .fileType {
84
+ float: left;
85
+ .select-style {
86
+ background: #f8f8f8;
87
+ border: 0px;
88
+ }
89
+ input {
90
+ border-left: none;
91
+ width: 100%;
92
+ }
93
+ }
94
+ </style>