Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
37ff948c
Commit
37ff948c
authored
May 23, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加router name
parent
4265be38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
21 deletions
+17
-21
src/router/index.js
+1
-1
src/views/system/erpManagementList.vue
+16
-20
No files found.
src/router/index.js
View file @
37ff948c
...
@@ -76,7 +76,7 @@ const routes = [
...
@@ -76,7 +76,7 @@ const routes = [
path
:
'/saas/services'
,
path
:
'/saas/services'
,
component
:
()
=>
import
(
'@/views/system/services.vue'
),
component
:
()
=>
import
(
'@/views/system/services.vue'
),
name
:
'system_services'
,
name
:
'system_services'
,
meta
:
{
title
:
'服务管理'
,
keepAlive
:
false
}
meta
:
{
title
:
'服务管理'
}
},
},
{
{
path
:
'/saas/erpManagementList'
,
path
:
'/saas/erpManagementList'
,
...
...
src/views/system/erpManagementList.vue
View file @
37ff948c
<
template
>
<
template
>
<div
class=
"wraper"
>
<div
class=
"wraper"
>
<CustomForm
:formConfig=
"queryformConfig"
v-model=
"queryFormData"
form-label-width=
"70px"
:is-custom-button=
"false"
:isFlex=
"false"
>
<template
slot=
"btn"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"search"
>
查询
</el-button>
</
template
>
</CustomForm>
<div
class=
"table_wrap"
v-loading=
"loading"
>
<div
class=
"table_wrap"
v-loading=
"loading"
>
<table-vue
<table-vue
:sourceData=
"sourceData"
:sourceData=
"sourceData"
...
@@ -22,14 +34,15 @@
...
@@ -22,14 +34,15 @@
</template>
</template>
<
script
>
<
script
>
import
axios
from
'../../common/api/axios'
import
axios
from
'../../common/api/axios'
//
import CustomForm from '@/common/components/base/CustomForm.vue'
import
CustomForm
from
'@/common/components/base/CustomForm.vue'
import
{
mapState
}
from
'vuex'
import
{
mapState
}
from
'vuex'
import
tableVue
from
'@/common/components/base/tableView.vue'
import
tableVue
from
'@/common/components/base/tableView.vue'
export
default
{
export
default
{
name
:
'erpManagementList'
,
name
:
'erpManagementList'
,
components
:
{
components
:
{
tableVue
tableVue
,
CustomForm
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -46,24 +59,6 @@ export default {
...
@@ -46,24 +59,6 @@ export default {
type
:
'select'
,
type
:
'select'
,
name
:
'名称'
,
name
:
'名称'
,
options
:
[]
options
:
[]
},
{
prop
:
'type'
,
type
:
'select'
,
name
:
'服务类型'
,
options
:
[
{
label
:
'基础'
,
value
:
'basics'
},
{
label
:
'增值'
,
value
:
'appreciation'
}
]
},
{
prop
:
'enable'
,
type
:
'select'
,
name
:
'状态'
,
options
:
[
{
label
:
'启用'
,
value
:
true
},
{
label
:
'停用'
,
value
:
false
}
]
}
}
],
],
...
@@ -338,6 +333,7 @@ export default {
...
@@ -338,6 +333,7 @@ export default {
{
label
:
item
.
label
,
type
:
item
.
type
,
value
:
item
.
value
}
{
label
:
item
.
label
,
type
:
item
.
type
,
value
:
item
.
value
}
])
])
)
)
this
.
queryformConfig
[
0
].
options
=
[...
newData
]
console
.
log
(
509
,
this
.
serviceNameList
)
console
.
log
(
509
,
this
.
serviceNameList
)
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
error
)
console
.
log
(
error
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment