File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
system-resource-management Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ const { theme } = useStore()
157157const router = useRouter ()
158158const route = useRoute ()
159159const {
160- params : { id },
160+ params : { id, from },
161161} = route as any
162162const apiType = computed (() => {
163163 if (route .path .includes (' resource-management' )) {
@@ -479,7 +479,7 @@ const get_route = () => {
479479 ' OR' ,
480480 )
481481 ) {
482- return ` /application/${id }/WORK_FLOW/overview `
482+ return ` /application/${from }/${ id }/WORK_FLOW/overview `
483483 } else if (
484484 hasPermission (
485485 [
@@ -505,7 +505,7 @@ const get_route = () => {
505505 ' OR' ,
506506 )
507507 ) {
508- return ` /application/${id }/WORK_FLOW/access `
508+ return ` /application/${from }/${ id }/WORK_FLOW/access `
509509 } else if (
510510 hasPermission (
511511 [
@@ -535,7 +535,7 @@ const get_route = () => {
535535 ' OR' ,
536536 )
537537 ) {
538- return ` /application/${id }/WORK_FLOW/chat-user `
538+ return ` /application/${from }/${ id }/WORK_FLOW/chat-user `
539539 } else if (
540540 hasPermission (
541541 [
@@ -551,7 +551,7 @@ const get_route = () => {
551551 ' OR' ,
552552 )
553553 ) {
554- return ` /application/${id }/WORK_FLOW/chat-log `
554+ return ` /application/${from }/${ id }/WORK_FLOW/chat-log `
555555 } else return ` /application `
556556}
557557
Original file line number Diff line number Diff line change 1313 :rules =" rules"
1414 label-position =" top"
1515 require-asterisk-position =" right"
16+ @submit.prevent
1617 >
1718 <el-form-item :label =" $t('views.application.form.appName.label')" prop =" name" >
1819 <el-input
Original file line number Diff line number Diff line change 6666 </el-table-column >
6767 <el-table-column
6868 prop =" provider"
69- :label =" $t('views.system.resource_management.type ')"
69+ :label =" $t('views.model.provider ')"
7070 show-overflow-tooltip
7171 width =" 150"
7272 >
You can’t perform that action at this time.
0 commit comments