manage-client 1.22.25-ca → 1.22.26-ca

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 (86) hide show
  1. package/index.html +28 -28
  2. package/package.json +2 -2
  3. package/src/App.vue +28 -28
  4. package/src/components/MeterManage/MeterMsg.vue +106 -4
  5. package/src/main.js +30 -29
  6. package/static/WebMetericon/Cell1.png +0 -0
  7. package/static/WebMetericon/Cell2.png +0 -0
  8. package/static/WebMetericon/Cell3.png +0 -0
  9. package/static/WebMetericon/Cell4.png +0 -0
  10. package/static/WebMetericon/Cell5.png +0 -0
  11. package/static/WebMetericon/Cell6.png +0 -0
  12. package/static/WebMetericon/Signal1.png +0 -0
  13. package/static/WebMetericon/Signal2.png +0 -0
  14. package/static/WebMetericon/Signal3.png +0 -0
  15. package/static/WebMetericon/Signal4.png +0 -0
  16. package/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  17. package/static/images/lefticon//345/215/241/347/211/207.png +0 -0
  18. package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  19. package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  20. package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  21. package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  22. package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  23. package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  24. package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  25. package/static/images/lefticon//345/276/256/344/277/241.png +0 -0
  26. package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  27. package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  28. package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  29. package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  30. package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  31. package/static/images/lefticon//346/235/220/346/226/231.png +0 -0
  32. package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  33. package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  34. package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  35. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  36. package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  37. package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  38. package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  39. package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  40. package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  41. package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  42. package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  43. package/static/mainicon/adddevice.png +0 -0
  44. package/static/mainicon/addmeter.png +0 -0
  45. package/static/mainicon/bank.png +0 -0
  46. package/static/mainicon/biaopan.png +0 -0
  47. package/static/mainicon/chaobiaoyuan.png +0 -0
  48. package/static/mainicon/danganguanli.png +0 -0
  49. package/static/mainicon/deletedevice.png +0 -0
  50. package/static/mainicon/huizong.png +0 -0
  51. package/static/mainicon/jibiaoguanli.png +0 -0
  52. package/static/mainicon/jibiaoguanli2.png +0 -0
  53. package/static/mainicon/jiezhang.png +0 -0
  54. package/static/mainicon/shouqishoufei.png +0 -0
  55. package/static/mainicon/treeopen.png +0 -0
  56. package/static/mainicon/treeout.png +0 -0
  57. package/static/mainicon/treeset.png +0 -0
  58. package/static/mainicon/wulianwang.png +0 -0
  59. package/static/mainicon/yingyechaxun.png +0 -0
  60. package/static/mainicon/zongheyewu.png +0 -0
  61. package/static/newStyle/clear.png +0 -0
  62. package/static/newStyle/fife.png +0 -0
  63. package/static/newStyle/hidden.png +0 -0
  64. package/static/newStyle/label-clear.png +0 -0
  65. package/static/newStyle/left-img.png +0 -0
  66. package/static/newStyle/list_ok.png +0 -0
  67. package/static/newStyle/login-check.png +0 -0
  68. package/static/newStyle/login-con.png +0 -0
  69. package/static/newStyle/login-do.gif +0 -0
  70. package/static/newStyle/login-f.png +0 -0
  71. package/static/newStyle/login-info.png +0 -0
  72. package/static/newStyle/login-left.png +0 -0
  73. package/static/newStyle/login-org.png +0 -0
  74. package/static/newStyle/login-pwd.png +0 -0
  75. package/static/newStyle/login-user.png +0 -0
  76. package/static/newStyle/loginbg.gif +0 -0
  77. package/static/newStyle/loginbg1280.gif +0 -0
  78. package/static/newStyle/loginbg1366.gif +0 -0
  79. package/static/newStyle/setting.png +0 -0
  80. package/static/newStyle/shirk.png +0 -0
  81. package/static/newStyle/stretch_bottom.png +0 -0
  82. package/static/newStyle/stretch_left.png +0 -0
  83. package/static/newStyle/stretch_right.png +0 -0
  84. package/static/newStyle/stretch_top.png +0 -0
  85. package/static/newStyle/system-off.png +0 -0
  86. package/static/newStyle//345/217/263.png +0 -0
