apply-clients 3.5.5-7 → 3.5.5-70

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 (92) hide show
  1. package/build/dev-server.js +7 -19
  2. package/package.json +5 -3
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/QXClient.js +333 -0
  6. package/src/components/SignTools.js +65 -0
  7. package/src/components/android/Process/AppChargeList.vue +391 -383
  8. package/src/components/android/Process/AppExplorationUser.vue +508 -508
  9. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  10. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  11. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  12. package/src/components/product/Process/Processes/contractModel.vue +436 -454
  13. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  14. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  15. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +860 -858
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
  18. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  19. package/src/filiale/fugou/android/AppExplorationUser.vue +2 -2
  20. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  21. package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
  22. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  23. package/src/filiale/fugou/pc/ApplyChargeList.vue +4 -0
  24. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  25. package/src/filiale/fugou/pc/ServiceControl.vue +19 -10
  26. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  27. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  28. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  29. package/src/filiale/fugou/pc/chargeReport.vue +87 -15
  30. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  31. package/src/filiale/fugou/pc.js +3 -1
  32. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  33. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  34. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  35. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  36. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  37. package/src/filiale/gongyi/android.js +18 -18
  38. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  39. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  40. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  41. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  42. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  43. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  44. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  45. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  46. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  47. package/src/filiale/gongyi/pc.js +24 -24
  48. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  49. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  50. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  51. package/src/filiale/jinhuang/android.js +6 -0
  52. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  53. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +497 -0
  54. package/src/filiale/jinhuang/pc/ServiceControl.vue +1932 -1925
  55. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  56. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  57. package/src/filiale/jinhuang/pc.js +3 -0
  58. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  59. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  60. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  61. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  62. package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
  63. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  64. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +6 -2
  65. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +585 -518
  66. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  67. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  68. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +217 -43
  69. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  70. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  71. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  72. package/src/filiale/yangchunboneng/android.js +2 -1
  73. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  74. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  75. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
  76. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  77. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  78. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2 -2
  79. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  80. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  81. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +617 -605
  82. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  83. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  84. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  85. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  86. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +337 -0
  87. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  88. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  89. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  90. package/src/filiale/yangchunboneng/pc.js +28 -24
  91. package/src/main.js +1 -1
  92. package/~/chatbot/main.py +0 -57
