mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 20:16:44 +08:00
【银保app】原生方法逻辑修改 个人信息字段赋值
This commit is contained in:
@@ -27,14 +27,8 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
window['getMessage'] = (data) => {
|
|
||||||
this.getMessage(data)
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getMessage(data){
|
|
||||||
this.$store.commit('updateMessageStatus',data )
|
|
||||||
},
|
|
||||||
reload() {
|
reload() {
|
||||||
this.isRouterAlive = false
|
this.isRouterAlive = false
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ export default new Vuex.Store({
|
|||||||
secondManageCode: '', //内勤所需参数
|
secondManageCode: '', //内勤所需参数
|
||||||
thirdManageCode: '' ,//内勤所需参数
|
thirdManageCode: '' ,//内勤所需参数
|
||||||
orderDetail:{},//无优卡分享微信端订单信息
|
orderDetail:{},//无优卡分享微信端订单信息
|
||||||
messageStatus:false,
|
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
setOrderDetail(state,data){
|
setOrderDetail(state,data){
|
||||||
@@ -75,14 +74,6 @@ export default new Vuex.Store({
|
|||||||
updatePcPolicyInfo(state, val) {
|
updatePcPolicyInfo(state, val) {
|
||||||
state.pcList = val
|
state.pcList = val
|
||||||
},
|
},
|
||||||
updateMessageStatus(state, val) {
|
|
||||||
console.log(val)
|
|
||||||
if(val){
|
|
||||||
state.messageStatus = true
|
|
||||||
}else{
|
|
||||||
state.messageStatus = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
getPageFlag(state) {
|
getPageFlag(state) {
|
||||||
@@ -106,9 +97,6 @@ export default new Vuex.Store({
|
|||||||
getPcPolicyInfo(state) {
|
getPcPolicyInfo(state) {
|
||||||
return state.pcList
|
return state.pcList
|
||||||
},
|
},
|
||||||
getMessageStatus(state) {
|
|
||||||
return state.messageStatus
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<p style="color:#e9e9e9;padding: 3px;">
|
<p style="color:#e9e9e9;padding: 3px;">
|
||||||
<span>工号</span>
|
<span>工号</span>
|
||||||
<span style="margin:0px 5px;">|</span>
|
<span style="margin:0px 5px;">|</span>
|
||||||
<span>Y5000065</span>
|
<span>{{userInfo.agentCode}}</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -27,17 +27,17 @@
|
|||||||
<div class="menu1" style="margin: 15px;background: linear-gradient(#dce2fb 10%, #fff 70%);border-radius: 5px;padding: 10px;margin-top: 5px;">
|
<div class="menu1" style="margin: 15px;background: linear-gradient(#dce2fb 10%, #fff 70%);border-radius: 5px;padding: 10px;margin-top: 5px;">
|
||||||
<div style="display: flex;justify-content: space-around;align-items: center;height: 100%;">
|
<div style="display: flex;justify-content: space-around;align-items: center;height: 100%;">
|
||||||
<div style="text-align:center;position: relative;width: 33.3%;">
|
<div style="text-align:center;position: relative;width: 33.3%;">
|
||||||
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">广西</p>
|
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">{{userInfo.companyName}}</p>
|
||||||
<p style="line-height:30px;">分公司</p>
|
<p style="line-height:30px;">分公司</p>
|
||||||
<div style="position:absolute;right: 0px;width: 1px;background: #eee;top: calc(50% - 10px);height: 20px;"></div>
|
<div style="position:absolute;right: 0px;width: 1px;background: #eee;top: calc(50% - 10px);height: 20px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:center;position: relative;width: 33.3%;">
|
<div style="text-align:center;position: relative;width: 33.3%;">
|
||||||
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">河池</p>
|
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">{{userInfo.manageComName}}</p>
|
||||||
<p style="line-height:30px;">机构</p>
|
<p style="line-height:30px;">机构</p>
|
||||||
<div style="position:absolute;right: 0px;width: 1px;background: #eee;top: calc(50% - 10px);height: 20px;"></div>
|
<div style="position:absolute;right: 0px;width: 1px;background: #eee;top: calc(50% - 10px);height: 20px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:center;position: relative;width: 33.3%;">
|
<div style="text-align:center;position: relative;width: 33.3%;">
|
||||||
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">申旺部</p>
|
<p style="line-height: 40px;font-size: 18px;font-weight: bold;">{{userInfo.unitName}}</p>
|
||||||
<p style="line-height:30px;">营业部</p>
|
<p style="line-height:30px;">营业部</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -84,7 +84,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getMessage(data){
|
getMessage(data){
|
||||||
this.$store.commit('updateMessageStatus',data )
|
if(data){
|
||||||
|
console.log('111')
|
||||||
|
this.messages = true
|
||||||
|
}else{
|
||||||
|
this.messages = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getMineConfigYB(){
|
getMineConfigYB(){
|
||||||
let params = {
|
let params = {
|
||||||
|
|||||||
@@ -82,7 +82,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getMessage(data){
|
getMessage(data){
|
||||||
this.$store.commit('updateMessageStatus',data )
|
if(data){
|
||||||
|
console.log('111')
|
||||||
|
this.messages = true
|
||||||
|
}else{
|
||||||
|
this.messages = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
getHomeConfigYB(){
|
getHomeConfigYB(){
|
||||||
let params = {
|
let params = {
|
||||||
|
|||||||
Reference in New Issue
Block a user