清单流程

This commit is contained in:
宋伟佳
2021-06-30 15:52:19 +08:00
parent 78a69f90ec
commit bf0e995977
6 changed files with 706 additions and 16 deletions
+11 -15
View File
@@ -192,7 +192,7 @@ export default {
resultLoading: false,
total: 0,
page: 1,
zqazqazqa:[],
searchData: [],
pageAll: 1,
totalAll: 0,
Allitems: [], // 选中全部返回数据
@@ -242,12 +242,11 @@ export default {
]
}
];
res.data.forEach((info) => {
_this.searchOptions.push(info);
let resdata = JSON.parse(JSON.stringify(_this.searchOptions));
let data = resdata.slice(0, 6);
_this.searchOptions =data;
});
_this.searchData = res.data;
for (let i = 0; i < res.data.length; i++) {
if (_this.searchOptions.length >= 6) break;
_this.searchOptions.push(res.data[i]);
}
}, e => {
});
},
@@ -268,13 +267,17 @@ export default {
this.AllCheck = true;
//点击全部显示分页
this.AllPage = true;
this.searchOptions = [condition];
this.searchOptions = [condition]
this.searchCondition.selectIndex = ["All"];
this.searchSarByInputKey();
} else {
this.AllPage = false;
this.Allitems = [];
this.AllCheck = false;
for (let i = 0; i < this.searchData.length; i++) {
if (this.searchOptions.length >= 6) break;
this.searchOptions.push(this.searchData[i]);
}
}
} else {
this.AllPage = false;
@@ -574,17 +577,10 @@ export default {
.search-condition {
width: 100%;
/*min-height: 200px;*/
min-height: 200px;
position: relative;
//border: 1px solid @borderColor;
border-bottom: 1px solid @borderColor;
margin-top: 15px;
//background-color: hsla(0,0%,100%,.9);
//border-radius: 20px;
padding: 10px;
//overflow: auto;
max-height: 300px;
.condition-btn {