Commit e6a4c513 authored by 张伯涛's avatar 张伯涛

商家切换查询下拉传参修改

parent 5920068a
...@@ -64,6 +64,8 @@ import projectName from "../../common/projectName"; ...@@ -64,6 +64,8 @@ import projectName from "../../common/projectName";
export default { export default {
data() { data() {
return { return {
wechatType: 'HZY',
// wechatType: 'YHZ',
settingName: '', settingName: '',
isLogin: false, isLogin: false,
user: { user: {
...@@ -165,7 +167,7 @@ import projectName from "../../common/projectName"; ...@@ -165,7 +167,7 @@ import projectName from "../../common/projectName";
updateUnit() { updateUnit() {
this.unit.show = true this.unit.show = true
//获取用户所在商家信息 //获取用户所在商家信息
this.$u.get('/sysunit/getUnitInfo').then(ref=>{ this.$u.get('/sysunit/getUnitInfo?wechatType=' + this.wechatType).then(ref=>{
console.log("ref",ref) console.log("ref",ref)
// this.$u.vuex('vuex_unit',ref) // this.$u.vuex('vuex_unit',ref)
this.unit.list = [] this.unit.list = []
......
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