@@ -1,170 +1,170 @@
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 {guid, toStandardTimeString} 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.filePath
35
- if (this.filePath !== null || this.filePath !== '') {
36
- // 定义照片格式的扩展名数组
37
- const imageExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff'];
38
- // 获取文件扩展名
39
- const fileExtension = this.filePath.toLowerCase().substring(this.filePath.lastIndexOf('.'));
40
- // 判断文件扩展名是否在照片格式数组中
41
- if (imageExtensions.includes(fileExtension)) {
42
- console.log('这是一个照片文件');
43
- } else {
44
- this.f_sign_path=null
45
- }
46
- }
47
- this.getFiles()
48
- },
49
- methods: {
50
- clean () {
51
- this.f_sign_path = null
52
- this.fileName = null
53
- this.$emit('sign-clean')
54
- },
55
- sign () {
56
- this.type='手机签字'
57
- console.log('==============签字打印this============',this)
58
- this.delAudioFile(this.f_sign_path)
59
- this.fileName = guid() + '.jpg'
60
- HostApp.__callback__ = this.signCallback
61
- HostApp.__this__ = this
62
- HostApp.getSignature({
63
- file: this.fileName,
64
- requestCode: 111,
65
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
66
- })
67
- },
68
- // 签名回调
69
- signCallback (prop, signPath) {
70
- console.log('==============签字回调============')
71
- console.log(signPath)
72
- HostApp.__this__.$set(prop, signPath)
73
- console.log(HostApp.__this__.f_sign_path)
74
-
75
- HostApp.__this__.uploadFile()
76
-
77
- HostApp.__callback__ = null
78
- HostApp.__this__ = null
79
- },
80
- uploadFile () {
81
- console.log('===================签字文件上传==============')
82
- console.log('===================打印id==============',HostApp.__this__.blobid)
83
- let data = {
84
- defname:HostApp.__this__.defname,
85
- type:HostApp.__this__.type,
86
- blodid: HostApp.__this__.blobid,
87
- username: Vue.user.name,
88
- fremarks: '报装手机签字文件',
89
- fileName: HostApp.__this__.fileName,
90
- fileUrl: HostApp.__this__.f_sign_path
91
- }
92
-
93
- console.log('-----------bzLogic-----------------')
94
- console.log(JSON.stringify(data))
95
- let res = HostApp.bzLogic({
96
- 'logic': 'appFileUpload',
97
- 'data': data
98
- })
99
- console.log('===============上传回调=================')
100
- console.log(JSON.stringify(res))
101
- HostApp.__this__.getFiles(res.id)
102
- },
103
- async getFiles (fileid) {
104
- console.log('=========进来===============')
105
- let http = new HttpResetClass()
106
- console.log('=========进来===============')
107
- let data = {
108
- tablename: 't_files',
109
- condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' and defname = '${this.defname}' `
110
- }
111
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
112
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
113
- warnMsg: null,
114
- resolveMsg: null
115
- })
116
- if (res.data.length > 0){
117
- let fileUrl=''
118
- if(/^[A-Za-z]:/.test(res.data[0].f_downloadpath)){
119
- let path= res.data[0].f_downloadpath
120
- let newPath = path.substring(path.indexOf(":\\") + 5)
121
- debugger
122
- fileUrl= `${this.$androidUtil.getProxyUrl()}/${newPath}`
123
- }else {
124
- fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
125
- }
126
- console.log(fileUrl)
127
- this.f_sign_path = fileUrl
128
- this.$emit('sign-success', fileUrl)
129
- }
130
- },
131
- delAudioFile (signPath) {
132
- if (!signPath) {
133
- return
134
- }
135
- HostApp.delfile(signPath)
136
- this.f_sign_path = null
137
- this.fileName = null
138
- }
139
- },
140
- events: {
141
- },
142
- computed: {
143
- },
144
- watch: {
145
- }
146
- }
147
- </script>
148
- <style scoped lang="less">
149
- .qrcode {
150
- display: inline-block !important;
151
- margin: 10px 0px;
152
- }
153
- .panel-self{
154
- border-radius: 10px;
155
- border:1px solid #499EDF;
156
- background-color: #F8F8F8;
157
- }
158
- .vertical-center {
159
- display: flex;
160
- align-items: center;
161
- text-align: center;
162
- }
163
- /*清除model中的浮动*/
164
- .clearfix:after,.clearfix:before{
165
- display: table;
166
- }
167
- .clearfix:after{
168
- clear: both;
169
- }
170
- </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 {guid, toStandardTimeString} 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.filePath
35
+ if (this.filePath !== null || this.filePath !== '') {
36
+ // 定义照片格式的扩展名数组
37
+ const imageExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff'];
38
+ // 获取文件扩展名
39
+ const fileExtension = this.filePath.toLowerCase().substring(this.filePath.lastIndexOf('.'));
40
+ // 判断文件扩展名是否在照片格式数组中
41
+ if (imageExtensions.includes(fileExtension)) {
42
+ console.log('这是一个照片文件');
43
+ } else {
44
+ this.f_sign_path=null
45
+ }
46
+ }
47
+ this.getFiles()
48
+ },
49
+ methods: {
50
+ clean () {
51
+ this.f_sign_path = null
52
+ this.fileName = null
53
+ this.$emit('sign-clean')
54
+ },
55
+ sign () {
56
+ this.type='手机签字'
57
+ console.log('==============签字打印this============',this)
58
+ this.delAudioFile(this.f_sign_path)
59
+ this.fileName = guid() + '.jpg'
60
+ HostApp.__callback__ = this.signCallback
61
+ HostApp.__this__ = this
62
+ HostApp.getSignature({
63
+ file: this.fileName,
64
+ requestCode: 111,
65
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
66
+ })
67
+ },
68
+ // 签名回调
69
+ signCallback (prop, signPath) {
70
+ console.log('==============签字回调============')
71
+ console.log(signPath)
72
+ HostApp.__this__.$set(prop, signPath)
73
+ console.log(HostApp.__this__.f_sign_path)
74
+
75
+ HostApp.__this__.uploadFile()
76
+
77
+ HostApp.__callback__ = null
78
+ HostApp.__this__ = null
79
+ },
80
+ uploadFile () {
81
+ console.log('===================签字文件上传==============')
82
+ console.log('===================打印id==============',HostApp.__this__.blobid)
83
+ let data = {
84
+ defname:HostApp.__this__.defname,
85
+ type:HostApp.__this__.type,
86
+ blodid: HostApp.__this__.blobid,
87
+ username: Vue.user.name,
88
+ fremarks: '报装手机签字文件',
89
+ fileName: HostApp.__this__.fileName,
90
+ fileUrl: HostApp.__this__.f_sign_path
91
+ }
92
+
93
+ console.log('-----------bzLogic-----------------')
94
+ console.log(JSON.stringify(data))
95
+ let res = HostApp.bzLogic({
96
+ 'logic': 'appFileUpload',
97
+ 'data': data
98
+ })
99
+ console.log('===============上传回调=================')
100
+ console.log(JSON.stringify(res))
101
+ HostApp.__this__.getFiles(res.id)
102
+ },
103
+ async getFiles (fileid) {
104
+ console.log('=========进来===============')
105
+ let http = new HttpResetClass()
106
+ console.log('=========进来===============')
107
+ let data = {
108
+ tablename: 't_files',
109
+ condition: `f_blobid = '${this.blobid}' and fremarks='报装手机签字文件' and defname = '${this.defname}' `
110
+ }
111
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
112
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
113
+ warnMsg: null,
114
+ resolveMsg: null
115
+ })
116
+ if (res.data.length > 0){
117
+ let fileUrl=''
118
+ if(/^[A-Za-z]:/.test(res.data[0].f_downloadpath)){
119
+ let path= res.data[0].f_downloadpath
120
+ let newPath = path.substring(path.indexOf(":\\") + 5)
121
+ debugger
122
+ fileUrl= `${this.$androidUtil.getProxyUrl()}/${newPath}`
123
+ }else {
124
+ fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
125
+ }
126
+ console.log(fileUrl)
127
+ this.f_sign_path = fileUrl
128
+ this.$emit('sign-success', fileUrl)
129
+ }
130
+ },
131
+ delAudioFile (signPath) {
132
+ if (!signPath) {
133
+ return
134
+ }
135
+ HostApp.delfile(signPath)
136
+ this.f_sign_path = null
137
+ this.fileName = null
138
+ }
139
+ },
140
+ events: {
141
+ },
142
+ computed: {
143
+ },
144
+ watch: {
145
+ }
146
+ }
147
+ </script>
148
+ <style scoped lang="less">
149
+ .qrcode {
150
+ display: inline-block !important;
151
+ margin: 10px 0px;
152
+ }
153
+ .panel-self{
154
+ border-radius: 10px;
155
+ border:1px solid #499EDF;
156
+ background-color: #F8F8F8;
157
+ }
158
+ .vertical-center {
159
+ display: flex;
160
+ align-items: center;
161
+ text-align: center;
162
+ }
163
+ /*清除model中的浮动*/
164
+ .clearfix:after,.clearfix:before{
165
+ display: table;
166
+ }
167
+ .clearfix:after{
168
+ clear: both;
169
+ }
170
+ </style>