manage-client 4.1.151 → 4.1.153

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.
@@ -0,0 +1,7 @@
1
+ // 分公司特殊组件页面注册
2
+ import Vue from 'vue'
3
+
4
+ export default function () {
5
+ // 收费查询
6
+ Vue.component('charge-query', (resolve) => { require(['./sale/businessquery/ChargeQuery'], resolve) })
7
+ }
@@ -491,28 +491,14 @@
491
491
  this.searchshow = !this.searchshow
492
492
  },
493
493
  getErrorInfo(){
494
- let self = this
495
- let load = new HttpResetClass()
496
- load.load('POST', 'api/af-revenue/sql/singleTableParam', {
497
- data: {
498
- items:'name',
499
- tablename:'t_paramvalue',
500
- condition:'processid in (select id from t_parameter where name='+ `'${this.$refs.paged.$refs.cri.model.f_error_level[0]}'` + ')'
501
- }
502
- },{warnMsg:null,resolveMsg:null}).then((res) => {
503
- let i = 0
504
- let rows=res.data
505
- let array1=[]
506
- array1.push({label: '全部', value: ''})
507
- for (i = 0; i < rows.length; i++) {
508
- let dr = {label: '全部', value: ''}
509
- dr.label=rows[i].name
510
- dr.value=rows[i].name
511
- array1.push(dr)
512
- }
513
- self.GetErrorType=array1
514
- })
515
-
494
+ this.GetErrorType=[]
495
+ if(this.$refs.paged.$refs.cri.model !==null) {
496
+ this.$refs.paged.$refs.cri.model.GetErrorType=''
497
+ this.GetErrorType = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_error_level[0])
498
+ }
499
+ else{
500
+ this.GetErrorType =[{label: '全部', value: ''}]
501
+ }
516
502
  },
517
503
  search(args) {
518
504
  this.startDate = this.$refs.paged.$refs.cri.model.startDate
@@ -540,7 +526,9 @@
540
526
  },
541
527
  clearmsg() {
542
528
  Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
543
- this.$refs.paged.$refs.criteria.model[key] = []
529
+ if(key !== 'f_error_level'){
530
+ this.$refs.paged.$refs.criteria.model[key] = []
531
+ }
544
532
  })
545
533
  },
546
534
  close() {
package/src/main.js CHANGED
@@ -6,8 +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/meihekou/sale'
10
- import ShanXianwebSaleManage from './filiale/meihekou/webmeterManage'
9
+ import ShanXianSaleManage from './filiale/xinjiangdexin/sale'
10
+ // import ShanXianwebSaleManage from './filiale/rongcheng/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'
13
13
  import newmanage from './newmanage'
@@ -50,7 +50,6 @@ webmeterManage()
50
50
  ManageHome()
51
51
  newmanage()
52
52
  ShanXianSaleManage()
53
- ShanXianwebSaleManage()
54
53
  reportManage()
55
54
  // ShanXianSaleManage()
56
55
  require('system-clients/src/styles/less/bootstrap.less')