manage-client 4.0.68 → 4.0.70

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.
File without changes
Binary file
File without changes
@@ -12,14 +12,14 @@ 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 shaoguan = 'http://119.146.1.106:8300/'
15
- var qtx= 'http://36.103.222.144:6300/'
15
+ var qtx = 'http://36.103.222.144:6300/'
16
16
  // var bendi = 'http://220.194.141.253:8600/'
17
17
  // var bendi = 'http://203.57.101.233:9001'
18
18
  // var bendi = 'http://172.168.1.11:9001/'
19
19
  // var bendi = 'http://203.57.101.233:9001/'
20
20
  // var bendi = 'http://121.36.106.17:8400/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
- var bendi = 'http://192.168.50.67:31567/'
22
+ var bendi = 'http://203.57.101.233:9001/'
23
23
  // var bendi = 'http://119.187.112.234:8400/'
24
24
  var wode = 'http://203.57.101.233:9001/'
25
25
  // 192.168.
@@ -33,8 +33,14 @@ var proxyTable = {
33
33
  target: 'http://203.57.101.233:9001/'
34
34
 
35
35
  },
36
+ '/api/af-revenue/sql/compreQuery': {
37
+ pathRewrite: {
38
+ '^/api/af-revenue': '/'
39
+ },
40
+ target: 'http://127.0.0.1:9026/'
41
+ },
36
42
  '/api': {
37
- target: bendi
43
+ target: 'http://192.168.50.67:31567/'
38
44
 
39
45
  },
