system-phone 1.2.83 → 1.2.85-test1

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 (37) hide show
  1. package/.npmignore +9 -0
  2. package/SystemPhone.iml +9 -0
  3. package/build/dev-server.js +20 -4
  4. package/build/webpack.base.conf.js +82 -78
  5. package/package-lock.json +10055 -0
  6. package/package.json +99 -99
  7. package/src/assets/biaohao.png +0 -0
  8. package/src/assets/bieming.png +0 -0
  9. package/src/assets/caozuo.png +0 -0
  10. package/src/assets/guige.png +0 -0
  11. package/src/assets/leixing.png +0 -0
  12. package/src/assets/pinpai.png +0 -0
  13. package/src/assets/qiliang.png +0 -0
  14. package/src/assets/xinghao.png +0 -0
  15. package/src/assets/yue.png +0 -0
  16. package/src/assets//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
  17. package/src/assets//345/257/271/345/217/267.png +0 -0
  18. package/src/assets//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
  19. package/src/assets//347/224/250/346/210/267/347/274/226/345/217/267.png +0 -0
  20. package/src/assets//350/241/250/345/217/267 (7).png +0 -0
  21. package/src/assets//350/241/250/345/217/267.png +0 -0
  22. package/src/assets//350/277/224/345/233/236/346/241/214/351/235/242.png +0 -0
  23. package/src/assets//351/224/231/345/217/267.png +0 -0
  24. package/src/components/LoginApp.vue +612 -612
  25. package/src/components/LoginAppNew.vue +587 -587
  26. package/src/components/NavBottomVVV.vue +144 -144
  27. package/src/components/PhoneSellInfo.vue +122 -122
  28. package/src/components/iot/InstructMessage.vue +303 -0
  29. package/src/components/iot/IotBaseInfo.vue +97 -0
  30. package/src/components/iot/IotMeterInfo.vue +77 -0
  31. package/src/components/iot/iotMonitoringMain.vue +476 -0
  32. package/src/components/userinfo/paymentQuery.vue +189 -189
  33. package/src/components/userinfo/queryFile.vue +190 -190
  34. package/src/main.js +2 -2
  35. package/src/systemphone.js +58 -42
  36. package/src/systemphonegrid.js +16 -0
  37. package/yarn.lock +6399 -0
