telephone-clients 3.0.104-49 → 3.0.104-50

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": "telephone-clients",
3
- "version": "3.0.104-49",
3
+ "version": "3.0.104-50",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -52,6 +52,12 @@
52
52
  <div style="float: right;" class="form-group span">
53
53
  <button type="button" name="button"
54
54
  class="button_search button_spacing" @click="search(),$dispatch('search')" style="z-index: 2">查询</button>
55
+ <export-excel-tel
56
+ :data="$parent.$parent.searchData"
57
+ :field="$parent.$parent.excelHeaders"
58
+ sqlurl="rs/logic/telephoneExport" sql-name="tel_singleTable_OrderBy" template-name='呼损记录导出'
59
+ :choose-col="false">
60
+ </export-excel-tel>
55
61
  </div>
56
62
  </div>
57
63
  </div>
@@ -109,7 +115,17 @@ export default {
109
115
  pendingCount: 0,
110
116
  serobj:Object,
111
117
  showVisit:false,
112
- outltime:this.getNowFormatDate()
118
+ outltime:this.getNowFormatDate(),
119
+ searchData:{
120
+ items: "*",
121
+ tablename: "t_records",
122
+ orderitem: "outltime desc",
123
+ condition: '1=1'
124
+ },
125
+ excelHeaders: {
126
+ 'telnum': '电话号码',
127
+ 'outltime': '来电时间',
128
+ },
113
129
  }
114
130
  },
115
131
  ready () {
@@ -240,6 +256,7 @@ export default {
240
256
  }
241
257
  }
242
258
  args.condition += " AND isnull(starttime,'') = '' AND isnull(findtime,'') != ''"
259
+ this.searchData.condition = args.condition
243
260
  this.model.search(args.condition)
244
261
  },
245
262
  },