manage-client 3.2.122 → 3.2.123

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.
@@ -3,7 +3,7 @@
3
3
  <div class="basic-main" @keyup.enter="search">
4
4
  <div class="flex">
5
5
  <div style="flex:1;" class="flex" v-if="!show">
6
- <criteria-paged :model="model" v-ref:paged @sort="sort">
6
+ <criteria-paged :model="model" v-ref:paged>
7
7
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
8
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
9
  <div class="row">
@@ -266,7 +266,7 @@
266
266
  <template partial='head'>
267
267
  <tr>
268
268
  <th>
269
- <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
269
+ <nobr>客户编号</nobr>
270
270
  </th>
271
271
  <th>
272
272
  <nobr>客户名称</nobr>
@@ -281,7 +281,7 @@
281
281
  <nobr>身份证号</nobr>
282
282
  </th>
283
283
  <th>
284
- <data-order field="f_address" name="客户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
284
+ <nobr>客户地址</nobr>
285
285
  </th>
286
286
  <th>
287
287
  <nobr>表册片区</nobr>
@@ -325,10 +325,10 @@
325
325
  <nobr>通气人</nobr>
326
326
  </th>
327
327
  <th>
328
- <data-order field="f_gas_date" name="通气时间" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
328
+ <nobr>通气时间</nobr>
329
329
  </th>
330
330
  <th>
331
- <data-order field="f_input_date" name="建表时间" :order.sync="$parent.$parent.$parent.orderFields.f_input_date"></data-order>
331
+ <nobr>建表时间</nobr>
332
332
  </th>
333
333
  <th>
334
334
  <nobr>气表状态</nobr>
@@ -512,7 +512,7 @@
512
512
  isSingleUser: null,
513
513
  other:[],
514
514
  footer:[],
515
- model: new PagedList('rs/sql/meterQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_user_id,f_table_state desc'`}, {f_balance_amount: 0}),
515
+ model: new PagedList('rs/sql/meterQuery', 20, {}, {f_balance_amount: 0}),
516
516
  criteriaShow: false,
517
517
  orgCondtionStr: '',
518
518
 
@@ -520,11 +520,6 @@
520
520
  printshow: false,
521
521
  all: false,
522
522
  fields: {},
523
- //排序
524
- orderitem:'f_user_id,f_table_state desc',
525
- orderFields: {
526
- f_userinfo_id: 'no'
527
- },
528
523
  thead: '',
529
524
  tfoot: '',
530
525
  initres: {
@@ -772,24 +767,6 @@
772
767
  })
773
768
  }
774
769
  },
775
- sort (field, rule) {
776
- // 将所有排序方式设为不排序,实现相互排斥
777
- for (let key in this.orderFields) {
778
- if (key === field) {
779
- this.orderFields[key] = rule
780
- } else {
781
- this.orderFields[key] = 'no'
782
- }
783
- }
784
- // 如果新规则不排序,还原为默认排序
785
- if (rule === 'no') {
786
- this.model.paramSource.orderitem = `'${this.orderitem}'`
787
- } else {
788
- this.model.paramSource.orderitem = `'${field} ${rule}'`
789
- }
790
-
791
- this.search()
792
- },
793
770
  async getpcd(){
794
771
  let HttpReset = new HttpResetClass()
795
772
  console.log('开始获取区域')
@@ -863,7 +840,7 @@
863
840
  }
864
841
  this.updateParams()
865
842
  }
866
- }
843
+ },
867
844
  },
868
845
  computed: {
869
846
  authArr () {
@@ -899,7 +876,7 @@
899
876
  }
900
877
  },
901
878
  getCondition() {
902
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
879
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
903
880
  },
904
881
  getfield() {
905
882
  let data = {}