apply-clients 3.5.4-99 → 3.5.5-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 (49) hide show
  1. package/build/dev-server.js +9 -6
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/components/android/AppTakePic.vue +182 -182
  5. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  6. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  7. package/src/components/product/ServiceView.vue +1028 -1028
  8. package/src/filiale/ancheng/android/AppSign.vue +149 -149
  9. package/src/filiale/ancheng/android/AppTakePic.vue +143 -143
  10. package/src/filiale/ancheng/android.js +7 -7
  11. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +858 -858
  12. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  13. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  14. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  15. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1845
  16. package/src/filiale/fugou/android/printCharge.vue +162 -162
  17. package/src/filiale/fugou/android.js +16 -16
  18. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  19. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  20. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  21. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  22. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  23. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  24. package/src/filiale/hongda/pc/ApplyDetailsList.vue +329 -329
  25. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  26. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  27. package/src/filiale/qianneng/android.js +15 -15
  28. package/src/filiale/qianneng/pc/ApplyChargeList.vue +639 -639
  29. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  30. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +769 -769
  31. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  32. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  33. package/src/filiale/qianneng/pc/InstallInfoSelect.vue +434 -434
  34. package/src/filiale/qianneng/pc/ServiceControl.vue +1382 -1382
  35. package/src/filiale/qianneng/pc/StopApplyList.vue +334 -334
  36. package/src/filiale/qianneng/pc/SupervisoryList.vue +396 -396
  37. package/src/filiale/qianneng/pc/chargeManagement.vue +813 -813
  38. package/src/filiale/qianneng/pc.js +29 -29
  39. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  40. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  41. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1706 -1706
  42. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  43. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2115 -2115
  44. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  45. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  46. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  47. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  48. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  49. package/src/main.js +23 -23
