Browse Source

首页权限功能菜单优化

yun
douzhuo 1 year ago
parent
commit
479c0b46b6
4 changed files with 287 additions and 216 deletions
  1. +1
    -1
      App.vue
  2. +277
    -210
      pages/index/index.vue
  3. +7
    -3
      pages/mine/reception/addreception.vue
  4. +2
    -2
      utils/domain.js

+ 1
- 1
App.vue View File

@@ -87,7 +87,7 @@
str = String.fromCharCode(num + 64)
}
return str
}
},
}
});
}


+ 277
- 210
pages/index/index.vue View File

@@ -60,7 +60,7 @@
</view>

<view class="title" v-if="equipmentisshow">设备</view>
<view class="shebenbox" v-if="equipmentisshow" >
<view class="shebenbox" v-if="equipmentisshow">
<view class="shebenche" @click="tapjumpequipment(0)">
<view class="shebenchenum">{{equipmentobj.totalNum || 0}}</view>
<view class="shebenchetext">设备总数</view>
@@ -90,7 +90,7 @@
</view>
</view> -->
<view class="real-timebox">
<view class="timebox">
<view class="real" @click="tapjumpreception('1')">
@@ -102,13 +102,13 @@
<view class="realtext">有效接待</view>
</view>
<view class="real" @click="tapjumpreception('2')">
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realnum">{{realtimeobj.receivingCustomer || 0}}</view>
<view class="realtext">正在接待</view>
</view>
<view class="real" @click="tapjumpreception('4')">
<view class="realnum">{{realtimeobj.tagCustomer || 0}}</view>
<view class="realtext">未标顾问</view>
</view>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('auth')">
@@ -119,31 +119,36 @@
<view class="realnum">{{realtimeobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
<view class="real" >
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;" >{{realtimeobj.prohibitedCustomer || 0}}</view>
<view class="real">
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realnum" style="color: red;">
{{realtimeobj.prohibitedCustomer || 0}}
</view>
<view @click="prohibitedtap(1)" v-if="methodsisshow==true" class="realtext">违禁预警</view>
</view>
<view class="real">
<view class="realnum"></view>
<view class="realtext"></view>
</view>
</view>
</view>


<view class="title" style="display: flex;">
<view style="width: 55%;">概览</view>
<view class="cet" style="display: flex;">
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">近30天</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 2 }" @click="tabtimeclick(2)">近7天
</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 6 }" @click="tabtimeclick(6)">
近30天</view>
<view class="cetview" :class="{ activecllasscet: zhixingcenterindex == 7 }" @click="tabtimeclick(7)">自定义
</view>
</view>
</view>
<view class="real-timebox">
<view class="timebox">
<view class="real" @click="tapjumpreception('3')">
<view class="real" @click="tapjumpreception('3')">
<view class="realnum">{{Thisweekobj.receptionCount || 0}}</view>
<view class="realtext">接待量</view>
</view>
@@ -151,18 +156,18 @@
<view class="realnum">{{Thisweekobj.activeCustomer|| 0}}</view>
<view class="realtext">有效接待</view>
</view>
<view class="real" @click="tapjumpreception('333')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="real" @click="tapjumpreception('333')">
<view class="realnum">{{Thisweekobj.fraction || 0}}%</view>
<view class="realtext">平均执行率</view>
</view>
</view>
<view class="timebox">
<view class="real" @click="tapjumpreception('333')">
<view class="real" @click="tapjumpreception('333')">
<view class="realnum">{{Thisweekobj.avgDuration|| 0}}</view>
<view class="realtext">平均接待时长</view>
</view>
<view class="real" @click="prohibitedtap(2)" v-if="methodsisshow==true">
<view class="realnum" style="color: red;" >{{Thisweekobj.prohibitedCustomer || 0}}</view>
<view class="realnum" style="color: red;">{{Thisweekobj.prohibitedCustomer || 0}}</view>
<view class="realtext">违禁预警</view>
</view>
<view class="real" v-else>
@@ -175,26 +180,14 @@
</view>
</view>
</view>
<view class="title">常用功能</view>
<view class="commonly-box">
<!-- 权限菜单控制显隐 因为后台添加的按钮权限并不会在此返回所以需要手动添加 showMenu -->
<view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key="index" v-if="showMenu(item.name)">
<view class="commonly" @click="Piabodata(item.name)" v-for="(item,index) in Menulist" :key="index"
v-if="showMenu(item.name)">
<view class="commonly-img">
<image v-if="item.name=='客户管理'" class="commonly-img1" src="../../static/images/function1.png"
mode=""></image>
<image v-if="item.name=='接待记录'" class="commonly-img1" src="../../static/images/function2.png"
mode=""></image>
<image v-if="item.name=='销讲数据'" class="commonly-img1" src="../../static/images/function4.png"
mode=""></image>
<image v-if="item.name=='设备管理'" class="commonly-img1" src="../../static/images/function5.png"
mode=""></image>
<image v-if="item.name=='值班顾问'" class="commonly-img1" src="../../static/images/function6.png"
mode=""></image>
<image v-if="item.name=='顾问排名'" class="commonly-img1" src="../../static/images/rankingguwen.png"
mode=""></image>
<image v-if="item.name=='违禁记录'" class="commonly-img1" src="../../static/images/prohibited.png"
mode=""></image>
<image class="commonly-img1" :src="item.name | imgFilter" mode=""></image>
</view>
<view class="commonly-text">{{item.name}}</view>
</view>
@@ -214,7 +207,7 @@
</view>
<view class="content">
<view class="tit">{{tit}}</view>
<u-parse class="ql-editor" :content="content" @preview="preview" @navigate="navigate"/>
<u-parse class="ql-editor" :content="content" @preview="preview" @navigate="navigate" />
<!-- <rich-text :nodes="content"></rich-text> -->
</view>
<view class="btn" @click="lookDetail">查看详情</view>
@@ -223,8 +216,8 @@
</view>
</view>
</view>
<u-tabbar activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList"></u-tabbar>
</view>
</template>
@@ -237,11 +230,11 @@
export default {
data() {
return {
id:"",
isShowUpdate:false,
tit:"",
content:"",
tabbarList:tabbarList,
id: "",
isShowUpdate: false,
tit: "",
content: "",
tabbarList: tabbarList,
current: 0,
userInfo: {},
Showhiddenunits: false,
@@ -270,7 +263,7 @@
prohibitedCustomer: '',
tagCustomer: '',
fraction: '',
receptionCount:''
receptionCount: ''
},
Thisweekobj: {
sumCustomer: '',
@@ -279,38 +272,41 @@
prohibitedCustomer: '',
tagCustomer: '',
fraction: '',
receptionCount:''
receptionCount: ''
},
methodsisshow:false,
zhixingcenterindex:2,
methodsisshow: false,
zhixingcenterindex: 2,
totalTimeShow: false,
statDateStart:'',
statDateEnd:'',
statDateStart: '',
statDateEnd: '',
needShow: ['客户管理', '接待记录', '销讲数据', '设备管理', '值班顾问', '违禁记录'], // 权限配置需要展示出来的功能入口
};
},


computed: {
showMenu() {
return name => {
if (name == '标记有效无效接待' || name == '结束接待' || name == '客户编辑') {
return false
} else {
if (this.needShow.findIndex(item => item == name) != -1) {
return true
} else {
return false
}
}
}
},
components: {
uParse
uParse
},
onShow() {
this.getMenu()
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if(this.userInfo.dataCode==6 || this.userInfo.dataCode==3){
this.methodsisshow=false;
}else{
this.methodsisshow=true;
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
this.methodsisshow = false;
} else {
this.methodsisshow = true;
}
if (this.userInfo.zkProperties.length == 1) {
this.buildingID = uni.getStorageSync('buildingID').id;
@@ -341,7 +337,7 @@
},
onPullDownRefresh() {
this.getMenu()
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
this.methodsisshow = false;
@@ -382,10 +378,10 @@
this.initPopup()
},
methods: {
close(){
close() {
this.isShowUpdate = false;
},
lookDetail(){
lookDetail() {
let datas = {
id: this.id,
title: this.tit,
@@ -396,8 +392,8 @@
url: "../mine/messageDetail"
})
let data = {
id:this.id,
accountId:uni.getStorageSync('weapp_session_userInfo_data').accountId
id: this.id,
accountId: uni.getStorageSync('weapp_session_userInfo_data').accountId
}
uni.request({
url: config.service.updateRead,
@@ -413,7 +409,7 @@
})
this.isShowUpdate = false;
},
initPopup(){
initPopup() {
uni.request({
url: config.service.updatePopup,
method: "GET",
@@ -421,9 +417,9 @@
'content-type': 'application/json',
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
data: {
},
success: (res) => {
this.first(res.data.data.id)
@@ -431,11 +427,11 @@
this.tit = res.data.data.title
this.aid = res.data.data.accountId
this.id = res.data.data.id
this.isShowUpdate = res.data.data.readFlag==0?true:false;
this.isShowUpdate = res.data.data.readFlag == 0 ? true : false;
}
})
},
first(id){
first(id) {
uni.request({
url: config.service.firstShowPopup,
method: "GET",
@@ -443,7 +439,9 @@
'content-type': 'application/json',
'Access-Token': uni.getStorageSync('weapp_session_login_data').token
},
data:{id},
data: {
id
},
success: (res) => {}
})
},
@@ -453,7 +451,7 @@
method: "GET",
data: {
id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
projectId: uni.getStorageSync('buildingID').id,
projectId: uni.getStorageSync('buildingID').id,
},
header: {
'content-type': 'application/json',
@@ -465,28 +463,28 @@
}
})
},
//获取权限
getMenu(){
getMenu() {
this.$u.get("/user/getMenu").then(data => {
uni.setStorageSync("weapp_session_Menu_data", data)
this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
console.log(this.Menulist, 'adasdasds123')
})
})
},
//自定义时间
totalTimeChange(e) {
this.statDateStart=e.startDate;
this.statDateEnd=e.endDate;
this.zhixingcenterindex=7;
this.statDateStart = e.startDate;
this.statDateEnd = e.endDate;
this.zhixingcenterindex = 7;
this.initworkThisWeek()
},
//时间选择
tabtimeclick(i){
if(i==7){
tabtimeclick(i) {
if (i == 7) {
this.totalTimeShow = true;
}else{
this.zhixingcenterindex=i;
} else {
this.zhixingcenterindex = i;
this.initworkThisWeek()
}
},
@@ -501,9 +499,9 @@
},
data: {
houseId: this.buildingID,
dateType:this.zhixingcenterindex==7?null:this.zhixingcenterindex,
statDateStart:this.statDateStart,
statDateEnd:this.statDateEnd
dateType: this.zhixingcenterindex == 7 ? null : this.zhixingcenterindex,
statDateStart: this.statDateStart,
statDateEnd: this.statDateEnd
},
success: (data) => {
if (data.data.data == null) {
@@ -514,10 +512,10 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
prohibitedCustomer: data.data.data.prohibitedCustomer,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
avgDuration: Math.floor(data.data.data.avgDuration / 60) || 0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount
receptionCount: data.data.data.receptionCount
}
}
}
@@ -544,16 +542,16 @@
receivingCustomer: data.data.data.receivingCustomer,
activeCustomer: data.data.data.activeCustomer,
prohibitedCustomer: data.data.data.prohibitedCustomer,
avgDuration: Math.floor(data.data.data.avgDuration/60) ||0,
avgDuration: Math.floor(data.data.data.avgDuration / 60) || 0,
tagCustomer: data.data.data.tagCustomer,
fraction: data.data.data.fraction,
receptionCount:data.data.data.receptionCount
receptionCount: data.data.data.receptionCount
}
}
}
})
},
//设备
initequipment() {
uni.request({
@@ -625,7 +623,7 @@
piskbuilding() {
// this.Showhiddenunits = true;
uni.navigateTo({
url:"../mine/selectBuilding"
url: "../mine/selectBuilding"
})
},
// 项目选择确认
@@ -641,127 +639,153 @@
this.initrealTimeStatistics()
this.initequipment()
this.iniodianloang()
},
// 项目选择取消
cancel() {
this.Showhiddenunits = false;
},
tapjumpequipment(i){
this.Menulist.forEach(item=>{
if(item.name=='设备管理'){
tapjumpequipment(i) {
this.Menulist.forEach(item => {
if (item.name == '设备管理') {
uni.navigateTo({
url: '/pages/mine/equipment/index?active='+i
url: '/pages/mine/equipment/index?active=' + i
});
}
})
},
prohibitedtap(i){
if(i==1){
prohibitedtap(i) {
if (i == 1) {
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'0'+'&violatedStatus=1'
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '0' +
'&violatedStatus=1'
});
}else{
if(this.zhixingcenterindex==2){
} else {
if (this.zhixingcenterindex == 2) {
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'2'+'&violatedStatus=1'
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '2' +
'&violatedStatus=1'
});
}else if(this.zhixingcenterindex==6){
} else if (this.zhixingcenterindex == 6) {
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'3'+'&violatedStatus=1'
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '3' +
'&violatedStatus=1'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&violatedStatus=1'
url: '/pages/center/prohibited/index?refresh=' + 'refresh' + '&activeTotal=' + '4' +
'&staTime=' + this.statDateStart + '&endtime=' + this.statDateEnd +
'&violatedStatus=1'
});
}
}
},
tapjumpreception(i){
this.Menulist.forEach(item=>{
if(item.name=='接待记录'){
if(i==1){
tapjumpreception(i) {
this.Menulist.forEach(item => {
if (item.name == '接待记录') {
if (i == 1) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' +
'0'
});
} else if (i == 'auth') {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' +
'0' + '&validInvalid=0'
});
}else if(i==2){
} else if (i == 2) {
uni.switchTab({
url: '/pages/index/customer'
});
}else if(i==3){
if(this.zhixingcenterindex==2){
} else if (i == 3) {
if (this.zhixingcenterindex == 2) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '2'
});
}else if(this.zhixingcenterindex==6){
} else if (this.zhixingcenterindex == 6) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '3'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart +
'&endtime=' + this.statDateEnd
});
}
}else if(i==333){
if(this.zhixingcenterindex==2){
} else if (i == 333) {
if (this.zhixingcenterindex == 2) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '2' + '&validInvalid=0'
});
}else if(this.zhixingcenterindex==6){
} else if (this.zhixingcenterindex == 6) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '3' + '&validInvalid=0'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart +
'&endtime=' + this.statDateEnd + '&validInvalid=0'
});
}
}else if(i==3){
if(this.zhixingcenterindex==2){
} else if (i == 3) {
if (this.zhixingcenterindex == 2) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '2'
});
}else if(this.zhixingcenterindex==6){
} else if (this.zhixingcenterindex == 6) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '3'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart +
'&endtime=' + this.statDateEnd
});
}
}else if(i==6){
} else if (i == 6) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' + '&activeTotal=' +
'0' + '&validInvalid=0'
});
}else if(i==7){
if(this.zhixingcenterindex==2){
} else if (i == 7) {
if (this.zhixingcenterindex == 2) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'2'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '2' + '&validInvalid=0'
});
}else if(this.zhixingcenterindex==6){
} else if (this.zhixingcenterindex == 6) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'3'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '3' + '&validInvalid=0'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'4'+'&staTime='+this.statDateStart+'&endtime='+this.statDateEnd+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=' + '4' + '&staTime=' + this.statDateStart +
'&endtime=' + this.statDateEnd + '&validInvalid=0'
});
}
}else if (i == 4) {
} else if (i == 4) {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'+'&validInvalid=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=0' + '&markAdvisor=0' + '&validInvalid=0'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0'
url: '/pages/center/records/index?refresh=' + 'refresh' +
'&activeTotal=0' + '&markAdvisor=0'
});
}
}
@@ -774,7 +798,7 @@
});
} else if (item == '接待记录') {
uni.navigateTo({
url: '/pages/center/records/index?refresh='+'refresh'
url: '/pages/center/records/index?refresh=' + 'refresh'
});
} else if (item == '值班顾问') {
uni.navigateTo({
@@ -784,97 +808,140 @@
uni.navigateTo({
url: '/pages/mine/equipment/index'
});
} else if(item == '顾问排名') {
} else if (item == '顾问排名') {
uni.navigateTo({
url: '/pages/center/Piabodata/Employeesstatistics'
});
}else if(item == '违禁记录'){
} else if (item == '违禁记录') {
uni.navigateTo({
url: '/pages/center/prohibited/index?refresh='+'refresh'
url: '/pages/center/prohibited/index?refresh=' + 'refresh'
});
}else{
} else {
uni.navigateTo({
url: '/pages/center/consumer/index?refresh='+'refresh'
url: '/pages/center/consumer/index?refresh=' + 'refresh'
});
}
},
},

