apply-clients 3.5.5-9 → 3.5.5-90

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 (81) hide show
  1. package/build/dev-server.js +7 -6
  2. package/package.json +6 -4
  3. package/src/App.vue +25 -25
  4. package/src/components/QXClient.js +333 -0
  5. package/src/components/SignTools.js +65 -0
  6. package/src/components/android/AppCheckTakePic.vue +168 -168
  7. package/src/components/android/Process/AppChargeList.vue +8 -0
  8. package/src/components/android/Process/AppExplorationUser.vue +1 -2
  9. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  10. package/src/components/product/Function/Service/FunctionServiceControl.vue +4 -4
  11. package/src/components/product/Install/ContractCharge.vue +210 -210
  12. package/src/components/product/PcZhihuanManagement.vue +160 -160
  13. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  14. package/src/components/product/Process/Processes/contractModel.vue +49 -37
  15. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  16. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  17. package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
  18. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -444
  19. package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
  20. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  21. package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
  22. package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
  23. package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
  24. package/src/filiale/fugou/android/AppServiceControl.vue +75 -17
  25. package/src/filiale/fugou/android/AppZhihuanManagement.vue +14 -2
  26. package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
  27. package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
  28. package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
  29. package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
  30. package/src/filiale/fugou/pc/InstallationDetails.vue +1 -1
  31. package/src/filiale/fugou/pc/ServiceControl.vue +47 -20
  32. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  33. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  34. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  35. package/src/filiale/fugou/pc/chargeReport.vue +215 -143
  36. package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
  37. package/src/filiale/fugou/pc.js +3 -1
  38. package/src/filiale/gongyi/pc/addressAndUserinfoManagement.vue +187 -0
  39. package/src/filiale/gongyi/pc.js +25 -24
  40. package/src/filiale/hongda/pc/addMaterialScience.vue +723 -723
  41. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
  42. package/src/filiale/jinhuang/android.js +6 -0
  43. package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
  44. package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
  45. package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
  46. package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
  47. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
  48. package/src/filiale/jinhuang/pc.js +3 -0
  49. package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
  50. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
  51. package/src/filiale/qianneng/pc/Applybatchdispatch.vue +786 -769
  52. package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
  53. package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
  54. package/src/filiale/qianneng/pc/ServiceControl.vue +1387 -1382
  55. package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
  56. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +527 -520
  57. package/src/filiale/yangchunboneng/android/AppContractCharge.vue +210 -210
  58. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
  59. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1116 -1087
  60. package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
  61. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
  62. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
  63. package/src/filiale/yangchunboneng/android.js +21 -20
  64. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
  65. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  66. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +612 -547
  67. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
  68. package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
  69. package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
  70. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
  71. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
  72. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
  73. package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
  74. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
  75. package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
  76. package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
  77. package/src/filiale/yangchunboneng/pc.js +29 -24
  78. package/src/main.js +4 -3
  79. package/src/test/SessionTestServlet.java +0 -69
  80. package/webapp/WEB-INF/web.xml +0 -52
  81. package/webapp/session-test.jsp +0 -59
@@ -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>
@@ -142,10 +142,18 @@
142
142
  <p class="panel-title col-xs-3 text-left font">客户名称:</p>
143
143
  <p class="panel-title col-xs-9 text-left input-font">{{row.f_user_name}}</p>
144
144
  </div>
145
+ <div class="row">
146
+ <p class="panel-title col-xs-3 text-left font">客户编号:</p>
147
+ <p class="panel-title col-xs-9 text-left input-font">{{row.f_userinfo_code}}</p>
148
+ </div>
145
149
  <div class="row">
146
150
  <p class="panel-title col-xs-3 text-left font">客户地址:</p>
147
151
  <p class="panel-title col-xs-9 text-left input-font">{{row.f_address}}</p>
148
152
  </div>
153
+ <div class="row">
154
+ <p class="panel-title col-xs-3 text-left font">合同金额</p>
155
+ <p class="panel-title col-xs-9 text-left input-font">{{ row.f_contract_money }}</p>
156
+ </div>
149
157
  <div class="row">
150
158
  <p class="panel-title col-xs-3 text-left font">收费金额</p>
151
159
  <p class="panel-title col-xs-9 text-left input-font">{{ row.f_charge_money }}</p>
@@ -264,7 +264,7 @@ export default {
264
264
  return {
265
265
  selectdate: {},
266
266
  showLater: false,
267
- model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 20, {
267
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/checkuser`, 50, {
268
268
  data: {
269
269
  id: Vue.user.id,
270
270
  orgid: Vue.user.orgid
@@ -336,7 +336,6 @@ export default {
336
336
  this.$refs.cp.$refs.cri.search()
337
337
  },
338
338
  searchCondition (args) {
339
- args.condition += `and act.defname in ${this.appDefnames}`
340
339
  this.model.search(args.condition, args.model)
341
340
  },
342
341
  click (row) {