工作台优化
This commit is contained in:
parent
0d2438ccff
commit
49f619cf56
@ -107,6 +107,9 @@
|
|||||||
this.street = e.value[1].name
|
this.street = e.value[1].name
|
||||||
this.showPicker = false
|
this.showPicker = false
|
||||||
this.$emit('selectPlce', e)
|
this.$emit('selectPlce', e)
|
||||||
|
let adress = Cache.get('LOCATION_DATA',true)
|
||||||
|
adress.address_component.street=e.value[1].name
|
||||||
|
Cache.set('LOCATION_DATA',adress)
|
||||||
},
|
},
|
||||||
changeHandler(e) {
|
changeHandler(e) {
|
||||||
const {
|
const {
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
"distribute": {
|
"distribute": {
|
||||||
/* android打包配置 */
|
/* android打包配置 */
|
||||||
"android": {
|
"android": {
|
||||||
|
"resizeableActivity": true,
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
|
"<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
|
||||||
"<uses-permission android:name=\"android.permission.BATTERY_STATS\"/>",
|
"<uses-permission android:name=\"android.permission.BATTERY_STATS\"/>",
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<zbpSwiper></zbpSwiper>
|
<zbpSwiper></zbpSwiper>
|
||||||
<u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText"
|
<u-empty :show="jurisdiction" marginTop="260" mode="permission" :text="emptyText"
|
||||||
icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty>
|
icon="http://cdn.uviewui.com/uview/empty/permission.png"></u-empty>
|
||||||
<block v-if="isLogin">
|
<block v-if="isShow">
|
||||||
<!-- <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12"> -->
|
<!-- <view class="special_work com" v-if="userInfoData.mer_info.type_id === 12"> -->
|
||||||
<view class="special_work com" v-if="true">
|
<view class="special_work com" v-if="true">
|
||||||
<view class="title">市级供应链</view>
|
<view class="title">市级供应链</view>
|
||||||
@ -103,7 +103,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<gatherBusiness :userInfoData="userInfoData" />
|
<!-- <gatherBusiness :userInfoData="userInfoData" /> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 11"> -->
|
<!-- <view class="business com" v-if="userInfoData.mer_info.type_id === 11"> -->
|
||||||
@ -197,6 +197,7 @@
|
|||||||
mer_id: '',
|
mer_id: '',
|
||||||
userInfoData: { mer_info: { type_id: 0 } },
|
userInfoData: { mer_info: { type_id: 0 } },
|
||||||
prefix: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/11/',
|
prefix: 'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/luzhou/static4/11/',
|
||||||
|
isShow:false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -228,7 +229,14 @@
|
|||||||
let that = this;
|
let that = this;
|
||||||
getUserInfo().then(res => {
|
getUserInfo().then(res => {
|
||||||
that.userInfoData = res.data;
|
that.userInfoData = res.data;
|
||||||
|
console.log(res.data.service);
|
||||||
|
if(res.data.service == null){
|
||||||
|
// console.log('123');
|
||||||
|
this.isShow=false
|
||||||
|
}else{
|
||||||
|
this.isShow=true
|
||||||
this.mer_id = res.data.service.mer_id
|
this.mer_id = res.data.service.mer_id
|
||||||
|
}
|
||||||
if (!res.data.mer_info) {
|
if (!res.data.mer_info) {
|
||||||
that.$set(this, 'jurisdiction', false);
|
that.$set(this, 'jurisdiction', false);
|
||||||
}
|
}
|
||||||
|
@ -184,6 +184,7 @@
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getGoods: function(item) {
|
getGoods: function(item) {
|
||||||
|
console.log(item);
|
||||||
graphicLstApi(this.where).then(res => {
|
graphicLstApi(this.where).then(res => {
|
||||||
this.cateGoods.push(...res.data.list)
|
this.cateGoods.push(...res.data.list)
|
||||||
if (res.data.list.length < this.where.limit) this.status = 'nomore'
|
if (res.data.list.length < this.where.limit) this.status = 'nomore'
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="popup_group_item" @click="selectBrand">
|
<!-- <view class="popup_group_item" @click="selectBrand">
|
||||||
<view class="popup_group_item_label">商品品牌</view>
|
<view class="popup_group_item_label">商品品牌</view>
|
||||||
<view class="popup_group_item_value">
|
<view class="popup_group_item_value">
|
||||||
<view class="popup_group_item_message">
|
<view class="popup_group_item_message">
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view><text class="iconfont"></text></view>
|
<view><text class="iconfont"></text></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
<view class="popup_group_item">
|
<view class="popup_group_item">
|
||||||
<view class="popup_group_item_label">商品单位</view>
|
<view class="popup_group_item_label">商品单位</view>
|
||||||
@ -407,7 +407,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.setFormData.store_name = ''
|
|
||||||
this.setFormData.setSpecificaValue = '';
|
this.setFormData.setSpecificaValue = '';
|
||||||
this.setFormData.setSpecificaValue2 = '';
|
this.setFormData.setSpecificaValue2 = '';
|
||||||
if (getStorage('singleSpecification')) {
|
if (getStorage('singleSpecification')) {
|
||||||
|
@ -20,6 +20,7 @@ const state = {
|
|||||||
|
|
||||||
const mutations = {
|
const mutations = {
|
||||||
setLocation(state, data) {
|
setLocation(state, data) {
|
||||||
|
console.log(data);
|
||||||
state.location = data
|
state.location = data
|
||||||
Cache.set('LOCATION_DATA', data);
|
Cache.set('LOCATION_DATA', data);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user