@@ -1,144 +1,144 @@
1
- <template>
2
- <div style="height: 7%">
3
- <tools-page :need-back="!isMenu" :title="titleName" @back="back('返回')" > </tools-page>
4
- </div>
5
- <div id="app" :class="{'auto':isMenu,'app-height':!isMenu}">
6
- <div class="row" style="overflow-y: scroll;">
7
- <route v-ref:route> </route>
8
- </div>
9
- <tab-bar @select-item="onClickTabBarItem" v-show="isMenu">
10
- </tab-bar>
11
- </div>
12
- </template>
13
-
14
- <script>
15
-
16
- export default {
17
- title: 'app',
18
- data: function () {
19
- return {
20
- item: 0,
21
- isMenu:true,
22
- beforeName:'主界面',
23
- titleName:'待办工作',
24
- backthis:'',
25
- safe:false,
26
- beforetabs:[],
27
- iftabbar:''
28
- }
29
- },
30
- ready(){
31
- },
32
- methods: {
33
- back (flag){
34
- if(this.safe && flag == '返回' ){
35
- this.$showMessage('此返回所录入内容将无法找回!', ['confirm', 'cancel']).then((res) => {
36
- if (res === 'confirm') {
37
- //this.safe = false 返回父页面后不能修改父级页面定义的 是否返回提示
38
- this.delback()
39
- this.backthis.$back()
40
- this.closeAndDelAudio()
41
- }
42
- })
43
- }else{
44
- this.delback()
45
- //this.safe = false 返回父页面后不能修改父级页面定义的 是否返回提示
46
- this.backthis.$back()
47
- }
48
- },
49
- delback(){
50
- // 先确认出 前一个组件的名字
51
- var title = this.beforeName
52
- var beforetitle = '主界面'
53
- var j = -1
54
- for(var i = 0;i<this.beforetabs.length;i++){
55
- if(this.beforetabs[i].titleName == title){
56
- beforetitle = this.beforetabs[i].beforeName
57
- this.backthis =this.beforetabs[i].backthis
58
- this.safe = this.beforetabs[i].safe
59
- j = i
60
- break;
61
- }
62
- }
63
- this.beforetabs.splice(j + 1, 1)
64
- this.beforeName = beforetitle
65
- this.titleName = title
66
- // 判断是否 显示底层导航
67
- if(this.iftabbar == this.titleName){
68
- this.isMenu = true
69
- }
70
- },
71
- onClickTabBarItem(titlefg) {
72
- var param = titlefg.link
73
- if(titlefg.name == '退出系统'){
74
- this.$showMessage('即将返回登陆界面!', ['confirm', 'cancel']).then((res) => {
75
- if (res === 'confirm') {
76
- this.$androidUtil.setPreference('f_repairman_id', 'x')
77
- this.$androidUtil.setPreference('f_repairman_name', 'x')
78
- this.$back()
79
- }
80
- })
81
- }else{
82
- if(this.beforeName == titlefg.name){
83
- return
84
- }
85
- this.titleName = titlefg.name
86
- this.beforeName = titlefg.name
87
- let data = {
88
- sourcet: '竖屏'
89
- }
90
- // if(titlefg.name == '待办工单'){
91
- // param = param+'V'
92
- // }
93
- this.$refs.route.init(param,data)
94
- }
95
- },
96
- closeAndDelAudio() {
97
- console.log("停止无限制录音,并删除录音文件")
98
- HostApp.startOrStopAudioClip("-----","停止并删除录音")
99
- }
100
- },
101
- events: {
102
- 'gotoson': function (prpdata) {
103
- // 事件回调内的 `this` 自动绑定到注册它的实例上
104
- // safe 返回事件是否进行判断后再返回
105
- // 每进入一次,beforetabs 数组添加 返回 删除
106
- this.backthis = prpdata._this
107
- this.safe = prpdata.safe
108
- this.isMenu = false
109
- // 记录本次跳转
110
- var beforedata = {
111
- beforeName: this.titleName,
112
- titleName: prpdata.title,
113
- backthis:prpdata._this,
114
- safe:prpdata.safe
115
- }
116
- this.beforetabs.push(beforedata)
117
- if( this.beforetabs.length == 1){
118
- this.iftabbar = beforedata.beforeName
119
- }
120
- // 写入跳转后 前后组件名字
121
- this.beforeName = this.titleName
122
- this.titleName = prpdata.title
123
-
124
- console.log('进入子组件,通知外层组件,我已经进入')
125
- },
126
- 'confirm': function () {
127
- // 提交处理返回事件
128
- this.back('提交')
129
- },
130
- 'backarrdel': function () {
131
- this.delback()
132
- },
133
- 'gologin': function () {
134
- this.beforetabs = []
135
- this.$back()
136
- }
137
- }
138
- }
139
- </script>
140
- <style scoped>
141
- .app-height{
142
- height: 93%;
143
- }
144
- </style>
1
+ <template>
2
+ <div style="height: 7%">
3
+ <tools-page :need-back="!isMenu" :title="titleName" @back="back('返回')" > </tools-page>
4
+ </div>
5
+ <div id="app" :class="{'auto':isMenu,'app-height':!isMenu}">
6
+ <div class="row" style="overflow-y: scroll;">
7
+ <route v-ref:route> </route>
8
+ </div>
9
+ <tab-bar @select-item="onClickTabBarItem" v-show="isMenu">
10
+ </tab-bar>
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+
16
+ export default {
17
+ title: 'app',
18
+ data: function () {
19
+ return {
20
+ item: 0,
21
+ isMenu:true,
22
+ beforeName:'主界面',
23
+ titleName:'待办工作',
24
+ backthis:'',
25
+ safe:false,
26
+ beforetabs:[],
27
+ iftabbar:''
28
+ }
29
+ },
30
+ ready(){
31
+ },
32
+ methods: {
33
+ back (flag){
34
+ if(this.safe && flag == '返回' ){
35
+ this.$showMessage('此返回所录入内容将无法找回!', ['confirm', 'cancel']).then((res) => {
36
+ if (res === 'confirm') {
37
+ //this.safe = false 返回父页面后不能修改父级页面定义的 是否返回提示
38
+ this.delback()
39
+ this.backthis.$back()
40
+ this.closeAndDelAudio()
41
+ }
42
+ })
43
+ }else{
44
+ this.delback()
45
+ //this.safe = false 返回父页面后不能修改父级页面定义的 是否返回提示
46
+ this.backthis.$back()
47
+ }
48
+ },
49
+ delback(){
50
+ // 先确认出 前一个组件的名字
51
+ var title = this.beforeName
52
+ var beforetitle = '主界面'
53
+ var j = -1
54
+ for(var i = 0;i<this.beforetabs.length;i++){
55
+ if(this.beforetabs[i].titleName == title){
56
+ beforetitle = this.beforetabs[i].beforeName
57
+ this.backthis =this.beforetabs[i].backthis
58
+ this.safe = this.beforetabs[i].safe
59
+ j = i
60
+ break;
61
+ }
62
+ }
63
+ this.beforetabs.splice(j + 1, 1)
64
+ this.beforeName = beforetitle
65
+ this.titleName = title
66
+ // 判断是否 显示底层导航
67
+ if(this.iftabbar == this.titleName){
68
+ this.isMenu = true
69
+ }
70
+ },
71
+ onClickTabBarItem(titlefg) {
72
+ var param = titlefg.link
73
+ if(titlefg.name == '退出系统'){
74
+ this.$showMessage('即将返回登陆界面!', ['confirm', 'cancel']).then((res) => {
75
+ if (res === 'confirm') {
76
+ this.$androidUtil.setPreference('f_repairman_id', 'x')
77
+ this.$androidUtil.setPreference('f_repairman_name', 'x')
78
+ this.$back()
79
+ }
80
+ })
81
+ }else{
82
+ if(this.beforeName == titlefg.name){
83
+ return
84
+ }
85
+ this.titleName = titlefg.name
86
+ this.beforeName = titlefg.name
87
+ let data = {
88
+ sourcet: '竖屏'
89
+ }
90
+ // if(titlefg.name == '待办工单'){
91
+ // param = param+'V'
92
+ // }
93
+ this.$refs.route.init(param,data)
94
+ }
95
+ },
96
+ closeAndDelAudio() {
97
+ console.log("停止无限制录音")
98
+ HostApp.startOrStopAudioClip("-----","停止录音")
99
+ }
100
+ },
101
+ events: {
102
+ 'gotoson': function (prpdata) {
103
+ // 事件回调内的 `this` 自动绑定到注册它的实例上
104
+ // safe 返回事件是否进行判断后再返回
105
+ // 每进入一次,beforetabs 数组添加 返回 删除
106
+ this.backthis = prpdata._this
107
+ this.safe = prpdata.safe
108
+ this.isMenu = false
109
+ // 记录本次跳转
110
+ var beforedata = {
111
+ beforeName: this.titleName,
112
+ titleName: prpdata.title,
113
+ backthis:prpdata._this,
114
+ safe:prpdata.safe
115
+ }
116
+ this.beforetabs.push(beforedata)
117
+ if( this.beforetabs.length == 1){
118
+ this.iftabbar = beforedata.beforeName
119
+ }
120
+ // 写入跳转后 前后组件名字
121
+ this.beforeName = this.titleName
122
+ this.titleName = prpdata.title
123
+
124
+ console.log('进入子组件,通知外层组件,我已经进入')
125
+ },
126
+ 'confirm': function () {
127
+ // 提交处理返回事件
128
+ this.back('提交')
129
+ },
130
+ 'backarrdel': function () {
131
+ this.delback()
132
+ },
133
+ 'gologin': function () {
134
+ this.beforetabs = []
135
+ this.$back()
136
+ }
137
+ }
138
+ }
139
+ </script>
140
+ <style scoped>
141
+ .app-height{
142
+ height: 93%;
143
+ }
144
+ </style>
@@ -1,122 +1,122 @@
1
- <template >
2
- <div class="panel panel-default auto repair-info-content">
3
- <div class="panel-body">
4
- <div class="panel panel-default well" v-for="row in model">
5
- <div class="bg-info">
6
- <div class="row form-group">
7
- <div class="col-xs-12 col-sm-12 col-md-12">
8
- <div class="row">
9
- <div class="col-xs-6 col-sm-6 col-md-6">
10
- 购气量: {{row.f_pregas}}
11
- </div>
12
- <div class="col-xs-6 col-sm-6 col-md-6">
13
- 购气金额: {{row.f_preamount}}
14
- </div>
15
- <div class="col-xs-6 col-sm-6 col-md-6">
16
- 收费状态: {{row.f_state}}
17
- </div>
18
- <div class="col-xs-6 col-sm-6 col-md-6">
19
- 收款: {{row.f_collection}}
20
- </div>
21
- <div class="col-xs-12 col-sm-12 col-md-12">
22
- 缴费方式: {{row.f_payment}}
23
- </div>
24
- <div class="col-xs-12 col-sm-12 col-md-12">
25
- 营业网点: {{row.f_depname}}
26
- </div>
27
- <div class="col-xs-12 col-sm-12 col-md-12">
28
- 操作员: {{row.f_operator}}
29
- </div>
30
- <div class="col-xs-12 col-sm-12 col-md-12">
31
- 购气时间: {{row.f_operate_date}}
32
- </div>
33
-
34
- </div>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
39
- <p v-show="model.length == 0 ">此用户暂无购气记录</p>
40
- </div>
41
- </div>
42
- </template>
43
-
44
- <script>
45
- import { PagedList } from 'vue-client'
46
- import co from 'co'
47
- export default {
48
- title: '查询用户',
49
- data () {
50
- return {
51
- model: [],
52
- show: false,
53
- row: Object
54
- }
55
- },
56
- props: {
57
- user: {
58
- type: Object
59
- },
60
- f_userinfo_id:''
61
- },
62
- methods: {
63
- getmodel () {
64
- let userinfoid
65
- if(this.f_userinfo_id){
66
- userinfoid = this.f_userinfo_id
67
- }else{
68
- userinfoid = this.user.f_userinfo_id
69
- console.log(this.user.f_userinfo_id)
70
- }
71
- console.log(userinfoid)
72
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_operate_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
73
- this.model = row.data
74
- })
75
- },
76
- back(){
77
-
78
- }
79
- },
80
- watch: {
81
- 'user' (val) {
82
- // this.model.search(`card_id = ${this.user.card_id}`)
83
- if(this.user){
84
- if (!(this.user.isNuN)) {
85
- this.model= []
86
- this.getmodel()
87
- }
88
- }
89
- },
90
- 'f_userinfo_id'(){
91
- if(this.f_userinfo_id){
92
- this.model= []
93
- this.getmodel()
94
- }
95
- }
96
- },
97
- ready () {
98
- if (this.user && this.user.f_userinfo_id) {
99
- // this.model.search(`card_id = ${this.user.card_id}`)
100
- this.getmodel()
101
- }
102
- if(this.f_userinfo_id){
103
- this.getmodel()
104
- }
105
- }
106
- }
107
- </script>
108
- <style>
109
- .app-botton {
110
- position:fixed;
111
- background: #87b2dd;
112
- color: #FFF;
113
- padding: 8px;
114
- text-align: center;
115
- font-size: 1.2em;
116
- z-index: 10;
117
- opacity:0.5;
118
- bottom: 50px;
119
- margin-top: -10px;
120
- height: 40px;
121
- }
122
- </style>
1
+ <template >
2
+ <div class="panel panel-default auto repair-info-content">
3
+ <div class="panel-body">
4
+ <div class="panel panel-default well" v-for="row in model">
5
+ <div class="bg-info">
6
+ <div class="row form-group">
7
+ <div class="col-xs-12 col-sm-12 col-md-12">
8
+ <div class="row">
9
+ <div class="col-xs-6 col-sm-6 col-md-6">
10
+ 购气量: {{row.f_pregas}}
11
+ </div>
12
+ <div class="col-xs-6 col-sm-6 col-md-6">
13
+ 购气金额: {{row.f_preamount}}
14
+ </div>
15
+ <div class="col-xs-6 col-sm-6 col-md-6">
16
+ 收费状态: {{row.f_state}}
17
+ </div>
18
+ <div class="col-xs-6 col-sm-6 col-md-6">
19
+ 收款: {{row.f_collection}}
20
+ </div>
21
+ <div class="col-xs-12 col-sm-12 col-md-12">
22
+ 缴费方式: {{row.f_payment}}
23
+ </div>
24
+ <div class="col-xs-12 col-sm-12 col-md-12">
25
+ 营业网点: {{row.f_depname}}
26
+ </div>
27
+ <div class="col-xs-12 col-sm-12 col-md-12">
28
+ 操作员: {{row.f_operator}}
29
+ </div>
30
+ <div class="col-xs-12 col-sm-12 col-md-12">
31
+ 购气时间: {{row.f_operate_date}}
32
+ </div>
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ <p v-show="model.length == 0 ">此用户暂无购气记录</p>
40
+ </div>
41
+ </div>
42
+ </template>
43
+
44
+ <script>
45
+ import { PagedList } from 'vue-client'
46
+ import co from 'co'
47
+ export default {
48
+ title: '查询用户',
49
+ data () {
50
+ return {
51
+ model: [],
52
+ show: false,
53
+ row: Object
54
+ }
55
+ },
56
+ props: {
57
+ user: {
58
+ type: Object
59
+ },
60
+ f_userinfo_id:''
61
+ },
62
+ methods: {
63
+ getmodel () {
64
+ let userinfoid
65
+ if(this.f_userinfo_id){
66
+ userinfoid = this.f_userinfo_id
67
+ }else{
68
+ userinfoid = this.user.f_userinfo_id
69
+ console.log(this.user.f_userinfo_id)
70
+ }
71
+ console.log(userinfoid)
72
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: {items: '*', tablename: 't_sellinggas', orderitem: 'f_operate_date desc', condition:`f_userinfo_id = '${userinfoid}'`}}).then((row) => {
73
+ this.model = row.data
74
+ })
75
+ },
76
+ back(){
77
+
78
+ }
79
+ },
80
+ watch: {
81
+ 'user' (val) {
82
+ // this.model.search(`card_id = ${this.user.card_id}`)
83
+ if(this.user){
84
+ if (!(this.user.isNuN)) {
85
+ this.model= []
86
+ this.getmodel()
87
+ }
88
+ }
89
+ },
90
+ 'f_userinfo_id'(){
91
+ if(this.f_userinfo_id){
92
+ this.model= []
93
+ this.getmodel()
94
+ }
95
+ }
96
+ },
97
+ ready () {
98
+ if (this.user && this.user.f_userinfo_id) {
99
+ // this.model.search(`card_id = ${this.user.card_id}`)
100
+ this.getmodel()
101
+ }
102
+ if(this.f_userinfo_id){
103
+ this.getmodel()
104
+ }
105
+ }
106
+ }
107
+ </script>
108
+ <style>
109
+ .app-botton {
110
+ position:fixed;
111
+ background: #87b2dd;
112
+ color: #FFF;
113
+ padding: 8px;
114
+ text-align: center;
115
+ font-size: 1.2em;
116
+ z-index: 10;
117
+ opacity:0.5;
118
+ bottom: 50px;
119
+ margin-top: -10px;
120
+ height: 40px;
121
+ }
122
+ </style>