manage-client 3.3.250 → 3.3.251

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.250",
3
+ "version": "3.3.251",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -109,22 +109,22 @@
109
109
  <label class="font_normal_body">时间区间</label>
110
110
  <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'"
111
111
  :show-reset-button="reset"
112
- :value.sync="$parent.$parent.startDate1"
112
+ :value.sync="$parent.$parent.startDate"
113
113
  id="startDate"
114
114
  style="width:60%"
115
115
  placeholder="开始时间"
116
- v-model="$parent.$parent.startDate1">
116
+ v-model="$parent.$parent.startDate">
117
117
  </datepicker>
118
118
  </div>
119
119
  <div class="col-sm-2 form-group">
120
120
  <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
121
121
  <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd'"
122
122
  :show-reset-button="reset"
123
- :value.sync="$parent.$parent.endDate1"
123
+ :value.sync="$parent.$parent.endDate"
124
124
  style="width:60%"
125
125
  id="endDate"
126
126
  placeholder="结束日期"
127
- v-model="$parent.$parent.endDate1">
127
+ v-model="$parent.$parent.endDate">
128
128
  </datepicker>
129
129
  </div>
130
130
  <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
@@ -406,13 +406,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
406
406
  operator: [],
407
407
  filename: '',
408
408
  searchshow: true,
409
- startDate1:'',
410
- endDate1:'',
411
409
  userusetypes: [],
412
410
  useinstitutions: [],
413
411
  userusenatures: [],
414
- // startDate: '',
415
- // endDate: '',
412
+ startDate: '',
413
+ endDate: '',
416
414
  echarts: false,
417
415
  isActiveTotalForm: false,
418
416
  condition: '1=1',
@@ -456,14 +454,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
456
454
  }
457
455
  },
458
456
  ready() {
459
- readyGen(this)
460
- console.log('444444444', Util.addDate(new Date(),-6).substring(0,10))
461
- this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-4).substring(0,10) + ' 00:00:00'
462
- this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
463
- this.startDate1 = Util.addDate(new Date(),-4).substring(0,10)
464
- this.endDate1 = Util.toStandardDateString()
465
- // this.$refs.paged.$refs.cri.search()
466
- this.getfield = this.config.excelHeaders
457
+ readyGen(this)
458
+ this.getfield = this.config.excelHeaders
459
+ this.startDate = Util.addDate(new Date(),-4).substring(0,10) + ' 00:00:00'
460
+ this.endDate = Util.toStandardDateString() + ' 23:59:59'
467
461
  },
468
462
  methods: {
469
463
  userUseTypeChange () {
@@ -536,8 +530,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
536
530
  search(args) {
537
531
  // this.startDate = this.$refs.paged.$refs.cri.model.startDate
538
532
  // this.endDate = this.$refs.paged.$refs.cri.model.endDate
539
- this.$refs.paged.$refs.cri.model.startDate = this.startDate1 + ' 00:00:00'
540
- this.$refs.paged.$refs.cri.model.endDate = this.endDate1 + ' 23:59:59'
533
+ this.$refs.paged.$refs.cri.model.startDate = this.startDate
534
+ this.$refs.paged.$refs.cri.model.endDate = this.endDate
541
535
  console.log('--------------------', args)
542
536
  console.log('--------------------', this)
543
537
  if (this.endDate1 == '' || this.startDate1 == '') {
@@ -603,12 +597,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
603
597
  }
604
598
  },
605
599
  computed: {
606
- startDate(){
607
- return this.startDate1 + ' 00:00:00'
608
- },
609
- endDate(){
610
- return this.endDate1 + ' 23:59:59'
611
- },
612
600
  houseTypes() {
613
601
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
614
602
  },
@@ -47,7 +47,7 @@
47
47
  <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
48
48
  <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
49
49
  :field="$parent.$parent.getfield"
50
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="DrillErrorByUserinfo" template-name='异常分析'
50
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="getExceptionList" template-name='异常分析'
51
51
  :choose-col="true"></export-excel>
52
52
  <!--<button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
53
53
  <!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->