manage-client 3.2.109 → 3.2.111

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.
@@ -1,64 +1,64 @@
1
- <template>
2
- <tab-button class="foot_tabset" :active="-1">
3
- <tabs header="指令查询" v-if="permission('指令查询')">
4
- <instruct-manage v-if="show.includes('指令查询')"></instruct-manage>
5
- </tabs>
6
- <tabs header="上报查询" v-if="permission('上报查询')">
7
- <report-list v-if="show.includes('上报查询')"></report-list>
8
- </tabs>
9
- <tabs header="结算查询" v-if="permission('结算查询')">
10
- <report-data-query v-if="show.includes('结算查询')"></report-data-query>
11
- </tabs>
12
- <tabs header="缴费查询" v-if="permission('缴费查询')">
13
- <recharge-instruct-query v-if="show.includes('缴费查询')"></recharge-instruct-query>
14
- </tabs>
15
- <tabs header="异常查询" v-if="permission('异常查询')">
16
- <meter-exception-list v-if="show.includes('异常查询')"></meter-exception-list>
17
- </tabs>
18
- <tabs header="用户失联" v-if="permission('用户失联')">
19
- <user-lost-contact-analysis v-if="show.includes('用户失联')"></user-lost-contact-analysis>
20
- </tabs>
21
- <tabs header="失联查询" v-if="permission('失联查询')">
22
- <lost-contact-analysis-list v-if="show.includes('失联查询')"></lost-contact-analysis-list>
23
- </tabs>
24
- <tabs header="用气查询" v-if="permission('用气查询')">
25
- <use-gas-statistics v-if="show.includes('用气查询')"></use-gas-statistics>
26
- </tabs>
27
- <tabs header="未用气查询" v-if="permission('未用气查询')">
28
- <get-no-meteread-query v-if="show.includes('未用气查询')"></get-no-meteread-query>
29
- </tabs>
30
- <tabs header="物联网表结算分析" v-if="permission('物联网表结算分析')">
31
- <webmeter-settlement-analysis v-if="show.includes('物联网表结算分析')"></webmeter-settlement-analysis>
32
- </tabs>
33
- </tab-button>
34
-
35
- </template>
36
-
37
- <script>
38
- import TabButton from '../sale/common/TabButton'
39
- import Tabs from '../sale/common/Tabs'
40
-
41
- export default {
42
- title: '物联查询',
43
- data () {
44
- return {
45
- show: []
46
- }
47
- },
48
- components: {Tabs, TabButton},
49
- methods: {
50
- permission (name) {
51
- // 保留是为了后面可能也会和综合查询一样加权限
52
- if (this.$login.r.find(value => value === '物联查询')) {
53
- if (!this.$login.r.find(value => value === name)) {
54
- return false
55
- }
56
- }
57
- return true
58
- }
59
- }
60
- }
61
- </script>
62
-
63
- <style scoped>
64
- </style>
1
+ <template>
2
+ <tab-button class="foot_tabset" :active="-1">
3
+ <tabs header="指令查询" v-if="permission('指令查询')">
4
+ <instruct-manage v-if="show.includes('指令查询')"></instruct-manage>
5
+ </tabs>
6
+ <tabs header="上报查询" v-if="permission('上报查询')">
7
+ <report-list v-if="show.includes('上报查询')"></report-list>
8
+ </tabs>
9
+ <tabs header="结算查询" v-if="permission('结算查询')">
10
+ <report-data-query v-if="show.includes('结算查询')"></report-data-query>
11
+ </tabs>
12
+ <tabs header="缴费查询" v-if="permission('缴费查询')">
13
+ <recharge-instruct-query v-if="show.includes('缴费查询')"></recharge-instruct-query>
14
+ </tabs>
15
+ <tabs header="异常查询" v-if="permission('异常查询')">
16
+ <meter-exception-list v-if="show.includes('异常查询')"></meter-exception-list>
17
+ </tabs>
18
+ <tabs header="用户失联" v-if="permission('用户失联')">
19
+ <user-lost-contact-analysis v-if="show.includes('用户失联')"></user-lost-contact-analysis>
20
+ </tabs>
21
+ <tabs header="失联查询" v-if="permission('失联查询')">
22
+ <lost-contact-analysis-list v-if="show.includes('失联查询')"></lost-contact-analysis-list>
23
+ </tabs>
24
+ <tabs header="用气查询" v-if="permission('用气查询')">
25
+ <use-gas-statistics v-if="show.includes('用气查询')"></use-gas-statistics>
26
+ </tabs>
27
+ <tabs header="未用气查询" v-if="permission('未用气查询')">
28
+ <get-no-meteread-query v-if="show.includes('未用气查询')"></get-no-meteread-query>
29
+ </tabs>
30
+ <tabs header="物联网表结算分析" v-if="permission('物联网表结算分析')">
31
+ <webmeter-settlement-analysis v-if="show.includes('物联网表结算分析')"></webmeter-settlement-analysis>
32
+ </tabs>
33
+ </tab-button>
34
+
35
+ </template>
36
+
37
+ <script>
38
+ import TabButton from '../sale/common/TabButton'
39
+ import Tabs from '../sale/common/Tabs'
40
+
41
+ export default {
42
+ title: '物联查询',
43
+ data () {
44
+ return {
45
+ show: []
46
+ }
47
+ },
48
+ components: {Tabs, TabButton},
49
+ methods: {
50
+ permission (name) {
51
+ // 保留是为了后面可能也会和综合查询一样加权限
52
+ if (this.$login.r.find(value => value === '物联查询')) {
53
+ if (!this.$login.r.find(value => value === name)) {
54
+ return false
55
+ }
56
+ }
57
+ return true
58
+ }
59
+ }
60
+ }
61
+ </script>
62
+
63
+ <style scoped>
64
+ </style>
@@ -363,7 +363,7 @@
363
363
  pcdslist:[],