40
46
  '/rs/sql/chargeQuery_by_gasproperties': {
@@ -48,7 +54,7 @@ var proxyTable = {
48
54
  },
49
55
  // 查找资源服务数据
50
56
  '/rs/search': {
51
- target: bendi
57
+ target: 'http://192.168.50.67:31567/'
52
58
  },
53
59
  // 查找资源服务数据
54
60
  '/rs/logic/getLogin': {
@@ -90,7 +96,7 @@ var proxyTable = {
90
96
  target: bendi
91
97
  },
92
98
  '/rs/vue': {
93
- target: bendi
99
+ target: 'http://192.168.50.67:31567/'
94
100
  },
95
101
  '/rs/file': {
96
102
  target: bendi
@@ -99,7 +105,7 @@ var proxyTable = {
99
105
  target: bendi
100
106
  },
101
107
  '/rs': {
102
- target: bendi
108
+ target: wode
103
109
  }
104
110
  }
105
111
 
@@ -131,14 +137,60 @@ Object.keys(proxyTable).forEach(function (context) {
131
137
 
132
138
  // handle fallback for HTML5 history API
133
139
  app.use(require('connect-history-api-fallback')())
140
+ // app.use(function (req, res, next) {
141
+ // res.header('Access-Control-Allow-Origin', '*')
142
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
143
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
144
+ // res.header('X-Powered-By', '3,2,1')
145
+ // res.header('Access-Control-Allow-Credentials', 'true')
146
+ // res.header('Content-Type', 'application/json;charset=utf-8')
147
+ // next()
148
+ // })
134
149
 
150
+ // serve webpack bundle output
135
151
  app.use(devMiddleware)
136
152
 
153
+ // enable hot-reload and state-preserving
154
+ // compilation error display
137
155
  app.use(hotMiddleware)
138
156
 
139
157
  // serve pure static assets
140
158
  app.use('/static', express.static('./static'))
141
159
 
160
+ // app.all('/rs/*', function (req, res) {
161
+ // proxy.web(req, res, {
162
+ // target: 'http://127.0.0.1:8081/reports'
163
+ // })
164
+ // })
165
+
166
+ // app.all('/rs/*', function (req, res) {
167
+ // proxy.web(req, res, {
168
+ // target: 'http://127.0.0.1:8081/ldap'
169
+ // })
170
+ // })
171
+ // app.all('/excel/*', function (req, res) {
172
+ // proxy.web(req, res, {
173
+ // target: 'http://127.0.0.1:8081/charge'
174
+ // })
175
+ // })
176
+
177
+ // app.all('/rs/*', function (req, res) {
178
+ // proxy.web(req, res, {
179
+ // target: 'http://127.0.0.1:82/charge'
180
+ // })
181
+ // })
182
+
183
+ // app.all('/*', function (req, res) {
184
+ // proxy.web(req, res, {
185
+ // target: 'http://127.0.0.1:82'
186
+ // })
187
+ // })
188
+ // app.all('/rs/user', function (req, res) {
189
+ // proxy.web(req, res, {
190
+ // target: 'http://127.0.0.1:82'
191
+ // })
192
+ // })
193
+
142
194
  module.exports = app.listen(8015, function (err) {
143
195
  if (err) {
144
196
  console.log(err)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.0.68",
3
+ "version": "4.0.70",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -318,6 +318,17 @@
318
318
  <!-- condition="f_bgl = '{}'"-->
319
319
  <!-- close-on-select></v-select>-->
320
320
  <!-- </div>-->
321
+ <div class="col-sm-2 form-group">
322
+ <label class="font_normal_body">使用类型</label>
323
+ <v-select :value.sync="model.f_usetype"
324
+ v-model="model.f_usetype"
325
+ :options='$parent.$parent.usetype'
326
+ placeholder='使用类型'
327
+ style="width:60%"
328
+ close-on-select
329
+ condition="f_usetype = '{}'">
330
+ </v-select>
331
+ </div>
321
332
  <div class="col-sm-2 form-group">
322
333
  <label class="font_normal_body">总&ensp;分&ensp;表</label>
323
334
  <v-select :value.sync="model.f_totalsplit_type"
@@ -511,6 +522,9 @@
511
522
  <th>
512
523
  <nobr>剩余抵扣金额</nobr>
513
524
  </th>
525
+ <th>
526
+ <nobr>使用类型</nobr>
527
+ </th>
514
528
  <th>
515
529
  <nobr>附件</nobr>
516
530
  </th>
@@ -676,6 +690,9 @@
676
690
  <td style="text-align: center;">
677
691
  <nobr>{{ row.f_remaining_deduct_amount }}</nobr>
678
692
  </td>
693
+ <td style="text-align: center;">
694
+ <nobr>{{ row.f_usetype }}</nobr>
695
+ </td>
679
696
  <td style="text-align: center;">
680
697
  <nobr>
681
698
  <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">
@@ -1338,6 +1355,9 @@ export default {
1338
1355
  usertypes() {
1339
1356
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1340
1357
  },
1358
+ usetype() {
1359
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1360
+ },
1341
1361
  accountsState() {
1342
1362
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
1343
1363
  },
@@ -182,6 +182,17 @@
182
182
  condition="f_gasproperties = '{}'"
183
183
  close-on-select></v-select>
184
184
  </div>
185
+ <div class="col-sm-2 form-group">
186
+ <label class="font_normal_body">使用类型</label>
187
+ <v-select :value.sync="model.f_usetype"
188
+ v-model="model.f_usetype"
189
+ :options='$parent.$parent.usetype'
190
+ placeholder='使用类型'
191
+ style="width:60%"
192
+ close-on-select
193
+ condition="f_usetype = '{}'">
194
+ </v-select>
195
+ </div>
185
196
  </div>
186
197
  </div>
187
198
  </criteria>
@@ -212,6 +223,7 @@
212
223
  <th><nobr>期间充值金额</nobr></th>
213
224
  <th><nobr>期末余额</nobr></th>
214
225
  <th><nobr>用气状态</nobr></th>
226
+ <th><nobr>使用类型</nobr></th>
215
227
  <th><nobr>是否换表</nobr></th>
216
228
  <th><nobr>首次抄表时间</nobr></th>
217
229
  <th><nobr>最后通讯日期</nobr></th>
@@ -246,6 +258,7 @@
246
258
  <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
247
259
  <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
248
260
  <th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
261
+ <th style="text-align:center"><nobr>{{row.f_usetype}}</nobr></th>
249
262
  <th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
250
263
  <th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
251
264
  <th style="text-align:center"><nobr>{{row.f_input_date}}</nobr></th>
@@ -506,6 +519,9 @@
506
519
  tableState() {
507
520
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
508
521
  },
522
+ usetype() {
523
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
524
+ },
509
525
  gasState() {
510
526
  return [{label:'正常', value:'正常'},
511
527
  {label:'异常', value:'异常'},
@@ -516,6 +516,11 @@
516
516
  condition="f_uservent_date <= '{} 23:59:59'">
517
517
  </datepicker>
518
518
  </div>
519
+ <div class="col-sm-2 form-group">
520
+ <label class="font_normal_body">拥有附件</label>
521
+ <v-select :value.sync="model.hasBlob" v-model="model.hasBlob" :options='$parent.$parent.truefalse'
522
+ :search="false" placeholder='请选择' condition=" {} " close-on-select></v-select>
523
+ </div>
519
524
  </div>
520
525
  </div>
521
526
  </criteria>
@@ -769,7 +774,12 @@
769
774
  <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
770
775
  <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
771
776
  <td style="text-align: center;"><nobr>{{row.f_user_name}}
772
- <img style="width: 20%;" src="../../../static/img/hasFile.png" v-if="row.f_blobid != null && row.f_blobid !== ''" >
777
+ <img
778
+ style="width: 25%; cursor: pointer;"
779
+ src="../../../static/img/hasFile.png"
780
+ @click="$parent.$parent.$parent.showFile(row)"
781
+ v-if="row.f_blobid != null && row.f_blobid !== ''"
782
+ >
773
783
  </nobr>
774
784
  </td>
775
785
  <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
@@ -952,8 +962,16 @@
952
962
  <div class="flex" v-if="show">
953
963
  <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
954
964
  </div>
955
- </div></div></div>
956
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
965
+ </div>
966
+ </div>
967
+ <modal :show.sync="showfiles" width="80%" style="width:auto;" v-ref:modal middle backdrop="false">
968
+ <article slot="modal-body">
969
+ <upload-idcard :blodid="blodid" :isupload="true" isremark="true" style="width:auto" fusetype="档案信息"></upload-idcard>
970
+ </article>
971
+ <footer slot="modal-footer" class="modal-footer">
972
+ </footer>
973
+ </modal>
974
+ </div>
957
975
  </template>
958
976
 
959
977
  <script>
@@ -1044,8 +1062,11 @@
1044
1062
  bookSlice:[{label: '全部',value: ''}],
1045
1063
  meterStyle:[{label: '全部',value: ''}],
1046
1064
  pricenames:[],
1065
+ truefalse:[{label:"全部",value:""},{label:"是",value:" u.f_blobid is not null "},{label:"否",value:" u.f_blobid is null "}],
1047
1066
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
1048
1067
  networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
1068
+ showfiles:false,
1069
+ blodid:''
1049
1070
  }
1050
1071
  },
1051
1072
  ready(){
@@ -1058,6 +1079,10 @@
1058
1079
  })
1059
1080
  },
1060
1081
  methods: {
1082
+ showFile(row){
1083
+ this.blodid = row.f_blobid
1084
+ this.showfiles = true
1085
+ },
1061
1086
  recombine (param) {
1062
1087
  // 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
1063
1088
  let str = ''
@@ -168,6 +168,17 @@
168
168
  <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
169
169
  condition="f_meternumber = '{}' " placeholder="表号">
170
170
  </div>
171
+ <div class="col-sm-2 form-group">
172
+ <label class="font_normal_body">使用类型</label>
173
+ <v-select :value.sync="model.f_usetype"
174
+ v-model="model.f_usetype"
175
+ :options='$parent.$parent.usetype'
176
+ placeholder='使用类型'
177
+ style="width:60%"
178
+ close-on-select
179
+ condition="f_usetype = '{}'">
180
+ </v-select>
181
+ </div>
171
182
  <!-- <div class="col-sm-2 form-group">-->
172
183
  <!-- <label class="font_normal_body">气表品牌</label>-->
173
184
  <!-- <v-select :value.sync="model.f_meter_brand" multiple-->
@@ -204,6 +215,7 @@
204
215
  <th><nobr>用气金额</nobr></th>
205
216
  <th><nobr>期间实收金额</nobr></th>
206
217
  <th><nobr>期末余额</nobr></th>
218
+ <th><nobr>使用类型</nobr></th>
207
219
  <th><nobr>公司</nobr></th>
208
220
  </tr>
209
221
  </template>
@@ -260,6 +272,9 @@
260
272
  <td>
261
273
  <nobr>{{row.f_curbalance}}</nobr>
262
274
  </td>
275
+ <td>
276
+ <nobr>{{row.f_usetype}}</nobr>
277
+ </td>
263
278
  <td style="text-align: center;">
264
279
  <nobr>{{row.f_orgname}}</nobr>
265
280
  </td>
@@ -757,6 +772,9 @@ export default {
757
772
  usertypes() {
758
773
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
759
774
  },
775
+ usetype() {
776
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
777
+ },
760
778
  // meterstate() {
761
779
  // return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
762
780
  // },
package/src/main.js CHANGED
@@ -6,9 +6,8 @@ import { all } from 'vue-client'
6
6
  import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
8
  import saleManage from './saleManage'
9
- import ShanXianSaleManage from './filiale/fugou/sale'
10
- import ShanXianwebSaleManage from './filiale/shexian/webmeterManage'
11
- import OtherreportManage from './filiale/beifangshiye/reportManage'
9
+ import ShanXianSaleManage from './filiale/yangchun/sale'
10
+ import ShanXianwebSaleManage from './filiale/yangchun/webmeterManage'
12
11
  import webmeterManage from './webmeterManage'
13
12
  import reportManage from './reportManage'
14
13
  import newmanage from './newmanage'
@@ -19,7 +18,7 @@ import AMap from 'vue-amap'
19
18
  Vue.config.silent = true
20
19
  // Vue.mmType = 'AES'
21
20
 
22
- Vue.use(AMap);
21
+ Vue.use(AMap)
23
22
 
24
23
  // 初始化vue-amap
25
24
  AMap.initAMapApiLoader({
@@ -27,18 +26,18 @@ AMap.initAMapApiLoader({
27
26
  key: '3cec9ae8e2349207f7ac29279e3f4abe',
28
27
  // 插件集合 (插件按需引入)
29
28
  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" //定位控件,用来获取和展示用户主机所在的经纬度位置
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' // 定位控件,用来获取和展示用户主机所在的经纬度位置
39
38
  ],
40
- uiVersion: "1.0"
41
- });
39
+ uiVersion: '1.0'
40
+ })
42
41
  /** **************************通用组件******************************/
43
42
 
44
43
  Vue.prototype.$echarts = echarts
@@ -53,14 +52,13 @@ ManageHome()
53
52
  newmanage()
54
53
  ShanXianwebSaleManage()
55
54
  reportManage()
56
- OtherreportManage()
57
55
  ShanXianSaleManage()
58
56
  require('system-clients/src/styles/less/bootstrap.less')
59
57
  require('./components/qinhua/Style/qinhuaStyle.less')
60
58
  // require('./bootstrap/less/manageStyle/manageChile.less')
61
59
  // require('./bootstrap/less/manageStyle/safeStyle.less')
62
60
 
63
- //大屏展示要放开的样式
61
+ // 大屏展示要放开的样式
64
62
  // require('system-clients/src/styles/less/manageStyle/manageChile.less')
65
63
  // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
66
64
  // require('system-clients/src/styles/less/manageStyle/manageStyle.less')