This commit is contained in:
ylj20011123 2025-10-17 18:22:14 +08:00
parent fcab7c2e8c
commit 4f01850d7a
7 changed files with 1728 additions and 829 deletions

View File

@ -240,6 +240,12 @@
"style": {
"navigationBarTitleText": "上传走动式管理"
}
},
{
"path": "newMap",
"style": {
"navigationBarTitleText": "选择服务区"
}
}
]
},

View File

@ -6,11 +6,11 @@
<view class="tab-icon">🏪</view>
<text class="tab-text">商超</text>
</view>
<view class="tab-item" @tap="selectTab(2000)" :class="{ 'active': nowRank == 2000 }">
<view class="tab-item" @tap="selectTab(3000)" :class="{ 'active': nowRank == 3000 }">
<view class="tab-icon">🍽</view>
<text class="tab-text">餐饮</text>
</view>
<view class="tab-item" @tap="selectTab(3000)" :class="{ 'active': nowRank == 3000 }">
<view class="tab-item" @tap="selectTab(2000)" :class="{ 'active': nowRank == 2000 }">
<view class="tab-icon">🍿</view>
<text class="tab-text">小吃</text>
</view>

View File

@ -1,14 +1,5 @@
<template>
<view class="main">
<!-- <view class="tabBox">
<view
:class="item.value === selectFilter ? 'tabItem selectTab' : 'tabItem'"
v-for="(item, index) in tabList"
:key="index"
@click="handleChangeSelect(item.value)"
>{{ item.label }}
</view>
</view> -->
<view class="tabBox">
<MenuItem v-for="(item, index) in tabList" :key="index" :item="item" round="true" size="28"
:src="selectFilter == item.id ? item.active : item.src"
@ -20,7 +11,20 @@
</MenuItem>
</view>
<scroll-view class="scrollbox" :scroll-y="true" @scrolltolower="handleScrollBottom">
<view class="selectServerpartBox">
<view class="leftNameBox" @click="handleGoSelectServerPart">
{{ currentServerPart ? currentServerPart : "- 请选择服务区 -" }}
</view>
<view class="rightTimeBox">
<picker mode="date" @change="handleTimeChange">{{ selectDay }}</picker>
</view>
</view>
<!-- 今日未巡检内容 -->
<div class="errorMessage" v-if="notInspectedName">{{
`当前服务区${notInspectedName},共${notInspectedList.length}个点位,还未进行巡检` }}</div>
<!-- 今日已巡检内容 -->
<view class="dataList">
<view class="dataItem" v-for="(item, index) in dataList" :key="index" @click="handleGoDetail(item)">
<div class="content-index">{{ index + 1 }}</div>
@ -51,7 +55,6 @@
</view>
<view class="itemRow">
<view class="leftName"></view>
<!-- <view class="rightName">{{ $util.getMoney(item.REVENUE_AMOUNT) }}</view>-->
<view class="rightName"><span :style="{
color:
@ -74,7 +77,8 @@
<view class="line"></view>
<view class="itemRow">
<view class="leftName"><span class="radio" style="background: #44bea3"></span>{{ item.userName || "-" }}
<view class="leftName"><span class="radio" style="background: #44bea3"></span>{{ item.userName ||
"-" }}
</view>
<view class="rightName"></view>
</view>
@ -87,88 +91,19 @@
</view>
</view>
</view>
<view class="dataList" v-if="false">
<view class="dataItem" v-for="(item, index) in dataList" :key="index" @click="handleGoDetail(item)">
<view class="dataTop">
<view class="topLeft">
<image class="itemIcon" src="/static/images/mbwa/fixed.svg" />
<span class="itemTitle">{{ item.title || "-" }}</span>
</view>
<view class="topRight" :style="{
color:
item.errorStatus === 0
? 'red'
: item.errorStatus === 1
? '#3B72FF'
: item.errorStatus === 2
? '#139942'
: '',
}">
{{
item.errorStatus === 0
? "待处理"
: item.errorStatus === 1
? "处理中"
: item.errorStatus === 2
? "已处理"
: ""
}}
</view>
</view>
<view class="dataBottom">
<view class="statusBox" :style="{
color:
item.situation === 0
? '#139942'
: item.situation === 1
? '#F75031'
: '',
background:
item.situation === 0
? '#EBF7EF'
: item.situation === 1
? '#FEF0ED'
: '',
}">{{
item.situation === 0
? "正常情况"
: item.situation === 1
? "急需处理"
: "-"
}}</view>
<view class="itemContent">{{
item.uploadResult || "-"
}}</view>
<view class="userBox">
<text class="userName">{{ item.userName || "-" }}</text>
<text class="time">{{
item.createdAt
? $moment(item.createdAt).format("YYYY-MM-DD HH:mm:ss")
: "-"
}}</text>
</view>
</view>
</view>
</view>
<view class="load-more" v-if="dataList && dataList.length > 0">
<text>{{
!isEnd ? "正在加载,请稍后..." : "——— 我是有底线的 ———"
}}</text>
</view>
</scroll-view>
</view>
</template>
<script>
import MenuItem from "@/components/menu/menuItem.vue";
export default {
data() {
let stime = this.$util.cutDate(new Date(), "YYYY-MM-DD");
const lastDay = this.$util.cutDate(new Date(), 'YYYY-MM-DD')
return {
currentServerPart: "",
currentServerPartObj: {},
tabList: [
{
name: "全部",
@ -193,40 +128,74 @@ export default {
src: "/static/images/expense/type/yichl.png",
active: "/static/images/expense/type/yichlz.png",
id: 4,
},
// { label: "", value: 1 },
// { label: "", value: 2 },
// { label: "", value: 3 },
// { label: "", value: 4 },
}
],
selectFilter: 1, // tab
menu: {}, //
searchTime: stime, //
selectIndex: 0, //
selectServiceList: [], //
selectServerpartObj: {}, // label value
dataList: [], //
useInfo: {}, //
isEnd: false, //
selectDay: lastDay,//
PageIndex: 1, //
};
dataList: [],//
notInspectedList: [],//
notInspectedName: "",//
useInfo: {}, //
}
},
components: {
MenuItem,
},
onLoad() {
this.menu = uni.getMenuButtonBoundingClientRect();
let userInfo = uni.getStorageSync("vuex");
userInfo = JSON.parse(userInfo);
if (userInfo) {
this.useInfo = JSON.parse(JSON.stringify(userInfo));
}
//
this.handleGetServerpartList();
},
onShow() {
let currentServiceObj = uni.getStorageSync('currentServerPart')
console.log('currentServiceObjcurrentServiceObj', currentServiceObj);
//
let isReady = true
if (currentServiceObj.label) {
if (currentServiceObj.value === this.currentServerPartObj.value) {
isReady = false
}
this.currentServerPart = currentServiceObj.label
this.currentServerPartObj = currentServiceObj
} else {
this.$util.toNextRoute("navigateTo", `/pages/mbwa/newMap`);
}
if (isReady) {
this.handleGetDataList();
this.handleGetNotInspected()
}
},
methods: {
//
handleTimeChange(e) {
console.log('eeee', e);
let newTime = this.$util.cutDate(new Date(e.detail.value), 'YYYY-MM-DD')
console.log('newTimenewTimenewTime', newTime);
this.selectDay = newTime
this.handleGetDataList();
this.handleGetNotInspected()
},
//
handleGoSelectServerPart() {
this.$util.toNextRoute("navigateTo", `/pages/mbwa/newMap`);
},
// tab
handleChangeSelect(value) {
this.selectFilter = value;
this.dataList = [];
this.isEnd = false;
this.PageIndex = 1;
// this.handleGetDataList();
this.handleGetDataList();
this.handleGetNotInspected()
},
//
handleGoDetail(obj) {
//
@ -243,39 +212,6 @@ export default {
);
}
},
//
handleScrollBottom() {
if (!this.isEnd) {
this.PageIndex = this.PageIndex + 1;
this.handleGetDataList();
}
},
//
handleGetTime(e) {
console.log("e", e);
this.searchTime = e.detail.value;
this.dataList = [];
this.handleGetDataList();
},
//
handleChangeService(e) {
console.log("e", e);
this.selectIndex = Number(e.detail.value);
this.dataList = [];
this.handleGetDataList();
},
//
handleBack() {
uni.switchTab({ url: "/pages/index/index" });
},
// tab
handleChangeSelect(value) {
this.selectFilter = value;
this.dataList = [];
this.isEnd = false;
this.PageIndex = 1;
this.handleGetDataList();
},
//
async handleGetDataList() {
console.log("this.selectFilter", this.selectFilter);
@ -283,16 +219,15 @@ export default {
title: "加载中...",
});
const req = {
// serverPartId: 0,
// startTime: "",
// endTime: "",
startTime: this.$moment().subtract(1, 'months').format('YYYY-MM-DD'),
endTime: this.$moment().format('YYYY-MM-DD'),
// startTime: this.$moment().subtract(1, 'months').format('YYYY-MM-DD'),
// endTime: this.$moment().format('YYYY-MM-DD'),
// selectFilter 3 4
//
serverPartId: this.selectFilter === 4 ? '' : this.currentServerPartObj.value,
startTime: this.selectFilter === 3 || this.selectFilter === 4 ? this.$moment().subtract(1, 'months').format('YYYY-MM-DD') : this.selectDay,
endTime: this.selectFilter === 3 || this.selectFilter === 4 ? this.$moment().format('YYYY-MM-DD') : this.selectDay,
pageNum: this.PageIndex,
pageSize: 10,
// serverPartId: this.selectServiceList[this.selectIndex].value,
// startTime: `${this.searchTime} 00:00:00`,
// endTime: `${this.searchTime} 23:59:59`,
pageSize: 100,
extend:
this.selectFilter === 1
? null
@ -315,28 +250,9 @@ export default {
{
key: "person.STAFF_NAME",
value: this.useInfo.userData.UserName,
// this.useInfo.userData.UserId
},
]
: null,
// any:
// this.selectFilter === 4
// ? [
// {
// key: "STAFF_NAME",
// value: this.selectFilter === 4 ? "" : undefined,
// },
// // {
// // key: "userId",
// // value:
// // this.selectFilter === 4
// // ? this.useInfo.userData.UserId
// // : undefined,
// // },
// ]
// : undefined,
// 1 ,
};
console.log("req323131", req);
@ -351,74 +267,231 @@ export default {
if (list.length < 10) {
this.isEnd = true;
}
// list.forEach((item) => {
// let extendObj = {};
// if (item.extend) {
// extendObj = JSON.parse(item.extend);
// }
// item.extendObj = extendObj;
// });
} else {
this.isEnd = true;
}
this.dataList = this.dataList.concat(list);
// this.dataList = this.dataList.concat(list);
this.dataList = list
console.log("this.dataList", this.dataList);
uni.hideLoading();
},
//
async handleGetServerpartList() {
//
async handleGetNotInspected() {
//
const req = {
UserIdEncrypted: this.useInfo.userData.UserIdEncrypted,
};
const data = await this.$request.$webGet(
"EShangApiMain/Logging/GetPassportInfoById",
serverPartIds: [this.currentServerPartObj.value],
status: true
}
const data = await this.$request.$webJavaPOST(
`questionnaire-templates/search/tree`,
req
);
console.log("Info", data);
const secondReq = {
ServerpartCodes: data.Result_Data.CityAuthority || "",
ServerpartType: 1000,
StatisticsType: "1000,2000",
};
const secondData = await this.$request.$webGet(
"EShangApiMain/BaseInfo/GetServerpartDDL",
secondReq
);
console.log("secondData", secondData);
secondData.Result_Data.List.unshift({
label: "蜀越公司",
value: 530,
});
this.selectServiceList = secondData.Result_Data.List;
let list = data.Result_Data.List
let pointList = []
if (list && list.length > 0) {
list.forEach((item) => {
if (item.children && item.children.length > 0) {
item.children.forEach((subItem) => {
if (subItem.children && subItem.children.length > 0) {
subItem.children.forEach((thirdItem) => {
pointList.push(thirdItem)
})
}
})
}
})
}
//
this.handleGetDataList();
},
},
};
// pointList
//
const recordReq = {
startTime: this.selectDay,
endTime: this.selectDay,
serverPartIds: [this.currentServerPartObj.value]
}
const recordData = await this.$request.$webJavaPOST(
`questionnaire-responses/tree/list`,
recordReq
);
let recordList = recordData.Result_Data.List
let recordDataList = []
// id
let pointDataList = []
if (recordList && recordList.length > 0) {
recordList.forEach((item) => {
if (item.children && item.children.length > 0) {
item.children.forEach((subItem) => {
if (subItem.children && subItem.children.length > 0) {
subItem.children.forEach((thirdItem) => {
recordDataList.push(thirdItem)
pointDataList.push(thirdItem.template.id)
})
}
})
}
})
}
let notInspectedList = []
let notInspectedName = ''
if (pointList && pointList.length > 0) {
pointList.forEach((item) => {
if (pointDataList.indexOf(item.id) === -1) {
notInspectedList.push(item)
if (notInspectedName) {
notInspectedName += `${item.title}`
} else {
notInspectedName = item.title
}
}
})
}
this.notInspectedList = notInspectedList
this.notInspectedName = notInspectedName
console.log('this.notInspectedNamethis.notInspectedNamethis.notInspectedName', this.notInspectedName);
}
}
}
</script>
<style lang="less" scoped>
.main {
width: 100vw;
min-height: 100vh;
background: #f5f7f9;
height: 100%;
.selectServerpartBox {
width: 100%;
height: 80rpx;
box-sizing: border-box;
background: #fff;
padding: 0 24rpx;
margin-top: 200rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 16rpx;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
transition: all 0.3s ease;
&:hover {
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.1);
}
.leftNameBox {
width: 50%;
padding: 16rpx 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
font-size: 28rpx;
color: #333;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
border: 2rpx solid transparent;
&:hover {
background: #e8f4ff;
border-color: #ff814f;
color: #ff814f;
}
&::before {
content: '📍';
margin-right: 12rpx;
font-size: 24rpx;
}
}
.rightTimeBox {
width: 50%;
display: flex;
justify-content: flex-end;
padding: 16rpx 20rpx;
background: #f8f9fa;
border-radius: 12rpx;
font-size: 28rpx;
color: #333;
font-weight: 500;
cursor: pointer;
border: 2rpx solid transparent;
&:hover {
background: #e8f4ff;
border-color: #1890ff;
color: #1890ff;
}
picker {
width: 100%;
text-align: center;
}
&::before {
content: '📅';
margin-right: 12rpx;
font-size: 24rpx;
}
}
}
.errorMessage {
width: calc(100% - 48rpx);
margin: 24rpx 24rpx 0;
box-sizing: border-box;
padding: 24rpx;
font-size: 28rpx;
color: #ff4d4f;
background: linear-gradient(135deg, #fff2f0 0%, #ffebe8 100%);
border: 2rpx solid #ffccc7;
border-radius: 16rpx;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 2px 8px 0 rgba(255, 77, 79, 0.15);
&::before {
content: '⚠️';
position: absolute;
left: 24rpx;
top: 50%;
transform: translateY(-50%);
font-size: 32rpx;
}
&::after {
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 6rpx;
background: linear-gradient(180deg, #ff4d4f 0%, #ff7875 100%);
}
font-weight: 500;
padding-left: 70rpx;
line-height: 40rpx;
}
.tabBox {
position: fixed;
z-index: 99;
top: 0;
left: 0;
width: 100%;
height: 200rpx;
display: flex;
align-items: center;
background: #fff;
box-shadow: 0 2rpx 4rpx rgba(167, 166, 166, 0.3);
// width: 100%;
// height: 74rpx;
// box-sizing: border-box;
// padding: 16rpx 0 18rpx;
// display: flex;
// align-items: center;
// background: #ffffff;
.tabItem {
width: 25%;
display: flex;
@ -448,21 +521,13 @@ export default {
}
}
.scrollbox {
width: 100vw;
height: calc(100vh - 180rpx - 48rpx);
background: #f6f7f9;
box-sizing: border-box;
margin-top: 24rpx;
// padding: 0 32rpx;
padding-bottom: env(safe-area-inset-bottom);
/* 兼容 iOS 11.2+ */
padding-bottom: constant(safe-area-inset-bottom);
.dataList {
width: 100%;
height: cac(100% - 280rpx);
box-sizing: border-box;
padding: 24rpx 24rpx 0;
overflow-y: auto;
padding-bottom: env(safe-area-inset-bottom);
.dataItem {
width: 100%;
@ -573,296 +638,5 @@ export default {
}
}
}
}
.scrollbox ::-webkit-scrollbar {
display: none;
width: 0;
}
// .top {
// width: 100%;
// background-image: url("https://eshangtech.com/ShopICO/yxcl/settlementApproval/pageBg.png");
// background-repeat: no-repeat;
// background-size: cover;
// box-sizing: border-box;
// padding: 0 32rpx;
// z-index: 4;
// position: relative;
// .arrowBox {
// width: 100%;
// display: flex;
// align-items: center;
// .img {
// width: 48rpx;
// height: 48rpx;
// }
// .selectServiceBox {
// margin-left: 16rpx;
// display: flex;
// align-items: center;
// .serviceIcon {
// width: 80rpx;
// height: 80rpx;
// position: relative;
// z-index: 2;
// }
// .nameBox {
// font-family: "PingFangSC";
// font-weight: 600;
// font-size: 28rpx;
// color: #160002;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// padding: 12rpx 34rpx 12rpx 48rpx;
// display: inline-block;
// border-top-right-radius: 200rpx;
// border-bottom-right-radius: 200rpx;
// background: #fff;
// transform: translateX(-20px);
// .moreIcon {
// width: 24rpx;
// height: 24rpx;
// margin-left: 14rpx;
// }
// }
// }
// }
// .timeBox {
// height: 28px;
// margin-top: 12px;
// display: flex;
// align-items: center;
// .timeSelect {
// display: flex;
// align-items: center;
// .monthNumber {
// font-family: "DINAlternate";
// font-size: 42rpx;
// font-weight: bold;
// }
// .monthUnit {
// margin-left: 4rpx;
// font-family: "PingFangSC";
// font-weight: 400;
// font-size: 28rpx;
// color: #242729;
// }
// .year {
// font-family: "DINAlternate";
// font-weight: 400;
// font-size: 28rpx;
// color: #786b6c;
// line-height: 32rpx;
// text-align: left;
// font-style: normal;
// margin-left: 8rpx;
// }
// }
// .bottomArrow {
// width: 32rpx;
// height: 32rpx;
// margin-left: 8rpx;
// }
// }
// .TabsBox {
// width: 100%;
// height: 32px;
// margin-top: 16px;
// box-sizing: border-box;
// display: flex;
// align-items: center;
// .tabItemList {
// width: calc(100% - 140rpx);
// display: flex;
// align-items: center;
// justify-content: space-between;
// height: 62rpx;
// margin-right: 30rpx;
// .tabItem {
// display: inline-block;
// font-family: PingFangSC, PingFang SC;
// font-weight: 400;
// font-size: 28rpx;
// height: 62rpx;
// color: #242729;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// }
// .selectTabItem {
// font-family: PingFangSC, PingFang SC;
// font-weight: 500;
// font-size: 28rpx;
// color: #fd7f21;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// position: relative;
// }
// .selectTabItem:after {
// content: "";
// height: 6rpx;
// position: absolute;
// width: 100%;
// left: 0;
// bottom: 0;
// background: #fd7f21;
// }
// }
// .otherItem {
// width: 110rpx;
// height: 62rpx;
// font-family: PingFangSC, PingFang SC;
// font-weight: 400;
// font-size: 28rpx;
// color: #786b6c;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// position: relative;
// box-sizing: border-box;
// display: flex;
// justify-content: flex-end;
// padding-left: 10rpx;
// .filterIcon {
// width: 32rpx;
// height: 32rpx;
// margin-right: 4rpx;
// margin-top: 4rpx;
// }
// }
// .otherItem:before {
// content: "";
// width: 1px;
// height: 36rpx;
// background: #e4e4e4;
// position: absolute;
// top: 0;
// left: 0;
// }
// }
// }
// .contentBox {
// width: 100%;
// height: 100%;
// background-color: #f3f3f3;
// .dataList {
// width: 100%;
// box-sizing: border-box;
// padding: 24rpx 24rpx 0;
// .dataItem {
// width: 100%;
// box-sizing: border-box;
// background: #fff;
// padding: 16rpx;
// margin: 24rpx 0;
// border-radius: 8rpx;
// box-shadow: 0 0px 6rpx #e2e2e2;
// position: relative;
// .content-index {
// width: 42rpx;
// height: 32rpx;
// line-height: 32rpx;
// font-size: 24rpx;
// color: #fff;
// text-align: center;
// background-color: #fb8b56;
// position: absolute;
// top: 26rpx;
// left: -4rpx;
// box-shadow: 4rpx 4rpx 2rpx 0 rgba(238, 112, 27, 0.5);
// }
// .itemRow {
// width: 100%;
// display: flex;
// align-items: center;
// justify-content: space-between;
// .projectName {
// width: 60%;
// font-size: 28rpx;
// height: 54rpx;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
// color: #333333;
// box-sizing: border-box;
// padding-left: 40rpx;
// }
// .leftName {
// color: #686868;
// font-size: 24rpx;
// .radio {
// display: inline-block;
// width: 14rpx;
// height: 14rpx;
// border-radius: 14rpx;
// margin: 0 8px 0 5px;
// }
// }
// .stateName {
// font-size: 28rpx;
// color: #999999;
// }
// .rightName {
// color: #686868;
// font-size: 24rpx;
// .radio {
// display: inline-block;
// width: 14rpx;
// height: 14rpx;
// border-radius: 14rpx;
// margin: 0 8px 0 5px;
// }
// .month {
// font-family: DINAlternate-Bold, DINAlternate;
// }
// }
// }
// .itemCenterRow {
// width: 100%;
// display: flex;
// flex-direction: column;
// align-items: center;
// .value {
// font-family: DINAlternate-Bold, DINAlternate;
// font-size: 16px;
// font-weight: 600;
// color: #ff814fff;
// width: 70%;
// display: -webkit-box;
// -webkit-line-clamp: 2; /* */
// -webkit-box-orient: vertical;
// overflow: hidden;
// text-overflow: ellipsis;
// text-align: center;
// }
// .label {
// font-size: 12px;
// color: #999999;
// }
// }
// .line {
// height: 2rpx;
// width: 100%;
// background-color: #eee;
// margin-bottom: 18rpx;
// margin-top: 16rpx;
// }
// }
// }
// .load-more {
// text-align: center;
// width: 100%;
// height: 80rpx;
// color: #9999;
// font-size: 24rpx;
// }
// }
}
</style>

246
pages/mbwa/newMap.vue Normal file
View File

@ -0,0 +1,246 @@
<template>
<div class="main">
<!-- <div class="top">
<div class="search">
<div class="right">
<input class="searchText" v-model="searchText" confirm-type="search" @confirm="handleSearch"
placeholder="搜索服务区" placeholder-style="font-size: 14px;color: #A69E9F;" />
</div>
</div>
</div> -->
<div class="serverPartListBox">
<div class="serverPartItemBox" v-for="(item, index) in serviceList" :key="index">
<div class="serverPartItemBoxTitle" v-if="item.type === 0">{{ item.label }}</div>
<div class="serverPartItemBoxSmallTitle"
:class="{ 'selected': item.type === 1 && currentSelect === item.value }" v-if="item.type === 1"
@click="handleSelectServerPart(item)">{{
item.label }}</div>
<div class="serverPartItemBoxChildren" v-if="item.children && item.children.length > 0">
<div class="serverPartItemBoxChildrenTitle"
:class="{ 'selected': subItem.type === 1 && currentSelect === subItem.value }"
v-for="subItem in item.children" @click="handleSelectServerPart(subItem)">{{
subItem.label }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
useInfo: {},//
serviceList: [],//
currentSelect: "",// id
searchText: "",//
};
},
async onLoad() {
let userInfo = uni.getStorageSync('vuex')
userInfo = JSON.parse(userInfo)
this.useInfo = JSON.parse(JSON.stringify(userInfo))
let serviceList = uni.getStorageSync('serviceList')
if (serviceList) {
this.serviceList = serviceList
this.handleGetServerPartList()
} else {
this.handleGetServerPartList()
}
},
onShow() {
let currentServiceObj = uni.getStorageSync('currentServerPart')
if (currentServiceObj.label) {
this.currentSelect = currentServiceObj.value
}
},
methods: {
//
async handleGetServerPartList() {
const req = {
ProvinceCode: '510000',
ShowWholePower: false,
ShowWholePower: true,
ShowRoyalty: false,
ShowCompactCount: false
}
const secondData = await this.$request.$webGet('EShangApiMain/BaseInfo/GetServerpartTree', req)
let list = secondData.Result_Data.List
console.log('listlistlistlistlist', list);
this.serviceList = list
uni.setStorageSync('serviceList', list)
},
//
handleSelectServerPart(obj) {
console.log('objdsada', obj);
uni.setStorageSync('currentServerPart', obj)
uni.navigateBack({
delta: 1
});
},
handleSearch() {
console.log('searchTextsearchTextsearchText', this.searchText);
}
},
};
</script>
<style scoped lang="less">
.main {
width: 100vw;
height: 100vh;
background: #f8f9fa;
.top {
width: 100%;
padding: 16rpx 32rpx;
box-sizing: border-box;
background: #fff;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
.search {
width: 100%;
height: 72rpx;
background: #F7F8FA;
border-radius: 36rpx;
box-sizing: border-box;
padding: 0 32rpx;
display: flex;
align-items: center;
transition: all 0.3s ease;
&:focus-within {
background: #fff;
border: 2rpx solid #1890ff;
}
.right {
width: 100%;
.searchText {
width: 100%;
height: 100%;
border: none;
background: transparent;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #333;
line-height: 40rpx;
outline: none;
&::placeholder {
color: #999;
font-size: 28rpx;
}
}
}
}
}
.serverPartListBox {
width: 100%;
// height: calc(100vh - 104rpx);
height: 100vh;
box-sizing: border-box;
padding: 24rpx 32rpx;
overflow-y: auto;
padding-bottom: env(safe-area-inset-bottom);
.serverPartItemBox {
margin-bottom: 32rpx;
background: #fff;
border-radius: 16rpx;
padding: 24rpx;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
transition: all 0.3s ease;
&:hover {
box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.08);
}
.serverPartItemBoxTitle {
font-size: 32rpx;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 24rpx;
padding-bottom: 16rpx;
border-bottom: 2rpx solid #f0f0f0;
line-height: 44rpx;
}
.serverPartItemBoxSmallTitle {
display: inline-block;
padding: 16rpx 24rpx;
border: 2rpx solid #e8e8e8;
border-radius: 24rpx;
margin: 16rpx 16rpx 16rpx 0;
font-size: 28rpx;
color: #333;
background: #fff;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
overflow: hidden;
&:hover {
border-color: #1890ff;
color: #1890ff;
transform: translateY(-2rpx);
box-shadow: 0 4px 12px 0 rgba(24, 144, 255, 0.15);
}
&.selected {
background: #ff814fff;
color: #fff;
border-color: #ff814f;
font-weight: 500;
box-shadow: 0 4px 16px 0 rgba(255, 129, 79, 0.3);
transform: translateY(-2rpx);
}
}
.serverPartItemBoxChildren {
display: flex;
flex-wrap: wrap;
margin-top: 16rpx;
.serverPartItemBoxChildrenTitle {
display: inline-block;
padding: 12rpx 20rpx;
border: 2rpx solid #e8e8e8;
border-radius: 20rpx;
margin: 0 16rpx 16rpx 0;
font-size: 26rpx;
color: #666;
background: #fafafa;
transition: all 0.3s ease;
cursor: pointer;
position: relative;
&:hover {
border-color: #1890ff;
color: #1890ff;
background: #f6ffed;
transform: translateY(-1rpx);
box-shadow: 0 2px 8px 0 rgba(24, 144, 255, 0.12);
}
&.selected {
background: #ff814fff;
color: #fff;
border-color: #ff814f;
font-weight: 500;
box-shadow: 0 2px 12px 0 rgba(255, 129, 79, 0.25);
transform: translateY(-1rpx);
}
}
}
}
}
}
</style>

