Commit 37ed75d3 authored by renjintao's avatar renjintao

dtspan 重置密码 修改密码 config...

parent ad10f5aa
<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>
......@@ -33,7 +33,7 @@ export default {
},
//10010重置密码
authResetpassword(params) {
return Api.post(`${authUrl}/api/services/app/useraccount/resetpassword`, params);
return Api.post(`${UserUrl}/api/services/app/account/resetpassword`, params);
},
//10010修改密码
authChangepassword(params) {
......
......@@ -36,7 +36,7 @@ export default {
},
//10010修改密码
authChangepassword(params) {
return Api.post(`${authUrl}/api/services/app/useraccount/changepassword`, params);
return Api.post(`${UserUrl}/api/services/app/account/changepassword`, params);
},
//在10020上更新用户AccountId信息
updateAccount(params) {
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment