apply-clients 3.5.5-2 → 3.5.5-20

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 (49) hide show
  1. package/build/dev-server.js +0 -8
  2. package/package.json +3 -2
  3. package/src/apply.js +2 -0
  4. package/src/components/android/AppTakePic.vue +182 -182
  5. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  6. package/src/components/product/Process/Processes/contractModel.vue +424 -0
  7. package/src/components/product/ServiceView.vue +1028 -1028
  8. package/src/filiale/fugou/android/AppAddMaterialScience.vue +444 -440
  9. package/src/filiale/fugou/android/AppDevicesManagement.vue +521 -519
  10. package/src/filiale/fugou/android/AppInstallationDetails.vue +542 -541
  11. package/src/filiale/fugou/android/AppServiceControl.vue +1836 -1836
  12. package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
  13. package/src/filiale/fugou/android/printCharge.vue +162 -162
  14. package/src/filiale/fugou/android.js +16 -16
  15. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  16. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  17. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  18. package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
  19. package/src/filiale/fugou/pc/SupervisoryServiceControl.vue +881 -0
  20. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
  21. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  22. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  23. package/src/filiale/fugou/pc.js +3 -1
  24. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  25. package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +634 -0
  26. package/src/filiale/jinhuang/android.js +6 -0
  27. package/src/filiale/jinhuang/pc/addMaterialScience.vue +632 -0
  28. package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +39 -1
  29. package/src/filiale/jinhuang/pc.js +1 -0
  30. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  31. package/src/filiale/qianneng/android.js +15 -15
  32. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  33. package/src/filiale/qianneng/pc/Applydetail.vue +417 -417
  34. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  35. package/src/filiale/qianneng/pc.js +29 -29
  36. package/src/filiale/ruihua/pc/ServiceControl.vue +1967 -1966
  37. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  38. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  39. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1115 -1087
  40. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1706
  41. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +176 -156
  42. package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +644 -617
  43. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +30 -0
  44. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +1 -4
  45. package/src/filiale/yangchunboneng/pc/ServiceView.vue +1007 -1007
  46. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  47. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +1 -0
  48. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1053 -1052
  49. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
@@ -12,14 +12,6 @@ var ldap = 'http://192.168.50.93:31986/'
12
12
  var applyinstall = 'http://192.168.50.93:31986/'
13
13
 
14
14
  var proxyTable = {
15
- '/api': {
16
- target: ldap,
17
- changeOrigin: true
18
- },
19
- '/af-apply': {
20
- target: ldap,
21
- changeOrigin: true
22
- },
23
15
  '/rs/logic/getSaleInitData': {
24
16
  target: ldap,
25
17
  changeOrigin: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.5.5-2",
3
+ "version": "3.5.5-20",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -113,6 +113,7 @@
113
113
  "webpack-hot-middleware": "^2.6.0",
114
114
  "webpack-merge": "^0.8.3",
115
115
  "weixin-js-sdk": "^1.2.0",
116
- "telephone-clients": "3.0.2-21-63"
116
+ "telephone-clients": "3.0.2-21-63",
117
+ "address-client": "4.0.12"
117
118
  }
118
119
  }
