|
@@ -1,4 +1,4 @@
|
|
|
-import { computed, reactive, ref, provide, getCurrentInstance } from 'vue'
|
|
|
+import { computed, reactive, ref, provide, getCurrentInstance, nextTick } from 'vue'
|
|
|
import useQuickSearchModel from '@jy/data-models/modules/quick-search/model'
|
|
|
import { useStore } from '@/store'
|
|
|
import { useRoute } from 'vue-router/composables'
|
|
@@ -6,7 +6,7 @@ import { useRoute } from 'vue-router/composables'
|
|
|
import useSearchHistoryModel from '@jy/data-models/modules/quick-search-history/model'
|
|
|
import { getBuyerAssociation } from '@/api/modules'
|
|
|
import { debounce } from 'lodash'
|
|
|
-import { InContainer, openLinkInWorkspace } from '@/utils'
|
|
|
+import { InContainer, openLinkInWorkspace, scrollTargetView } from '@/utils'
|
|
|
import { randomBgc, getShortName } from '@/utils/globalFunctions'
|
|
|
import { ajaxEmployInfo, ajaxEmployOperate, getStatusCustomer, setStatusCustomer, renLingCustomerAddTags } from '@/api/modules/'
|
|
|
import { dataCollectActionModel } from './modules/data-tags-actions'
|
|
@@ -178,7 +178,9 @@ export default function () {
|
|
|
// 分页事件
|
|
|
function doChangePageNum(page) {
|
|
|
listState.pageNum = page
|
|
|
- doQuery()
|
|
|
+ doQuery().then(() => {
|
|
|
+ scrollTargetView('.search-purchase-main')
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
// 分页大小事件
|