system-phone 3.1.90 → 3.1.91

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 (84) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/SystemPhone.iml +8 -8
  3. package/build/dev-server.js +101 -141
  4. package/build/webpack.base.conf.js +82 -82
  5. package/build.gradle +27 -27
  6. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  7. package/gradlew +183 -183
  8. package/gradlew.bat +100 -100
  9. package/index.html +21 -21
  10. package/package.json +1 -1
  11. package/src/App.vue +27 -25
  12. package/src/Util.js +415 -415
  13. package/src/components/AloneLoadParams.vue +26 -26
  14. package/src/components/LoadAppdata.vue +38 -38
  15. package/src/components/LoginApp.vue +1 -1
  16. package/src/components/NavBottom.vue +117 -117
  17. package/src/components/NavBottomV.vue +141 -141
  18. package/src/components/NavBottomVVV.vue +185 -185
  19. package/src/components/PhoneAllInfo.vue +68 -68
  20. package/src/components/PhoneChangemeterInfo.vue +116 -116
  21. package/src/components/PhoneImageInfo.vue +102 -102
  22. package/src/components/PhoneInfoTable.vue +39 -39
  23. package/src/components/PhoneMeterInfo.vue +132 -132
  24. package/src/components/PhoneSafeInfo.vue +101 -101
  25. package/src/components/PhoneSellInfoLite.vue +112 -112
  26. package/src/components/PhoneUser.vue +202 -202
  27. package/src/components/PhoneUserDetil.vue +70 -70
  28. package/src/components/PhoneUserFind.vue +138 -138
  29. package/src/components/RightTree.vue +217 -217
  30. package/src/components/TabBarPhone.vue +81 -81
  31. package/src/components/Test.vue +14 -14
  32. package/src/components/ToolsPage.vue +199 -199
  33. package/src/components/UploadManage.vue +194 -194
  34. package/src/components/gaomi/NavBottomV.vue +223 -223
  35. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  36. package/src/components/gaomi/Scroller.vue +63 -63
  37. package/src/components/gaomi/SystemSetUp.vue +186 -186
  38. package/src/components/gaomi/ToolsPage.vue +168 -168
  39. package/src/components/idea/feedBack.vue +150 -150
  40. package/src/components/idea/feedbackAdd.vue +366 -366
  41. package/src/components/info/ConfigInfo.vue +122 -122
  42. package/src/components/info/InfoTable.vue +37 -37
  43. package/src/components/iot/IotMeterInfo.vue +77 -77
  44. package/src/components/online/ApplyOnline.vue +581 -581
  45. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  46. package/src/components/screen/ChargeContentPage.vue +656 -656
  47. package/src/components/screen/ContentPage.vue +611 -611
  48. package/src/components/screen/GongdanContentPage.vue +149 -149
  49. package/src/components/screen/ListCountItem.vue +93 -93
  50. package/src/components/screen/ModuleTitle.vue +48 -48
  51. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  52. package/src/components/screen/SecurityCheckItem.vue +50 -50
  53. package/src/components/screen/TotalItem.vue +76 -76
  54. package/src/components/screen/TotalUserNumber.vue +77 -77
  55. package/src/components/screen/WorkOrderItem.vue +51 -51
  56. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  57. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  58. package/src/components/userinfo/paymentQuery.vue +189 -189
  59. package/src/components/userinfo/queryFile.vue +190 -190
  60. package/src/components/wasm.vue +18 -18
  61. package/src/expandcssAndroid.less +521 -521
  62. package/src/filiale/chengran/EncryptUtil.js +27 -0
  63. package/src/filiale/chengran/LoginApp.vue +775 -0
  64. package/src/filiale/chengran/systemphonegrid.js +4 -0
  65. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -194
  66. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -537
  67. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -256
  68. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -332
  69. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -195
  70. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -9
  71. package/src/index.js +9 -9
  72. package/src/main.js +38 -38
  73. package/src/plugins/const.js +404 -404
  74. package/src/plugins/validateStrongPasswordPhone.js +2 -2
  75. package/src/plugins/vue-py.js +37 -37
  76. package/src/stores/AppData.js +79 -79
  77. package/src/systemphone-gaomi.js +105 -105
  78. package/src/systemphone.js +60 -60
  79. package/src/systemphonegrid.js +185 -185
  80. package/src/util/LdapHelper.js +75 -75
  81. package/static/const.js +404 -404
  82. package/static/layui/font/iconfont.svg +554 -554
  83. package/static/vue-py.js +37 -37
  84. package/static/wasm_exec.js +465 -465