package/index.html CHANGED
@@ -1,28 +1,28 @@
1
- <!DOCTYPE html>
2
- <html lang="zh-CN">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
- <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
- <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
- <META HTTP-EQUIV="expires" CONTENT="0">
9
- <title>奥枫信息系统</title>
10
- <style media="screen">
11
- /*url(./static/newmainbg.jpg)*/
12
- body {
13
- width: 100%;
14
- background: #7f8eaf no-repeat center bottom;
15
- background-size: cover;
16
- }
17
-
18
- body .loginbg {
19
- width: 100%;
20
- height: 100%;
21
- background: url(./static/loginbg.jpg) no-repeat center top;
22
- }
23
- </style>
24
- </head>
25
- <body>
26
- <app></app>
27
- </body>
28
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
6
+ <META HTTP-EQUIV="pragma" CONTENT="no-cache">
7
+ <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
8
+ <META HTTP-EQUIV="expires" CONTENT="0">
9
+ <title>奥枫信息系统</title>
10
+ <style media="screen">
11
+ /*url(./static/newmainbg.jpg)*/
12
+ body {
13
+ width: 100%;
14
+ background: #7f8eaf no-repeat center bottom;
15
+ background-size: cover;
16
+ }
17
+
18
+ body .loginbg {
19
+ width: 100%;
20
+ height: 100%;
21
+ background: url(./static/loginbg.jpg) no-repeat center top;
22
+ }
23
+ </style>
24
+ </head>
25
+ <body class="themeOne">
26
+ <app></app>
27
+ </body>
28
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "1.22.25-ca",
3
+ "version": "1.22.26-ca",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -59,7 +59,7 @@
59
59
  "sinon-chai": "^2.8.0",
60
60
  "style": "0.0.3",
61
61
  "style-loader": "^0.20.3",
62
- "system-clients": "1.7.6",
62
+ "system-clients": "1.8.6-ca",
63
63
  "url-loader": "^0.5.7",
64
64
  "vue-client": "^1.21.1",
65
65
  "vue-hot-reload-api": "^1.2.0",
package/src/App.vue CHANGED
@@ -1,28 +1,28 @@
1
- <template>
2
- <div>
3
- <app-base class="bg">
4
- <div class='flex'>
5
- <article>
6
- <!--<route :comp="{name: 'manage-home'}"></route>-->
7
- <!--<route :comp="{name: 'meter-reading'}"></route>-->
8
- <!--<route :comp="{name: 'Gasproperties'}"></route>-->
9
- <!--<route :comp="{name: 'vender-management'}"></route>-->
10
- <!--<route :comp="{name: 'malfunction-home'}"></route>-->
11
- <route :comp="{name: 'login'}"></route>
12
- <!-- <route :comp="{name: 'load-data'}"></route> -->
13
- <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
14
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
15
- </article>
16
- </div>
17
- </app-base>
18
- </div>
19
- </template>
20
-
21
- <script>
22
-
23
-
24
- export default {
25
-
26
-
27
- }
28
- </script>
1
+ <template>
2
+ <div>
3
+ <app-base class="bg">
4
+ <div class='flex'>
5
+ <article>
6
+ <!--<route :comp="{name: 'manage-home'}"></route>-->
7
+ <!--<route :comp="{name: 'meter-reading'}"></route>-->
8
+ <!--<route :comp="{name: 'Gasproperties'}"></route>-->
9
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
10
+ <!--<route :comp="{name: 'malfunction-home'}"></route>-->
11
+ <route :comp="{name: 'login'}"></route>
12
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
13
+ <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
14
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
15
+ </article>
16
+ </div>
17
+ </app-base>
18
+ </div>
19
+ </template>
20
+
21
+ <script>
22
+
23
+
24
+ export default {
25
+
26
+
27
+ }
28
+ </script>
@@ -79,13 +79,13 @@
79
79
  <nobr><label type="text" class="form-control mystylecenter" >合同编号:</label></nobr>
