apply-clients 3.5.5-7 → 3.5.5-9

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 (50) hide show
  1. package/build/dev-server.js +6 -15
  2. package/package.json +1 -1
  3. package/src/App.vue +25 -25
  4. package/src/apply.js +141 -141
  5. package/src/components/android/AppCheckTakePic.vue +168 -168
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
  8. package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
  9. package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
  10. package/src/components/product/PcZhihuanManagement.vue +160 -160
  11. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  12. package/src/components/product/Process/Processes/contractModel.vue +424 -454
  13. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  14. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  15. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  16. package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
  17. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
  18. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  19. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  20. package/src/filiale/fugou/android/AppZhihuanManagement.vue +230 -230
  21. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  22. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  23. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  24. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  25. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  26. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  27. package/src/filiale/fugou/pc.js +2 -1
  28. package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
  29. package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
  30. package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
  31. package/src/filiale/gongyi/android/AppSign.vue +170 -170
  32. package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
  33. package/src/filiale/gongyi/android.js +18 -18
  34. package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
  35. package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
  36. package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
  37. package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
  38. package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
  39. package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
  40. package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
  41. package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
  42. package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
  43. package/src/filiale/gongyi/pc.js +24 -24
  44. package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
  45. package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
  46. package/src/main.js +1 -2
  47. package/src/test/SessionTestServlet.java +69 -0
  48. package/webapp/WEB-INF/web.xml +52 -0
  49. package/webapp/session-test.jsp +59 -0
  50. package/~/chatbot/main.py +0 -57