@@ -1,149 +1,149 @@
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
- <img :src="$androidUtil.getProxyUrl()+'/rs/image/file/'+f_sign_path" width="100%" height="100%" />
6
- </div>
7
- <div class="row text-right form-group">
8
- <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean">清除</button>
9
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
10
- </div>
11
- </div>
12
- </div>
13
- </template>
14
- <script>
15
- import {getNowDate, guid, isEmpty} from '../../../components/Util'
16
- import {PagedList} from 'vue-client'
17
- import {HttpResetClass} from 'vue-client'
18
- import QRCode from 'qrcodejs2'
19
- import Vue from "vue";
20
-
21
- export default {
22
- title: '签字',
23
- props: ['filePath','blobid','type', 'defname'],
24
- data () {
25
- return {
26
- f_sign_path: null,
27
- fileName: null
28
- }
29
- },
30
- ready () {
31
- console.log('在ready里打印一下this.filePath',this.filePath)
32
- this.f_sign_path = this.filePath
33
- console.log('在ready里打印一下this.f_sign_path',this.f_sign_path)
34
- debugger
35
- this.getFiles()
36
- },
37
- methods: {
38
- clean () {
39
- this.f_sign_path = null
40
- this.fileName = null
41
- this.$emit('sign-clean')
42
- },
43
- sign () {
44
- this.type='手机签字'
45
- console.log('==============签字打印this============',this)
46
- this.delAudioFile(this.f_sign_path)
47
- this.fileName = guid() + '.jpg'
48
- HostApp.__callback__ = this.signCallback
49
- HostApp.__this__ = this
50
- HostApp.getSignature({
51
- file: this.fileName,
52
- requestCode: 111,
53
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
54
- })
55
- },
56
- // 签名回调
57
- signCallback (prop, signPath) {
58
- console.log('==============签字回调============')
59
- console.log(signPath)
60
- // HostApp.__this__.$set(prop, signPath)
61
- console.log(HostApp.__this__.f_sign_path)
62
-
63
- HostApp.__this__.uploadFile()
64
-
65
- HostApp.__callback__ = null
66
- HostApp.__this__ = null
67
- },
68
- uploadFile () {
69
- console.log('===================签字文件上传==============')
70
- console.log('===================打印id==============',HostApp.__this__.blobid)
71
- let data = {
72
- defname:HostApp.__this__.defname,
73
- type:HostApp.__this__.type,
74
- blodid: HostApp.__this__.blobid,
75
- username: Vue.user.name,
76
- fremarks: '报装手机签字文件',
77
- fileName: HostApp.__this__.fileName,
78
- fileUrl: HostApp.__this__.f_sign_path
79
- }
80
-
81
- console.log('-----------bzLogic-----------------')
82
- console.log(JSON.stringify(data))
83
- let res = HostApp.bzLogic({
84
- 'logic': 'appFileUpload',
85
- 'data': data
86
- })
87
- console.log('===============上传回调=================')
88
- console.log(JSON.stringify(res))
89
- HostApp.__this__.getFiles(res.id)
90
- },
91
- async getFiles (fileid) {
92
- debugger
93
- console.log('=========进来===============')
94
- let http = new HttpResetClass()
95
- console.log('=========进来===============')
96
- let data = {
97
- tablename: 't_files',
98
- condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' `
99
- }
100
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
101
- warnMsg: null,
102
- resolveMsg: null
103
- })
104
- console.log('=========查询回调===============')
105
- let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
106
- console.log(fileUrl)
107
- this.f_sign_path = res.data[0].f_filename
108
- this.$emit('sign-success', fileUrl)
109
- },
110
- delAudioFile (signPath) {
111
- if (!signPath) {
112
- return
113
- }
114
- HostApp.delfile(signPath)
115
- this.f_sign_path = null
116
- this.fileName = null
117
- }
118
- },
119
- events: {
120
- },
121
- computed: {
122
- },
123
- watch: {
124
- }
125
- }
126
- </script>
127
- <style scoped lang="less">
128
- .qrcode {
129
- display: inline-block !important;
130
- margin: 10px 0px;
131
- }
132
- .panel-self{
133
- border-radius: 10px;
134
- border:1px solid #499EDF;
135
- background-color: #F8F8F8;
136
- }
137
- .vertical-center {
138
- display: flex;
139
- align-items: center;
140
- text-align: center;
141
- }
142
- /*清除model中的浮动*/
143
- .clearfix:after,.clearfix:before{
144
- display: table;
145
- }
146
- .clearfix:after{
147
- clear: both;
148
- }
149
- </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
+ <img :src="$androidUtil.getProxyUrl()+'/rs/image/file/'+f_sign_path" width="100%" height="100%" />
6
+ </div>
7
+ <div class="row text-right form-group">
8
+ <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean">清除</button>
9
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
10
+ </div>
11
+ </div>
12
+ </div>
13
+ </template>
14
+ <script>
15
+ import {getNowDate, guid, isEmpty} from '../../../components/Util'
16
+ import {PagedList} from 'vue-client'
17
+ import {HttpResetClass} from 'vue-client'
18
+ import QRCode from 'qrcodejs2'
19
+ import Vue from "vue";
20
+
21
+ export default {
22
+ title: '签字',
23
+ props: ['filePath','blobid','type', 'defname'],
24
+ data () {
25
+ return {
26
+ f_sign_path: null,
27
+ fileName: null
28
+ }
29
+ },
30
+ ready () {
31
+ console.log('在ready里打印一下this.filePath',this.filePath)
32
+ this.f_sign_path = this.filePath
33
+ console.log('在ready里打印一下this.f_sign_path',this.f_sign_path)
34
+ debugger
35
+ this.getFiles()
36
+ },
37
+ methods: {
38
+ clean () {
39
+ this.f_sign_path = null
40
+ this.fileName = null
41
+ this.$emit('sign-clean')
42
+ },
43
+ sign () {
44
+ this.type='手机签字'
45
+ console.log('==============签字打印this============',this)
46
+ this.delAudioFile(this.f_sign_path)
47
+ this.fileName = guid() + '.jpg'
48
+ HostApp.__callback__ = this.signCallback
49
+ HostApp.__this__ = this
50
+ HostApp.getSignature({
51
+ file: this.fileName,
52
+ requestCode: 111,
53
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
54
+ })
55
+ },
56
+ // 签名回调
57
+ signCallback (prop, signPath) {
58
+ console.log('==============签字回调============')
59
+ console.log(signPath)
60
+ // HostApp.__this__.$set(prop, signPath)
61
+ console.log(HostApp.__this__.f_sign_path)
62
+
63
+ HostApp.__this__.uploadFile()
64
+
65
+ HostApp.__callback__ = null
66
+ HostApp.__this__ = null
67
+ },
68
+ uploadFile () {
69
+ console.log('===================签字文件上传==============')
70
+ console.log('===================打印id==============',HostApp.__this__.blobid)
71
+ let data = {
72
+ defname:HostApp.__this__.defname,
73
+ type:HostApp.__this__.type,
74
+ blodid: HostApp.__this__.blobid,
75
+ username: Vue.user.name,
76
+ fremarks: '报装手机签字文件',
77
+ fileName: HostApp.__this__.fileName,
78
+ fileUrl: HostApp.__this__.f_sign_path
79
+ }
80
+
81
+ console.log('-----------bzLogic-----------------')
82
+ console.log(JSON.stringify(data))
83
+ let res = HostApp.bzLogic({
84
+ 'logic': 'appFileUpload',
85
+ 'data': data
86
+ })
87
+ console.log('===============上传回调=================')
88
+ console.log(JSON.stringify(res))
89
+ HostApp.__this__.getFiles(res.id)
90
+ },
91
+ async getFiles (fileid) {
92
+ debugger
93
+ console.log('=========进来===============')
94
+ let http = new HttpResetClass()
95
+ console.log('=========进来===============')
96
+ let data = {
97
+ tablename: 't_files',
98
+ condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' `
99
+ }
100
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
101
+ warnMsg: null,
102
+ resolveMsg: null
103
+ })
104
+ console.log('=========查询回调===============')
105
+ let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
106
+ console.log(fileUrl)
107
+ this.f_sign_path = res.data[0].f_filename
108
+ this.$emit('sign-success', fileUrl)
109
+ },
110
+ delAudioFile (signPath) {
111
+ if (!signPath) {
112
+ return
113
+ }
114
+ HostApp.delfile(signPath)
115
+ this.f_sign_path = null
116
+ this.fileName = null
117
+ }
118
+ },
119
+ events: {
120
+ },
121
+ computed: {
122
+ },
123
+ watch: {
124
+ }
125
+ }
126
+ </script>
127
+ <style scoped lang="less">
128
+ .qrcode {
129
+ display: inline-block !important;
130
+ margin: 10px 0px;
131
+ }
132
+ .panel-self{
133
+ border-radius: 10px;
134
+ border:1px solid #499EDF;
135
+ background-color: #F8F8F8;
136
+ }
137
+ .vertical-center {
138
+ display: flex;
139
+ align-items: center;
140
+ text-align: center;
141
+ }
142
+ /*清除model中的浮动*/
143
+ .clearfix:after,.clearfix:before{
144
+ display: table;
145
+ }
146
+ .clearfix:after{
147
+ clear: both;
148
+ }
149
+ </style>
@@ -1,143 +1,143 @@
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="$androidUtil.getProxyUrl()+'/rs/image/file/'+file.f_filename" :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 fremarks = '手机拍照' order by f_uploaddate desc `
53
- }
54
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
55
- // let res = await http.load('POST', `rs/sql/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
- takePic (title) {
75
- // 拍照成功回调
76
- HostApp.__callback__ = this.cameraCallBack
77
- HostApp.__this__ = this
78
- let fileName = guid() + '.jpg'
79
- // 打开相机
80
- HostApp._open_a_page({
81
- type: 'boomerang',
82
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
83
- param: {
84
- file: fileName,
85
- requestCode: 200,
86
- callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
87
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
88
- }
89
- })
90
- },
91
- cameraCallBack (fileName, fileUrl) {
92
- console.log('-----------cameraCallBack-----------------')
93
-
94
- let data = {
95
- blodid: HostApp.__this__.blobid,
96
- type: HostApp.__this__.type,
97
- defname: HostApp.__this__.defname,
98
- username: Vue.user.name,
99
- fremarks: '手机拍照',
100
- fileName: fileName,
101
- fileUrl: fileUrl
102
- }
103
-
104
- console.log('-----------bzLogic-----------------')
105
- HostApp.bzLogic({
106
- 'logic': 'appFileUpload',
107
- 'data': data
108
- })
109
-
110
- console.log('----------------开始回调查询-------------------')
111
- HostApp.__this__.getFiles()
112
- console.log('----------------查询回调结束-------------------')
113
-
114
- HostApp.__callback__ = null
115
- HostApp.__this__ = null
116
- }
117
- },
118
- computed: {
119
- typeList () {
120
- if (this.typelabel) {
121
- return this.$appdata.getParam(this.typelabel)
122
- }
123
- return this.$appdata.getParam('使用类型')
124
- }
125
- },
126
- events: {
127
- }
128
- }
129
- </script>
130
-
131
- <style lang="less">
132
- .fileType {
133
- float: left;
134
- .select-style {
135
- background: #f8f8f8;
136
- border: 0px;
137
- }
138
- input {
139
- border-left: none;
140
- width: 100%;
141
- }
142
- }
143
- </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 fileList">
6
+ <img-self :src="$androidUtil.getProxyUrl()+'/rs/image/file/'+file.f_filename" :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 fremarks = '手机拍照' order by f_uploaddate desc `
53
+ }
54
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
55
+ // let res = await http.load('POST', `rs/sql/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
+ takePic (title) {
75
+ // 拍照成功回调
76
+ HostApp.__callback__ = this.cameraCallBack
77
+ HostApp.__this__ = this
78
+ let fileName = guid() + '.jpg'
79
+ // 打开相机
80
+ HostApp._open_a_page({
81
+ type: 'boomerang',
82
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
83
+ param: {
84
+ file: fileName,
85
+ requestCode: 200,
86
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
87
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
88
+ }
89
+ })
90
+ },
91
+ cameraCallBack (fileName, fileUrl) {
92
+ console.log('-----------cameraCallBack-----------------')
93
+
94
+ let data = {
95
+ blodid: HostApp.__this__.blobid,
96
+ type: HostApp.__this__.type,
97
+ defname: HostApp.__this__.defname,
98
+ username: Vue.user.name,
99
+ fremarks: '手机拍照',
100
+ fileName: fileName,
101
+ fileUrl: fileUrl
102
+ }
103
+
104
+ console.log('-----------bzLogic-----------------')
105
+ HostApp.bzLogic({
106
+ 'logic': 'appFileUpload',
107
+ 'data': data
108
+ })
109
+
110
+ console.log('----------------开始回调查询-------------------')
111
+ HostApp.__this__.getFiles()
112
+ console.log('----------------查询回调结束-------------------')
113
+
114
+ HostApp.__callback__ = null
115
+ HostApp.__this__ = null
116
+ }
117
+ },
118
+ computed: {
119
+ typeList () {
120
+ if (this.typelabel) {
121
+ return this.$appdata.getParam(this.typelabel)
122
+ }
123
+ return this.$appdata.getParam('使用类型')
124
+ }
125
+ },
126
+ events: {
127
+ }
128
+ }
129
+ </script>
130
+
131
+ <style lang="less">
132
+ .fileType {
133
+ float: left;
134
+ .select-style {
135
+ background: #f8f8f8;
136
+ border: 0px;
137
+ }
138
+ input {
139
+ border-left: none;
140
+ width: 100%;
141
+ }
142
+ }
143
+ </style>
@@ -1,7 +1,7 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
5
- 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) }
6
- }
7
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
5
+ 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) }
6
+ }
7
+ exports.specialComp = specialComp