Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4154bc2d
authored
Jul 24, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改协议内容
parent
352eac48
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/store/modules/user.js
+2
-0
src/views/console/components/token.vue
+5
-3
No files found.
src/store/modules/user.js
View file @
4154bc2d
...
@@ -9,6 +9,7 @@ const useUserStore = defineStore(
...
@@ -9,6 +9,7 @@ const useUserStore = defineStore(
token
:
getToken
(),
token
:
getToken
(),
id
:
''
,
id
:
''
,
name
:
''
,
name
:
''
,
mobile
:
''
,
avatar
:
''
,
avatar
:
''
,
roles
:
[],
roles
:
[],
permissions
:
[]
permissions
:
[]
...
@@ -58,6 +59,7 @@ const useUserStore = defineStore(
...
@@ -58,6 +59,7 @@ const useUserStore = defineStore(
}*/
}*/
this
.
id
=
user
.
id
;
this
.
id
=
user
.
id
;
this
.
name
=
user
.
nickname
;
this
.
name
=
user
.
nickname
;
this
.
mobile
=
user
.
mobile
||
""
;
this
.
avatar
=
avatar
;
this
.
avatar
=
avatar
;
localStorage
.
setItem
(
'avatar'
,
this
.
avatar
);
localStorage
.
setItem
(
'avatar'
,
this
.
avatar
);
resolve
(
res
)
resolve
(
res
)
...
...
src/views/console/components/token.vue
View file @
4154bc2d
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<div
class=
"safety-text"
>
<div
class=
"safety-text"
>
<p>
本协议由以下双方于充值确认之日签署:
</p>
<p>
本协议由以下双方于充值确认之日签署:
</p>
<p>
甲方:
{{
userNickname
}}
</p>
<p>
甲方:
{{
userNickname
}}
</p>
<p>
乙方:
面向科创园区的普惠算力公共服务平台
</p>
<p>
乙方:
湖南大科城博士科技有限公司(面向科创园区的普惠算力公共服务平台委托运营主体)
</p>
<p>
欢迎您使用面向科创园区的普惠算力公共服务平台(以下简称"普惠平台")算力服务。请您在注册、充值或使用本平台服务前,仔细阅读本《面向科创园区的普惠算力公共服务平台服务协议》(以下简称"本协议")的全部内容。您点击"同意"或实际使用本平台服务,即视为您已充分阅读、理解并接受本协议的全部条款,本协议即构成对双方具有法律约束力的文件。
</p>
<p>
欢迎您使用面向科创园区的普惠算力公共服务平台(以下简称"普惠平台")算力服务。请您在注册、充值或使用本平台服务前,仔细阅读本《面向科创园区的普惠算力公共服务平台服务协议》(以下简称"本协议")的全部内容。您点击"同意"或实际使用本平台服务,即视为您已充分阅读、理解并接受本协议的全部条款,本协议即构成对双方具有法律约束力的文件。
</p>
<p>
甲乙双方本着平等自愿、诚实信用的原则,就甲方向乙方采购普惠平台相关服务事宜,经友好协商,达成如下协议,以资共同遵守。
</p>
<p>
甲乙双方本着平等自愿、诚实信用的原则,就甲方向乙方采购普惠平台相关服务事宜,经友好协商,达成如下协议,以资共同遵守。
</p>
<p><strong>
第一条 定义与解释
</strong></p>
<p><strong>
第一条 定义与解释
</strong></p>
...
@@ -190,8 +190,10 @@ import useUserStore from "@/store/modules/user";
...
@@ -190,8 +190,10 @@ import useUserStore from "@/store/modules/user";
const
{
proxy
}
=
getCurrentInstance
();
const
{
proxy
}
=
getCurrentInstance
();
const
userStore
=
useUserStore
();
const
userStore
=
useUserStore
();
// 当前用户昵称(甲方),响应式取自 Pinia store
// 甲方显示优先级:手机号 > 昵称,响应式取自 Pinia store
const
userNickname
=
computed
(()
=>
userStore
.
name
||
""
);
const
userNickname
=
computed
(()
=>
{
return
userStore
.
mobile
||
userStore
.
name
||
""
;
});
const
loading
=
ref
(
false
);
const
loading
=
ref
(
false
);
const
hasToken
=
ref
(
false
);
const
hasToken
=
ref
(
false
);
...
...
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