868
pages/mbwa/oldmbwa.vue Normal file
View File

@ -0,0 +1,868 @@
<template>
<view class="main">
<!-- <view class="tabBox">
<view
:class="item.value === selectFilter ? 'tabItem selectTab' : 'tabItem'"
v-for="(item, index) in tabList"
:key="index"
@click="handleChangeSelect(item.value)"
>{{ item.label }}
</view>
</view> -->
<view class="tabBox">
<MenuItem v-for="(item, index) in tabList" :key="index" :item="item" round="true" size="28"
:src="selectFilter == item.id ? item.active : item.src"
:nameStyle="selectFilter == item.id ? 'color:#5B96E9' : 'color:#808D97'" :imageBoxStyle="(selectFilter == item.id
? 'background:#f0f7fe;'
: 'background:#f6f7f8;') +
'height:75rpx;width:75rpx;padding: 18rpx;'
" @handleClick="handleChangeSelect(item.id)">
</MenuItem>
</view>
<scroll-view class="scrollbox" :scroll-y="true" @scrolltolower="handleScrollBottom">
<view class="dataList">
<view class="dataItem" v-for="(item, index) in dataList" :key="index" @click="handleGoDetail(item)">
<div class="content-index">{{ index + 1 }}</div>
<view class="itemRow">
<view class="projectName">{{ item.placeName || "-" }}</view>
<view v-if="item.situation !== 0" class="stateName" :style="{
color:
item.errorStatus === 0
? 'red'
: item.errorStatus === 1
? '#3B72FF'
: item.errorStatus === 2
? '#139942'
: '',
}">
{{
item.errorStatus === 0
? "待处理"
: item.errorStatus === 1
? "处理中"
: item.errorStatus === 2
? "已处理"
: ""
}}</view>
</view>
<view class="itemCenterRow" style="margin: 60rpx 0 20rpx">
<view class="value">{{ item.uploadResult || "-" }}</view>
</view>
<view class="itemRow">
<view class="leftName"></view>
<!-- <view class="rightName">{{ $util.getMoney(item.REVENUE_AMOUNT) }}</view>-->
<view class="rightName"><span :style="{
color:
item.situation === 0
? '#139942'
: item.situation === 1
? '#F75031'
: '',
}">{{
item.errorStatus === 2
? ""
: item.situation === 0
? "正常情况"
: item.situation === 1
? "急需处理"
: "-"
}}</span>
</view>
</view>
<view class="line"></view>
<view class="itemRow">
<view class="leftName"><span class="radio" style="background: #44bea3"></span>{{ item.userName || "-" }}
</view>
<view class="rightName"></view>
</view>
<view class="itemRow">
<view class="leftName"><span class="radio" style="background: #398efe"></span>{{
item.createdAt
? $moment(item.createdAt).format("YYYY-MM-DD HH:mm:ss")
: "-"
}}</view>
</view>
</view>
</view>
<view class="dataList" v-if="false">
<view class="dataItem" v-for="(item, index) in dataList" :key="index" @click="handleGoDetail(item)">
<view class="dataTop">
<view class="topLeft">
<image class="itemIcon" src="/static/images/mbwa/fixed.svg" />
<span class="itemTitle">{{ item.title || "-" }}</span>
</view>
<view class="topRight" :style="{
color:
item.errorStatus === 0
? 'red'
: item.errorStatus === 1
? '#3B72FF'
: item.errorStatus === 2
? '#139942'
: '',
}">
{{
item.errorStatus === 0
? "待处理"
: item.errorStatus === 1
? "处理中"
: item.errorStatus === 2
? "已处理"
: ""
}}
</view>
</view>
<view class="dataBottom">
<view class="statusBox" :style="{
color:
item.situation === 0
? '#139942'
: item.situation === 1
? '#F75031'
: '',
background:
item.situation === 0
? '#EBF7EF'
: item.situation === 1
? '#FEF0ED'
: '',
}">{{
item.situation === 0
? "正常情况"
: item.situation === 1
? "急需处理"
: "-"
}}</view>
<view class="itemContent">{{
item.uploadResult || "-"
}}</view>
<view class="userBox">
<text class="userName">{{ item.userName || "-" }}</text>
<text class="time">{{
item.createdAt
? $moment(item.createdAt).format("YYYY-MM-DD HH:mm:ss")
: "-"
}}</text>
</view>
</view>
</view>
</view>
<view class="load-more" v-if="dataList && dataList.length > 0">
<text>{{
!isEnd ? "正在加载,请稍后..." : "——— 我是有底线的 ———"
}}</text>
</view>
</scroll-view>
</view>
</template>
<script>
import MenuItem from "@/components/menu/menuItem.vue";
export default {
data() {
let stime = this.$util.cutDate(new Date(), "YYYY-MM-DD");
return {
tabList: [
{
name: "全部",
src: "/static/images/expense/type/shenp.png",
active: "/static/images/expense/type/shenpz.png",
id: 1,
},
{
name: "正常",
src: "/static/images/expense/type/yichl.png",
active: "/static/images/expense/type/yichlz.png",
id: 2,
},
{
name: "异常",
src: "/static/images/expense/type/yifq.png",
active: "/static/images/expense/type/yifqz.png",
id: 3,
},
{
name: "待我处理",
src: "/static/images/expense/type/yichl.png",
active: "/static/images/expense/type/yichlz.png",
id: 4,
}
// { label: "", value: 1 },
// { label: "", value: 2 },
// { label: "", value: 3 },
// { label: "", value: 4 },
],
selectFilter: 1, // tab
menu: {}, //
searchTime: stime, //
selectIndex: 0, //
selectServiceList: [], //
selectServerpartObj: {}, // label value
dataList: [], //
useInfo: {}, //
isEnd: false, //
PageIndex: 1, //
};
},
components: {
MenuItem,
},
onLoad() {
this.menu = uni.getMenuButtonBoundingClientRect();
let userInfo = uni.getStorageSync("vuex");
userInfo = JSON.parse(userInfo);
if (userInfo) {
this.useInfo = JSON.parse(JSON.stringify(userInfo));
}
//
this.handleGetServerpartList();
},
methods: {
//
handleGoDetail(obj) {
//
if (obj.situation === 1) {
this.$util.toNextRoute(
"navigateTo",
`/pages/walkAroundManager/detail?id=${obj.id}&pageType=error`
);
} else if (obj.situation === 0) {
//
this.$util.toNextRoute(
"navigateTo",
`/pages/walkAroundManager/detail?id=${obj.id}`
);
}
},
//
handleScrollBottom() {
if (!this.isEnd) {
this.PageIndex = this.PageIndex + 1;
this.handleGetDataList();
}
},
//
handleGetTime(e) {
console.log("e", e);
this.searchTime = e.detail.value;
this.dataList = [];
this.handleGetDataList();
},
//
handleChangeService(e) {
console.log("e", e);
this.selectIndex = Number(e.detail.value);
this.dataList = [];
this.handleGetDataList();
},
//
handleBack() {
uni.switchTab({ url: "/pages/index/index" });
},
// tab
handleChangeSelect(value) {
this.selectFilter = value;
this.dataList = [];
this.isEnd = false;
this.PageIndex = 1;
this.handleGetDataList();
},
//
async handleGetDataList() {
console.log("this.selectFilter", this.selectFilter);
uni.showLoading({
title: "加载中...",
});
const req = {
// serverPartId: 0,
// startTime: "",
// endTime: "",
startTime: this.$moment().subtract(1, 'months').format('YYYY-MM-DD'),
endTime: this.$moment().format('YYYY-MM-DD'),
pageNum: this.PageIndex,
pageSize: 10,
// serverPartId: this.selectServiceList[this.selectIndex].value,
// startTime: `${this.searchTime} 00:00:00`,
// endTime: `${this.searchTime} 23:59:59`,
extend:
this.selectFilter === 1
? null
: this.selectFilter === 2
? [
{
key: "situation",
value: 0,
},
]
: this.selectFilter === 3
? [
{
key: "situation",
value: 1,
},
]
: this.selectFilter === 4
? [
{
key: "person.STAFF_NAME",
value: this.useInfo.userData.UserName,
// this.useInfo.userData.UserId
},
]
: null,
// any:
// this.selectFilter === 4
// ? [
// {
// key: "STAFF_NAME",
// value: this.selectFilter === 4 ? "" : undefined,
// },
// // {
// // key: "userId",
// // value:
// // this.selectFilter === 4
// // ? this.useInfo.userData.UserId
// // : undefined,
// // },
// ]
// : undefined,
// 1 ,
};
console.log("req323131", req);
const data = await this.$request.$webJavaPOST(
`questionnaire-responses/getList`,
req
);
console.log("datadatadatadata", data);
let list = data.Result_Data.List;
if (list && list.length > 0) {
if (list.length < 10) {
this.isEnd = true;
}
// list.forEach((item) => {
// let extendObj = {};
// if (item.extend) {
// extendObj = JSON.parse(item.extend);
// }
// item.extendObj = extendObj;
// });
} else {
this.isEnd = true;
}
this.dataList = this.dataList.concat(list);
console.log("this.dataList", this.dataList);
uni.hideLoading();
},
//
async handleGetServerpartList() {
const req = {
UserIdEncrypted: this.useInfo.userData.UserIdEncrypted,
};
const data = await this.$request.$webGet(
"EShangApiMain/Logging/GetPassportInfoById",
req
);
console.log("Info", data);
const secondReq = {
ServerpartCodes: data.Result_Data.CityAuthority || "",
ServerpartType: 1000,
StatisticsType: "1000,2000",
};
const secondData = await this.$request.$webGet(
"EShangApiMain/BaseInfo/GetServerpartDDL",
secondReq
);
console.log("secondData", secondData);
secondData.Result_Data.List.unshift({
label: "蜀越公司",
value: 530,
});
this.selectServiceList = secondData.Result_Data.List;
//
this.handleGetDataList();
},
},
};
</script>
<style lang="less" scoped>
.main {
width: 100vw;
min-height: 100vh;
background: #f5f7f9;
box-sizing: border-box;
.tabBox {
width: 100%;
display: flex;
align-items: center;
background: #fff;
// width: 100%;
// height: 74rpx;
// box-sizing: border-box;
// padding: 16rpx 0 18rpx;
// display: flex;
// align-items: center;
// background: #ffffff;
.tabItem {
width: 25%;
display: flex;
justify-content: center;
align-items: center;
font-family: "PingFangSC";
font-weight: 400;
font-size: 30rpx;
color: #010b18;
line-height: 40rpx;
font-style: normal;
}
.selectTab {
position: relative;
}
.selectTab::after {
content: "";
width: 2rem;
height: 6rpx;
background: #3b72ff;
position: absolute;
bottom: -18rpx;
left: 50%;
transform: translateX(-50%);
}
}
.scrollbox {
width: 100vw;
height: calc(100vh - 180rpx - 48rpx);
background: #f6f7f9;
box-sizing: border-box;
margin-top: 24rpx;
// padding: 0 32rpx;
padding-bottom: env(safe-area-inset-bottom);
/* 兼容 iOS 11.2+ */
padding-bottom: constant(safe-area-inset-bottom);
.dataList {
width: 100%;
box-sizing: border-box;
padding: 24rpx 24rpx 0;
.dataItem {
width: 100%;
box-sizing: border-box;
background: #fff;
padding: 16rpx;
margin: 24rpx 0;
border-radius: 8rpx;
box-shadow: 0 0px 6rpx #e2e2e2;
position: relative;
.content-index {
width: 42rpx;
height: 32rpx;
line-height: 32rpx;
font-size: 24rpx;
color: #fff;
text-align: center;
background-color: #fb8b56;
position: absolute;
top: 26rpx;
left: -4rpx;
box-shadow: 4rpx 4rpx 2rpx 0 rgba(238, 112, 27, 0.5);
}
.itemRow {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
.projectName {
width: 60%;
font-size: 30rpx;
height: 54rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #333333;
box-sizing: border-box;
padding-left: 40rpx;
}
.leftName {
color: #686868;
font-size: 24rpx;
.radio {
display: inline-block;
width: 14rpx;
height: 14rpx;
border-radius: 14rpx;
margin: 0 8px 0 5px;
}
}
.stateName {
font-size: 28rpx;
color: #999999;
}
.rightName {
color: #686868;
font-size: 24rpx;
.radio {
display: inline-block;
width: 14rpx;
height: 14rpx;
border-radius: 14rpx;
margin: 0 8px 0 5px;
}
.month {
font-family: DINAlternate-Bold, DINAlternate;
}
}
}
.itemCenterRow {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
.value {
font-family: DINAlternate-Bold, DINAlternate;
font-size: 28rpx;
font-weight: 600;
color: #ff814fff;
width: 70%;
display: -webkit-box;
-webkit-line-clamp: 2;
/* 设置显示的行数 */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
}
}
.line {
height: 2rpx;
width: 100%;
background-color: #eee;
margin-bottom: 18rpx;
margin-top: 16rpx;
}
}
}
}
.scrollbox ::-webkit-scrollbar {
display: none;
width: 0;
}
// .top {
// width: 100%;
// background-image: url("https://eshangtech.com/ShopICO/yxcl/settlementApproval/pageBg.png");
// background-repeat: no-repeat;
// background-size: cover;
// box-sizing: border-box;
// padding: 0 32rpx;
// z-index: 4;
// position: relative;
// .arrowBox {
// width: 100%;
// display: flex;
// align-items: center;
// .img {
// width: 48rpx;
// height: 48rpx;
// }
// .selectServiceBox {
// margin-left: 16rpx;
// display: flex;
// align-items: center;
// .serviceIcon {
// width: 80rpx;
// height: 80rpx;
// position: relative;
// z-index: 2;
// }
// .nameBox {
// font-family: "PingFangSC";
// font-weight: 600;
// font-size: 28rpx;
// color: #160002;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// padding: 12rpx 34rpx 12rpx 48rpx;
// display: inline-block;
// border-top-right-radius: 200rpx;
// border-bottom-right-radius: 200rpx;
// background: #fff;
// transform: translateX(-20px);
// .moreIcon {
// width: 24rpx;
// height: 24rpx;
// margin-left: 14rpx;
// }
// }
// }
// }
// .timeBox {
// height: 28px;
// margin-top: 12px;
// display: flex;
// align-items: center;
// .timeSelect {
// display: flex;
// align-items: center;
// .monthNumber {
// font-family: "DINAlternate";
// font-size: 42rpx;
// font-weight: bold;
// }
// .monthUnit {
// margin-left: 4rpx;
// font-family: "PingFangSC";
// font-weight: 400;
// font-size: 28rpx;
// color: #242729;
// }
// .year {
// font-family: "DINAlternate";
// font-weight: 400;
// font-size: 28rpx;
// color: #786b6c;
// line-height: 32rpx;
// text-align: left;
// font-style: normal;
// margin-left: 8rpx;
// }
// }
// .bottomArrow {
// width: 32rpx;
// height: 32rpx;
// margin-left: 8rpx;
// }
// }
// .TabsBox {
// width: 100%;
// height: 32px;
// margin-top: 16px;
// box-sizing: border-box;
// display: flex;
// align-items: center;
// .tabItemList {
// width: calc(100% - 140rpx);
// display: flex;
// align-items: center;
// justify-content: space-between;
// height: 62rpx;
// margin-right: 30rpx;
// .tabItem {
// display: inline-block;
// font-family: PingFangSC, PingFang SC;
// font-weight: 400;
// font-size: 28rpx;
// height: 62rpx;
// color: #242729;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// }
// .selectTabItem {
// font-family: PingFangSC, PingFang SC;
// font-weight: 500;
// font-size: 28rpx;
// color: #fd7f21;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// position: relative;
// }
// .selectTabItem:after {
// content: "";
// height: 6rpx;
// position: absolute;
// width: 100%;
// left: 0;
// bottom: 0;
// background: #fd7f21;
// }
// }
// .otherItem {
// width: 110rpx;
// height: 62rpx;
// font-family: PingFangSC, PingFang SC;
// font-weight: 400;
// font-size: 28rpx;
// color: #786b6c;
// line-height: 40rpx;
// text-align: left;
// font-style: normal;
// position: relative;
// box-sizing: border-box;
// display: flex;
// justify-content: flex-end;
// padding-left: 10rpx;
// .filterIcon {
// width: 32rpx;
// height: 32rpx;
// margin-right: 4rpx;
// margin-top: 4rpx;
// }
// }
// .otherItem:before {
// content: "";
// width: 1px;
// height: 36rpx;
// background: #e4e4e4;
// position: absolute;
// top: 0;
// left: 0;
// }
// }
// }
// .contentBox {
// width: 100%;
// height: 100%;
// background-color: #f3f3f3;
// .dataList {
// width: 100%;
// box-sizing: border-box;
// padding: 24rpx 24rpx 0;
// .dataItem {
// width: 100%;
// box-sizing: border-box;
// background: #fff;
// padding: 16rpx;
// margin: 24rpx 0;
// border-radius: 8rpx;
// box-shadow: 0 0px 6rpx #e2e2e2;
// position: relative;
// .content-index {
// width: 42rpx;
// height: 32rpx;
// line-height: 32rpx;
// font-size: 24rpx;
// color: #fff;
// text-align: center;
// background-color: #fb8b56;
// position: absolute;
// top: 26rpx;
// left: -4rpx;
// box-shadow: 4rpx 4rpx 2rpx 0 rgba(238, 112, 27, 0.5);
// }
// .itemRow {
// width: 100%;
// display: flex;
// align-items: center;
// justify-content: space-between;
// .projectName {
// width: 60%;
// font-size: 28rpx;
// height: 54rpx;
// overflow: hidden;
// text-overflow: ellipsis;
// white-space: nowrap;
// color: #333333;
// box-sizing: border-box;
// padding-left: 40rpx;
// }
// .leftName {
// color: #686868;
// font-size: 24rpx;
// .radio {
// display: inline-block;
// width: 14rpx;
// height: 14rpx;
// border-radius: 14rpx;
// margin: 0 8px 0 5px;
// }
// }
// .stateName {
// font-size: 28rpx;
// color: #999999;
// }
// .rightName {
// color: #686868;
// font-size: 24rpx;
// .radio {
// display: inline-block;
// width: 14rpx;
// height: 14rpx;
// border-radius: 14rpx;
// margin: 0 8px 0 5px;
// }
// .month {
// font-family: DINAlternate-Bold, DINAlternate;
// }
// }
// }
// .itemCenterRow {
// width: 100%;
// display: flex;
// flex-direction: column;
// align-items: center;
// .value {
// font-family: DINAlternate-Bold, DINAlternate;
// font-size: 16px;
// font-weight: 600;
// color: #ff814fff;
// width: 70%;
// display: -webkit-box;
// -webkit-line-clamp: 2; /* */
// -webkit-box-orient: vertical;
// overflow: hidden;
// text-overflow: ellipsis;
// text-align: center;
// }
// .label {
// font-size: 12px;
// color: #999999;
// }
// }
// .line {
// height: 2rpx;
// width: 100%;
// background-color: #eee;
// margin-bottom: 18rpx;
// margin-top: 16rpx;
// }
// }
// }
// .load-more {
// text-align: center;
// width: 100%;
// height: 80rpx;
// color: #9999;
// font-size: 24rpx;
// }
// }
}
</style>