364
364
  other:[],
365
365
  footer:[],
366
- model: new PagedList('rs/sql/deviceQuery', 20),
366
+ model: new PagedList('rs/sql/deviceQuery', 20, {orderitem: '"f_operate_date DESC"'}),
367
367
  criteriaShow: false,
368
368
  orgCondtionStr: '',
369
369
  modelval: [],
@@ -305,7 +305,7 @@
305
305
  data: {},
306
306
  other:[],
307
307
  footer:[],
308
- model: new PagedList('rs/sql/fillGasQuery', 20, {}, {f_pregas: 0,f_preamount: 0,hushu:0}),
308
+ model: new PagedList('rs/sql/fillGasQuery', 20, {orderitem: '"f_operate_date DESC"'}, {f_pregas: 0,f_preamount: 0,hushu:0}),
309
309
  criteriaShow: false,
310
310
  headData: ["客户编号", "客户名称", "客户电话", "身份证号", "地址", "补气类型", "表编号", "卡号", "气表品牌", "气表状态", "补气量", "补气日期", "操作员", "部门", "公司"],
311
311
  bodyData: ["f_userinfo_code", "f_user_name", "f_user_phone", "f_idnumber", "address", "f_type", "f_user_id", "f_card_id", "f_meter_brand", "f_table_state", "f_fillgas", "f_operate_date", "f_operator", "f_depname", "f_orgname"],
@@ -205,7 +205,7 @@
205
205
  footer:[],
206
206
  meterbrands: [],
207
207
  pricenames: [],
208
- model: new PagedList('rs/sql/pricechangequery', 20),
208
+ model: new PagedList('rs/sql/pricechangequery', 20, {orderitem: '"f_operate_date DESC"'}),
209
209
  criteriaShow: false,
210
210
  orgCondtionStr: '',
211
211
  modelval: [],
@@ -237,7 +237,7 @@
237
237
  pcdslist:[],
238
238
  other:[],
239
239
  footer:[],
240
- model: new PagedList('rs/sql/userDeviceQuery', 20,{},{
240
+ model: new PagedList('rs/sql/userDeviceQuery', 20, {orderitem: '"f_operate_date DESC"'},{
241
241
  f_mtc_fee:0
242
242
  }),
243
243
  criteriaShow: false,
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
- saleManage()
47
-
48
- webmeterManage()
49
- ManageHome()
50
- newmanage()
51
- reportManage()
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+ saleManage()
47
+
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+