Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit df448725
authored
Apr 28, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 企业中台服务清单
1 parent
08eef855
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
src/views/comCenterServeListNew/components/serviceList.vue
src/views/comCenterServeListNew/options.js
src/views/comCenterServeListNew/components/serviceList.vue
View file @
df44872
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
serverTypeOptions
,
abilitySourceOptions
,
midGroundNameOptions
,
midGroundTypeOptions
}
from
'../options.js'
import
{
s
tateOptions
,
s
erverTypeOptions
,
abilitySourceOptions
,
midGroundNameOptions
,
midGroundTypeOptions
}
from
'../options.js'
import
{
getServiceList
}
from
'@/api/comCenterServeListNew'
import
{
getServiceList
}
from
'@/api/comCenterServeListNew'
import
EditService
from
'./editService.vue'
import
EditService
from
'./editService.vue'
import
ETable
from
"@/newComponents/ETable/index.vue"
;
import
ETable
from
"@/newComponents/ETable/index.vue"
;
...
@@ -221,7 +221,6 @@ export default {
...
@@ -221,7 +221,6 @@ export default {
showOverflowTooltip
:
true
,
showOverflowTooltip
:
true
,
align
:
"center"
,
align
:
"center"
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
console
.
log
(
'midGroundNameOptions'
,
midGroundNameOptions
)
return
h
(
"span"
,
{},
params
.
midGroundType
?
midGroundNameOptions
[
params
.
midGroundType
-
1
].
label
:
'--'
);
return
h
(
"span"
,
{},
params
.
midGroundType
?
midGroundNameOptions
[
params
.
midGroundType
-
1
].
label
:
'--'
);
},
},
},
},
...
@@ -304,6 +303,9 @@ export default {
...
@@ -304,6 +303,9 @@ export default {
minWidth
:
120
,
minWidth
:
120
,
showOverflowTooltip
:
true
,
showOverflowTooltip
:
true
,
align
:
"center"
,
align
:
"center"
,
render
:
(
h
,
params
)
=>
{
return
h
(
"span"
,
{},
params
.
state
===
0
?
stateOptions
[
0
].
label
:
params
.
state
>
0
?
stateOptions
[
params
.
state
].
label
:
'--'
);
},
},
},
// {
// {
// label: "操作",
// label: "操作",
...
...
src/views/comCenterServeListNew/options.js
View file @
df44872
...
@@ -96,3 +96,17 @@ export const midGroundTypeOptions = [
...
@@ -96,3 +96,17 @@ export const midGroundTypeOptions = [
value
:
"技术中台"
,
value
:
"技术中台"
,
},
},
];
];
export
const
stateOptions
=
[
{
label
:
"已停用"
,
value
:
0
,
},
{
label
:
"已发布"
,
value
:
1
,
},
{
label
:
"暂存"
,
value
:
2
,
},
];
Write
Preview
Markdown
is supported
Attach a file
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 post a comment