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 0ca9f617
authored
Dec 06, 2023
by
Thews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20231206汪皖苏
1 parent
dff5a79e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
27 deletions
src/utils/request.js
src/views/JiaGouYMXZD/index.vue
src/utils/request.js
deleted
100644 → 0
View file @
dff5a79
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 @
0ca9f61
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"search_btn"
>
<
!--
<
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=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/新建icon.png"
alt=
""
/>
<p>
新建
</p>
<p>
新建
</p>
...
@@ -46,22 +46,21 @@
...
@@ -46,22 +46,21 @@
<img
class=
"btn_icon"
src=
"@/assets/版本发布icon.png"
alt=
""
/>
<img
class=
"btn_icon"
src=
"@/assets/版本发布icon.png"
alt=
""
/>
<p>
版本发布
</p>
<p>
版本发布
</p>
</div>
</div>
</div>
</div>
-->
<el-table
:data=
"tableData"
stripe
border
>
<el-table
:data=
"tableData"
stripe
border
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<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
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=
"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=
"let2"
label=
"架构层次"
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=
"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
prop=
"let4"
label=
"关系描述"
width=
"180"
align=
"center"
></el-table-column>
<!--
<el-table-column
label=
"图标"
align=
"center"
>
<el-table-column
label=
"图标"
align=
"center"
>
<template>
<template>
<el-button
type=
"text"
style=
"color: #0D867F;"
>
预览
</el-button>
<el-button
type=
"text"
style=
"color: #0D867F;"
>
预览
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"let5"
label=
"
版本"
width=
"180
"
align=
"center"
></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
prop=
"let6"
label=
"
字典版本
状态"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
width=
"360"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"360"
align=
"center"
>
<
template
>
<
template
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
<div
style=
"display: flex;align-items: center;justify-content: center;"
>
...
...
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