Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
37ed75d3
Commit
37ed75d3
authored
Sep 18, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dtspan 重置密码 修改密码 config...
parent
ad10f5aa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
26 deletions
+26
-26
dtSpan.vue
components/page/dtSpan.vue
+22
-23
api.js
pages/basicData/user/api.js
+1
-1
api.js
pages/basicData/userManagent/api.js
+1
-1
config.js
static/config.js
+2
-1
No files found.
components/page/dtSpan.vue
View file @
37ed75d3
<
template
>
<div>
<span
v-if=
"type=='date'"
>
{{
value
.
substr
(
0
,
10
)
}}
</span>
<span
v-else
>
{{
value
.
substr
(
0
,
19
)
}}
</span>
</div>
<div>
<span
v-if=
"type=='date'"
>
{{
(
value
&&
value
.
length
>
10
)?
value
.
substr
(
0
,
10
):
value
}}
</span>
<span
v-else
>
{{
(
value
&&
value
.
length
>
19
)?
value
.
substr
(
0
,
19
):
value
}}
</span>
</div>
</
template
>
<
script
>
export
default
{
name
:
'dtSpan'
,
data
()
{
return
{
}
},
props
:
{
type
:
{
type
:
String
,
default
:
'dateTime'
name
:
'dtSpan'
,
data
()
{
return
{}
},
value
:
{
type
:
String
,
default
:
'2001-01-01 00:00:00'
props
:
{
type
:
{
type
:
String
,
default
:
'dateTime'
},
value
:
{
type
:
String
,
default
:
'2001-01-01 00:00:00'
},
},
},
created
()
{},
methods
:
{
},
computed
:
{},
watch
:
{}
created
()
{},
methods
:
{},
computed
:
{},
watch
:
{}
}
</
script
>
\ No newline at end of file
</
script
>
pages/basicData/user/api.js
View file @
37ed75d3
...
...
@@ -33,7 +33,7 @@ export default {
},
//10010重置密码
authResetpassword
(
params
)
{
return
Api
.
post
(
`
${
authUrl
}
/api/services/app/user
account/resetpassword`
,
params
);
return
Api
.
post
(
`
${
UserUrl
}
/api/services/app/
account/resetpassword`
,
params
);
},
//10010修改密码
authChangepassword
(
params
)
{
...
...
pages/basicData/userManagent/api.js
View file @
37ed75d3
...
...
@@ -36,7 +36,7 @@ export default {
},
//10010修改密码
authChangepassword
(
params
)
{
return
Api
.
post
(
`
${
authUrl
}
/api/services/app/user
account/changepassword`
,
params
);
return
Api
.
post
(
`
${
UserUrl
}
/api/services/app/
account/changepassword`
,
params
);
},
//在10020上更新用户AccountId信息
updateAccount
(
params
)
{
...
...
static/config.js
View file @
37ed75d3
...
...
@@ -10,7 +10,8 @@ let address=systemApi.dev;
//let address=systemApi.local;
window
.
systemUrl
=
`http://
${
address
}
:10000/system`
;
//System-api 系统管理(基础数据)
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
authUrl
=
`http://
${
address
}
:10010`
;
//Authentication-api //统一登陆认证
window
.
UserUrl
=
`http://
${
address
}
:10130`
;
//Authentication-api //用户信息 密码修改。重置等
window
.
designUrl
=
`http://
${
address
}
:10000/process`
;
// 工艺规程
window
.
PlanUrl
=
`http://
${
address
}
:10000/plan`
;
//订单
window
.
bugUrl
=
`http://
${
address
}
:10000/bug`
;
//bug
...
...
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