File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 44 v-if =" !$route.query.noHeader"
55 @clear-session =" clearSession"
66 ref =" layoutHeader" ></layout-header >
7- < notice api-path = " /dss/framework/workspace/getNotice " />
7+
88 <router-view />
99 <layout-footer ref =" layoutFooter" v-if =" !$route.query.noFooter" />
1010 <newGuidance v-if =" $route.path === '/workspaceHome'" ref =" newGuidance" />
1313<script >
1414import headerModule from ' ../module/header' ;
1515import footerModule from ' ../module/footer' ;
16- import notice from ' @dataspherestudio/shared/components/notice' ;
1716import newComerGuidanceModule from ' ../module/newGuidance'
1817import layoutMixin from ' @dataspherestudio/shared/common/service/layoutMixin.js' ;
1918
@@ -22,7 +21,6 @@ export default {
2221 layoutFooter: footerModule .component ,
2322 layoutHeader: headerModule .component ,
2423 newGuidance: newComerGuidanceModule .component ,
25- notice
2624 },
2725 data () {
2826 return {
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ export const useData = () => {
99 if ( ! params . orchestratorId ) {
1010 return [ ] ;
1111 }
12- await api . fetch ( `${ apiPre } getWrokflowDefaultTemplates` , params , 'get' ) . then ( res => {
13- templateObjectArray = res . wrokflowDefaultTemplates || [ ]
14- } )
12+
1513 templateIdArray = templateObjectArray . map ( ( item ) => {
1614 return item . templateId
1715 } )
@@ -36,4 +34,4 @@ export const useData = () => {
3634 getTemplateDatas,
3735 getTemplateByOrchestratorId,
3836 }
39- }
37+ }
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ export default {
464464 createProject () {
465465 this .actionType = " add" ;
466466 this .currentProjectData = {
467- devProcessPermission: this .currentProjectData .devProcessPermission ,
467+ devProcessPermission: this .currentProjectData .devProcessList ,
468468 name: " " ,
469469 description: " " ,
470470 business: " " ,
@@ -506,7 +506,7 @@ export default {
506506 getSelectDevProcess () {
507507 this .selectDevprocess = this .devProcessBase
508508 ? this .devProcessBase .filter ((item ) =>
509- (this .currentProjectData .devProcessPermission || []).includes (item .dicValue )
509+ (this .currentProjectData .devProcessList || []).includes (item .dicValue )
510510 )
511511 : [];
512512 // 切换项目,若项目没有对应模式,自动切换第一个
@@ -630,7 +630,7 @@ export default {
630630 this .reFreshTreeData ({id: target .id , name: target .name }, flows)
631631 this .tabList = this .tabList .filter (item => {
632632 return item .query .orchestratorId !== orchestratorId
633- })
633+ })
634634 })
635635 },
636636 openFlowNode (evt , item , code ) {
@@ -673,7 +673,7 @@ export default {
673673 }
674674 }
675675 });
676- }
676+ }
677677 },
678678 handleTreeModal (project ) {
679679 this .treeModalShow = true ;
You can’t perform that action at this time.
0 commit comments