system-phone 1.2.123 → 1.2.125-qh

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.
@@ -15,9 +15,9 @@
15
15
  </header>
16
16
  <article slot="modal-body" class="modal-body">
17
17
  <div class="form-group" style="text-align: center">
18
- 安检代办:{{result.safe[0].safenum}}条,其中即将到期预约单{{result.safeorder[0].safeyuyuenum}}条 <br/>
19
- 维修代办:{{result.tel[0].telnum}}条,其中即将到期预约单{{result.telorder[0].telyuyuenum}}条<br/>
20
- 报建代办:{{result.apply[0].applynum}}条,其中即将到期预约单{{result.applyorder[0].applyyuyuenum}}条<br/>
18
+ 安检代办:{{result.safe[0].safenum}}条,其中预约单{{result.safeorder[0].safeyuyuenum}}条 <br/>
19
+ 维修代办:{{result.tel[0].telnum}}条,其中预约单{{result.telorder[0].telyuyuenum}}条<br/>
20
+ 报建代办:{{result.apply[0].applynum}}条,其中预约单{{result.applyorder[0].applyyuyuenum}}条<br/>
21
21
  </div>
22
22
  </article>
23
23
  <footer slot="modal-footer" class="modal-footer">
@@ -47,7 +47,7 @@ export default {
47
47
  }
48
48
  },
49
49
  ready(){
50
- console.log("99999",Vue.user)
50
+ /* console.log("99999",Vue.user)
51
51
  new HttpResetClass().load('post',`${this.$androidUtil.getProxyUrl()}/rs/logic/getModuleUpcoming`,{
52
52
  id:Vue.user.id,
53
53
  name:Vue.user.name,
@@ -62,7 +62,7 @@ export default {
62
62
  // ${result.telorder[0].telyuyuenum}条需要处理的维修预约业务,<br/>
63
63
  // ${result.applyorder[0].applyyuyuenum}条需要处理的报建预约业务,<br/>
64
64
  // ${result.apply[0].applynum}条需要处理的报建待办业务`)
65
- })
65
+ }) */
66
66
  },
