Compare commits

..

2 Commits

1 changed files with 17 additions and 2 deletions

View File

@ -308,6 +308,11 @@ export default {
}); });
}; };
/*****************************************************
* 响应显示需求详情的点击事件
* @param serial_no 需求编号
*****************************************************/
const showRequirementDetail = (serial_no) => const showRequirementDetail = (serial_no) =>
{ {
console.log("状态", query_param.select_status); console.log("状态", query_param.select_status);
@ -321,11 +326,13 @@ export default {
console.log("查看需求号:", serial_no); console.log("查看需求号:", serial_no);
}; };
//
//#region
const closeRequirementDetail = () => const closeRequirementDetail = () =>
{ {
ui.dialogRequirementDetailLoadingVisible = true; ui.dialogRequirementDetailLoadingVisible = true;
}; };
//#endregion
// //
const onUIChange = () => const onUIChange = () =>
@ -339,6 +346,7 @@ export default {
store.state.requirement.ui.selected_status = query_param.select_status; store.state.requirement.ui.selected_status = query_param.select_status;
}; };
//#region onBeforeMount
onBeforeMount(() => onBeforeMount(() =>
{ {
// debugger; // debugger;
@ -358,20 +366,26 @@ export default {
onUIChange(); onUIChange();
} }
}); });
//#endregion
//#region onBeforeUnmount
onBeforeUnmount(() => onBeforeUnmount(() =>
{ {
onUIChange(); onUIChange();
}); });
//#endregion
/*加载数据***************************/
//#region
// //
query_requirement_ui(store.state.requirement, "ErrorPage"); query_requirement_ui(store.state.requirement, "ErrorPage");
//#endregion
// //
console.log(store.state.app); console.log(store.state.app);
console.log(store.state.requirement); console.log(store.state.requirement);
//#region
return { return {
//data //data
requirement_data, requirement_data,
@ -392,6 +406,7 @@ export default {
// //
onBeforeMount, onBeforeMount,
}; };
//#endregion
}, },
}; };
</script> </script>