Authored by 鲁尚清

【下探】下探/更多列表分页(接口请求太慢,每页50条)-弹框关闭清空值-#2

... ... @@ -217,25 +217,32 @@ export default {
Vue.watch(() => [props.page, props.limit], ([newValue, newValue1],[oldVlaue, oldVlaue1]) => {
//lsq 诊断业务场景,诊断指标,诊断项(正常,异常)切换页码 2022-08-09
if(!props.dialogFlg){
if(clickType.value=='BusScenarios'){
openBusScenarios();
}else if(clickType.value=='KpiList'){
openKpiList();
}else if(clickType.value=='DiagnosticItem'){
openDiagnosticItem(diagnosticItem.value);
}else if(clickType.value=='Alarm'){
openAlarm(AlarmResId.value)
}else if(clickType.value=='MoreDialog'){
setTimeout(function (){
setTimeout(function (){
if(clickType.value=='BusScenarios'){
openBusScenarios();
}else if(clickType.value=='KpiList'){
openKpiList();
}else if(clickType.value=='DiagnosticItem'){
openDiagnosticItem(diagnosticItem.value);
}else if(clickType.value=='Alarm'){
openAlarm(AlarmResId.value)
}else if(clickType.value=='MoreDialog'){
if(props.itemresClass==props.cardList.resClass){
openMoreDialog();
}
},400)
}
}
},400)
}else{
clickType.value='';
}
})
//lsq 弹框关闭时清空值 2022-08-10
Vue.watch(()=>props.dialogFlg, (newValue) => {
if(newValue){
clickType.value='';
}
});
return {
card,
count,
... ...