80
80
  </div>
81
81
  <div class="col-xs-4">
82
- <label type="text" class="form-control mystylecenter"> {{row.f_contract_id?row.f_contract_id:''}}</label>
82
+ <label type="text" class="form-control mystylecenter">{{row.f_contract_id?row.f_contract_id:''}}<a @click="showImage('供气合同')" style="float: right">查看图片</a></label>
83
83
  </div>
84
84
  <div class="col-xs-2">
85
85
  <nobr><label type="text" class="form-control mystylecenter" >协议编号:</label></nobr>
86
86
  </div>
87
87
  <div class="col-xs-4">
88
- <label type="text" class="form-control mystylecenter"> {{row.f_safeagreement_id?row.f_safeagreement_id:''}}</label>
88
+ <label type="text" class="form-control mystylecenter">{{row.f_safeagreement_id?row.f_safeagreement_id:''}}<a @click="showImage('安全协议')" style="float: right">查看图片</a></label>
89
89
  </div>
90
90
  </div>
91
91
  <div class="row">
@@ -214,6 +214,21 @@
214
214
  <div class="row" style="margin-top:10px;">
215
215
  <button type="button" class="btn btn-info btn-ln fr" @click="$parent.$parent.cancel()" >关闭</button>
216
216
  </div>
217
+ <div class="full-img" v-if="show" >
218
+ <template v-for="(i,row) in images">
219
+ <img :src="row.downloadurl" v-show="i===index" class="img-state">
220
+ </template>
221
+ <div class="btns">
222
+ <button type="button" name="button" class="btn btn-primary" @click="enlarge()">放大</button>
223
+ <button type="button" name="button" class="btn btn-primary" @click="reduce()">缩小</button>
224
+ <button type="button" name="button" class="btn btn-primary" :disabled="index===0" @click="up()">上一个</button>
225
+ {{ index +1 }} / {{ images.length }}&nbsp;
226
+ <button type="button" name="button" class="btn btn-primary" :disabled="index===this.images.length" @click="down()" >下一个</button>
227
+ <button type="button" name="button" class="btn btn-primary" @click="leftRevolve()">向左旋转</button>
228
+ <button type="button" name="button" class="btn btn-primary" @click="rightRevolve()">向右旋转</button>
229
+ <button type="button" name="button" class="btn btn-primary" @click="close()" >关闭</button>
230
+ </div>
231
+ </div>
217
232
  </div>
218
233
  </template>
219
234
 
@@ -221,6 +236,7 @@
221
236
  import vue from 'vue'
222
237
 
223
238
  import {HttpResetClass} from 'vue-client'
239
+ import $ from "jquery";
224
240
 
