|
|
@@ -699,16 +699,16 @@ export default {
|
|
|
this.currentPage =
|
|
|
this.currentPage > pageCount ? pageCount : this.currentPage
|
|
|
}
|
|
|
- // if (this.needPage === 'N') {
|
|
|
- // this.copDataModel = this.dataModel
|
|
|
- // } else {
|
|
|
- // this.copDataModel = this.getShowData(
|
|
|
- // val,
|
|
|
- // this.currentPage,
|
|
|
- // this.pageSize
|
|
|
- // )
|
|
|
- // }
|
|
|
- this.$emit('update:value', val)
|
|
|
+ if (this.needPage === 'N') {
|
|
|
+ this.copDataModel = this.dataModel
|
|
|
+ } else {
|
|
|
+ this.copDataModel = this.getShowData(
|
|
|
+ val,
|
|
|
+ this.currentPage,
|
|
|
+ this.pageSize
|
|
|
+ )
|
|
|
+ }
|
|
|
+ // this.$emit('update:value', val)
|
|
|
this.editFromType = ''
|
|
|
})
|
|
|
|