filters: {
imgFilter(type) {
let path = ''
switch (type) {
case '客户管理':
path = '../../static/images/function1.png'
break
case '接待记录':
path = '../../static/images/function2.png'
break
case '销讲数据':
path = '../../static/images/function4.png'
break
case '设备管理':
path = '../../static/images/function5.png'
break
case '值班顾问':
path = '../../static/images/function6.png'
break
case '顾问排名':
path = '../../static/images/rankingguwen.png'
break
case '违禁记录':
path = '../../static/images/prohibited.png'
break
}
console.log(path)
return path
}
}

};
</script>

<style lang="scss" scoped>
.update{
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 9999;
.updateBox{
width: 80%;
background: #FFFFFF;
position: relative;
left: 50%;
margin-left: -40%;
padding: 20rpx;
border-radius: 10rpx;
top: 140rpx;
.top{
width: 350rpx;
height: 220rpx;
margin: 0 auto;
image{
width: 100%;
height: 100%;
}
}
.btn{
width: 510rpx;
height: 88rpx;
background: #2671E2;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
font-size: 36rpx;
border-radius: 8rpx;
color: #FFFFFF;
}
.content{
height: 268rpx;
overflow-y: auto;
margin: 46rpx 0;
}
.tit{
font-size: 40rpx;
text-align: center;
font-weight: bold;
}
.close{
position: absolute;
bottom: -100rpx;
left: 50%;
margin-left: -50rpx;
.update {
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 9999;

.updateBox {
width: 80%;
background: #FFFFFF;
position: relative;
left: 50%;
margin-left: -40%;
padding: 20rpx;
border-radius: 10rpx;
top: 140rpx;

.top {
width: 350rpx;
height: 220rpx;
margin: 0 auto;

image {
width: 100%;
height: 100%;
}
}

.btn {
width: 510rpx;
height: 88rpx;
background: #2671E2;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
font-size: 36rpx;
border-radius: 8rpx;
color: #FFFFFF;
}

.content {
height: 268rpx;
overflow-y: auto;
margin: 46rpx 0;
}

.tit {
font-size: 40rpx;
text-align: center;
font-weight: bold;
}

.close {
position: absolute;
bottom: -100rpx;
left: 50%;
margin-left: -50rpx;
}
}
}
.activecllasscet{

.activecllasscet {
font-size: 28rpx;
font-weight: 400;
color: #008ef2;
}
.cet{

.cet {
font-size: 28rpx;
font-weight: 400;
color: #333333;
.cetview{

.cetview {
margin-left: 20rpx;
}
}

.cented-box {
padding: 30rpx;
background: #F8F8F8;


+ 7
- 3
pages/mine/reception/addreception.vue View File

@@ -55,7 +55,7 @@

</view>
<template v-if="shifoinfo==0">
<template v-if="shifoinfo==0 && userInfo.dataCode != 6">
<view class="Pinspeak">顾问</view>
<view class="chented" @click="clickShowhid()">
<view class="title" style="border: none;">
@@ -127,12 +127,16 @@
saveisshow: true,
isBand: false, // 阻止二次提交
tap: true,
fdFlag:null
fdFlag:null,
};
},
computed: {
// 用户详情
userInfo() {
return uni.getStorageSync("weapp_session_userInfo_data")
}
},
onShow() {


+ 2
- 2
utils/domain.js View File

@@ -1,8 +1,8 @@
// http.js使用域名
// const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
const baseUrl = 'http://81.70.55.170:9090/autoSR/api';// 最新测试
// const baseUrl = 'http://192.168.31.211:8080/api';// 泽明
// const baseUrl = 'http://localhost:8080/autoSR/api'; // 本地
const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.161:8080/autoSR/api'; // 长龙
// const baseUrl = 'http://192.168.31.86:9090/api'; // 盛浩
// const baseUrl = 'https://zkgj.quhouse.com/api'; // 质控正式
// const baseUrl = 'https://hfju.com/api'; // 数智正式


Loading…
Cancel
Save