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 ce1eb1d3
authored
Dec 21, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
1 parent
a4b76b27
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
133 additions
and
5 deletions
src/api/index.js
src/components/graphGallery.vue
src/views/report-template-fabric/index.vue
src/views/total-archi-property-document/index.vue
vue.config.js
src/api/index.js
View file @
ce1eb1d
...
@@ -169,7 +169,7 @@ export function editJiShuZhengCeJieGouHuaTable(params) {
...
@@ -169,7 +169,7 @@ export function editJiShuZhengCeJieGouHuaTable(params) {
// 典型案例库管理-所有下拉值
// 典型案例库管理-所有下拉值
export
function
getDianXingAnLiSelectData
(
params
)
{
export
function
getDianXingAnLiSelectData
(
params
)
{
// return post('/shared/vi/dict/gDictByKey', params);
// return post('/shared/vi/dict/gDictByKey', params);
return
post
(
'/
network
/dict/gDictByKey'
,
params
);
return
post
(
'/
file
/dict/gDictByKey'
,
params
);
}
}
// 典型案例库管理-导出
// 典型案例库管理-导出
export
function
exportFileDianXingAnLiSelectData
(
params
)
{
export
function
exportFileDianXingAnLiSelectData
(
params
)
{
...
...
src/components/graphGallery.vue
0 → 100644
View file @
ce1eb1d
<
template
>
<div
class=
"graphGallery"
>
<div
class=
"version_container"
>
<div
class=
"version_content"
>
<div
class=
"line_title_container"
>
<div
class=
"title_container"
>
<el-divider
direction=
"vertical"
></el-divider>
<span>
已发布
</span>
</div>
<el-divider></el-divider>
</div>
<div
class=
"card_container"
>
<el-card
class=
"card_item"
v-for=
"item in yi_fa_bu"
:key=
"item.metaModelId"
>
<img
class=
"card_image"
:src=
"item.metaModelSvg_"
alt=
""
/>
<div
class=
"card_info"
>
<div
class=
"card_title"
>
<i
class=
"el-icon-location"
></i>
{{
item
.
verName
}}
{{
item
.
version
}}
</div>
<div
class=
"card_icon"
>
<i
class=
"el-icon-delete"
></i>
</div>
</div>
</el-card>
</div>
<div
class=
"line_title_container"
>
<div
class=
"title_container"
>
<el-divider
direction=
"vertical"
></el-divider>
<span>
暂存
</span>
</div>
<el-divider></el-divider>
</div>
<div
class=
"card_container"
>
<el-card
class=
"card_item"
v-for=
"item in zan_cun"
:key=
"item.metaModelId"
>
<img
class=
"card_image"
:src=
"item.metaModelSvg_"
alt=
""
/>
<div
class=
"card_info"
>
<div
class=
"card_title"
>
<i
class=
"el-icon-location"
></i>
{{
item
.
verName
}}
{{
item
.
version
}}
</div>
<div
class=
"card_icon"
>
<i
class=
"el-icon-delete"
></i>
</div>
</div>
</el-card>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:
{
yiFaBu
:
{
type
:
Array
,
default
:
()
=>
[]
},
zanCun
:
{
type
:
Array
,
default
:
()
=>
[]
},
},
data
()
{
return
{
yi_fa_bu
:
this
.
yiFaBu
,
zan_cun
:
this
.
zanCun
,
};
},
watch
:
{
},
mounted
(){
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.graphGallery
{
.version_container{
height
:
calc
(
100%
-
70px
);
overflow
:
auto
;
}
.version_content
{
height
:
1500px
;
.line_title_container{
.title_container{
display
:
flex
;
align-items
:
center
;
}
}
.card_container
{
margin-bottom
:
10px
;
overflow-x
:
hidden
;
display
:
flex
;
flex-wrap
:
wrap
;
.card_item{
display
:
inline-block
;
width
:
350px
;
height
:
240px
;
margin
:
15px
;
background-color
:
#F2FFFE
;
cursor
:
pointer
;
.card_image{
width
:
165px
;
height
:
127px
;
}
.card_info
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
margin
:
30px
0
0
0
;
.card_icon{
cursor
:
pointer
;
}
}
}
}
}
}
</
style
>
src/views/report-template-fabric/index.vue
View file @
ce1eb1d
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<!-- <input @change="fileUpload" type="file" /> -->
<!-- <input @change="fileUpload" type="file" /> -->
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
action=
"/api/
network
/oss/upload"
action=
"/api/
file
/oss/upload"
ref=
"upload"
ref=
"upload"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:on-success=
"handleFileUploadSuccess"
:on-success=
"handleFileUploadSuccess"
...
...
src/views/total-archi-property-document/index.vue
View file @
ce1eb1d
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
<!-- <input @change="fileUpload" type="file" /> -->
<!-- <input @change="fileUpload" type="file" /> -->
<el-upload
<el-upload
class=
"upload-demo"
class=
"upload-demo"
action=
"/api/
network
/oss/upload"
action=
"/api/
file
/oss/upload"
ref=
"upload"
ref=
"upload"
:on-remove=
"handleRemove"
:on-remove=
"handleRemove"
:on-success=
"handleFileUploadSuccess"
:on-success=
"handleFileUploadSuccess"
...
...
vue.config.js
View file @
ce1eb1d
...
@@ -5,14 +5,20 @@ module.exports = defineConfig({
...
@@ -5,14 +5,20 @@ module.exports = defineConfig({
// publicPath: "/",
// publicPath: "/",
devServer
:
{
devServer
:
{
proxy
:
{
proxy
:
{
'/api/
network
'
:
{
'/api/
file
'
:
{
target
:
'http://43.143.211.42:7005'
,
target
:
'http://43.143.211.42:7005'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
pathRewrite
:
{
'^/api/file'
:
''
},
},
'/api/network'
:
{
target
:
'http://192.168.148.129:7003'
,
changeOrigin
:
true
,
// secure: false,
pathRewrite
:
{
'^/api/network'
:
''
},
pathRewrite
:
{
'^/api/network'
:
''
},
},
},
'/api'
:
{
'/api'
:
{
target
:
'http://
43.143.211.42
:7004'
,
target
:
'http://
192.168.148.129
:7004'
,
changeOrigin
:
true
,
changeOrigin
:
true
,
// secure: false,
// secure: false,
pathRewrite
:
{
'^/api'
:
''
},
pathRewrite
:
{
'^/api'
:
''
},
...
...
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