86011a5c by lihua

fix:空间审批问题解决

1 parent 2bacf78a
...@@ -140,7 +140,7 @@ const newCreate = () => { ...@@ -140,7 +140,7 @@ const newCreate = () => {
140 140
141 const handleDataClick = (item) => { 141 const handleDataClick = (item) => {
142 let approveState = item.bizApproveState; 142 let approveState = item.bizApproveState;
143 if (approveState == 'A' || approveState == 'Y') { //通过或审批中,点进去是详情 143 if (approveState == 'A' || (approveState == 'Y' && item.isChangeData == 'Y')) { //审批中,点进去是详情;审批通过的也可以修改吧
144 router.push({ 144 router.push({
145 name: 'productSpaceDetail', 145 name: 'productSpaceDetail',
146 query: { 146 query: {
...@@ -151,7 +151,7 @@ const handleDataClick = (item) => { ...@@ -151,7 +151,7 @@ const handleDataClick = (item) => {
151 return; 151 return;
152 } 152 }
153 const staffGuid = item.createUserId || ''; 153 const staffGuid = item.createUserId || '';
154 let currentStaffGuid = userData.tenantGuid; 154 let currentStaffGuid = userData.userGuid;
155 // 如果是驳回等状态,是自己创建的可以编辑。 155 // 如果是驳回等状态,是自己创建的可以编辑。
156 if ((approveState == 'C' || approveState == 'E' || approveState == 'R')) { 156 if ((approveState == 'C' || approveState == 'E' || approveState == 'R')) {
157 router.push({ 157 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!