manage-client 3.3.85-wn → 3.3.86

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.
@@ -127,6 +127,9 @@
127
127
  <tabs header="发票查询" v-if="permission('发票查询')">
128
128
  <invoice-details-query @deal-msg="dealMsg" :data="data"></invoice-details-query>
129
129
  </tabs>
130
+ <tabs header="用气分析" v-if="permission('用气分析')">
131
+ <gas-analysis-query @deal-msg="dealMsg" :data="data"></gas-analysis-query>
132
+ </tabs>
130
133
  </tab-button>
131
134
  <!-- </div>-->
132
135
  <!-- <div v-if="!listpage">-->
@@ -56,13 +56,13 @@
56
56
  <label class="font_normal_body">气量百分比</label>
57
57
  <input type="text" style="width:30%" class="input_search" title="大于等于"
58
58
  v-model="model.f_gasprec_small"
59
- condition="f_gasprec >= '{}%' " placeholder="大于等于">
59
+ condition="f_gasprec >= '{}' " placeholder="大于等于">
60
60
  <input type="text" style="width:30%" class="input_search" title="小于等于"
61
61
  v-model="model.f_gasprec_big"
62
- condition="f_gasprec <= '{}%' " placeholder="小于等于">
62
+ condition="f_gasprec <= '{}' " placeholder="小于等于">
63
63
  </div>
64
64
  <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;增量&nbsp;&nbsp;&nbsp;</label>
65
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;增量&nbsp;&nbsp;&nbsp;&nbsp;</label>
66
66
  <input type="text" style="width:30%" class="input_search" title="大于等于"
67
67
  v-model="model.f_gasdiff_small"
68
68
  condition="f_gasdiff >= '{}' " placeholder="大于等于">
@@ -119,7 +119,7 @@
119
119
  <datepicker id="startDate" placeholder="旧月开始日期" style="width:60%"
120
120
  v-model="model.oldmonthstart"
121
121
  :value.sync="model.oldmonthstart"
122
- :format="'yyyy-MM-dd HH:mm:ss'"
122
+ :format="'yyyy-MM-dd'"
123
123
  :show-reset-button="true">
124
124
  </datepicker>
125
125
  </div>
@@ -128,7 +128,7 @@
128
128
  <datepicker id="endDate" placeholder="旧月结束时间" style="width:60%"
129
129
  v-model="model.oldmonthend"
130
130
  :value.sync="model.oldmonthend"
131
- :format="'yyyy-MM-dd HH:mm:ss'"
131
+ :format="'yyyy-MM-dd'"
132
132
  :show-reset-button="true">
133
133
  </datepicker>
134
134
  </div>
@@ -216,7 +216,7 @@
216
216
  <td style="text-align: center;">{{ row.f_oldgas }}</td>
217
217
  <td style="text-align: center;">{{ row.f_newgas }}</td>
218
218
  <td style="text-align: center;">{{ row.f_gasdiff }}</td>
219
- <td style="text-align: center;">{{ row.f_gasprec }}</td>
219
+ <td style="text-align: center;">{{ row.f_gasprec }}%</td>
220
220
  </tr>
221
221
  </template>
222
222
  <template partial='foot'></template>
