Commit c16b5406 by Jianli Ou

个人中心问题处理

parent 6cc8d240
...@@ -376,8 +376,6 @@ export default { ...@@ -376,8 +376,6 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.container2{ .container2{
.content{ .content{
@include module-box; @include module-box;
margin-top: 14px; margin-top: 14px;
...@@ -475,6 +473,9 @@ export default { ...@@ -475,6 +473,9 @@ export default {
} }
} }
} }
/deep/.el-input.is-disabled .el-input__inner {
color: #000 !important;
}
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
@media (max-width: 768px) { @media (max-width: 768px) {
......
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
const params = {userType: this.loginInfo.userType, id: this.loginInfo.id} const params = {userType: this.loginInfo.userType, id: this.loginInfo.id}
const result = await this.$api.myManage.redirectYWDT(params) const result = await this.$api.myManage.redirectYWDT(params)
if (result.success) { if (result.success) {
window.open(result.data, '_black') // window.open(result.data, '_black')
} else { } else {
this.$message.error(result.returnMsg) this.$message.error(result.returnMsg)
} }
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
const params = {userType: this.loginInfo.userType, id: this.loginInfo.id, carno: this.loginInfo.carno} const params = {userType: this.loginInfo.userType, id: this.loginInfo.id, carno: this.loginInfo.carno}
const result = await this.$api.myManage.redirectGDS(params) const result = await this.$api.myManage.redirectGDS(params)
if (result.success) { if (result.success) {
window.open(result.data, '_black') // window.open(result.data, '_black')
} else { } else {
this.$message.error(result.returnMsg) this.$message.error(result.returnMsg)
} }
...@@ -179,7 +179,7 @@ export default { ...@@ -179,7 +179,7 @@ export default {
async redirectGLN() { async redirectGLN() {
const result = await this.$api.myManage.redirectGLN() const result = await this.$api.myManage.redirectGLN()
if (result.success) { if (result.success) {
window.open(result.data, '_black') // window.open(result.data, '_black')
} else { } else {
this.$message.error(result.returnMsg) this.$message.error(result.returnMsg)
} }
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
this.$message.success('上传成功') this.$message.success('上传成功')
await this.getTycpdmFirmInfo() await this.getTycpdmFirmInfo()
} else { } else {
this.$message.error('上传失败') this.$message.error(result.returnMsg)
} }
this.uploading = false this.uploading = false
}, },
......
...@@ -484,7 +484,7 @@ export default { ...@@ -484,7 +484,7 @@ export default {
this.$message.success('上传成功') this.$message.success('上传成功')
this.form.firmBusinessLicenseFile = result.data this.form.firmBusinessLicenseFile = result.data
} else { } else {
this.$message.error('上传失败') this.$message.error(result.returnMsg)
} }
this.uploading = false this.uploading = false
}, },
......
...@@ -249,7 +249,7 @@ export default { ...@@ -249,7 +249,7 @@ export default {
if (this.loginInfo.isXT === 1 && !this.loginInfo.carno) { // 未申请条码卡的系统成员没有商品条码在线注册菜单 if (this.loginInfo.isXT === 1 && !this.loginInfo.carno) { // 未申请条码卡的系统成员没有商品条码在线注册菜单
this.routerList[1].children = this.routerList[1].children.filter(item => item.name !== '商品条码在线注册') this.routerList[1].children = this.routerList[1].children.filter(item => item.name !== '商品条码在线注册')
} }
if (this.loginInfo.userType === 1) { // 手机号登陆用户不能有修改手机号菜单 if (this.loginInfo.userType === 1 || this.loginInfo.userType === 2) { // 手机号登陆和条码可登陆用户不能有修改手机号菜单
this.routerList[2].children = this.routerList[2].children.filter(item => item.name !== '修改手机号码') this.routerList[2].children = this.routerList[2].children.filter(item => item.name !== '修改手机号码')
} }
this.routerList[0].link = '/MyManage/SystemMember/index' this.routerList[0].link = '/MyManage/SystemMember/index'
...@@ -268,6 +268,16 @@ export default { ...@@ -268,6 +268,16 @@ export default {
alert: () => {window.alert('系统成员请联系所属分支机构办理企业信息变更!')} alert: () => {window.alert('系统成员请联系所属分支机构办理企业信息变更!')}
}) })
} }
if (this.loginInfo.userType === 2) { // 条码卡登陆用户,修改登录密码给出提示
this.routerList[2].children.some(item => {
const isReturn = item.name === '修改登录密码'
if (isReturn) {
item.link = ''
item.alert = () => {window.alert('系统成员请前往中国商品信息服务平台修改条码卡密码。')}
}
return isReturn
})
}
// 由于屏蔽了检测校准申请,所以未申请条码卡的系统成员的业务管理模块没有任何菜单(去除业务管理,二期开始开发后注销掉下方处理代码即可) // 由于屏蔽了检测校准申请,所以未申请条码卡的系统成员的业务管理模块没有任何菜单(去除业务管理,二期开始开发后注销掉下方处理代码即可)
if (this.loginInfo.isXT === 1 && !this.loginInfo.carno) { // 未申请条码卡的系统成员没有商品条码在线注册菜单 if (this.loginInfo.isXT === 1 && !this.loginInfo.carno) { // 未申请条码卡的系统成员没有商品条码在线注册菜单
this.routerList = this.routerList.filter(item => item.name !== '业务管理') this.routerList = this.routerList.filter(item => item.name !== '业务管理')
......
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