apply-clients 3.4.91 → 3.4.93

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 (44) hide show
  1. package/build/dev-server.js +133 -133
  2. package/package.json +117 -117
  3. package/src/App.vue +26 -21
  4. package/src/components/android/Ignition/VentilationIgnition.vue +312 -312
  5. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +353 -353
  6. package/src/components/product/ApplyCharge/ApplyChargeList.vue +476 -476
  7. package/src/components/product/Function/InstallInfoSelect.vue +326 -326
  8. package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
  9. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  10. package/src/components/product/Material/Materiallist.vue +74 -74
  11. package/src/components/product/Material/Materialmanger.vue +58 -58
  12. package/src/components/product/Process/ExplorationSelect.vue +491 -491
  13. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +203 -203
  14. package/src/components/product/Process/ShowBackReason.vue +40 -40
  15. package/src/components/product/Stop/StopApplyList.vue +278 -278
  16. package/src/components/product/Supervisory/SupervisoryControl.vue +140 -140
  17. package/src/filiale/hongda/pc/printChargepc.vue +114 -114
  18. package/src/filiale/hongda/pc/printactivatecard.vue +151 -151
  19. package/src/filiale/linzhou/pc/ApplyChargeList.vue +486 -486
  20. package/src/filiale/linzhou/pc/ServiceControl.vue +1968 -1968
  21. package/src/filiale/linzhou/pc/devicesManagement.vue +494 -494
  22. package/src/filiale/linzhou/pc.js +10 -10
  23. package/src/filiale/qianneng/android/AppAddMaterialScience.vue +477 -477
  24. package/src/filiale/qianneng/android/AppExplorationUser.vue +447 -447
  25. package/src/filiale/qianneng/android/AppServiceControl.vue +1608 -1608
  26. package/src/filiale/qianneng/android/AppServiceView.vue +761 -761
  27. package/src/filiale/qianneng/android/AppSign.vue +152 -152
  28. package/src/filiale/qianneng/android/AppTakePic.vue +140 -140
  29. package/src/filiale/qianneng/android.js +12 -12
  30. package/src/filiale/qianneng/pc/ApplyUpload.vue +290 -290
  31. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +685 -685
  32. package/src/filiale/qianneng/pc/ExplorationUser.vue +189 -189
  33. package/src/filiale/qianneng/pc/InstallationDetails.vue +561 -561
  34. package/src/filiale/qianneng/pc/ServiceView.vue +1118 -1121
  35. package/src/filiale/qianneng/pc/SupervisoryList.vue +344 -344
  36. package/src/filiale/qianneng/pc/SupervisoryhCart.vue +127 -127
  37. package/src/filiale/qianneng/pc/addMaterialScience.vue +464 -464
  38. package/src/filiale/qianneng/pc/addressAndUserinfoManagement.vue +389 -389
  39. package/src/filiale/qianneng/pc/devicesManagement.vue +484 -484
  40. package/src/filiale/qianneng/pc/printactivatecard.vue +295 -295
  41. package/src/filiale/qianneng/pc.js +26 -26
  42. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +516 -0
  43. package/src/filiale/yangchunboneng/pc.js +13 -12
  44. package/src/main.js +23 -23
