src/menu/debug/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/utils-custom.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/utils/utils.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/menu/debug/index.jsx
@@ -292,6 +292,8 @@ components.forEach(item => { if (item.type === 'tabs') { item.subtabs.forEach(tab => { if (tab.hide === 'true') return let _mainSearch = mainSearch || [] if (appType !== 'mob') { src/utils/utils-custom.js
@@ -4127,11 +4127,11 @@ begin /* 工作流默认sql(或签) */ set @retmsg ='' select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and userid =@userid@ select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and userid =@userid@ and works_flow_detail_id =@works_flow_detail_id@ if @retmsg ='' begin select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and userid=@userid@ select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and userid=@userid@ and works_flow_detail_id =@works_flow_detail_id@ if @retmsg !='' begin @@ -4141,18 +4141,31 @@ if @dataM@ !='' begin set @retmsg ='' select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 set @retmsg ='' select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and works_flow_detail_id =@works_flow_detail_id@ if @retmsg != '' if @retmsg != '' begin goto goto_mk end end else begin set @retmsg ='' select @retmsg=userid from s_my_works_flow_role where works_flow_id=@id@ and works_flow_code=@works_flow_code@ and deleted=0 and works_flow_detail_id =@works_flow_detail_id@ if @retmsg !='' begin goto goto_mk select @retmsg=workerCode+workerName from BD_workers where id=@retmsg select @retmsg='页面数据已更新,或没有当前单据的审批权限,请联系'+@retmsg+'操作' goto aaa end end select @retmsg='页面数据已更新,或没有当前单据的审批权限' goto aaa end end goto_mk: src/utils/utils.js
@@ -2728,32 +2728,45 @@ _sql += ` /* 工作流默认sql */ set @retmsg ='' select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and userid =@userid@ select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and userid =@userid@ and works_flow_detail_id =@works_flow_detail_id@ if @retmsg ='' begin select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and userid=@userid@ select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and userid=@userid@ and works_flow_detail_id =@works_flow_detail_id@ if @retmsg !='' begin select @ErrorCode='E', @retmsg='当前单据已审核,请刷新后重试' goto aaa goto aaa end if @dataM@ !='' begin set @retmsg ='' select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 select @retmsg='X' from s_my_works_flow_role where works_flow_id=@ID@ and works_flow_code=@works_flow_code@ and deleted=0 and works_flow_detail_id =@works_flow_detail_id@ if @retmsg != '' begin goto goto_mk end end else begin set @retmsg ='' select @retmsg=userid from s_my_works_flow_role where works_flow_id=@id@ and works_flow_code=@works_flow_code@ and deleted=0 and works_flow_detail_id =@works_flow_detail_id@ if @retmsg !='' begin select @retmsg=workerCode+workerName from BD_workers where id=@retmsg select @retmsg='页面数据已更新,或没有当前单据的审批权限,请联系'+@retmsg+'操作' goto aaa end end select @retmsg='页面数据已更新,或没有当前单据的审批权限' goto aaa end goto aaa end goto_mk: