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) =>
{
console.log("状态", query_param.select_status);
@ -321,11 +326,13 @@ export default {
console.log("查看需求号:", serial_no);
};
//
//#region
const closeRequirementDetail = () =>
{
ui.dialogRequirementDetailLoadingVisible = true;
};
//#endregion
//
const onUIChange = () =>
@ -339,6 +346,7 @@ export default {
store.state.requirement.ui.selected_status = query_param.select_status;
};
//#region onBeforeMount
onBeforeMount(() =>
{
// debugger;
@ -358,20 +366,26 @@ export default {
onUIChange();
}
});
//#endregion
//#region onBeforeUnmount
onBeforeUnmount(() =>
{
onUIChange();
});
//#endregion
/*加载数据***************************/
//#region
//
query_requirement_ui(store.state.requirement, "ErrorPage");
//#endregion
//
console.log(store.state.app);
console.log(store.state.requirement);
//#region
return {
//data
requirement_data,
@ -392,6 +406,7 @@ export default {
//
onBeforeMount,
};
//#endregion
},
};
</script>