@leevan/jtui 2.0.9 → 2.0.12

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.
@@ -67,6 +67,8 @@
67
67
  :style="{width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}"
68
68
  v-model="model[item.modelKey]"
69
69
  :disabled="item.disabled ? item.disabled : false"
70
+ :filterable="item.isCreate ? true : false"
71
+ :allow-create="item.isCreate ? true : false"
70
72
  :multiple="item.multiple === undefined ? false : true"
71
73
  :collapse-tags="item.collapse ===undefined ? false : true"
72
74
  :placeholder="item.placeholder ? item.placeholder : ''">
@@ -1281,6 +1281,9 @@ export default {
1281
1281
  exportTableData() {
1282
1282
  this.$refs[this.id].openExport({ isPrint: false });
1283
1283
  },
1284
+ exportData(obj){
1285
+ this.$refs[this.id].exportData(obj);
1286
+ },
1284
1287
  //导入数据
1285
1288
  importTableData() {
1286
1289
  this.$refs[this.id].importData();
@@ -1288,7 +1291,7 @@ export default {
1288
1291
  //操作列点击事件派发
1289
1292
  handlerColClick(value, row, rowIndex) {
1290
1293
  //检索
1291
- if(value === 'stcd_search'){
1294
+ if(value.indexOf("search") !== -1){
1292
1295
  this.$set(row, "activeValue", value);
1293
1296
  }
1294
1297
  //刷新
@@ -1165,6 +1165,9 @@ export default {
1165
1165
  exportTableData(){
1166
1166
  this.$refs[this.id].openExport({ isPrint: false });
1167
1167
  },
1168
+ exportData(obj){
1169
+ this.$refs[this.id].exportData(obj);
1170
+ },
1168
1171
  //导入数据
1169
1172
  importTableData(){
1170
1173
  this.$refs[this.id].importData({