@@ -1,168 +1,168 @@
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
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic(type)">拍照</button>
11
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic1(type)">相册</button>
12
- </div>
13
- </div>
14
- </template>
15
-
16
- <script>
17
- import {HttpResetClass} from 'vue-client'
18
- import {guid, toStandardTimeString} from '../Util'
19
- import Vue from 'vue'
20
- export default {
21
- title: '附件',
22
- props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic','flag'],
23
- data () {
24
- return {
25
- fileList: []
26
- }
27
- },
28
- ready () {
29
- this.getFiles()
30
- },
31
- methods: {
32
- async getFiles () {
33
- console.log('----------------开始查询图片----------------')
34
- this.fileList = []
35
-
36
- let http = new HttpResetClass()
37
-
38
- let data = {
39
- tablename: 't_files',
40
- condition: `f_blobid = '${this.blobid}' and fremarks='${this.flag}' order by f_uploaddate desc `
41
- }
42
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
43
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
44
- warnMsg: null,
45
- resolveMsg: null
46
- })
47
-
48
- for (var i = 0; i < res.data.length; i++) {
49
- console.log('-----------地址----------------')
50
- console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
51
- res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
52
- }
53
-
54
- this.fileList = res.data
55
- },
56
- delfile (file, index) {
57
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
58
- this.$dispatch("delResid", file.id)
59
- this.getFiles()
60
- })
61
- },
62
- cameraCallBack (fileName, fileUrl) {
63
- console.log('-----------cameraCallBack-----------------')
64
- let data = {
65
- blodid: HostApp.__this__.blobid,
66
- type: HostApp.__this__.type,
67
- defname: HostApp.__this__.defname,
68
- username: Vue.user.name,
69
- fremarks: this.flag,
70
- fileName: fileName,
71
- fileUrl: fileUrl
72
- }
73
- console.log('-----------bzLogic-----------------')
74
- let res=HostApp.bzLogic({
75
- 'logic': 'appFileUpload',
76
- 'data': data
77
- })
78
- console.log('----------------开始回调查询-------------------')
79
- HostApp.__this__.getFiles()
80
- console.log('----------------查询回调结束-------------------')
81
- HostApp.__callback__ = null
82
- HostApp.__this__ = null
83
- },
84
- takePic (title) {
85
- // 拍照成功回调
86
- HostApp.__callback__ = this.cameraCallBack
87
- HostApp.__this__ = this
88
- let fileName = guid() + '.jpg'
89
- // 打开相机
90
- HostApp._open_a_page({
91
- type: 'boomerang',
92
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
93
- param: {
94
- file: fileName,
95
- requestCode: 200,
96
- callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
97
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
98
- }
99
- })
100
- },
101
- cameraCallBack1 (fileName, fileUrl) {
102
- if(fileUrl instanceof Array){
103
- fileUrl.forEach((row)=>{
104
- console.log('照片名字',row.match(/[^\/]+$/)[0])
105
- let data = {
106
- blodid: HostApp.__this__.blobid,
107
- type: HostApp.__this__.type,
108
- defname: HostApp.__this__.defname,
109
- username: Vue.user.name,
110
- fremarks: this.flag,
111
- fileName: row.match(/[^\/]+$/)[0],
112
- fileUrl: row
113
- }
114
- console.log('-----------bzLogic-----------------')
115
- let res=HostApp.bzLogic({
116
- 'logic': 'appFileUpload',
117
- 'data': data
118
- })
119
- })
120
- HostApp.__this__.getFiles()
121
- HostApp.__callback__ = null
122
- HostApp.__this__ = null
123
- }
124
- },
125
- takePic1(title) {
126
- HostApp.__callback__ = this.cameraCallBack1
127
- HostApp.__this__ = this
128
- let idx = 'aofeng'
129
- let fileName = guid() + '.jpg'
130
- HostApp._open_a_page({
131
- type: 'boomerang',
132
- page: 'com.aofeng.hybrid.android.peripheral.ActionMultiplePickActivity',
133
- param: {
134
- file: fileName,
135
- requestCode: 200,
136
- callback: 'javascript:HostApp.__callback__("' + fileName + '", %s);',
137
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
138
- }
139
- })
140
- },
141
-
142
- },
143
- computed: {
144
- typeList () {
145
- if (this.typelabel) {
146
- return this.$appdata.getParam(this.typelabel)
147
- }
148
- return this.$appdata.getParam('使用类型')
149
- }
150
- },
151
- events: {
152
- }
153
- }
154
- </script>
155
-
156
- <style lang="less">
157
- .fileType {
158
- float: left;
159
- .select-style {
160
- background: #f8f8f8;
161
- border: 0px;
162
- }
163
- input {
164
- border-left: none;
165
- width: 100%;
166
- }
167
- }
168
- </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
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic(type)">拍照</button>
11
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic1(type)">相册</button>
12
+ </div>
13
+ </div>
14
+ </template>
15
+
16
+ <script>
17
+ import {HttpResetClass} from 'vue-client'
18
+ import {guid, toStandardTimeString} from '../Util'
19
+ import Vue from 'vue'
20
+ export default {
21
+ title: '附件',
22
+ props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic','flag'],
23
+ data () {
24
+ return {
25
+ fileList: []
26
+ }
27
+ },
28
+ ready () {
29
+ this.getFiles()
30
+ },
31
+ methods: {
32
+ async getFiles () {
33
+ console.log('----------------开始查询图片----------------')
34
+ this.fileList = []
35
+
36
+ let http = new HttpResetClass()
37
+
38
+ let data = {
39
+ tablename: 't_files',
40
+ condition: `f_blobid = '${this.blobid}' and fremarks='${this.flag}' order by f_uploaddate desc `
41
+ }
42
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
43
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
44
+ warnMsg: null,
45
+ resolveMsg: null
46
+ })
47
+
48
+ for (var i = 0; i < res.data.length; i++) {
49
+ console.log('-----------地址----------------')
50
+ console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
51
+ res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
52
+ }
53
+
54
+ this.fileList = res.data
55
+ },
56
+ delfile (file, index) {
57
+ this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
58
+ this.$dispatch("delResid", file.id)
59
+ this.getFiles()
60
+ })
61
+ },
62
+ cameraCallBack (fileName, fileUrl) {
63
+ console.log('-----------cameraCallBack-----------------')
64
+ let data = {
65
+ blodid: HostApp.__this__.blobid,
66
+ type: HostApp.__this__.type,
67
+ defname: HostApp.__this__.defname,
68
+ username: Vue.user.name,
69
+ fremarks: this.flag,
70
+ fileName: fileName,
71
+ fileUrl: fileUrl
72
+ }
73
+ console.log('-----------bzLogic-----------------')
74
+ let res=HostApp.bzLogic({
75
+ 'logic': 'appFileUpload',
76
+ 'data': data
77
+ })
78
+ console.log('----------------开始回调查询-------------------')
79
+ HostApp.__this__.getFiles()
80
+ console.log('----------------查询回调结束-------------------')
81
+ HostApp.__callback__ = null
82
+ HostApp.__this__ = null
83
+ },
84
+ takePic (title) {
85
+ // 拍照成功回调
86
+ HostApp.__callback__ = this.cameraCallBack
87
+ HostApp.__this__ = this
88
+ let fileName = guid() + '.jpg'
89
+ // 打开相机
90
+ HostApp._open_a_page({
91
+ type: 'boomerang',
92
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
93
+ param: {
94
+ file: fileName,
95
+ requestCode: 200,
96
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
97
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
98
+ }
99
+ })
100
+ },
101
+ cameraCallBack1 (fileName, fileUrl) {
102
+ if(fileUrl instanceof Array){
103
+ fileUrl.forEach((row)=>{
104
+ console.log('照片名字',row.match(/[^\/]+$/)[0])
105
+ let data = {
106
+ blodid: HostApp.__this__.blobid,
107
+ type: HostApp.__this__.type,
108
+ defname: HostApp.__this__.defname,
109
+ username: Vue.user.name,
110
+ fremarks: this.flag,
111
+ fileName: row.match(/[^\/]+$/)[0],
112
+ fileUrl: row
113
+ }
114
+ console.log('-----------bzLogic-----------------')
115
+ let res=HostApp.bzLogic({
116
+ 'logic': 'appFileUpload',
117
+ 'data': data
118
+ })
119
+ })
120
+ HostApp.__this__.getFiles()
121
+ HostApp.__callback__ = null
122
+ HostApp.__this__ = null
123
+ }
124
+ },
125
+ takePic1(title) {
126
+ HostApp.__callback__ = this.cameraCallBack1
127
+ HostApp.__this__ = this
128
+ let idx = 'aofeng'
129
+ let fileName = guid() + '.jpg'
130
+ HostApp._open_a_page({
131
+ type: 'boomerang',
132
+ page: 'com.aofeng.hybrid.android.peripheral.ActionMultiplePickActivity',
133
+ param: {
134
+ file: fileName,
135
+ requestCode: 200,
136
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", %s);',
137
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
138
+ }
139
+ })
140
+ },
141
+
142
+ },
143
+ computed: {
144
+ typeList () {
145
+ if (this.typelabel) {
146
+ return this.$appdata.getParam(this.typelabel)
147
+ }
148
+ return this.$appdata.getParam('使用类型')
149
+ }
150
+ },
151
+ events: {
152
+ }
153
+ }
154
+ </script>
155
+
156
+ <style lang="less">
157
+ .fileType {
158
+ float: left;
159
+ .select-style {
160
+ background: #f8f8f8;
161
+ border: 0px;
162
+ }
163
+ input {
164
+ border-left: none;
165
+ width: 100%;
166
+ }
167
+ }
168
+ </style>