@@ -1,152 +1,152 @@
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="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
- this.getFiles()
35
- },
36
- methods: {
37
- clean () {
38
- this.f_sign_path = null
39
- this.fileName = null
40
- this.$emit('sign-clean')
41
- },
42
- sign () {
43
- this.type='手机签字'
44
- console.log('==============签字打印this============',this)
45
- this.delAudioFile(this.f_sign_path)
46
- this.fileName = guid() + '.jpg'
47
- HostApp.__callback__ = this.signCallback
48
- HostApp.__this__ = this
49
- HostApp.getSignature({
50
- file: this.fileName,
51
- requestCode: 111,
52
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
53
- })
54
- },
55
- // 签名回调
56
- signCallback (prop, signPath) {
57
- console.log('==============签字回调============')
58
- console.log(signPath)
59
- HostApp.__this__.$set(prop, signPath)
60
- console.log(HostApp.__this__.f_sign_path)
61
-
62
- HostApp.__this__.uploadFile()
63
-
64
- HostApp.__callback__ = null
65
- HostApp.__this__ = null
66
- },
67
- uploadFile () {
68
- console.log('===================签字文件上传==============')
69
- console.log('===================打印id==============',HostApp.__this__.blobid)
70
- let data = {
71
- defname:HostApp.__this__.defname,
72
- type:HostApp.__this__.type,
73
- blodid: HostApp.__this__.blobid,
74
- username: Vue.user.name,
75
- fremarks: '报装手机签字文件',
76
- fileName: HostApp.__this__.fileName,
77
- fileUrl: HostApp.__this__.f_sign_path
78
- }
79
-
80
- console.log('-----------bzLogic-----------------')
81
- console.log(JSON.stringify(data))
82
- let res = HostApp.bzLogic({
83
- 'logic': 'appFileUpload',
84
- 'data': data
85
- })
86
- console.log('===============上传回调=================')
87
- console.log(JSON.stringify(res))
88
- HostApp.__this__.getFiles(res.id)
89
- },
90
- async getFiles (fileid) {
91
- console.log('=========进来===============')
92
- let http = new HttpResetClass()
93
- console.log('=========进来===============')
94
- let data = {
95
- tablename: 't_files',
96
- condition: `f_blobid = '${this.blobid}' and defname = '${this.defname}' and fremarks='报装手机签字文件' `
97
- }
98
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
99
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
100
- warnMsg: null,
101
- resolveMsg: null
102
- })
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
- // HostApp.__this__.$set('f_sign_path', fileUrl)
108
- // HostApp.__this__.f_sign_path = fileUrl
109
- this.f_sign_path = fileUrl
110
-
111
- this.$emit('sign-success', fileUrl)
112
- },
113
- delAudioFile (signPath) {
114
- if (!signPath) {
115
- return
116
- }
117
- HostApp.delfile(signPath)
118
- this.f_sign_path = null
119
- this.fileName = null
120
- }
121
- },
122
- events: {
123
- },
124
- computed: {
125
- },
126
- watch: {
127
- }
128
- }
129
- </script>
130
- <style scoped lang="less">
131
- .qrcode {
132
- display: inline-block !important;
133
- margin: 10px 0px;
134
- }
135
- .panel-self{
136
- border-radius: 10px;
137
- border:1px solid #499EDF;
138
- background-color: #F8F8F8;
139
- }
140
- .vertical-center {
141
- display: flex;
142
- align-items: center;
143
- text-align: center;
144
- }
145
- /*清除model中的浮动*/
146
- .clearfix:after,.clearfix:before{
147
- display: table;
148
- }
149
- .clearfix:after{
150
- clear: both;
151
- }
152
- </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="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
+ this.getFiles()
35
+ },
36
+ methods: {
37
+ clean () {
38
+ this.f_sign_path = null
39
+ this.fileName = null
40
+ this.$emit('sign-clean')
41
+ },
42
+ sign () {
43
+ this.type='手机签字'
44
+ console.log('==============签字打印this============',this)
45
+ this.delAudioFile(this.f_sign_path)
46
+ this.fileName = guid() + '.jpg'
47
+ HostApp.__callback__ = this.signCallback
48
+ HostApp.__this__ = this
49
+ HostApp.getSignature({
50
+ file: this.fileName,
51
+ requestCode: 111,
52
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
53
+ })
54
+ },
55
+ // 签名回调
56
+ signCallback (prop, signPath) {
57
+ console.log('==============签字回调============')
58
+ console.log(signPath)
59
+ HostApp.__this__.$set(prop, signPath)
60
+ console.log(HostApp.__this__.f_sign_path)
61
+
62
+ HostApp.__this__.uploadFile()
63
+
64
+ HostApp.__callback__ = null
65
+ HostApp.__this__ = null
66
+ },
67
+ uploadFile () {
68
+ console.log('===================签字文件上传==============')
69
+ console.log('===================打印id==============',HostApp.__this__.blobid)
70
+ let data = {
71
+ defname:HostApp.__this__.defname,
72
+ type:HostApp.__this__.type,
73
+ blodid: HostApp.__this__.blobid,
74
+ username: Vue.user.name,
75
+ fremarks: '报装手机签字文件',
76
+ fileName: HostApp.__this__.fileName,
77
+ fileUrl: HostApp.__this__.f_sign_path
78
+ }
79
+
80
+ console.log('-----------bzLogic-----------------')
81
+ console.log(JSON.stringify(data))
82
+ let res = HostApp.bzLogic({
83
+ 'logic': 'appFileUpload',
84
+ 'data': data
85
+ })
86
+ console.log('===============上传回调=================')
87
+ console.log(JSON.stringify(res))
88
+ HostApp.__this__.getFiles(res.id)
89
+ },
90
+ async getFiles (fileid) {
91
+ console.log('=========进来===============')
92
+ let http = new HttpResetClass()
93
+ console.log('=========进来===============')
94
+ let data = {
95
+ tablename: 't_files',
96
+ condition: `f_blobid = '${this.blobid}' and defname = '${this.defname}' and fremarks='报装手机签字文件' `
97
+ }
98
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
99
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
100
+ warnMsg: null,
101
+ resolveMsg: null
102
+ })
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
+ // HostApp.__this__.$set('f_sign_path', fileUrl)
108
+ // HostApp.__this__.f_sign_path = fileUrl
109
+ this.f_sign_path = fileUrl
110
+
111
+ this.$emit('sign-success', fileUrl)
112
+ },
113
+ delAudioFile (signPath) {
114
+ if (!signPath) {
115
+ return
116
+ }
117
+ HostApp.delfile(signPath)
118
+ this.f_sign_path = null
119
+ this.fileName = null
120
+ }
121
+ },
122
+ events: {
123
+ },
124
+ computed: {
125
+ },
126
+ watch: {
127
+ }
128
+ }
129
+ </script>
130
+ <style scoped lang="less">
131
+ .qrcode {
132
+ display: inline-block !important;
133
+ margin: 10px 0px;
134
+ }
135
+ .panel-self{
136
+ border-radius: 10px;
137
+ border:1px solid #499EDF;
138
+ background-color: #F8F8F8;
139
+ }
140
+ .vertical-center {
141
+ display: flex;
142
+ align-items: center;
143
+ text-align: center;
144
+ }
145
+ /*清除model中的浮动*/
146
+ .clearfix:after,.clearfix:before{
147
+ display: table;
148
+ }
149
+ .clearfix:after{
150
+ clear: both;
151
+ }
152
+ </style>
@@ -1,140 +1,140 @@
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 = '手机拍照' `
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 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 = '手机拍照' `
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,12 +1,12 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
- 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
- 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
- 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
- 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
- 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) }
10
-
11
- }
12
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
5
+ 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
+ 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
7
+ 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
8
+ 'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
9
+ 'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) }
10
+
11
+ }
12
+ exports.specialComp = specialComp