31778edc by lihua

fix:空间审批问题解决

1 parent 7a70da24
......@@ -140,7 +140,7 @@ const newCreate = () => {
const handleDataClick = (item) => {
let approveState = item.bizApproveState;
if (approveState == 'A' || approveState == 'Y') { //通过或审批中,点进去是详情
if (approveState == 'A' || (approveState == 'Y' && item.isChangeData == 'Y')) { //审批中,点进去是详情;审批通过的也可以修改吧
router.push({
name: 'productSpaceDetail',
query: {
......@@ -151,7 +151,7 @@ const handleDataClick = (item) => {
return;
}
const staffGuid = item.createUserId || '';
let currentStaffGuid = userData.tenantGuid;
let currentStaffGuid = userData.userGuid;
// 如果是驳回等状态,是自己创建的可以编辑。
if ((approveState == 'C' || approveState == 'E' || approveState == 'R')) {
router.push({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!