system-phone 3.0.49-9 → 3.1.0

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 (129) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/SystemPhone.iml +8 -8
  3. package/build/dev-server.js +141 -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 +25 -25
  12. package/src/Util.js +415 -415
  13. package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
  14. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  15. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  16. package/src/assets//345/233/236/350/256/277.png +0 -0
  17. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  18. package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
  19. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
  20. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
  21. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  22. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  23. package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  24. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  25. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
  26. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  27. package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
  28. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  29. package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
  30. package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
  31. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  32. package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
  33. package/src/assets//346/226/275/345/260/201.png +0 -0
  34. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  35. package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
  37. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  38. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  39. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  40. package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
  41. package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
  42. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  43. package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
  44. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  45. package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
  46. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  47. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  48. package/src/components/AloneLoadParams.vue +26 -26
  49. package/src/components/AlreadyService.vue +193 -193
  50. package/src/components/AttendManage.vue +534 -415
  51. package/src/components/LoadAppdata.vue +38 -38
  52. package/src/components/LoginApp.vue +732 -725
  53. package/src/components/LoginAppNew.vue +587 -587
  54. package/src/components/LoginAppV4.vue +732 -0
  55. package/src/components/ModifyPassWord.vue +216 -216
  56. package/src/components/NavBottom.vue +117 -117
  57. package/src/components/NavBottomV.vue +141 -141
  58. package/src/components/NavBottomVVV.vue +185 -185
  59. package/src/components/OnlineManage.vue +256 -256
  60. package/src/components/PhoneAllInfo.vue +68 -68
  61. package/src/components/PhoneChangemeterInfo.vue +116 -116
  62. package/src/components/PhoneImageInfo.vue +102 -0
  63. package/src/components/PhoneInfoTable.vue +39 -39
  64. package/src/components/PhoneMeterInfo.vue +132 -132
  65. package/src/components/PhoneRepairInfo.vue +146 -146
  66. package/src/components/PhoneSafeInfo.vue +101 -101
  67. package/src/components/PhoneSellInfo.vue +148 -123
  68. package/src/components/PhoneSellInfoLite.vue +112 -112
  69. package/src/components/PhoneUser.vue +202 -202
  70. package/src/components/PhoneUserDetil.vue +70 -70
  71. package/src/components/PhoneUserFind.vue +138 -138
  72. package/src/components/RightTree.vue +217 -217
  73. package/src/components/SystemSetUp.vue +2 -0
  74. package/src/components/TabBarPhone.vue +81 -81
  75. package/src/components/Test.vue +14 -14
  76. package/src/components/ToolsPage.vue +199 -180
  77. package/src/components/UploadManage.vue +194 -194
  78. package/src/components/gaomi/NavBottomV.vue +223 -223
  79. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  80. package/src/components/gaomi/Scroller.vue +63 -63
  81. package/src/components/gaomi/SystemSetUp.vue +186 -186
  82. package/src/components/gaomi/ToolsPage.vue +168 -168
  83. package/src/components/idea/feedBack.vue +150 -150
  84. package/src/components/idea/feedbackAdd.vue +366 -366
  85. package/src/components/info/ConfigInfo.vue +122 -122
  86. package/src/components/info/FindUserInfo.vue +157 -157
  87. package/src/components/info/InfoTable.vue +37 -37
  88. package/src/components/iot/InstructMessage.vue +313 -313
  89. package/src/components/iot/IotBaseInfo.vue +97 -97
  90. package/src/components/iot/IotMeterInfo.vue +77 -77
  91. package/src/components/iot/iotMonitoringMain.vue +501 -501
  92. package/src/components/online/ApplyOnline.vue +581 -581
  93. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  94. package/src/components/screen/ChargeContentPage.vue +656 -656
  95. package/src/components/screen/ContentPage.vue +611 -611
  96. package/src/components/screen/GongdanContentPage.vue +149 -149
  97. package/src/components/screen/ListCountItem.vue +93 -93
  98. package/src/components/screen/ModuleTitle.vue +48 -48
  99. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  100. package/src/components/screen/SecurityCheckItem.vue +50 -50
  101. package/src/components/screen/TotalItem.vue +76 -76
  102. package/src/components/screen/TotalUserNumber.vue +77 -77
  103. package/src/components/screen/WorkOrderItem.vue +51 -51
  104. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  105. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  106. package/src/components/userinfo/paymentQuery.vue +189 -189
  107. package/src/components/userinfo/queryFile.vue +190 -190
  108. package/src/components/wasm.vue +18 -18
  109. package/src/expandcssAndroid.less +521 -521
  110. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  111. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  112. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
  113. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  114. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  115. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  116. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  117. package/src/index.js +9 -9
  118. package/src/main.js +38 -38
  119. package/src/plugins/const.js +404 -404
  120. package/src/plugins/vue-py.js +37 -37
  121. package/src/stores/AppData.js +91 -63
  122. package/src/systemphone-gaomi.js +105 -105
  123. package/src/systemphone.js +60 -58
  124. package/src/systemphonegrid.js +185 -210
  125. package/src/util/LdapHelper.js +75 -75
  126. package/static/const.js +404 -404
  127. package/static/layui/font/iconfont.svg +554 -554
  128. package/static/vue-py.js +37 -37
  129. package/static/wasm_exec.js +465 -465
