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.
- package/build/dev-server.js +137 -133
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/components/android/Process/AppServiceControl.vue +5 -0
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +493 -493
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +1 -3
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Process/ExplorationUser.vue +1 -0
- package/src/components/product/Process/Processes/addMaterialScience.vue +471 -471
- package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +801 -0
- package/src/filiale/baiyin/android/ByDeviceManagement.vue +917 -0
- package/src/filiale/baiyin/android.js +8 -0
- package/src/filiale/fugou/android/AppChargeManagement.vue +132 -1
- package/src/filiale/fugou/pc/ServiceControl.vue +27 -6
- package/src/filiale/qianneng/android/AppExplorationUser.vue +38 -0
- package/src/filiale/qianneng/android/AppInstallationDetails.vue +20 -11
- package/src/filiale/qianneng/pc/ApplyUpload.vue +292 -291
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +11 -6
- package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -586
- package/src/filiale/qianneng/pc/ServiceControl.vue +1 -0
- package/src/filiale/qianneng/pc/printactivatecard.vue +6 -6
- package/src/filiale/ruihua/pc/InstallationDetails.vue +610 -0
- package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
- package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
- package/src/filiale/ruihua/pc.js +1 -0
- package/src/filiale/shexian/android/AppServiceControl.vue +1758 -1753
- package/src/filiale/shexian/android/AppTakePic.vue +94 -140
- package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
- package/src/filiale/siyangRH/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +4 -0
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +7 -3
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +17 -1
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
- package/src/filiale/yangchunboneng/android/AppUpload.vue +50 -8
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +230 -219
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +53 -13
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +183 -2
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +140 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -13
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +613 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +99 -12
- package/src/filiale/yangchunboneng/pc.js +6 -1
- 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
|
|
6
|
-
<img-self :src="file.
|
|
7
|
-
<img v-if="isdelete" src="../../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file,
|
|
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 {
|
|
30
|
-
import
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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>
|