手机端-修改

This commit is contained in:
zyn
2023-11-07 15:57:56 +08:00
parent 57981cf8bc
commit a465ac2243
3 changed files with 13 additions and 3 deletions
@@ -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
+1 -1
View File
@@ -131,7 +131,7 @@ export default {
textStatusMap: {},// 文本状态id与name对应
natureMap:{},
lawsMap:{},
textStatusName: '全部',
textStatusName: '现行有效',
standSystemKeys: []
}
},
+10
View File
@@ -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