doway-coms 2.11.89 → 2.11.91

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": "doway-coms",
3
- "version": "2.11.89",
3
+ "version": "2.11.91",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -348,6 +348,7 @@
348
348
  :allowAutoClear="scope.column.params.allowAutoClear"
349
349
  @preSearch="(searchInfo,repeatRowInfo,row,api) => preSearch(searchInfo, scope,null,api)"
350
350
  @selectChanged="(selectedRowInfo)=>pulldownSelectChanged(scope,selectedRowInfo)"
351
+ @inputChangeEvent="()=>pulldownInputChangeEvent(scope)"
351
352
  @inputBlurEvent="()=>pulldownInputBlurEvent(scope)"
352
353
  @confirmMultiSelect="
353
354
  (pulldownView, selectRows) =>
@@ -3108,6 +3109,12 @@ export default {
3108
3109
  scope['pulldownSelectedRow'] = selectedRowInfo
3109
3110
  this.cellValueChange(scope)
3110
3111
  },
3112
+ pulldownInputChangeEvent(scope){
3113
+ if(scope.column.params.allowAutoClear===false){
3114
+ //如果可以输入值并保存的话就触发改变事件
3115
+ this.cellValueChange(scope)
3116
+ }
3117
+ },
3111
3118
  pulldownInputBlurEvent(scope){
3112
3119
  this.$emit('inputBlurEvent', scope,this.dataName)
3113
3120
  },
@@ -128,7 +128,7 @@ export function userResetApi(data) {
128
128
  }
129
129
  export function commonOperationSearchDataApi(data) {
130
130
  return request({
131
- url: store.getters.baseUrl + '/searchData',
131
+ url: store.getters.baseUrl + '/commonOperation/searchData',
132
132
  method: 'post',
133
133
  data: data
134
134
  })