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 4e0b6e12
authored
Dec 06, 2023
by
liuyong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.97.176.204:19000/wangwansu/iact_jiagou_drowio
2 parents
89ac89a8
3e295760
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
28 deletions
src/utils/request.js
src/views/JiaGouYMXZD/index.vue
src/views/Main/index.vue
src/utils/request.js
deleted
100644 → 0
View file @
89ac89a
import
jwt
from
'jsonwebtoken'
;
// 假设你已经安装了 jsonwebtoken 包
const
cfgSignatureSecret
=
'IQJIKLFoQLZUWmGpD1A7ynv30u6N3K'
;
// 应该从环境变量或配置文件中获取
const
cfgSignatureSecretExpiresIn
=
'1h'
;
// 令牌过期时间
const
cfgSignatureSecretAlgorithmRequest
=
'HS256'
;
// 算法
export
const
jwtService
=
{
getToken
(
data
)
{
const
options
=
{
algorithm
:
cfgSignatureSecretAlgorithmRequest
,
expiresIn
:
cfgSignatureSecretExpiresIn
,
};
return
jwt
.
sign
(
data
,
cfgSignatureSecret
,
options
);
},
};
\ No newline at end of file
src/views/JiaGouYMXZD/index.vue
View file @
4e0b6e1
...
...
@@ -38,30 +38,29 @@
</div>
</div>
<div
class=
"search_btn"
>
<div
class=
"add_btn"
@
click=
"add_dialog = true"
>
<
!--
<
div
class=
"add_btn"
@
click=
"add_dialog = true"
>
<img
class=
"btn_icon"
src=
"@/assets/新建icon.png"
alt=
""
/>
<p>
新建
</p>
</div>
<div
class=
"version_btn"
>
<img
class=
"btn_icon"
src=
"@/assets/版本发布icon.png"
alt=
""
/>
<p>
版本发布
</p>
</div>
</div>
-->
</div>
<el-table
:data=
"tableData"
stripe
border
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let1"
label=
"元素关系名称"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let2"
label=
"对象1"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let7"
label=
"对象1"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let3"
label=
"适用范围"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let4"
label=
"关系描述"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
label=
"图标"
align=
"center"
>
<el-table-column
prop=
"let1"
label=
"字典名称"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let2"
label=
"架构层次"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let3"
label=
"架构归属"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let4"
label=
"描述"
width=
"180"
align=
"center"
></el-table-column>
<!--
<el-table-column
label=
"图标"
align=
"center"
>
<template>
<el-button
type=
"text"
style=
"color: #0D867F;"
>
预览
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"let5"
label=
"
版本"
width=
"180
"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let6"
label=
"状态"
align=
"center"
></el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"let5"
label=
"
字典版本号
"
align=
"center"
></el-table-column>
<el-table-column
prop=
"let6"
label=
"
字典版本
状态"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
width=
"360"
align=
"center"
>
<
template
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
...
...
src/views/Main/index.vue
View file @
4e0b6e1
...
...
@@ -52,7 +52,7 @@
<img
src=
"@/assets/三级圆环.png"
alt=
""
>
<span
style=
"margin-left: 5px;"
>
元模型管理
</span>
</div>
<div
class=
"menu_1_item_subtitle"
@
click=
"jumpPage('架构视图配置')"
>
<div
class=
"menu_1_item_subtitle"
@
click=
"jumpPage('
总体架构资产设计与维护', '架构元模型管理', '
架构视图配置')"
>
<img
src=
"@/assets/三级圆环.png"
alt=
""
>
<span
style=
"margin-left: 5px;"
>
架构视图配置
</span>
</div>
...
...
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