manage-client 4.0.38 → 4.0.39

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": "4.0.38",
3
+ "version": "4.0.39",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -42,6 +42,14 @@
42
42
  <div class="span" style="float:right;">
43
43
  <button class="button_search button_spacing" @click="search()">查询</button>
44
44
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getfield"
47
+ :footer="$parent.$parent.footer"
48
+ :header="$parent.$parent.other"
49
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
50
+ sql-name="areaGeneralQuery"
51
+ template-name='小区楼栋统计查询导出'
52
+ :choose-col="true"></export-excel>
45
53
  <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
46
54
  </div>
47
55
  </div>
@@ -113,6 +121,7 @@
113
121
 
114
122
  <script>
115
123
  import {HttpResetClass, PagedList} from 'vue-client'
124
+ import exportConfig from './config/exportConfig'
116
125
 
117
126
  let readySomething = async function (self) {
118
127
  self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
@@ -124,6 +133,8 @@
124
133
  return {
125
134
  showinfo: false,
126
135
  show:false,
136
+ other:[],
137
+ footer:[],
127
138
  model: new PagedList('api/af-revenue/sql/areaGeneralQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
128
139
  criteriaShow: false,
129
140
  //小区
@@ -201,6 +212,17 @@
201
212
  }
202
213
  },
203
214
  computed: {
215
+ getCondition() {
216
+ return {
217
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
218
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
219
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
220
+ condValue: `${this.model.condValue}`
221
+ }
222
+ },
223
+ getfield() {
224
+ return exportConfig.areaGeneralConfig
225
+ },
204
226
  }
205
227
  }
206
228
  </script>