apply-clients 7.1.36-yuchuan-5 → 7.1.36-yuchuan-7

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 (44) hide show
  1. package/build/dev-server.js +187 -172
  2. package/index.html +39 -39
  3. package/package.json +2 -1
  4. package/src/apply.js +7 -0
  5. package/src/components/android/AppSign.vue +234 -234
  6. package/src/components/android/AppUpload.vue +275 -275
  7. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +462 -462
  8. package/src/components/android/Process/AppServiceControl.vue +1437 -1437
  9. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  10. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  11. package/src/components/android/Task/yiban/ShowDone.vue +95 -95
  12. package/src/components/android/Task/yiban/satisfactionShow.vue +166 -166
  13. package/src/components/product/ApplyCharge/ApplyChargeList.vue +2 -2
  14. package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianViewList.vue +272 -272
  15. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  16. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +324 -324
  17. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  18. package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -223
  19. package/src/components/product/ApplyMap/ApplyMapLocation.vue +862 -862
  20. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +2 -2
  21. package/src/components/product/Function/InstallInfoSelect.vue +2 -2
  22. package/src/components/product/Function/Service/FunctionServiceControl.vue +586 -586
  23. package/src/components/product/GongJianPush/ApplyPushDispose.vue +206 -0
  24. package/src/components/product/GongJianPush/ApplyPushList.vue +196 -0
  25. package/src/components/product/GongJianPush/ApplyPushManage.vue +90 -0
  26. package/src/components/product/Ignition/IgnitionListManage.vue +602 -602
  27. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  28. package/src/components/product/List/OldShowDevices.vue +2 -2
  29. package/src/components/product/List/ShowAllActivity.vue +2 -2
  30. package/src/components/product/List/ShowDevices.vue +2 -2
  31. package/src/components/product/Print/BuildOrder/buildOrderList.vue +1 -1
  32. package/src/components/product/Process/ExplorationSelect.vue +4 -4
  33. package/src/components/product/Process/NewExplorationSelect.vue +586 -586
  34. package/src/components/product/Process/Processes/Print/printCharge.vue +250 -250
  35. package/src/components/product/Process/Processes/Print/printGaiXianCharge.vue +244 -244
  36. package/src/components/product/Process/Processes/devicesManagement.vue +393 -393
  37. package/src/components/product/Process/Processes/newDevicesManagement.vue +413 -413
  38. package/src/components/product/Stop/StopApplyList.vue +1 -1
  39. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +592 -592
  40. package/src/components/product/Supervisory/SupervisoryControl.vue +116 -116
  41. package/src/components/product/Supervisory/SupervisoryList.vue +3 -3
  42. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +3 -3
  43. package/src/components/product/VueUtils/ApplyUpload.vue +285 -285
  44. package/src/components/product/records/AdjustmentRecordList.vue +162 -162
