manage-client 3.2.10-aode → 3.2.11-aode

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.
@@ -12,7 +12,8 @@ var compiler = webpack(config)
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
14
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
15
- var str = 'http://192.168.10.14:8300', fuwu = 'http://192.168.10.14:8300'
15
+ var fuwu = 'http://192.168.50.4:8400', bendi = 'http://localhost:8080/'
16
+ // var str = 'http://192.168.10.14:8300', fuwu = 'http://192.168.10.14:8300',bendi = 'http://localhost:8080/'
16
17
  var proxyTable = {
17
18
 
18
19
  '/rs/logic/exportfile': {
@@ -65,7 +66,8 @@ var proxyTable = {
65
66
  target: fuwu
66
67
  },
67
68
  '/rs': {
68
- target: fuwu
69
+ // target: fuwu
70
+ target: bendi
69
71
  }
70
72
  }
71
73
 
package/client.iml CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="EclipseModuleManager">
4
- <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
- <src_description expected_position="0" />
6
- </component>
7
- <component name="NewModuleRootManager">
8
- <output url="file://$MODULE_DIR$/bin" />
9
- <exclude-output />
10
- <content url="file://$MODULE_DIR$" />
11
- <orderEntry type="sourceFolder" forTests="false" />
12
- <orderEntry type="inheritedJdk" />
13
- <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="EclipseModuleManager">
4
+ <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
+ <src_description expected_position="0" />
6
+ </component>
7
+ <component name="NewModuleRootManager">
8
+ <output url="file://$MODULE_DIR$/bin" />
9
+ <exclude-output />
10
+ <content url="file://$MODULE_DIR$" />
11
+ <orderEntry type="sourceFolder" forTests="false" />
12
+ <orderEntry type="inheritedJdk" />
13
+ <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
+ </component>
15
15
  </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.10-aode",
3
+ "version": "3.2.11-aode",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,147 +1,147 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
- <div class="row">
9
- <div class="col-sm-2">
10
- <label class="font_normal_body">公&emsp;&emsp;司</label>
11
- <right-tree @re-res="$parent.$parent.getorg"
12
- :initresid='$parent.$parent.org'></right-tree>
13
- </div>
14
-
15
- <div class="span" style="float:right;">
16
- <button class="btn button_search" @click="search()">查询</button>
17
- <button class="btn button_clear" @click="$parent.$parent.clear()">查询全部</button>
18
- <export-excel-plus :defaultselect="$parent.$parent.selectfields" :data="$parent.$parent.getCondition"
19
- :field="$parent.$parent.getfield"
20
- :exportprogress="true"
21
- sqlurl="rs/logic/exportfileplus" :sql-name="$parent.$parent.sqlName" template-name='抵扣气量导出' :choose-col="true"></export-excel-plus>
22
-
23
- <!--<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
24
-
25
- </div>
26
- </div>
27
- </div>
28
- </criteria>
29
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
30
- <template partial='head'>
31
- <tr>
32
- <th><nobr>序号</nobr></th>
33
- <th><nobr>公司名称</nobr></th>
34
- <th><nobr>总抵扣气量</nobr></th>
35
- <th><nobr>剩余抵扣气量</nobr></th>
36
- </tr>
37
- </template>
38
- <template partial='body'>
39
- <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
40
- <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
41
- <td style="text-align: center;"><nobr>{{row.f_remanent_gas}}</nobr></td>
42
- <td style="text-align: center;"><nobr>{{row.f_deduction_gas}}</nobr></td>
43
- </template>
44
- </data-grid>
45
- </criteria-paged>
46
- </div>
47
- </div>
48
- </div>
49
- </template>
50
- <script>
51
- /**
52
- *用户档案查询列表以及添加操作组件
53
- */
54
- import { PagedList } from 'vue-client'
55
- import Vue from 'vue'
56
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
57
-
58
- export default {
59
- title: '抵扣气量',
60
- data () {
61
- return {
62
- org:'',
63
- criteriaShow: false,
64
- meter_classify:'卡表',
65
- filialeNameStr: null,
66
- filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
67
- userid: this.$login.f.id,
68
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
69
- getfield:{"f_orgname":"组织","f_remanent_gas":"总抵扣气量","f_deduction_gas":"剩余抵扣气量"},
70
- model: new PagedList('rs/sql/getDeductiongas', 50,{}),
71
- rows: null,
72
- //orgid:'',
73
- sumsmodel: {},
74
- sqlName:'getDeductiongas',
75
- show:false,
76
- rowdata:{},
77
- initres: {
78
- org:[this.$login.f.orgid],
79
- dep:[],
80
- user:[],
81
- },
82
- defaultfield: [],
83
- selectfields:[],
84
- searchCondition:[]
85
- }
86
- },
87
- ready () {
88
-
89
- },
90
- methods: {
91
- getorg (obj) {
92
- if(obj.resids.length>0){
93
- this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
94
- }
95
- else{
96
- this.filialeCodeStr= ""
97
- }
98
- },
99
- search () {
100
- this.$refs.paged.$refs.cri.search()
101
- },
102
- selfSearch (args) {
103
- if(!this.filialeCodeStr){
104
- this.filialeCodeStr = `and f_orgid = ${this.$login.f.orgid}`
105
- }
106
- args.condition = args.condition+ ` ${this.filialeCodeStr}`
107
- console.log("拼接的condition", args.condition, this.model)
108
- this.model.search(args.condition, args.model)
109
- },
110
- // show(){
111
- // this.criteriaShow = true
112
- // },
113
- hidden(){
114
- this.criteriaShow = !this.criteriaShow
115
- },
116
- clear(){
117
- this.filialeCodeStr= ""
118
- this.model.search('1=1')
119
- // Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
120
- // this.$refs.paged.$refs.cri.model[key] = []
121
- // })
122
- }
123
-
124
- },
125
- computed: {
126
- getCondition () {
127
- let result = {
128
- condition: '',
129
- startDate: '',
130
- endDate: ''
131
- // diffDay:' 1=1 '
132
- }
133
- result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
134
- return result
135
- }
136
- }
137
- }
138
- </script>
139
- <style media="screen">
140
- .divtext {
141
- min-width: 50px;
142
- max-width: 200px;
143
- border: 1px solid green;
144
- display: inline-block;
145
- }
146
- </style>
147
-
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
11
+ <right-tree @re-res="$parent.$parent.getorg"
12
+ :initresid='$parent.$parent.org'></right-tree>
13
+ </div>
14
+
15
+ <div class="span" style="float:right;">
16
+ <button class="btn button_search" @click="search()">查询</button>
17
+ <button class="btn button_clear" @click="$parent.$parent.clear()">查询全部</button>
18
+ <export-excel-plus :defaultselect="$parent.$parent.selectfields" :data="$parent.$parent.getCondition"
19
+ :field="$parent.$parent.getfield"
20
+ :exportprogress="true"
21
+ sqlurl="rs/logic/exportfileplus" :sql-name="$parent.$parent.sqlName" template-name='抵扣气量导出' :choose-col="true"></export-excel-plus>
22
+
23
+ <!--<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
24
+
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </criteria>
29
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
30
+ <template partial='head'>
31
+ <tr>
32
+ <th><nobr>序号</nobr></th>
33
+ <th><nobr>公司名称</nobr></th>
34
+ <th><nobr>总抵扣气量</nobr></th>
35
+ <th><nobr>剩余抵扣气量</nobr></th>
36
+ </tr>
37
+ </template>
38
+ <template partial='body'>
39
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
40
+ <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
41
+ <td style="text-align: center;"><nobr>{{row.f_remanent_gas}}</nobr></td>
42
+ <td style="text-align: center;"><nobr>{{row.f_deduction_gas}}</nobr></td>
43
+ </template>
44
+ </data-grid>
45
+ </criteria-paged>
46
+ </div>
47
+ </div>
48
+ </div>
49
+ </template>
50
+ <script>
51
+ /**
52
+ *用户档案查询列表以及添加操作组件
53
+ */
54
+ import { PagedList } from 'vue-client'
55
+ import Vue from 'vue'
56
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
57
+
58
+ export default {
59
+ title: '抵扣气量',
60
+ data () {
61
+ return {
62
+ org:'',
63
+ criteriaShow: false,
64
+ meter_classify:'卡表',
65
+ filialeNameStr: null,
66
+ filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
67
+ userid: this.$login.f.id,
68
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
69
+ getfield:{"f_orgname":"组织","f_remanent_gas":"总抵扣气量","f_deduction_gas":"剩余抵扣气量"},
70
+ model: new PagedList('rs/sql/getDeductiongas', 50,{}),
71
+ rows: null,
72
+ //orgid:'',
73
+ sumsmodel: {},
74
+ sqlName:'getDeductiongas',
75
+ show:false,
76
+ rowdata:{},
77
+ initres: {
78
+ org:[this.$login.f.orgid],
79
+ dep:[],
80
+ user:[],
81
+ },
82
+ defaultfield: [],
83
+ selectfields:[],
84
+ searchCondition:[]
85
+ }
86
+ },
87
+ ready () {
88
+
89
+ },
90
+ methods: {
91
+ getorg (obj) {
92
+ if(obj.resids.length>0){
93
+ this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
94
+ }
95
+ else{
96
+ this.filialeCodeStr= ""
97
+ }
98
+ },
99
+ search () {
100
+ this.$refs.paged.$refs.cri.search()
101
+ },
102
+ selfSearch (args) {
103
+ if(!this.filialeCodeStr){
104
+ this.filialeCodeStr = `and f_orgid = ${this.$login.f.orgid}`
105
+ }
106
+ args.condition = args.condition+ ` ${this.filialeCodeStr}`
107
+ console.log("拼接的condition", args.condition, this.model)
108
+ this.model.search(args.condition, args.model)
109
+ },
110
+ // show(){
111
+ // this.criteriaShow = true
112
+ // },
113
+ hidden(){
114
+ this.criteriaShow = !this.criteriaShow
115
+ },
116
+ clear(){
117
+ this.filialeCodeStr= ""
118
+ this.model.search('1=1')
119
+ // Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
120
+ // this.$refs.paged.$refs.cri.model[key] = []
121
+ // })
122
+ }
123
+
124
+ },
125
+ computed: {
126
+ getCondition () {
127
+ let result = {
128
+ condition: '',
129
+ startDate: '',
130
+ endDate: ''
131
+ // diffDay:' 1=1 '
132
+ }
133
+ result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
134
+ return result
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+ <style media="screen">
140
+ .divtext {
141
+ min-width: 50px;
142
+ max-width: 200px;
143
+ border: 1px solid green;
144
+ display: inline-block;
145
+ }
146
+ </style>
147
+
@@ -1,34 +1,34 @@
1
- <template>
2
- <tab-button>
3
- <tabs header="用户稽查">
4
- <inspect-list-user></inspect-list-user>
5
- </tabs>
6
- <tabs header="购气稽查">
7
- <inspect-list-gas v-if="show[1]"></inspect-list-gas>
8
- </tabs>
9
-
10
- <tabs header="错误查询">
11
- <error-handplan-query></error-handplan-query>
12
- </tabs>
13
-
14
- </tab-button>
15
-
16
- </template>
17
-
18
- <script>
19
- import TabButton from "../common/TabButton";
20
- import Tabs from "../common/Tabs";
21
-
22
- export default {
23
- title: '稽查查询',
24
- data(){
25
- return{
26
- show: [true]
27
- }
28
- },
29
- components: {Tabs, TabButton},
30
- }
31
- </script>
32
-
33
- <style scoped>
34
- </style>
1
+ <template>
2
+ <tab-button>
3
+ <tabs header="用户稽查">
4
+ <inspect-list-user></inspect-list-user>
5
+ </tabs>
6
+ <tabs header="购气稽查">
7
+ <inspect-list-gas v-if="show[1]"></inspect-list-gas>
8
+ </tabs>
9
+
10
+ <tabs header="错误查询">
11
+ <error-handplan-query></error-handplan-query>
12
+ </tabs>
13
+
14
+ </tab-button>
15
+
16
+ </template>
17
+
18
+ <script>
19
+ import TabButton from "../common/TabButton";
20
+ import Tabs from "../common/Tabs";
21
+
22
+ export default {
23
+ title: '稽查查询',
24
+ data(){
25
+ return{
26
+ show: [true]
27
+ }
28
+ },
29
+ components: {Tabs, TabButton},
30
+ }
31
+ </script>
32
+
33
+ <style scoped>
34
+ </style>
@@ -68,6 +68,14 @@
68
68
  condition=" f_gasproperties in {}"
69
69
  close-on-select></v-select>
70
70
  </div>
71
+ <div class="col-sm-2">
72
+ <label class="font_normal_body">气表分类</label>
73
+ <v-select :value.sync="model.f_meter_classify"
74
+ v-model="model.f_meter_classify"
75
+ :options='$parent.$parent.metertypes' placeholder='请选择'
76
+ condition="f_meter_classify = '{}'"
77
+ close-on-select></v-select>
78
+ </div>
71
79
  <div class="col-sm-2 form-group">
72
80
  <label class="font_normal_body">气表品牌</label>
73
81
  <v-select :value.sync="model.f_meter_brand"
@@ -171,6 +179,9 @@
171
179
  <th>
172
180
  <nobr>累购气量</nobr>
173
181
  </th>
182
+ <th>
183
+ <nobr>气表类型</nobr>
184
+ </th>
174
185
  <th>
175
186
  <nobr>气表品牌</nobr>
176
187
  </th>
@@ -246,6 +257,9 @@
246
257
  <td style="text-align: center;">
247
258
  <nobr>{{row.f_total_gas}}</nobr>
248
259
  </td>
260
+ <td style="text-align: center;">
261
+ <nobr>{{row.f_meter_type}}</nobr>
262
+ </td>
249
263
  <td style="text-align: center;">
250
264
  <nobr>{{row.f_meter_brand}}</nobr>
251
265
  </td>
@@ -327,6 +341,7 @@
327
341
  sumsmodel: {},
328
342
  newuseroptiones:[{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
329
343
  selectfields:[],
344
+ metertypes:[{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')],
330
345
  backstates:[{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}],
331
346
  gaspropertyTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')],
332
347
  getusertypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')],