@@ -1,26 +1,26 @@
1
- <template>
2
- <div>
3
- <p>获取参数中,请保持网络畅通</p>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import co from 'co'
9
- import Vue from 'vue'
10
- import LoadParams from '../plugins/LoadParams'
11
-
12
- export default {
13
- title: '加载参数',
14
- props: {
15
- componentName: {
16
- type: String
17
- }
18
- },
19
- ready () {
20
- LoadParams.load().then(() => {
21
- // this.$resetpost(Vue.dataUrl + 'rs/logic/androidLog', {data: {name: 'path', msg: '加载参数成功'}}, {resolveMsg: null, rejectMsg: null})
22
- this.$goto(this.componentName)
23
- })
24
- }
25
- }
26
- </script>
1
+ <template>
2
+ <div>
3
+ <p>获取参数中,请保持网络畅通</p>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import co from 'co'
9
+ import Vue from 'vue'
10
+ import LoadParams from '../plugins/LoadParams'
11
+
12
+ export default {
13
+ title: '加载参数',
14
+ props: {
15
+ componentName: {
16
+ type: String
17
+ }
18
+ },
19
+ ready () {
20
+ LoadParams.load().then(() => {
21
+ // this.$resetpost(Vue.dataUrl + 'rs/logic/androidLog', {data: {name: 'path', msg: '加载参数成功'}}, {resolveMsg: null, rejectMsg: null})
22
+ this.$goto(this.componentName)
23
+ })
24
+ }
25
+ }
26
+ </script>
@@ -1,38 +1,38 @@
1
- <template>
2
- <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
- <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
- <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- export default {
10
- title: '加载参数',
11
- data () {
12
- return {
13
- msg: '',
14
- show: false
15
- }
16
- },
17
- ready () {
18
- this.$appdata.load().then(() => {
19
- this.$emit('ready')
20
- })
21
- }
22
- }
23
- </script>
24
- <style media="screen">
25
- .loadingdata {
26
- position: fixed;
27
- background: #fff;
28
- opacity: 0.6;
29
- top: 0;
30
- width: 100%;
31
- }
32
- .loaderror {
33
- opacity: 1;
34
- }
35
- .loadsuccess {
36
- display: none;
37
- }
38
- </style>
1
+ <template>
2
+ <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
+ <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
+ <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ export default {
10
+ title: '加载参数',
11
+ data () {
12
+ return {
13
+ msg: '',
14
+ show: false
15
+ }
16
+ },
17
+ ready () {
18
+ this.$appdata.load().then(() => {
19
+ this.$emit('ready')
20
+ })
21
+ }
22
+ }
23
+ </script>
24
+ <style media="screen">
25
+ .loadingdata {
26
+ position: fixed;
27
+ background: #fff;
28
+ opacity: 0.6;
29
+ top: 0;
30
+ width: 100%;
31
+ }
32
+ .loaderror {
33
+ opacity: 1;
34
+ }
35
+ .loadsuccess {
36
+ display: none;
37
+ }
38
+ </style>
@@ -377,7 +377,7 @@ export default {
377
377
  console.log('获取参数结束')
378
378
  this.loaderShow = false
379
379
  // 弱口令验证
380
- if (this.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?])(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{12,16}$/.test(this.password))) {
380
+ if (this.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?])(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]{8,16}$/.test(this.password))) {
381
381
  await this.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm'])
382
382
  this.modifyPassword = true
383
383
  return
@@ -1,117 +1,117 @@
1
- <template>
2
- <div class="no-close row android-repair-order">
3
- <div :class="[fullpage ? 'menu-hide' : 'col-sm-3 col-xs-3']" >
4
- <ul class="nav nav-tabs">
5
- <li>
6
- <p style="padding-left: 15px; color: white; font-weight: 550">
7
- 登录人:{{loginInfo.name}}
8
- </p>
9
- <!--({{loginInfo.id}})-->
10
- </li>
11
- <li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">
12
- <a href="#" class="tab-befor-img">
13
- <img :src="getImg(tab.icon)" style="height: 30px;width:30px;">
14
- {{tab.name}}</a>
15
- </li>
16
- <li @click="mute()">
17
- <a href="#" class="repair-mute-class" >
18
- <img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>
19
- </li>
20
- </ul>
21
- </div>
22
- <div :class="[fullpage ? 'col-sm-12 col-xs-12' : 'col-sm-9 col-xs-9']" style="overflow: auto;">
23
- <!--<route v-ref:route></route>-->
24
- <repair-first v-if="componentName === 'repair-first'"></repair-first>
25
- <completed-repair v-if="componentName === 'completed-repair'"></completed-repair>
26
- <up-load v-if="componentName === 'up-load'"></up-load>
27
- <check-page v-if="componentName === 'check-page'"></check-page>
28
- <readmeter-home v-if="componentName === 'readmeter-home'"></readmeter-home>
29
- <repair-send v-if="componentName === 'repair-send'"></repair-send>
30
- </div>
31
- </div>
32
- </template>
33
-
34
- <script scoped>
35
- import Vue from 'vue'
36
- import * as Util from '../Util'
37
- export default {
38
- title: '底部导航',
39
- data () {
40
- return {
41
- componentName: 'repair-first',
42
- tabs: Util.f.functions,
43
- text: '导航组件this',
44
- fullpage: false,
45
- loginInfo: {}
46
- }
47
- },
48
- ready () {
49
- this.loginInfo = Object.assign({}, this.loginInfo, Vue.user)
50
- console.log(this.loginInfo, 'loginINfo')
51
- // this.$refs.route.init('repair-first')
52
- },
53
- methods: {
54
- // 选择tab
55
- tabSelect (name) {
56
- this.componentName = name
57
- // this.$refs.route.init(name)
58
- if (name !== 'text-chat-pane') {
59
- this.notified('false')
60
- } else {
61
- this.notified('true')
62
- }
63
- },
64
- notified (stopped) {
65
- console.log('txtServiceStopped invoked$')
66
- if (this.$androidUtil.isAndroid) {
67
- HostApp.setPreference('txtServiceStopped', stopped)
68
- HostApp.setPreference('msgCount', '0')
69
- }
70
- },
71
- mute () {
72
- if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
73
- window.prompt("mute","")
74
- }else{
75
- HostApp.mute()
76
- }
77
- },
78
- getImg (param) {
79
- return require(`../assets/${param}.png`)
80
- }
81
- },
82
- events: {
83
- showFullPage () {
84
- this.fullpage = true
85
- },
86
- hideFullPage () {
87
- this.fullpage = false
88
- }
89
- }
90
- }
91
- </script>
92
- <style lang="less">
93
- .tab-befor-img {
94
- margin: 3px 0;
95
- content: '';
96
- background-size: 30px;
97
- display: inline-block;
98
- margin-right: 8px;
99
- height: 30px;
100
- width: 100%;
101
- vertical-align: -35%;
102
- }
103
- img[src=""],img:not([src]){
104
- opacity: 0;
105
- border:none;
106
- visibility: hidden;
107
- max-width: none;
108
- }
109
- /* .repair-mute-class {
110
- &::before {
111
- .tab-befor-img("../assets/guanbishengyin.png")
112
- }
113
- }*/
114
- .menu-hide {
115
- display: none;
116
- }
117
- </style>
1
+ <template>
2
+ <div class="no-close row android-repair-order">
3
+ <div :class="[fullpage ? 'menu-hide' : 'col-sm-3 col-xs-3']" >
4
+ <ul class="nav nav-tabs">
5
+ <li>
6
+ <p style="padding-left: 15px; color: white; font-weight: 550">
7
+ 登录人:{{loginInfo.name}}
8
+ </p>
9
+ <!--({{loginInfo.id}})-->
10
+ </li>
11
+ <li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">
12
+ <a href="#" class="tab-befor-img">
13
+ <img :src="getImg(tab.icon)" style="height: 30px;width:30px;">
14
+ {{tab.name}}</a>
15
+ </li>
16
+ <li @click="mute()">
17
+ <a href="#" class="repair-mute-class" >
18
+ <img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>
19
+ </li>
20
+ </ul>
21
+ </div>
22
+ <div :class="[fullpage ? 'col-sm-12 col-xs-12' : 'col-sm-9 col-xs-9']" style="overflow: auto;">
23
+ <!--<route v-ref:route></route>-->
24
+ <repair-first v-if="componentName === 'repair-first'"></repair-first>
25
+ <completed-repair v-if="componentName === 'completed-repair'"></completed-repair>
26
+ <up-load v-if="componentName === 'up-load'"></up-load>
27
+ <check-page v-if="componentName === 'check-page'"></check-page>
28
+ <readmeter-home v-if="componentName === 'readmeter-home'"></readmeter-home>
29
+ <repair-send v-if="componentName === 'repair-send'"></repair-send>
30
+ </div>
31
+ </div>
32
+ </template>
33
+
34
+ <script scoped>
35
+ import Vue from 'vue'
36
+ import * as Util from '../Util'
37
+ export default {
38
+ title: '底部导航',
39
+ data () {
40
+ return {
41
+ componentName: 'repair-first',
42
+ tabs: Util.f.functions,
43
+ text: '导航组件this',
44
+ fullpage: false,
45
+ loginInfo: {}
46
+ }
47
+ },
48
+ ready () {
49
+ this.loginInfo = Object.assign({}, this.loginInfo, Vue.user)
50
+ console.log(this.loginInfo, 'loginINfo')
51
+ // this.$refs.route.init('repair-first')
52
+ },
53
+ methods: {
54
+ // 选择tab
55
+ tabSelect (name) {
56
+ this.componentName = name
57
+ // this.$refs.route.init(name)
58
+ if (name !== 'text-chat-pane') {
59
+ this.notified('false')
60
+ } else {
61
+ this.notified('true')
62
+ }
63
+ },
64
+ notified (stopped) {
65
+ console.log('txtServiceStopped invoked$')
66
+ if (this.$androidUtil.isAndroid) {
67
+ HostApp.setPreference('txtServiceStopped', stopped)
68
+ HostApp.setPreference('msgCount', '0')
69
+ }
70
+ },
71
+ mute () {
72
+ if(navigator.userAgent.match('iPad') || navigator.userAgent.match('iPhone')){
73
+ window.prompt("mute","")
74
+ }else{
75
+ HostApp.mute()
76
+ }
77
+ },
78
+ getImg (param) {
79
+ return require(`../assets/${param}.png`)
80
+ }
81
+ },
82
+ events: {
83
+ showFullPage () {
84
+ this.fullpage = true
85
+ },
86
+ hideFullPage () {
87
+ this.fullpage = false
88
+ }
89
+ }
90
+ }
91
+ </script>
92
+ <style lang="less">
93
+ .tab-befor-img {
94
+ margin: 3px 0;
95
+ content: '';
96
+ background-size: 30px;
97
+ display: inline-block;
98
+ margin-right: 8px;
99
+ height: 30px;
100
+ width: 100%;
101
+ vertical-align: -35%;
102
+ }
103
+ img[src=""],img:not([src]){
104
+ opacity: 0;
105
+ border:none;
106
+ visibility: hidden;
107
+ max-width: none;
108
+ }
109
+ /* .repair-mute-class {
110
+ &::before {
111
+ .tab-befor-img("../assets/guanbishengyin.png")
112
+ }
113
+ }*/
114
+ .menu-hide {
115
+ display: none;
116
+ }
117
+ </style>
@@ -1,141 +1,141 @@
1
- <template>
2
- <div class="nav-bgcolor">
3
- <div class="auto">
4
- <tools-page :need-back="!isMenu" :title="titleName" @back="back()" > </tools-page>
5
-
6
- <div class="row nav-bgcolor" v-show="isMenu" >
7
- <div class="col-sm-6 col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
8
- <img class="butt" :src="imgback(tab.name)">
9
- <p></p>
10
- <p class="navimagesfoot">{{tab.name}}</p>
11
- <p> </p>
12
- <p> </p>
13
- </div>
14
- </div>
15
- <!--<ul class="nav nav-tabs">-->
16
- <!--<li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">-->
17
- <!--<a href="#" class="tab-befor-img">-->
18
- <!--<img :src="tab.icon" style="height: 30px;width:30px;">{{tab.name}}</a>-->
19
- <!--</li>-->
20
- <!--<li @click="mute()">-->
21
- <!--<a href="#" class="repair-mute-class" >-->
22
- <!--<img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>-->
23
- <!--</li>-->
24
- <!--</ul>-->
25
- <div class="row" style="overflow:auto;" v-show="!isMenu">
26
- <route v-ref:route> </route>
27
- </div>
28
- </div>
29
- </div>
30
- </template>
31
-
32
- <script scoped>
33
- import * as Util from '../Util'
34
- export default {
35
- title: '底部导航',
36
- data () {
37
- return {
38
- titleName:'主界面',
39
- isMenu:true,
40
- tabs: Util.f.functions,
41
- text: '导航组件this',
42
- beforeName:'主界面'
43
- }
44
- },
45
- ready () {
46
- // this.$refs.route.init('repair-first')
47
- },
48
- methods: {
49
- imgback(val){
50
- return require('../assets/'+val+'竖屏3.png')
51
- },
52
- // 返回主界面
53
- back(){
54
- this.titleName = '主界面'
55
- this.isMenu = true
56
- },
57
- gotopage(param,title) {
58
- if(title == '退出系统'){
59
- this.$showMessage('即将返回登陆界面!', ['confirm', 'cancel']).then((res) => {
60
- if (res === 'confirm') {
61
- this.$androidUtil.setPreference('f_repairman_id', 'x')
62
- this.$androidUtil.setPreference('f_repairman_name', 'x')
63
- this.$back()
64
- }
65
- })
66
- }else{
67
- this.isMenu = false
68
- if(this.beforeName == title){
69
- return
70
- }
71
- this.titleName = title
72
- this.beforeName = title
73
- let data = {
74
- sourcet: '竖屏'
75
- }
76
- if(title == '待办工单'){
77
- param = param+'V'
78
- }
79
- this.$refs.route.init(param,data)
80
- // if (param !== 'text-chat-pane') {
81
- // this.notified('false')
82
- // } else {
83
- // this.notified('true')
84
- // }
85
- }
86
- },
87
- // notified (stopped) {
88
- // console.log('txtServiceStopped invoked$')
89
- // if (this.$androidUtil.isAndroid) {
90
- // this.$androidUtil.setPreference('txtServiceStopped', stopped)
91
- // this.$androidUtil.setPreference('msgCount', '0')
92
- // }
93
- // },
94
- mute () {
95
- HostApp.mute()
96
- }
97
- },
98
- }
99
- </script>
100
- <style lang="less">
101
- .tab-befor-img {
102
- content: '';
103
- background-size: 30px;
104
- display: inline-block;
105
- margin-right: 8px;
106
- height: 30px;
107
- width: 30px;
108
- vertical-align: -35%;
109
- }
110
- .manbiankuang{
111
- width: 44%;
112
- margin-top: 15px;
113
- margin-left: 4%;
114
- border:1px solid #e3e3e3;
115
- border-radius:10px 10px 10px 10px;
116
- text-align: center;
117
- background-color: #ffffff;
118
- }
119
- .navimagesfoot{
120
- font-size: 14px;
121
- color: #666666;
122
- /* font-family: "Pingfhs";*/
123
- }
124
- .nav-bgcolor{
125
- background-color: #f0f0ef;
126
- }
127
- img[src=""],img:not([src]){
128
- opacity: 0;
129
- border:none;
130
- visibility: hidden;
131
- max-width: none;
132
- }
133
- /* .repair-mute-class {
134
- &::before {
135
- .tab-befor-img("../assets/guanbishengyin.png")
136
- }
137
- }*/
138
- .butt {margin-left: 20%; margin-right: 20%; margin-top: 15%; height: 20%; width: 20%; border-radius: 5%; text-align: center;align-items:center;}
139
- .butt div.content {line-height:320%; height: 100%; font-size: 48px; color: white; text-align:center;}
140
- .butt span{ width: 100%; font-size: 48px; color: white; text-align: center;}
141
- </style>
1
+ <template>
2
+ <div class="nav-bgcolor">
3
+ <div class="auto">
4
+ <tools-page :need-back="!isMenu" :title="titleName" @back="back()" > </tools-page>
5
+
6
+ <div class="row nav-bgcolor" v-show="isMenu" >
7
+ <div class="col-sm-6 col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
8
+ <img class="butt" :src="imgback(tab.name)">
9
+ <p></p>
10
+ <p class="navimagesfoot">{{tab.name}}</p>
11
+ <p> </p>
12
+ <p> </p>
13
+ </div>
14
+ </div>
15
+ <!--<ul class="nav nav-tabs">-->
16
+ <!--<li v-for="tab in tabs" @click="tabSelect(tab.link)" :class="{active: tab.link === componentName}">-->
17
+ <!--<a href="#" class="tab-befor-img">-->
18
+ <!--<img :src="tab.icon" style="height: 30px;width:30px;">{{tab.name}}</a>-->
19
+ <!--</li>-->
20
+ <!--<li @click="mute()">-->
21
+ <!--<a href="#" class="repair-mute-class" >-->
22
+ <!--<img src="../assets/guanbishengyin.png" style="height: 30px;width:30px;border-width:0">关闭声音</a>-->
23
+ <!--</li>-->
24
+ <!--</ul>-->
25
+ <div class="row" style="overflow:auto;" v-show="!isMenu">
26
+ <route v-ref:route> </route>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </template>
31
+
32
+ <script scoped>
33
+ import * as Util from '../Util'
34
+ export default {
35
+ title: '底部导航',
36
+ data () {
37
+ return {
38
+ titleName:'主界面',
39
+ isMenu:true,
40
+ tabs: Util.f.functions,
41
+ text: '导航组件this',
42
+ beforeName:'主界面'
43
+ }
44
+ },
45
+ ready () {
46
+ // this.$refs.route.init('repair-first')
47
+ },
48
+ methods: {
49
+ imgback(val){
50
+ return require('../assets/'+val+'竖屏3.png')
51
+ },
52
+ // 返回主界面
53
+ back(){
54
+ this.titleName = '主界面'
55
+ this.isMenu = true
56
+ },
57
+ gotopage(param,title) {
58
+ if(title == '退出系统'){
59
+ this.$showMessage('即将返回登陆界面!', ['confirm', 'cancel']).then((res) => {
60
+ if (res === 'confirm') {
61
+ this.$androidUtil.setPreference('f_repairman_id', 'x')
62
+ this.$androidUtil.setPreference('f_repairman_name', 'x')
63
+ this.$back()
64
+ }
65
+ })
66
+ }else{
67
+ this.isMenu = false
68
+ if(this.beforeName == title){
69
+ return
70
+ }
71
+ this.titleName = title
72
+ this.beforeName = title
73
+ let data = {
74
+ sourcet: '竖屏'
75
+ }
76
+ if(title == '待办工单'){
77
+ param = param+'V'
78
+ }
79
+ this.$refs.route.init(param,data)
80
+ // if (param !== 'text-chat-pane') {
81
+ // this.notified('false')
82
+ // } else {
83
+ // this.notified('true')
84
+ // }
85
+ }
86
+ },
87
+ // notified (stopped) {
88
+ // console.log('txtServiceStopped invoked$')
89
+ // if (this.$androidUtil.isAndroid) {
90
+ // this.$androidUtil.setPreference('txtServiceStopped', stopped)
91
+ // this.$androidUtil.setPreference('msgCount', '0')
92
+ // }
93
+ // },
94
+ mute () {
95
+ HostApp.mute()
96
+ }
97
+ },
98
+ }
99
+ </script>
100
+ <style lang="less">
101
+ .tab-befor-img {
102
+ content: '';
103
+ background-size: 30px;
104
+ display: inline-block;
105
+ margin-right: 8px;
106
+ height: 30px;
107
+ width: 30px;
108
+ vertical-align: -35%;
109
+ }
110
+ .manbiankuang{
111
+ width: 44%;
112
+ margin-top: 15px;
113
+ margin-left: 4%;
114
+ border:1px solid #e3e3e3;
115
+ border-radius:10px 10px 10px 10px;
116
+ text-align: center;
117
+ background-color: #ffffff;
118
+ }
119
+ .navimagesfoot{
120
+ font-size: 14px;
121
+ color: #666666;
122
+ /* font-family: "Pingfhs";*/
123
+ }
124
+ .nav-bgcolor{
125
+ background-color: #f0f0ef;
126
+ }
127
+ img[src=""],img:not([src]){
128
+ opacity: 0;
129
+ border:none;
130
+ visibility: hidden;
131
+ max-width: none;
132
+ }
133
+ /* .repair-mute-class {
134
+ &::before {
135
+ .tab-befor-img("../assets/guanbishengyin.png")
136
+ }
137
+ }*/
138
+ .butt {margin-left: 20%; margin-right: 20%; margin-top: 15%; height: 20%; width: 20%; border-radius: 5%; text-align: center;align-items:center;}
139
+ .butt div.content {line-height:320%; height: 100%; font-size: 48px; color: white; text-align:center;}
140
+ .butt span{ width: 100%; font-size: 48px; color: white; text-align: center;}
141
+ </style>