Commit c70867ff authored by 李鹏 's avatar 李鹏

bugfix

parent 4c4624fe
......@@ -3,7 +3,8 @@
<bg-breadcrumb></bg-breadcrumb>
<div class="page_content">
<bg-form-gap title="注册信息"></bg-form-gap>
<bg-detail-table2 class="register_info" :list="instanceData.approveBasicInfo"> </bg-detail-table2>
<bg-detail-table2 class="register_info" :list="instanceData.approveBasicInfo">
</bg-detail-table2>
<bg-form-gap title="审批信息"></bg-form-gap>
<bg-detail-table2 class="approve_info" :list="instanceData.approveInfo"> </bg-detail-table2>
</div>
......@@ -109,7 +110,8 @@ const getApproveInfo = () => {
});
instanceData.approveInfo.forEach((item) => {
if (item.key === "status") {
item.value = result[item.key] === 1 ? "通过" : "驳回";
item.value = ["待审批", "通过", "驳回"][result[item.key]];
return;
}
item.value = result[item.key];
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment