diff --git a/src/pages/phone/components/standardSystemPopup.vue b/src/pages/phone/components/standardSystemPopup.vue index e2eeab1bb..a7b874164 100644 --- a/src/pages/phone/components/standardSystemPopup.vue +++ b/src/pages/phone/components/standardSystemPopup.vue @@ -39,7 +39,7 @@ export default { return { popupShow: true, checkedKeys: [], // 选择的标准体系 - textStatusName: '全部', + textStatusName: '现行有效', standardSystemTreeData: [], loading: false, api: { @@ -92,7 +92,7 @@ export default { handleReset () { this.popupShow = false // this.$emit('standSystemKeys', []) - this.$emit('searchQuery', { checkedKeys: [], textStatusName: '全部' }) + this.$emit('searchQuery', { checkedKeys: [], textStatusName: '现行有效' }) }, async getData () { let url = this.api.getListStand diff --git a/src/pages/phone/domesticStand.vue b/src/pages/phone/domesticStand.vue index 9ce0d422b..abdee82b7 100644 --- a/src/pages/phone/domesticStand.vue +++ b/src/pages/phone/domesticStand.vue @@ -131,7 +131,7 @@ export default { textStatusMap: {},// 文本状态id与name对应 natureMap:{}, lawsMap:{}, - textStatusName: '全部', + textStatusName: '现行有效', standSystemKeys: [] } }, diff --git a/src/pages/phone/standDynamics.vue b/src/pages/phone/standDynamics.vue index dcf1cb6cd..6c469e87b 100644 --- a/src/pages/phone/standDynamics.vue +++ b/src/pages/phone/standDynamics.vue @@ -199,6 +199,8 @@ export default { this.page++; if (this.messageType == "ZLZX") { this.getAdvice(); + + console.log(this.$refs.cardBoxThree.scrollTop) } else { this.onDynamics(); } @@ -243,6 +245,10 @@ export default { //获取数据 getAdvice(first = false) { this.listFlag = false; + let scrollTop = 0 + if (this.$refs.cardBoxThree) { + scrollTop = this.$refs.cardBoxThree.scrollTop + } this.$http.get("fileMaterialCenter/file-material", { page: first ? 1 : this.page, pageSize: 10, @@ -255,6 +261,9 @@ export default { if (mList.length) { if (!first && this.standardReleaseList.length) { this.standardReleaseList = this.standardReleaseList.concat(mList); + this.$nextTick(() => { + this.$refs.cardBoxThree.scrollTop = scrollTop + }) } else { this.standardReleaseList = mList; } @@ -322,6 +331,7 @@ export default { mounted() { this.onDynamics(); this.getAdvice(); + this.$refs.cardBoxThree.addEventListener('scroll', this.scroolThree); //从数据库中查询下拉框数据 this.$http.get("sys/dictype/getDicTypeListCode", {}, { _this: this