@@ -240,7 +240,7 @@ export default {
240
240
  title: '气量年比查询',
241
241
  data () {
242
242
  return {
243
- model: new PagedList('rs/sql/useGasYearRatioQuery', 50, {
243
+ model: new PagedList('rs/sql/lixian_gasAnalysisQuery', 20, {
244
244
  oldmonthstart: 'this.model.oldmonthstart',
245
245
  oldmonthend: 'this.model.oldmonthend',
246
246
  newmonthstart: 'this.model.newmonthstart',
@@ -261,8 +261,8 @@ export default {
261
261
  }
262
262
  },
263
263
  ready () {
264
- this.$refs.paged.$refs.cri.model.oldmonthend = this.$login.toStandardDateString() + ' 23:59:59'
265
- this.$refs.paged.$refs.cri.model.newmonthend = this.$login.toStandardDateString() + ' 23:59:59'
264
+ this.$refs.paged.$refs.cri.model.oldmonthend = this.$login.toStandardDateString()
265
+ this.$refs.paged.$refs.cri.model.newmonthend = this.$login.toStandardDateString()
266
266
  console.log('this.$refs.paged.$refs.cri.model.oldmonthend',this.$refs.paged.$refs.cri.model.oldmonthend)
267
267
  console.log('this.$refs.paged.$refs.cri.model.newmonthend',this.$refs.paged.$refs.cri.model.newmonthend)
268
268
  //加载抄表册
@@ -285,7 +285,7 @@ export default {
285
285
  let otherInData = []
286
286
  otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
287
287
  let footerData = []
288
- exportfield = this.getfield
288
+ let exportfield = this.getfield
289
289
  // footerData.push("合计");
290
290
  // let self = this;
291
291
  // for (var field in self.sumsmodel) {
@@ -12,4 +12,6 @@ export default function () {
12
12
  Vue.component('change-meter-query', (resolve) => {
13
13
  require(['./ChangeMeterQuery'], resolve)
14
14
  })
15
+ // 用气分析
16
+ Vue.component('gas-analysis-query', (resolve) => { require(['./GasAnalysisQuery'], resolve) })
15
17
  }
package/src/main.js CHANGED
@@ -1,72 +1,70 @@
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 FilialeSaleManage from './filiale/WEINAN/sale'
10
- // import webmeterManage from './webmeterManage'
11
- // import FilialeWebmeterManage from './filiale/wenxi/webmeterManage'
12
- import reportManage from './reportManage'
13
- import FilialeReportManage from './filiale/WEINAN/reportManage'
14
- import newmanage from './newmanage'
15
- import ManageHome from './ManageHome'
16
- import echarts from 'echarts'
17
- import AMap from 'vue-amap'
18
-
19
- Vue.config.silent = true
20
- // Vue.mmType = 'AES'
21
-
22
- Vue.use(AMap);
23
-
24
- // 初始化vue-amap
25
- AMap.initAMapApiLoader({
26
- // 高德key
27
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
28
- // 插件集合 (插件按需引入)
29
- plugin: [
30
- "AMap.Autocomplete", //输入提示插件
31
- "AMap.PlaceSearch", //POI搜索插件
32
- "AMap.Scale", //右下角缩略图插件 比例尺
33
- "AMap.OverView", //地图鹰眼插件
34
- "AMap.ToolBar", //地图工具条0
35
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
36
- "AMap.PolyEditor", //编辑 折线多,边形
37
- "AMap.CircleEditor", //圆形编辑器插件
38
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
39
- ],
40
- uiVersion: "1.0"
41
- });
42
- /** **************************通用组件******************************/
43
-
44
- Vue.prototype.$echarts = echarts
45
- all()
46
- // sale()
47
- ldap()
48
- system(false)
49
-
50
- saleManage()
51
- FilialeSaleManage()
52
- // webmeterManage()
53
- // FilialeWebmeterManage()
54
- ManageHome()
55
- newmanage()
56
- reportManage()
57
- FilialeReportManage()
58
- require('system-clients/src/styles/less/bootstrap.less')
59
- require('./components/qinhua/Style/qinhuaStyle.less')
60
- // require('./bootstrap/less/manageStyle/manageChile.less')
61
- // require('./bootstrap/less/manageStyle/safeStyle.less')
62
-
63
- //大屏展示要放开的样式
64
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
65
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
66
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
67
-
68
- new Vue({
69
- el: 'body',
70
- components: { App }
71
- })
72
-
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 ShanXianSaleManage from './filiale/shanxian/sale'
10
+ import ShanXianWebmeterManage from './filiale/shanxian/webmeterManage'
11
+ import webmeterManage from './webmeterManage'
12
+ import reportManage from './reportManage'
13
+ import newmanage from './newmanage'
14
+ import ManageHome from './ManageHome'
15
+ import echarts from 'echarts'
16
+ import AMap from 'vue-amap'
17
+
18
+ Vue.config.silent = true
19
+ // Vue.mmType = 'AES'
20
+
21
+ Vue.use(AMap);
22
+
23
+ // 初始化vue-amap
24
+ AMap.initAMapApiLoader({
25
+ // 高德key
26
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
27
+ // 插件集合 (插件按需引入)
28
+ plugin: [
29
+ "AMap.Autocomplete", //输入提示插件
30
+ "AMap.PlaceSearch", //POI搜索插件
31
+ "AMap.Scale", //右下角缩略图插件 比例尺
32
+ "AMap.OverView", //地图鹰眼插件
33
+ "AMap.ToolBar", //地图工具条0
34
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
35
+ "AMap.PolyEditor", //编辑 折线多,边形
36
+ "AMap.CircleEditor", //圆形编辑器插件
37
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
38
+ ],
39
+ uiVersion: "1.0"
40
+ });
41
+ /** **************************通用组件******************************/
42
+
43
+ Vue.prototype.$echarts = echarts
44
+ all()
45
+ // sale()
46
+ ldap()
47
+ system(false)
48
+
49
+ saleManage()
50
+ ShanXianSaleManage()
51
+ webmeterManage()
52
+ ShanXianWebmeterManage()
53
+ ManageHome()
54
+ newmanage()
55
+ reportManage()
56
+ require('system-clients/src/styles/less/bootstrap.less')
57
+ require('./components/qinhua/Style/qinhuaStyle.less')
58
+ // require('./bootstrap/less/manageStyle/manageChile.less')
59
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
60
+
61
+ //大屏展示要放开的样式
62
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
63
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
64
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
65
+
66
+ new Vue({
67
+ el: 'body',
68
+ components: { App }
69
+ })
70
+