Commit 37ed75d3 authored by renjintao's avatar renjintao

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

parent ad10f5aa
<template> <template>
<div> <div>
<span v-if="type=='date'">{{value.substr(0,10)}}</span> <span v-if="type=='date'">{{(value&&value.length>10)?value.substr(0,10):value}}</span>
<span v-else>{{value.substr(0,19)}}</span> <span v-else>{{(value&&value.length>19)?value.substr(0,19):value}}</span>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
name: 'dtSpan', name: 'dtSpan',
data() { data() {
return { return {}
}
},
props: {
type: {
type: String,
default: 'dateTime'
}, },
value: { props: {
type: String, type: {
default: '2001-01-01 00:00:00' type: String,
default: 'dateTime'
},
value: {
type: String,
default: '2001-01-01 00:00:00'
},
}, },
}, created() {},
created() {}, methods: {},
methods: { computed: {},
}, watch: {}
computed: {},
watch: {}
} }
</script> </script>
\ No newline at end of file
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
}, },
//10010重置密码 //10010重置密码
authResetpassword(params) { authResetpassword(params) {
return Api.post(`${authUrl}/api/services/app/useraccount/resetpassword`, params); return Api.post(`${UserUrl}/api/services/app/account/resetpassword`, params);
}, },
//10010修改密码 //10010修改密码
authChangepassword(params) { authChangepassword(params) {
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
}, },
//10010修改密码 //10010修改密码
authChangepassword(params) { authChangepassword(params) {
return Api.post(`${authUrl}/api/services/app/useraccount/changepassword`, params); return Api.post(`${UserUrl}/api/services/app/account/changepassword`, params);
}, },
//在10020上更新用户AccountId信息 //在10020上更新用户AccountId信息
updateAccount(params) { updateAccount(params) {
......
...@@ -10,7 +10,8 @@ let address=systemApi.dev; ...@@ -10,7 +10,8 @@ let address=systemApi.dev;
//let address=systemApi.local; //let address=systemApi.local;
window.systemUrl = `http://${address}:10000/system`; //System-api 系统管理(基础数据) 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.designUrl = `http://${address}:10000/process`; // 工艺规程
window.PlanUrl = `http://${address}:10000/plan`; //订单 window.PlanUrl = `http://${address}:10000/plan`; //订单
window.bugUrl = `http://${address}:10000/bug`; //bug 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