225
241
  export default {
226
242
  title: '表具信息',
@@ -231,10 +247,71 @@ export default {
231
247
  return {
232
248
  model: null,
233
249
  row:{},
234
- meterInfo:{}
250
+ meterInfo:{},
251
+ show: false,
252
+ images: [],
253
+ index: 0
235
254
  }
236
255
  },
237
256
  methods: {
257
+ up(){
258
+ this.index -= 1
259
+ },
260
+ down(){
261
+ this.index += 1
262
+ },
263
+ open () {
264
+ this.deg = 0
265
+ this.power = 0.5
266
+ this.show = true
267
+ },
268
+ close () {
269
+ this.show = false
270
+ },
271
+ enlarge () {
272
+ this.power = 2*this.power
273
+ this.imgState()
274
+ },
275
+ reduce () {
276
+ this.power = 0.5*this.power
277
+ this.imgState()
278
+ },
279
+ leftRevolve () {
280
+ this.deg -= 90
281
+ this.imgState()
282
+ },
283
+ rightRevolve () {
284
+ this.deg += 90
285
+ this.imgState()
286
+ },
287
+ imgState () {
288
+ $('.img-state').css({
289
+ 'transform': 'rotate(' + this.deg + 'deg) scale(' + this.power + ' ,' + this.power + ')'
290
+ })
291
+ },
292
+ showImage(type){
293
+ let http = new HttpResetClass()
294
+ // 如果展示供气合同, 开始查询
295
+ this.$resetpost('/rs/sql/singleTable_OrderBy',
296
+ {
297
+ data:{
298
+ tablename: "t_check_paper cp LEFT JOIN t_paper_overall_imgs poi ON concat(CP.ID,'') = POI.F_PAPER_ID",
299
+ orderitem: " f_offsite_time desc",
300
+ items: " CP.F_CARD_ID, cp.f_offsite_time, cp.f_checker_name, POI.TITLE, '/rs/image/file/' || POI.F_OVERALL_PATH downloadurl ",
301
+ condition: ` CP.F_CARD_ID = '${this.row.f_card_id}' and CP.f_state = '已检' AND ( ( POI.title = '安全协议' AND F_OVERALL_PATH IS NOT NULL ) OR ( POI.title = '供气合同' AND F_OVERALL_PATH IS NOT NULL)) `
302
+ }
303
+ },
304
+ {resolveMsg: null, rejectMsg: null}).then((res) => {
305
+ this.images = res.data.filter(item => item.title===type)
306
+ console.log(this.images)
307
+ if (this.images.length===0){
308
+ this.$showAlert('暂时没有图片展示','warning',2000)
309
+ return
310
+ }
311
+ this.index = 0
312
+ this.open()
313
+ })
314
+ },
238
315
  // 发送请求数据
239
316
  search () {
240
317
  let http = new HttpResetClass()
@@ -266,7 +343,32 @@ export default {
266
343
  }
267
344
  </script>
268
345
  <style scoped>
269
-
346
+ .full-img {
347
+ position: fixed;
348
+ top: 0;
349
+ bottom: 0;
350
+ left: 0;
351
+ right: 0;
352
+ z-index: 20;
353
+ background: rgba(0,0,0,0.8);
354
+ display: flex;
355
+ overflow: auto;
356
+ flex-direction: column;
357
+ justify-content: center;
358
+ align-items: center;
359
+ color: #fff;
360
+ }
361
+ .btns {
362
+ position: fixed;
363
+ bottom: 100px;
364
+ height: auto;
365
+ }
366
+ .btns button {
367
+ margin-right: 20px;
368
+ }
369
+ .img-state {
370
+ width: 70%
371
+ }
270
372
  .datapanel {
271
373
  color: #111;
272
374
  background-color: white;
package/src/main.js CHANGED
@@ -1,29 +1,30 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import { system } from 'system-clients'
5
- import saleManage from './saleManage'
6
- import webmeterManage from './webmeterManage'
7
- import reportManage from './reportManage'
8
- import echarts from 'echarts'
9
-
10
-
11
- Vue.config.silent = true
12
-
13
-
14
- /** **************************通用组件******************************/
15
- require('./bootstrap/less/bootstrap.less')
16
- require('./expandcss.less')
17
- Vue.prototype.$echarts = echarts
18
- all()
19
- system(false)
20
- saleManage()
21
- webmeterManage()
22
- reportManage()
23
-
24
-
25
- new Vue({
26
- el: 'body',
27
- components: { App }
28
- })
29
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import { system } from 'system-clients'
5
+ import saleManage from './saleManage'
6
+ import webmeterManage from './webmeterManage'
7
+ import reportManage from './reportManage'
8
+ import echarts from 'echarts'
9
+
10
+
11
+ Vue.config.silent = true
12
+
13
+
14
+ /** **************************通用组件******************************/
15
+ require('./bootstrap/v3less/styles/less/bootstrap.less')
16
+ require('./bootstrap/less/bootstrap.less')
17
+ require('./expandcss.less')
18
+ Vue.prototype.$echarts = echarts
19
+ all()
20
+ system(false)
21
+ saleManage()
22
+ webmeterManage()
23
+ reportManage()
24
+
25
+
26
+ new Vue({
27
+ el: 'body',
28
+ components: { App }
29
+ })
30
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file