View File

@ -32,6 +32,10 @@ export default {
data.WeChat_MiniProToken = Store.state.userData.WeChat_MiniProToken || ''
data.WeChatAppId = 'wxa99ef047735c031e'
data.memberShipId = !data.memberShipId ? (Store.state.userData.Membership_Id || '') : data.memberShipId // ||'3255' 1170386 1125717 //
// 加点公参
data.MembershipName = Store.state.userData.Membership_Name
data.MembershipPhone = Store.state.userData.Membership_Phone
// ModuleGuid:"60ee4604-0830-4056-931d-d1f7e111810c,1d46081b-6ff8-44d5-9205-31c72bdb4328",
let str = ''
if (Store.state.userData.AuthorityInfo) {

View File

@ -30,10 +30,11 @@ export default {
// JavaApiurl: 'https://admin.es.eshangtech.com/platform/', // web api测试接口地址
// JavaApiurl: 'http://111.229.213.193:18072/', // web api测试接口地址
// JavaApiurl: 'http://111.229.213.193:18075/', // web api测试接口地址
JavaApiurl: 'https://java.es.eshangtech.com:443/', // web api测试接口地址
// JavaApiurl: 'http://111.229.213.193:18071/', // web api测试接口地址
// JavaApiurl: 'http://10.104.1.175:8070/platform/', // web api测试接口地址
}