@@ -1,234 +1,234 @@
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" v-if="isclean">清除</button>
9
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign && defname !== '现场勘察'">签名</button>
10
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="show_notification" v-if="issign && defname === '现场勘察'">签名</button>
11
- </div>
12
- </div>
13
- <modal v-if="notification" :show.sync="notification" v-ref:modal :large="true" :backdrop="false">
14
- <article slot="modal-body" class="modal-body clearfix">
15
- <!-- 基本信息 -->
16
- <div class="form-group col-xs-12 panel panel-info">
17
- <div class="panel-heading head col-xs-12" style="background-color: #e8f4ff;margin-bottom: 10px">
18
- <div class="col-xs-6 text-left">用户须知</div>
19
- </div>
20
- <div class="form-group row">
21
- <div class="col-xs-12">
22
- <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
23
- 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
24
- 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
25
- 设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
26
-
27
- </textarea>
28
- <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
29
-
30
- 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收、材料供应和燃气泄露报警器、安全自动切断装置等相关事宜。
31
- 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。
32
- 设计员己向我单位/本人说明安装位置及条件,后期不得自行变更。我单位/本人签字后即认为同意。
33
- 根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》 第四章第三十二条:“非居民燃气用户必须安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。”用户也可自行购买安装,自行购买安装的用户须提供以下资料:
34
- 1、提供产品质量检验报告和产品合格证书;
35
- 2、提供购货发票复印件;
36
- 3、提供产品消防认证;
37
- 4、提供安装单位工程施工资料;
38
- 5、提供安装单位资质;
39
- 6、用户外购安装报警器需在我公司备案(不收取任何费用)。
40
-
41
-
42
- </textarea>
43
- </div>
44
- </div>
45
- <div class="row text-right form-group">
46
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="close_notification" >确认</button>
47
- </div>
48
- </div>
49
- </article>
50
- <footer slot="modal-footer" class="modal-footer">
51
- <template>
52
-
53
- </template>
54
- </footer>
55
- </modal>
56
- </div>
57
- </template>
58
- <script>
59
- import {getNowDate, guid, isEmpty} from '../Util'
60
- import {PagedList} from 'vue-client'
61
- import {HttpResetClass} from 'vue-client'
62
- import QRCode from 'qrcodejs2'
63
- import Vue from "vue";
64
-
65
- export default {
66
- title: '签字',
67
- props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign','selectdata'],
68
- data () {
69
- return {
70
- f_sign_path: null,
71
- fileName: null,
72
- imgid: null,
73
- notification: false
74
- }
75
- },
76
- ready () {
77
- this.getFiles()
78
- this.f_sign_path = this.filePath
79
- },
80
- methods: {
81
- clean () {
82
- this.f_sign_path = null
83
- this.fileName = null
84
- this.$emit('sign-clean')
85
- this.delfile(this.imgid)
86
- },
87
- delfile(file) {
88
- this.f_sign_path = null
89
- this.fileName = null
90
- this.$emit('sign-clean')
91
- this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
92
- resolveMsg: '删除成功',
93
- rejectMsg: '删除失败'
94
- }).then((res) => {
95
- this.$dispatch("delResid", file)
96
- })
97
- },
98
- show_notification() {
99
- this.notification = true
100
- },
101
- close_notification() {
102
- this.notification = false
103
- this.sign()
104
- },
105
- sign() {
106
- this.delAudioFile(this.f_sign_path)
107
- this.fileName = guid() + '.jpg'
108
- HostApp.__callback__ = this.signCallback
109
- HostApp.__this__ = this
110
- HostApp.getSignature({
111
- file: this.fileName,
112
- requestCode: 111,
113
- callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
114
- })
115
- },
116
- // 签名回调
117
- signCallback (prop, signPath) {
118
- console.log('==============签字回调============')
119
- console.log(signPath)
120
- HostApp.__this__.$set(prop, signPath)
121
-
122
-
123
- console.log(HostApp.__this__.f_sign_path)
124
-
125
- HostApp.__this__.uploadFile()
126
-
127
-
128
- HostApp.__callback__ = null
129
- HostApp.__this__ = null
130
- },
131
- uploadFile () {
132
- console.log('===================签字文件上传==============')
133
- let data = {
134
- blobid: HostApp.__this__.blobid,
135
- type: HostApp.__this__.type,
136
- defname: HostApp.__this__.defname,
137
- username: Vue.user.name,
138
- fremarks: '报装手机签字文件',
139
- fileName: HostApp.__this__.fileName,
140
- fileUrl: HostApp.__this__.f_sign_path,
141
- f_apply_type:HostApp.__this__.selectdata.f_apply_type,
142
- }
143
- console.log('-----------bzLogic-----------------')
144
- console.log(JSON.stringify(data))
145
- let res = HostApp.bzLogic({
146
- 'logic': 'appFileUpload',
147
- 'data': data
148
- })
149
- console.log('===============上传回调=================')
150
- console.log(JSON.stringify(res))
151
- this.imgid = res.id
152
- HostApp.__this__.getFiles(res.id)
153
- },
154
- async getFiles (fileid) {
155
- console.log("cess",this.selectdata.f_apply_type)
156
- let http = new HttpResetClass()
157
- let data
158
- if (fileid && this.defname.includes('签字')) {
159
- console.log('=========签字回调===============')
160
- data = {
161
- tablename: 't_files',
162
- condition: `id = '${fileid}'`
163
- }
164
- }else if (this.defname.includes('签字')){
165
- data = {
166
- tablename: 't_files',
167
- condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and fusetype = '${this.type}' order by f_uploaddate desc `
168
- }
169
- } else {
170
- console.log('=========签字查看===============')
171
- data = {
172
- tablename: 't_files',
173
- condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
174
- }
175
- }
176
- let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
177
- // let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
178
- warnMsg: null,
179
- resolveMsg: null
180
- })
181
- if(res.data.length > 0){
182
- console.log('=========查询回调===============')
183
- let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
184
- console.log(fileUrl)
185
- // HostApp.__this__.$set('f_sign_path', fileUrl)
186
- // HostApp.__this__.f_sign_path = fileUrl
187
- this.f_sign_path = fileUrl
188
- this.imgid = res.data[0].id
189
- let f_fileUrl = `http://193.168.1.44:8400/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
190
- this.$emit('sign-success', f_fileUrl)
191
- }else {
192
- this.f_sign_path = null
193
- }
194
- },
195
- delAudioFile (signPath) {
196
- if (!signPath) {
197
- return
198
- }
199
- HostApp.delfile(signPath)
200
- this.f_sign_path = null
201
- this.fileName = null
202
- }
203
- },
204
- events: {
205
- },
206
- computed: {
207
- },
208
- watch: {
209
- }
210
- }
211
- </script>
212
- <style scoped lang="less">
213
- .qrcode {
214
- display: inline-block !important;
215
- margin: 10px 0px;
216
- }
217
- .panel-self{
218
- border-radius: 10px;
219
- border:1px solid #499EDF;
220
- background-color: #F8F8F8;
221
- }
222
- .vertical-center {
223
- display: flex;
224
- align-items: center;
225
- text-align: center;
226
- }
227
- /*清除model中的浮动*/
228
- .clearfix:after,.clearfix:before{
229
- display: table;
230
- }
231
- .clearfix:after{
232
- clear: both;
233
- }
234
- </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" v-if="isclean">清除</button>
9
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign && defname !== '现场勘察'">签名</button>
10
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="show_notification" v-if="issign && defname === '现场勘察'">签名</button>
11
+ </div>
12
+ </div>
13
+ <modal v-if="notification" :show.sync="notification" v-ref:modal :large="true" :backdrop="false">
14
+ <article slot="modal-body" class="modal-body clearfix">
15
+ <!-- 基本信息 -->
16
+ <div class="form-group col-xs-12 panel panel-info">
17
+ <div class="panel-heading head col-xs-12" style="background-color: #e8f4ff;margin-bottom: 10px">
18
+ <div class="col-xs-6 text-left">用户须知</div>
19
+ </div>
20
+ <div class="form-group row">
21
+ <div class="col-xs-12">
22
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
23
+ 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
24
+ 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
25
+ 设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
26
+
27
+ </textarea>
28
+ <textarea rows="26" cols="30" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
29
+
30
+ 我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收、材料供应和燃气泄露报警器、安全自动切断装置等相关事宜。
31
+ 安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。
32
+ 设计员己向我单位/本人说明安装位置及条件,后期不得自行变更。我单位/本人签字后即认为同意。
33
+ 根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》 第四章第三十二条:“非居民燃气用户必须安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。”用户也可自行购买安装,自行购买安装的用户须提供以下资料:
34
+ 1、提供产品质量检验报告和产品合格证书;
35
+ 2、提供购货发票复印件;
36
+ 3、提供产品消防认证;
37
+ 4、提供安装单位工程施工资料;
38
+ 5、提供安装单位资质;
39
+ 6、用户外购安装报警器需在我公司备案(不收取任何费用)。
40
+
41
+
42
+ </textarea>
43
+ </div>
44
+ </div>
45
+ <div class="row text-right form-group">
46
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="close_notification" >确认</button>
47
+ </div>
48
+ </div>
49
+ </article>
50
+ <footer slot="modal-footer" class="modal-footer">
51
+ <template>
52
+
53
+ </template>
54
+ </footer>
55
+ </modal>
56
+ </div>
57
+ </template>
58
+ <script>
59
+ import {getNowDate, guid, isEmpty} from '../Util'
60
+ import {PagedList} from 'vue-client'
61
+ import {HttpResetClass} from 'vue-client'
62
+ import QRCode from 'qrcodejs2'
63
+ import Vue from "vue";
64
+
65
+ export default {
66
+ title: '签字',
67
+ props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign','selectdata'],
68
+ data () {
69
+ return {
70
+ f_sign_path: null,
71
+ fileName: null,
72
+ imgid: null,
73
+ notification: false
74
+ }
75
+ },
76
+ ready () {
77
+ this.getFiles()
78
+ this.f_sign_path = this.filePath
79
+ },
80
+ methods: {
81
+ clean () {
82
+ this.f_sign_path = null
83
+ this.fileName = null
84
+ this.$emit('sign-clean')
85
+ this.delfile(this.imgid)
86
+ },
87
+ delfile(file) {
88
+ this.f_sign_path = null
89
+ this.fileName = null
90
+ this.$emit('sign-clean')
91
+ this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
92
+ resolveMsg: '删除成功',
93
+ rejectMsg: '删除失败'
94
+ }).then((res) => {
95
+ this.$dispatch("delResid", file)
96
+ })
97
+ },
98
+ show_notification() {
99
+ this.notification = true
100
+ },
101
+ close_notification() {
102
+ this.notification = false
103
+ this.sign()
104
+ },
105
+ sign() {
106
+ this.delAudioFile(this.f_sign_path)
107
+ this.fileName = guid() + '.jpg'
108
+ HostApp.__callback__ = this.signCallback
109
+ HostApp.__this__ = this
110
+ HostApp.getSignature({
111
+ file: this.fileName,
112
+ requestCode: 111,
113
+ callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
114
+ })
115
+ },
116
+ // 签名回调
117
+ signCallback (prop, signPath) {
118
+ console.log('==============签字回调============')
119
+ console.log(signPath)
120
+ HostApp.__this__.$set(prop, signPath)
121
+
122
+
123
+ console.log(HostApp.__this__.f_sign_path)
124
+
125
+ HostApp.__this__.uploadFile()
126
+
127
+
128
+ HostApp.__callback__ = null
129
+ HostApp.__this__ = null
130
+ },
131
+ uploadFile () {
132
+ console.log('===================签字文件上传==============')
133
+ let data = {
134
+ blobid: HostApp.__this__.blobid,
135
+ type: HostApp.__this__.type,
136
+ defname: HostApp.__this__.defname,
137
+ username: Vue.user.name,
138
+ fremarks: '报装手机签字文件',
139
+ fileName: HostApp.__this__.fileName,
140
+ fileUrl: HostApp.__this__.f_sign_path,
141
+ f_apply_type:HostApp.__this__.selectdata.f_apply_type,
142
+ }
143
+ console.log('-----------bzLogic-----------------')
144
+ console.log(JSON.stringify(data))
145
+ let res = HostApp.bzLogic({
146
+ 'logic': 'appFileUpload',
147
+ 'data': data
148
+ })
149
+ console.log('===============上传回调=================')
150
+ console.log(JSON.stringify(res))
151
+ this.imgid = res.id
152
+ HostApp.__this__.getFiles(res.id)
153
+ },
154
+ async getFiles (fileid) {
155
+ console.log("cess",this.selectdata.f_apply_type)
156
+ let http = new HttpResetClass()
157
+ let data
158
+ if (fileid && this.defname.includes('签字')) {
159
+ console.log('=========签字回调===============')
160
+ data = {
161
+ tablename: 't_files',
162
+ condition: `id = '${fileid}'`
163
+ }
164
+ }else if (this.defname.includes('签字')){
165
+ data = {
166
+ tablename: 't_files',
167
+ condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and fusetype = '${this.type}' order by f_uploaddate desc `
168
+ }
169
+ } else {
170
+ console.log('=========签字查看===============')
171
+ data = {
172
+ tablename: 't_files',
173
+ condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
174
+ }
175
+ }
176
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
177
+ // let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
178
+ warnMsg: null,
179
+ resolveMsg: null
180
+ })
181
+ if(res.data.length > 0){
182
+ console.log('=========查询回调===============')
183
+ let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
184
+ console.log(fileUrl)
185
+ // HostApp.__this__.$set('f_sign_path', fileUrl)
186
+ // HostApp.__this__.f_sign_path = fileUrl
187
+ this.f_sign_path = fileUrl
188
+ this.imgid = res.data[0].id
189
+ let f_fileUrl = `http://193.168.1.44:8400/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
190
+ this.$emit('sign-success', f_fileUrl)
191
+ }else {
192
+ this.f_sign_path = null
193
+ }
194
+ },
195
+ delAudioFile (signPath) {
196
+ if (!signPath) {
197
+ return
198
+ }
199
+ HostApp.delfile(signPath)
200
+ this.f_sign_path = null
201
+ this.fileName = null
202
+ }
203
+ },
204
+ events: {
205
+ },
206
+ computed: {
207
+ },
208
+ watch: {
209
+ }
210
+ }
211
+ </script>
212
+ <style scoped lang="less">
213
+ .qrcode {
214
+ display: inline-block !important;
215
+ margin: 10px 0px;
216
+ }
217
+ .panel-self{
218
+ border-radius: 10px;
219
+ border:1px solid #499EDF;
220
+ background-color: #F8F8F8;
221
+ }
222
+ .vertical-center {
223
+ display: flex;
224
+ align-items: center;
225
+ text-align: center;
226
+ }
227
+ /*清除model中的浮动*/
228
+ .clearfix:after,.clearfix:before{
229
+ display: table;
230
+ }
231
+ .clearfix:after{
232
+ clear: both;
233
+ }
234
+ </style>