manage-client 3.3.220 → 3.3.222

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.220",
3
+ "version": "3.3.222",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1890,7 +1890,7 @@ export default {
1890
1890
  'f_meter_classify': '表具类型',
1891
1891
  'f_meter_title': '表描述',
1892
1892
  'f_price_name': '气价名称',
1893
- 'f_user_nature': '用气类型',
1893
+ 'f_user_type': '用户类型',
1894
1894
  'f_gasproperties': '用气性质',
1895
1895
  'f_balance': '期初余额',
1896
1896
  'f_last_tablebase': '起方',
@@ -312,6 +312,11 @@
312
312
  startDate: '',
313
313
  endDate: '',
314
314
  meterbrands: [],
315
+ initres: {
316
+ org:[this.$login.f.orgid],
317
+ dep:[],
318
+ user:[],
319
+ },
315
320
  other: [],
316
321
  sumsmodel: {},
317
322
  f_error_type:'',
@@ -427,14 +432,14 @@
427
432
  this.startDate = this.$refs.paged.$refs.cri.model.startDate
428
433
  this.endDate = this.$refs.paged.$refs.cri.model.endDate
429
434
  this.f_error_type=this.$refs.paged.$refs.cri.model.f_error_type
430
- console.log('1231321312312321')
431
435
  /* if (this.endDate == '' || this.startDate == '') {
432
436
  return this.$showMessage("时间区间的开始和结束时间不能为空!")
433
437
  }*/
434
- this.condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
435
-
436
- args.condition = this.condition
437
- this.model.search(args.condition, args.model)
438
+ if (this.orgCondtionStr){
439
+ args.condition = `${args.condition}` + this.orgCondtionStr
440
+ }
441
+ this.condition = args.condition
442
+ this.model.search(args.condition, args.model)
438
443
  },
439
444
  SaveAsFile(str) {
440
445
  this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
@@ -52,7 +52,7 @@
52
52
  :header="$parent.$parent.other"
53
53
  :footer="$parent.$parent.footer"
54
54
  sqlurl="api/af-revenue/logic/openapi/exportfile"
55
- sql-name="manage_chargeSummary"
55
+ :sql-name="$parent.$parent.sqlName"
56
56
  template-name='营收汇总报表'
57
57
  :choose-col="true"></export-excel>
58
58
  <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
@@ -357,6 +357,7 @@ export default {
357
357
  }),
358
358
  gasproperties: [],
359
359
  show: false,
360
+ sqlName: 'manage_chargeSummary',
360
361
  rowdata: {},
361
362
  areaList: [],
362
363
  modelval: [],
@@ -470,12 +471,14 @@ export default {
470
471
  if(this.f_is_area){
471
472
  if (this.f_is_area == '是') {
472
473
  this.isCompanyShow = true
474
+ this.sqlName = 'manage_chargeSummaryByArea'
473
475
  this.model = new PagedList('api/af-revenue/sql/manage_chargeSummaryByArea', 20, {
474
476
  startDate: 'this.model.startDate',
475
477
  endDate: 'this.model.endDate',
476
478
  condition2: 'this.model.condition2'
477
479
  }, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,f_sell_num:0,f_table_num:0})
478
480
  } else {
481
+ this.sqlName = 'manage_chargeSummary'
479
482
  this.isCompanyShow = false
480
483
  this.model = new PagedList('api/af-revenue/sql/manage_chargeSummary', 20, {
481
484
  startDate: 'this.model.startDate',
@@ -487,6 +490,7 @@ export default {
487
490
  isCompanyChange () {
488
491
  if (this.f_is_company) {
489
492
  if (this.f_is_company == '是') {
493
+ this.sqlName = 'manage_chargeSummaryByCompany'
490
494
  this.isAreaShow = true
491
495
  this.model = new PagedList('api/af-revenue/sql/manage_chargeSummaryByCompany', 20, {
492
496
  startDate: 'this.model.startDate',
@@ -494,6 +498,7 @@ export default {
494
498
  condition2: 'this.model.condition2'
495
499
  }, {f_collection: 0, f_gas: 0, f_money: 0,f_card_money:0,f_sell_num:0,f_table_num:0})
496
500
  } else {
501
+ this.sqlName = 'manage_chargeSummary'
497
502
  this.isAreaShow = false
498
503
  this.model = new PagedList('api/af-revenue/sql/manage_chargeSummary', 20, {
499
504
  startDate: 'this.model.startDate',
@@ -73,7 +73,6 @@
73
73
  <label class="font_normal_body">气价类型</label>
74
74
  <v-select :value.sync="model.pricetype" v-model="model.pricetype"
75
75
  placeholder='气价类型' :options="$parent.$parent.pricetypes"
76
- condition="ss.f_price_type = '{}'"
77
76
  close-on-select>
78
77
  </v-select>
79
78
  </div>
@@ -310,7 +309,7 @@ let readySomething = async function (self) {
310
309
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
311
310
  }
312
311
  export default {
313
- title: '用气量统计表',
312
+ title: '新用气分析',
314
313
  data () {
315
314
  return {
316
315
  show:false,
package/src/main.js CHANGED
@@ -46,11 +46,11 @@ ldap()
46
46
  system(false)
47
47
 
48
48
  saleManage()
49
- ShanXianSaleManage()
50
49
  webmeterManage()
51
50
  ManageHome()
52
51
  newmanage()
53
52
  reportManage()
53
+ ShanXianSaleManage()
54
54
  require('system-clients/src/styles/less/bootstrap.less')
55
55
  require('./components/qinhua/Style/qinhuaStyle.less')
56
56
  // require('./bootstrap/less/manageStyle/manageChile.less')