package/src/apply.js CHANGED
@@ -130,6 +130,8 @@ export default function (filiale) {
130
130
  Vue.component('apply-material-manage', (resolve) => { require(['./components/product/MaterialsManage/MaterialsManage'], resolve) })
131
131
  Vue.component('apply-materials-base', (resolve) => { require(['./components/product/MaterialsManage/MaterialsBase'], resolve) })
132
132
  Vue.component('apply-map-location', (resolve) => { require(['./components/product/ApplyMap/AMapLocation'], resolve) })
133
+ // 选择报建项目
134
+ Vue.component('apply-contract-single', (resolve) => { require(['./components/product/Process/Processes/contractModel'], resolve) })
133
135
  if (filiale) {
134
136
  let filialeComp = require(`./filiale/${filiale}/pc`).specialComp
135
137
  for (let key in filialeComp) {
@@ -1,182 +1,182 @@
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
- <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
- <button v-if="isxiangce" class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic1(type)">相册</button>
24
- </div>
25
- </div>
26
- </div>
27
- </template>
28
-
29
- <script>
30
- import {HttpResetClass} from 'vue-client'
31
- import {guid, toStandardTimeString} from '../Util'
32
- import Vue from 'vue'
33
- export default {
34
- title: '附件',
35
- props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
36
- data () {
37
- return {
38
- fileList: [],
39
- isxiangce: this.$appdata.getSingleValue('报建使用相册')?this.$appdata.getSingleValue('报建使用相册'):false
40
- }
41
- },
42
- ready () {
43
- this.getFiles()
44
- },
45
- methods: {
46
- async getFiles () {
47
- console.log('----------------开始查询图片----------------')
48
- this.fileList = []
49
-
50
- let http = new HttpResetClass()
51
-
52
- let data = {
53
- tablename: 't_files',
54
- condition: `f_blobid = '${this.blobid}' and fremarks in ('手机拍照','相册选择') order by f_uploaddate desc `
55
- }
56
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
57
- // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
58
- warnMsg: null,
59
- resolveMsg: null
60
- })
61
-
62
- for (var i = 0; i < res.data.length; i++) {
63
- console.log('-----------地址----------------')
64
- console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
65
- res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
66
- }
67
-
68
- this.fileList = res.data
69
- },
70
- delfile (file, index) {
71
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
72
- this.$dispatch("delResid", file.id)
73
- this.getFiles()
74
- })
75
- },
76
- cameraCallBack (fileName, fileUrl) {
77
- console.log('-----------cameraCallBack-----------------')
78
- let data = {
79
- blodid: HostApp.__this__.blobid,
80
- type: HostApp.__this__.type,
81
- defname: HostApp.__this__.defname,
82
- username: Vue.user.name,
83
- fremarks: '手机拍照',
84
- fileName: fileName,
85
- fileUrl: fileUrl
86
- }
87
- console.log('-----------bzLogic-----------------')
88
- let res=HostApp.bzLogic({
89
- 'logic': 'appFileUpload',
90
- 'data': data
91
- })
92
- console.log('----------------开始回调查询-------------------')
93
- HostApp.__this__.getFiles()
94
- console.log('----------------查询回调结束-------------------')
95
- HostApp.__callback__ = null
96
- HostApp.__this__ = null
97
- },
98
- takePic (title) {
99
- // 拍照成功回调
100
- HostApp.__callback__ = this.cameraCallBack
101
- HostApp.__this__ = this
102
- let fileName = guid() + '.jpg'
103
- // 打开相机
104
- HostApp._open_a_page({
105
- type: 'boomerang',
106
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
107
- param: {
108
- file: fileName,
109
- requestCode: 200,
110
- callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
111
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
112
- }
113
- })
114
- },
115
- cameraCallBack1 (fileName, fileUrl) {
116
- if(fileUrl instanceof Array){
117
- fileUrl.forEach((row)=>{
118
- console.log('照片名字',row.match(/[^\/]+$/)[0])
119
- let data = {
120
- blodid: HostApp.__this__.blobid,
121
- type: HostApp.__this__.type,
122
- defname: HostApp.__this__.defname,
123
- username: Vue.user.name,
124
- fremarks: '相册选择',
125
- fileName: row.match(/[^\/]+$/)[0],
126
- fileUrl: row
127
- }
128
- console.log('-----------bzLogic-----------------')
129
- let res=HostApp.bzLogic({
130
- 'logic': 'appFileUpload',
131
- 'data': data
132
- })
133
- })
134
- HostApp.__this__.getFiles()
135
- HostApp.__callback__ = null
136
- HostApp.__this__ = null
137
- }
138
- },
139
- takePic1(title) {
140
- HostApp.__callback__ = this.cameraCallBack1
141
- HostApp.__this__ = this
142
- let idx = 'aofeng'
143
- let fileName = guid() + '.jpg'
144
- HostApp._open_a_page({
145
- type: 'boomerang',
146
- page: 'com.aofeng.hybrid.android.peripheral.ActionMultiplePickActivity',
147
- param: {
148
- file: fileName,
149
- requestCode: 200,
150
- callback: 'javascript:HostApp.__callback__("' + fileName + '", %s);',
151
- watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
152
- }
153
- })
154
- },
155
-
156
- },
157
- computed: {
158
- typeList () {
159
- if (this.typelabel) {
160
- return this.$appdata.getParam(this.typelabel)
161
- }
162
- return this.$appdata.getParam('使用类型')
163
- }
164
- },
165
- events: {
166
- }
167
- }
168
- </script>
169
-
170
- <style lang="less">
171
- .fileType {
172
- float: left;
173
- .select-style {
174
- background: #f8f8f8;
175
- border: 0px;
176
- }
177
- input {
178
- border-left: none;
179
- width: 100%;
180
- }
181
- }
182
- </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
+ <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
+ <button v-if="isxiangce" class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic1(type)">相册</button>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </template>
28
+
29
+ <script>
30
+ import {HttpResetClass} from 'vue-client'
31
+ import {guid, toStandardTimeString} from '../Util'
32
+ import Vue from 'vue'
33
+ export default {
34
+ title: '附件',
35
+ props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
36
+ data () {
37
+ return {
38
+ fileList: [],
39
+ isxiangce: this.$appdata.getSingleValue('报建使用相册')?this.$appdata.getSingleValue('报建使用相册'):false
40
+ }
41
+ },
42
+ ready () {
43
+ this.getFiles()
44
+ },
45
+ methods: {
46
+ async getFiles () {
47
+ console.log('----------------开始查询图片----------------')
48
+ this.fileList = []
49
+
50
+ let http = new HttpResetClass()
51
+
52
+ let data = {
53
+ tablename: 't_files',
54
+ condition: `f_blobid = '${this.blobid}' and fremarks in ('手机拍照','相册选择') order by f_uploaddate desc `
55
+ }
56
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data: data}, {
57
+ // let res = await http.load('POST', `rs/sql/apply_singleTable`, {data: data}, {
58
+ warnMsg: null,
59
+ resolveMsg: null
60
+ })
61
+
62
+ for (var i = 0; i < res.data.length; i++) {
63
+ console.log('-----------地址----------------')
64
+ console.log(`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
65
+ res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
66
+ }
67
+
68
+ this.fileList = res.data
69
+ },
70
+ delfile (file, index) {
71
+ this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
72
+ this.$dispatch("delResid", file.id)
73
+ this.getFiles()
74
+ })
75
+ },
76
+ cameraCallBack (fileName, fileUrl) {
77
+ console.log('-----------cameraCallBack-----------------')
78
+ let data = {
79
+ blodid: HostApp.__this__.blobid,
80
+ type: HostApp.__this__.type,
81
+ defname: HostApp.__this__.defname,
82
+ username: Vue.user.name,
83
+ fremarks: '手机拍照',
84
+ fileName: fileName,
85
+ fileUrl: fileUrl
86
+ }
87
+ console.log('-----------bzLogic-----------------')
88
+ let res=HostApp.bzLogic({
89
+ 'logic': 'appFileUpload',
90
+ 'data': data
91
+ })
92
+ console.log('----------------开始回调查询-------------------')
93
+ HostApp.__this__.getFiles()
94
+ console.log('----------------查询回调结束-------------------')
95
+ HostApp.__callback__ = null
96
+ HostApp.__this__ = null
97
+ },
98
+ takePic (title) {
99
+ // 拍照成功回调
100
+ HostApp.__callback__ = this.cameraCallBack
101
+ HostApp.__this__ = this
102
+ let fileName = guid() + '.jpg'
103
+ // 打开相机
104
+ HostApp._open_a_page({
105
+ type: 'boomerang',
106
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
107
+ param: {
108
+ file: fileName,
109
+ requestCode: 200,
110
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
111
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
112
+ }
113
+ })
114
+ },
115
+ cameraCallBack1 (fileName, fileUrl) {
116
+ if(fileUrl instanceof Array){
117
+ fileUrl.forEach((row)=>{
118
+ console.log('照片名字',row.match(/[^\/]+$/)[0])
119
+ let data = {
120
+ blodid: HostApp.__this__.blobid,
121
+ type: HostApp.__this__.type,
122
+ defname: HostApp.__this__.defname,
123
+ username: Vue.user.name,
124
+ fremarks: '相册选择',
125
+ fileName: row.match(/[^\/]+$/)[0],
126
+ fileUrl: row
127
+ }
128
+ console.log('-----------bzLogic-----------------')
129
+ let res=HostApp.bzLogic({
130
+ 'logic': 'appFileUpload',
131
+ 'data': data
132
+ })
133
+ })
134
+ HostApp.__this__.getFiles()
135
+ HostApp.__callback__ = null
136
+ HostApp.__this__ = null
137
+ }
138
+ },
139
+ takePic1(title) {
140
+ HostApp.__callback__ = this.cameraCallBack1
141
+ HostApp.__this__ = this
142
+ let idx = 'aofeng'
143
+ let fileName = guid() + '.jpg'
144
+ HostApp._open_a_page({
145
+ type: 'boomerang',
146
+ page: 'com.aofeng.hybrid.android.peripheral.ActionMultiplePickActivity',
147
+ param: {
148
+ file: fileName,
149
+ requestCode: 200,
150
+ callback: 'javascript:HostApp.__callback__("' + fileName + '", %s);',
151
+ watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
152
+ }
153
+ })
154
+ },
155
+
156
+ },
157
+ computed: {
158
+ typeList () {
159
+ if (this.typelabel) {
160
+ return this.$appdata.getParam(this.typelabel)
161
+ }
162
+ return this.$appdata.getParam('使用类型')
163
+ }
164
+ },
165
+ events: {
166
+ }
167
+ }
168
+ </script>
169
+
170
+ <style lang="less">
171
+ .fileType {
172
+ float: left;
173
+ .select-style {
174
+ background: #f8f8f8;
175
+ border: 0px;
176
+ }
177
+ input {
178
+ border-left: none;
179
+ width: 100%;
180
+ }
181
+ }
182
+ </style>