@@ -1,122 +1,122 @@
1
- <template >
2
- <div class="panel panel-default auto repair-info-content">
3
- <div class="panel-body" v-show="show">
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" v-for="item in dataConfig">
9
- <div class="col-xs-4 col-sm-4 col-md-4">
10
- {{item.value}}:
11
- </div>
12
- <div class="col-xs-8 col-sm-8 col-md-8">
13
- {{row[item.name]}}
14
- </div>
15
- </div>
16
- </div>
17
- </div>
18
- </div>
19
- </div>
20
- <p v-show="model.length == 0 ">此用户暂无购气记录</p>
21
- </div>
22
- </div>
23
- </template>
24
-
25
- <script>
26
- import {HttpResetClass, PagedList} from 'vue-client'
27
- import co from 'co'
28
- export default {
29
- title: '查询用户',
30
- data () {
31
- return {
32
- model: [],
33
- show: false,
34
- row: Object,
35
- dataConfig:[]
36
- }
37
- },
38
- props: {
39
- user: {
40
- type: Object
41
- },
42
- f_userinfo_id:'',
43
- config:"",
44
- },
45
- methods: {
46
- convertArray(arr) {
47
- return arr.map(obj => {
48
- const key = Object.keys(obj)[0];
49
- return {
50
- name: key,
51
- value: obj[key]
52
- };
53
- });
54
- },
55
-
56
- getmodel () {
57
- let userinfoid
58
- if(this.f_userinfo_id){
59
- userinfoid = this.f_userinfo_id
60
- }else{
61
- userinfoid = this.user.f_userinfo_id
62
- console.log(this.user.f_userinfo_id)
63
- }
64
- console.log(userinfoid)
65
- new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/geUserInfoIdData`, {data: {condition:`f_userinfo_id = '${userinfoid}'`,type:this.config}},{resolveMsg : null,rejectMsg :null}).then((row) => {
66
- console.log("9898988",row)
67
- if(row.data.state===200){
68
- this.model = row.data.userdata
69
- this.dataConfig = this.convertArray(row.data.filename)
70
- this.show=true
71
- }
72
- })
73
-
74
- },
75
- back(){
76
-
77
- }
78
- },
79
- watch: {
80
- 'user' (val) {
81
- // this.model.search(`card_id = ${this.user.card_id}`)
82
- if(this.user){
83
- if (!(this.user.isNuN)) {
84
- this.model= []
85
- this.getmodel()
86
- }
87
- }
88
- },
89
- 'f_userinfo_id'(){
90
- if(this.f_userinfo_id){
91
- this.model= []
92
- this.getmodel()
93
- }
94
- }
95
- },
96
- ready () {
97
- console.log("9797977",this.config)
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" v-show="show">
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" v-for="item in dataConfig">
9
+ <div class="col-xs-4 col-sm-4 col-md-4">
10
+ {{item.value}}:
11
+ </div>
12
+ <div class="col-xs-8 col-sm-8 col-md-8">
13
+ {{row[item.name]}}
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <p v-show="model.length == 0 ">此用户暂无购气记录</p>
21
+ </div>
22
+ </div>
23
+ </template>
24
+
25
+ <script>
26
+ import {HttpResetClass, PagedList} from 'vue-client'
27
+ import co from 'co'
28
+ export default {
29
+ title: '查询用户',
30
+ data () {
31
+ return {
32
+ model: [],
33
+ show: false,
34
+ row: Object,
35
+ dataConfig:[]
36
+ }
37
+ },
38
+ props: {
39
+ user: {
40
+ type: Object
41
+ },
42
+ f_userinfo_id:'',
43
+ config:"",
44
+ },
45
+ methods: {
46
+ convertArray(arr) {
47
+ return arr.map(obj => {
48
+ const key = Object.keys(obj)[0];
49
+ return {
50
+ name: key,
51
+ value: obj[key]
52
+ };
53
+ });
54
+ },
55
+
56
+ getmodel () {
57
+ let userinfoid
58
+ if(this.f_userinfo_id){
59
+ userinfoid = this.f_userinfo_id
60
+ }else{
61
+ userinfoid = this.user.f_userinfo_id
62
+ console.log(this.user.f_userinfo_id)
63
+ }
64
+ console.log(userinfoid)
65
+ new HttpResetClass().load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/geUserInfoIdData`, {data: {condition:`f_userinfo_id = '${userinfoid}'`,type:this.config}},{resolveMsg : null,rejectMsg :null}).then((row) => {
66
+ console.log("9898988",row)
67
+ if(row.data.state===200){
68
+ this.model = row.data.userdata
69
+ this.dataConfig = this.convertArray(row.data.filename)
70
+ this.show=true
71
+ }
72
+ })
73
+
74
+ },
75
+ back(){
76
+
77
+ }
78
+ },
79
+ watch: {
80
+ 'user' (val) {
81
+ // this.model.search(`card_id = ${this.user.card_id}`)
82
+ if(this.user){
83
+ if (!(this.user.isNuN)) {
84
+ this.model= []
85
+ this.getmodel()
86
+ }
87
+ }
88
+ },
89
+ 'f_userinfo_id'(){
90
+ if(this.f_userinfo_id){
91
+ this.model= []
92
+ this.getmodel()
93
+ }
94
+ }
95
+ },
96
+ ready () {
97
+ console.log("9797977",this.config)
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,157 +1,157 @@
1
- <template>
2
- <!-- <div class="app-botton" @click="back()" v-if="show">-->
3
- <!-- <span class="glyphicon glyphicon-menu-left">返回</span>-->
4
- <!-- </div>-->
5
- <div class="select-overspread auto" style="padding-bottom:5px;">
6
- <div class="auto repair-info-content compatible">
7
- <div class="row" style="display: flex;align-items: center">
8
- <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
9
- 用户编号:
10
- </div>
11
- <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
12
- <input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'>
13
- </div>
14
- </div>
15
- <div class="row" style="display: flex;align-items: center">
16
- <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
17
- 用户姓名:
18
- </div>
19
- <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
20
- <input type="text" class="form-control" v-model="model.f_username" placeholder='用户姓名'>
21
- </div>
22
- </div>
23
- <div class="row" style="display: flex;align-items: center">
24
- <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
25
- 用户地址:
26
- </div>
27
- <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
28
- <input type="text" class="form-control" v-model="model.f_address" placeholder='用户地址'>
29
- </div>
30
- </div>
31
- <div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px" >
32
- <button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
33
- <!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
34
- </div>
35
- </div>
36
- <div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
37
- <div class="panel-body inbg" @click="selectUser(row)">
38
- <div class="row auto" >
39
- <div class="col-sm-4">
40
- 用户编号: {{row.f_userinfo_code}}
41
- </div>
42
- <div class="col-sm-4">
43
- 用户姓名: {{row.f_user_name}}
44
- </div>
45
- <div class="col-sm-4">
46
- 用户电话: {{row.f_user_phone}}
47
- </div>
48
- <div class="col-sm-3">
49
- 用户类别: {{row.f_user_type}}
50
- </div>
51
- <div class="col-sm-9">
52
- 地址信息: {{row.f_address}}
53
- </div>
54
- <div class="col-sm-6">
55
- 表底数: {{row.f_meter_base}}
56
- </div>
57
- <div class="col-sm-6">
58
- 表上余额: {{row.f_balance_amount}}
59
- </div>
60
- </div>
61
- </div>
62
- </div>
63
- </div>
64
- <!-- <phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>-->
65
- </template>
66
-
67
- <script>
68
- import Vue from 'vue'
69
- import { HttpResetClass } from 'vue-client'
70
- export default {
71
- title: '移动端用户信息查询',
72
- props: {
73
-
74
- },
75
- data () {
76
- return {
77
- users:[],
78
- model:{
79
- f_userid:'',
80
- f_username:'',
81
- f_address:''
82
- },
83
- user:'',
84
- show:false
85
- }
86
- },
87
- methods: {
88
- search() {
89
- // console.log("Vue.user",Vue.user)
90
- this.model.f_userid ? this.model.f_userid : '1=1'
91
- let condition = `ti.f_orgid = '${Vue.user.orgid}'`
92
- condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
93
- condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
94
- condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
95
- console.log(condition)
96
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
97
- data: {
98
- condition:condition
99
- }
100
- },{rejectMsg:null,resolveMsg:null}).then((res) => {
101
- console.log("查找用户返回的结果")
102
- console.log(res.data)
103
- this.users = res.data
104
- })
105
- },
106
- selectUser(row){
107
- this.user = row
108
- var prpdata = {
109
- _this:this,
110
- title:"用户信息",
111
- safe:false
112
- }
113
- this.$dispatch('gotoson',prpdata)
114
- this.$goto('info-table',{user:row,},'self')
115
- },
116
- back(){
117
- this.show = false
118
- },
119
- read(){
120
- // 读卡
121
- let res = HostApp.read()
122
- if(res.code == 200){
123
- let cardid = res.msg.CardID
124
- let condition1 = `tf.f_card_id = '${cardid}'`
125
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
126
- data: {
127
- condition:condition1
128
- }
129
- }).then((res) => {
130
- console.log("查找用户返回的结果")
131
- console.log(res.data)
132
- this.users = res.data
133
- })
134
- }else{
135
- HostApp.alert('读卡异常,请检查读卡设备!')
136
- }
137
- }
138
- },
139
- ready(){
140
- }
141
- }
142
- </script>
143
- <style>
144
- .app-botton {
145
- position:fixed;
146
- background: #87b2dd;
147
- color: #FFF;
148
- padding: 8px;
149
- text-align: center;
150
- font-size: 1.2em;
151
- z-index: 10;
152
- opacity:0.5;
153
- bottom: 50px;
154
- margin-top: -10px;
155
- height: 40px;
156
- }
157
- </style>
1
+ <template>
2
+ <!-- <div class="app-botton" @click="back()" v-if="show">-->
3
+ <!-- <span class="glyphicon glyphicon-menu-left">返回</span>-->
4
+ <!-- </div>-->
5
+ <div class="select-overspread auto" style="padding-bottom:5px;">
6
+ <div class="auto repair-info-content compatible">
7
+ <div class="row" style="display: flex;align-items: center">
8
+ <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
9
+ 用户编号:
10
+ </div>
11
+ <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
12
+ <input type="text" class="form-control" v-model="model.f_userid" placeholder='用户编号'>
13
+ </div>
14
+ </div>
15
+ <div class="row" style="display: flex;align-items: center">
16
+ <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
17
+ 用户姓名:
18
+ </div>
19
+ <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
20
+ <input type="text" class="form-control" v-model="model.f_username" placeholder='用户姓名'>
21
+ </div>
22
+ </div>
23
+ <div class="row" style="display: flex;align-items: center">
24
+ <div class="col-xs-3 col-sm-3 col-md-3 form-input-group">
25
+ 用户地址:
26
+ </div>
27
+ <div class="col-xs-9 col-sm-9 col-md-9 form-input-group mg8">
28
+ <input type="text" class="form-control" v-model="model.f_address" placeholder='用户地址'>
29
+ </div>
30
+ </div>
31
+ <div class="row" style="text-align: center;margin-top: 30px;margin-bottom: 30px" >
32
+ <button style="width: 70%" type="button" name="button" class="btn btn-primary" @click="search()">查询</button>
33
+ <!-- <button type="button" name="button" class="btn btn-primary pull-right" @click="read()">读卡</button>-->
34
+ </div>
35
+ </div>
36
+ <div partial class="panel panel-default well" style="padding: 0px;background-color:#ffffff;" v-for="row in users">
37
+ <div class="panel-body inbg" @click="selectUser(row)">
38
+ <div class="row auto" >
39
+ <div class="col-sm-4">
40
+ 用户编号: {{row.f_userinfo_code}}
41
+ </div>
42
+ <div class="col-sm-4">
43
+ 用户姓名: {{row.f_user_name}}
44
+ </div>
45
+ <div class="col-sm-4">
46
+ 用户电话: {{row.f_user_phone}}
47
+ </div>
48
+ <div class="col-sm-3">
49
+ 用户类别: {{row.f_user_type}}
50
+ </div>
51
+ <div class="col-sm-9">
52
+ 地址信息: {{row.f_address}}
53
+ </div>
54
+ <div class="col-sm-6">
55
+ 表底数: {{row.f_meter_base}}
56
+ </div>
57
+ <div class="col-sm-6">
58
+ 表上余额: {{row.f_balance_amount}}
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ <!-- <phone-info-table :user="user" :is-need-condition="false" :is-group="false" v-if="show"></phone-info-table>-->
65
+ </template>
66
+
67
+ <script>
68
+ import Vue from 'vue'
69
+ import { HttpResetClass } from 'vue-client'
70
+ export default {
71
+ title: '移动端用户信息查询',
72
+ props: {
73
+
74
+ },
75
+ data () {
76
+ return {
77
+ users:[],
78
+ model:{
79
+ f_userid:'',
80
+ f_username:'',
81
+ f_address:''
82
+ },
83
+ user:'',
84
+ show:false
85
+ }
86
+ },
87
+ methods: {
88
+ search() {
89
+ // console.log("Vue.user",Vue.user)
90
+ this.model.f_userid ? this.model.f_userid : '1=1'
91
+ let condition = `ti.f_orgid = '${Vue.user.orgid}'`
92
+ condition += this.model.f_userid ? ` and ti.f_userinfo_code = '${this.model.f_userid}'` : ' and 1=1'
93
+ condition += this.model.f_username ? ` and ti.f_user_name like '%${this.model.f_username}%'` : ' and 1=1'
94
+ condition += this.model.f_address ? ` and tua.f_address like '%${this.model.f_address}%'` : ' and 1=1'
95
+ console.log(condition)
96
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
97
+ data: {
98
+ condition:condition
99
+ }
100
+ },{rejectMsg:null,resolveMsg:null}).then((res) => {
101
+ console.log("查找用户返回的结果")
102
+ console.log(res.data)
103
+ this.users = res.data
104
+ })
105
+ },
106
+ selectUser(row){
107
+ this.user = row
108
+ var prpdata = {
109
+ _this:this,
110
+ title:"用户信息",
111
+ safe:false
112
+ }
113
+ this.$dispatch('gotoson',prpdata)
114
+ this.$goto('info-table',{user:row,},'self')
115
+ },
116
+ back(){
117
+ this.show = false
118
+ },
119
+ read(){
120
+ // 读卡
121
+ let res = HostApp.read()
122
+ if(res.code == 200){
123
+ let cardid = res.msg.CardID
124
+ let condition1 = `tf.f_card_id = '${cardid}'`
125
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_UserInfo`, {
126
+ data: {
127
+ condition:condition1
128
+ }
129
+ }).then((res) => {
130
+ console.log("查找用户返回的结果")
131
+ console.log(res.data)
132
+ this.users = res.data
133
+ })
134
+ }else{
135
+ HostApp.alert('读卡异常,请检查读卡设备!')
136
+ }
137
+ }
138
+ },
139
+ ready(){
140
+ }
141
+ }
142
+ </script>
143
+ <style>
144
+ .app-botton {
145
+ position:fixed;
146
+ background: #87b2dd;
147
+ color: #FFF;
148
+ padding: 8px;
149
+ text-align: center;
150
+ font-size: 1.2em;
151
+ z-index: 10;
152
+ opacity:0.5;
153
+ bottom: 50px;
154
+ margin-top: -10px;
155
+ height: 40px;
156
+ }
157
+ </style>
@@ -1,37 +1,37 @@
1
- <template>
2
- <div class="span">
3
- <div class="panel panel-default">
4
- <div class="panel-body flex-row" style="padding: 0;">
5
- <div class="flex flex-over" style="padding: 0 0px 0px 0px; overflow: auto;width: 100%">
6
- <!-- 用户查询,停气公告,话务员统计信息,知识库 -->
7
- <div class="span no-close">
8
- <tabset v-ref:tabs :close="false">
9
-
10
- <tab header="收费记录">
11
- <config-info config="收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
12
- </tab>
13
- <tab header="其他收费记录">
14
- <config-info config="其他收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
15
- </tab>
16
- </tabset>
17
- </div>
18
- </div>
19
- </div>
20
- </div>
21
- </div>
22
- </template>
23
- <script>
24
- export default {
25
- title: '用户信息',
26
- props: {
27
- user:{
28
- type: Object
29
- },
30
- f_userinfo_id:''
31
- },
32
- data () {
33
- return {
34
- }
35
- }
36
- }
37
- </script>
1
+ <template>
2
+ <div class="span">
3
+ <div class="panel panel-default">
4
+ <div class="panel-body flex-row" style="padding: 0;">
5
+ <div class="flex flex-over" style="padding: 0 0px 0px 0px; overflow: auto;width: 100%">
6
+ <!-- 用户查询,停气公告,话务员统计信息,知识库 -->
7
+ <div class="span no-close">
8
+ <tabset v-ref:tabs :close="false">
9
+
10
+ <tab header="收费记录">
11
+ <config-info config="收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
12
+ </tab>
13
+ <tab header="其他收费记录">
14
+ <config-info config="其他收费记录" :user="user" :f_userinfo_id="f_userinfo_id"></config-info>
15
+ </tab>
16
+ </tabset>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </template>
23
+ <script>
24
+ export default {
25
+ title: '用户信息',
26
+ props: {
27
+ user:{
28
+ type: Object
29
+ },
30
+ f_userinfo_id:''
31
+ },
32
+ data () {
33
+ return {
34
+ }
35
+ }
36
+ }
37
+ </script>