67
67
  methods: {
68
68
  closeFile(){
@@ -74,6 +74,7 @@ export default {
74
74
  if (res === 'confirm') {
75
75
  //this.safe = false 返回父页面后不能修改父级页面定义的 是否返回提示
76
76
  this.delback()
77
+ this.$broadcast("return_notification",this.safe)
77
78
  this.backthis.$back()
78
79
  this.closeAndDelAudio()
79
80
  }
@@ -1,165 +1,162 @@
1
- <template>
2
- <div class="page-header app-header auto">
3
- <span style="margin-left:33px">{{title}}</span>
4
- <div class="app-header-back" @click='back()' v-show="needBack">
5
- <img src="../assets/返回.png" style="height: 20px;margin-right:-10px"/>
6
- </div>
7
- <div class="app-header-back" v-show="!needBack">
8
- <img src="../assets/denglu.png" style="height: 20px;margin-right:-10px;margin-top:-10px"/>
9
- <span style="margin-left:5px;color: #ffffff;font-size: 1.0em;">{{loginname}}</span>
10
- </div>
11
- <div class="app-header-list" v-if="showList">
12
- <dropdown>
13
- <a href="#" data-toggle="dropdown" class="dropdown-toggle" style="color: white;font-size:19px">
14
- <div class="app-header-newaddserver" style="line-height: 1px;margin-top: -5px">
15
- <img src="../assets/newadd3.png" style="height: 20px;margin-right:-10px"/>
16
- </div>
17
- </a>
18
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
19
- <li >
20
- <a href="#" @click="gotopage('sell-info',{user:user})">
21
- <img src="../assets/待办工单竖屏3.png"> 报修工单
22
- </a>
23
- <hr>
24
- <a href="#" @click="gotopage('repair-message',{user:user})">
25
- <img src="../assets/安检导航竖屏3.png"/> 安检计划
26
- </a>
27
- <hr>
28
- <a href="#" @click="gotopage('changemeter-info',{user:user})">
29
- <img src="../assets/手机抄表竖屏3.png"/> 抄表计划
30
- </a>
31
- <hr>
32
- <hr>
33
- </li>
34
- </ul>
35
- </dropdown>
36
- </div>
37
- <div class="app-header-guanbishengyin" style="line-height: 25px" @click='mute()'>
38
- <img src="../assets/jingyin3.png" style="height: 20px;"/>
39
- </div>
40
- </div>
41
- </template>
42
-
43
- <script>
44
- import Vue from 'vue'
45
- export default {
46
- title: '通用头部组件',
47
- data () {
48
- return {
49
- loginname: Vue.user.name
50
- }
51
- },
52
- props: {
53
- user:{
54
- type:Object
55
- },
56
- userinfo:{
57
- type:Object
58
- },
59
- // 是否显示列表控件
60
- showList: {
61
- type: Boolean,
62
- default: false
63
- },
64
- title: {
65
- type: String,
66
- default: '燃气应用'
67
- },
68
- needBack: {
69
- type: Boolean,
70
- default: true
71
- }
72
- },
73
- methods: {
74
- // 新增工单
75
- newadd(){
76
- // 事件
77
- },
78
- // 跳转页面
79
- gotopage(param,props) {
80
- this.$goto(param,props)
81
- },
82
- back () {
83
- // console.log('发送返回事件')
84
- this.$emit('back')
85
- },
86
- // 关闭新消息响铃(静音)
87
- mute () {
88
- if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
89
- window.prompt("mute","")
90
- }else{
91
- HostApp.mute()
92
- }
93
- },
94
- }
95
- }
96
- </script>
97
- <style scoped>
98
- .app-header {
99
- position: fixed;
100
- top:0px;
101
- width: 100%;
102
- margin: 0px;
103
- background: #499edf;
104
- color: #FFF;
105
- padding: 10px;
106
- text-align: center;
107
- font-size: 15px;
108
- height: 7%;
109
-
110
- /*margin-bottom: 20px;*/
111
- }
112
- .app-header-back {
113
- position: absolute;
114
- top: 12px;
115
- color: #D8DCE5;
116
- }
117
- .app-header-list {
118
- height: 40px;
119
- float: right;
120
- color: #D8DCE5;
121
- }
122
- .app-header-guanbishengyin {
123
- margin-right: 10px;
124
- float: right;
125
- color: #D8DCE5;
126
- }
127
- .app-header-newaddserver {
128
- margin-right: 10px;
129
- float: right;
130
- color: #D8DCE5;
131
- }
132
- .app-header-volume {
133
- position: absolute;
134
- top: 0;
135
- display: flex;
136
- flex-direction: column;
137
- justify-content: center;
138
- right: 20px;
139
- color: #D8DCE5;
140
- font-size: 1.5em;
141
- }
142
- .dropdown-menu {
143
- background-color: #212a35;
144
- }
145
- .dropdown-menu a{
146
- color: white;
147
- }
148
- .dropdown-menu a:hover{
149
- color: white;
150
- background-color: #6b85a3;
151
- }
152
- .dropdown-menu img{
153
- width: 22%;
154
- margin-top: -5px;
155
- }
156
- .dropdown-menu hr{
157
- margin-top: 0px;
158
- margin-bottom: 0px;
159
- margin-right:0px;
160
- width: 80%;
161
- }
162
- .glyphicon-menu-left{
163
- color:#fff;
164
- }
165
- </style>
1
+ <template>
2
+ <div class="page-header app-header auto">
3
+ <span style="margin-left:33px">{{title}}</span>
4
+ <div class="app-header-back" @click='back()' v-show="needBack">
5
+ <img src="../assets/返回.png" style="height: 20px;margin-right:-10px"/>
6
+ </div>
7
+ <div class="app-header-back" v-show="!needBack">
8
+ <img src="../assets/denglu.png" style="height: 20px;margin-right:-10px;margin-top:-10px"/>
9
+ <span style="margin-left:5px;color: #ffffff;font-size: 1.0em;">{{loginname}}</span>
10
+ </div>
11
+ <div class="app-header-list" v-if="showList">
12
+ <dropdown>
13
+ <a href="#" data-toggle="dropdown" class="dropdown-toggle" style="color: white;font-size:19px">
14
+ <div class="app-header-newaddserver" style="line-height: 1px;margin-top: -5px">
15
+ <img src="../assets/newadd3.png" style="height: 20px;margin-right:-10px"/>
16
+ </div>
17
+ </a>
18
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
19
+ <li >
20
+ <a href="#" @click="gotopage('sell-info',{user:user})">
21
+ <img src="../assets/待办工单竖屏3.png"> 报修工单
22
+ </a>
23
+ <hr>
24
+ <a href="#" @click="gotopage('repair-message',{user:user})">
25
+ <img src="../assets/安检导航竖屏3.png"/> 安检计划
26
+ </a>
27
+ <hr>
28
+ <a href="#" @click="gotopage('changemeter-info',{user:user})">
29
+ <img src="../assets/手机抄表竖屏3.png"/> 抄表计划
30
+ </a>
31
+ <hr>
32
+ <hr>
33
+ </li>
34
+ </ul>
35
+ </dropdown>
36
+ </div>
37
+ </div>
38
+ </template>
39
+
40
+ <script>
41
+ import Vue from 'vue'
42
+ export default {
43
+ title: '通用头部组件',
44
+ data () {
45
+ return {
46
+ loginname: Vue.user.name
47
+ }
48
+ },
49
+ props: {
50
+ user:{
51
+ type:Object
52
+ },
53
+ userinfo:{
54
+ type:Object
55
+ },
56
+ // 是否显示列表控件
57
+ showList: {
58
+ type: Boolean,
59
+ default: false
60
+ },
61
+ title: {
62
+ type: String,
63
+ default: '燃气应用'
64
+ },
65
+ needBack: {
66
+ type: Boolean,
67
+ default: true
68
+ }
69
+ },
70
+ methods: {
71
+ // 新增工单
72
+ newadd(){
73
+ // 事件
74
+ },
75
+ // 跳转页面
76
+ gotopage(param,props) {
77
+ this.$goto(param,props)
78
+ },
79
+ back () {
80
+ // console.log('发送返回事件')
81
+ this.$emit('back')
82
+ },
83
+ // 关闭新消息响铃(静音)
84
+ mute () {
85
+ if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
86
+ window.prompt("mute","")
87
+ }else{
88
+ HostApp.mute()
89
+ }
90
+ },
91
+ }
92
+ }
93
+ </script>
94
+ <style scoped>
95
+ .app-header {
96
+ position: fixed;
97
+ top:0px;
98
+ width: 100%;
99
+ margin: 0px;
100
+ background: #499edf;
101
+ color: #FFF;
102
+ padding: 10px;
103
+ text-align: center;
104
+ font-size: 15px;
105
+ height: 7%;
106
+
107
+ /*margin-bottom: 20px;*/
108
+ }
109
+ .app-header-back {
110
+ position: absolute;
111
+ top: 12px;
112
+ color: #D8DCE5;
113
+ }
114
+ .app-header-list {
115
+ height: 40px;
116
+ float: right;
117
+ color: #D8DCE5;
118
+ }
119
+ .app-header-guanbishengyin {
120
+ margin-right: 10px;
121
+ float: right;
122
+ color: #D8DCE5;
123
+ }
124
+ .app-header-newaddserver {
125
+ margin-right: 10px;
126
+ float: right;
127
+ color: #D8DCE5;
128
+ }
129
+ .app-header-volume {
130
+ position: absolute;
131
+ top: 0;
132
+ display: flex;
133
+ flex-direction: column;
134
+ justify-content: center;
135
+ right: 20px;
136
+ color: #D8DCE5;
137
+ font-size: 1.5em;
138
+ }
139
+ .dropdown-menu {
140
+ background-color: #212a35;
141
+ }
142
+ .dropdown-menu a{
143
+ color: white;
144
+ }
145
+ .dropdown-menu a:hover{
146
+ color: white;
147
+ background-color: #6b85a3;
148
+ }
149
+ .dropdown-menu img{
150
+ width: 22%;
151
+ margin-top: -5px;
152
+ }
153
+ .dropdown-menu hr{
154
+ margin-top: 0px;
155
+ margin-bottom: 0px;
156
+ margin-right:0px;
157
+ width: 80%;
158
+ }
159
+ .glyphicon-menu-left{
160
+ color:#fff;
161
+ }
162
+ </style>