Commit bd2e6b56 by wangzhihui

独立版本

1 parent 7e48dc93
Showing 75 changed files with 230 additions and 268 deletions
...@@ -41,12 +41,7 @@ ...@@ -41,12 +41,7 @@
"iconPath": "images/tab-order.png", "iconPath": "images/tab-order.png",
"selectedIconPath": "images/tab-order-active.png" "selectedIconPath": "images/tab-order-active.png"
}, },
{
"pagePath": "pages/tabDateIndex/pages/tabDateIndex",
"text": "预约管理",
"iconPath": "images/tab-date.png",
"selectedIconPath": "images/tab-date-active.png"
},
{ {
"pagePath": "pages/materails/index", "pagePath": "pages/materails/index",
"text": "营销素材", "text": "营销素材",
......
...@@ -20,18 +20,18 @@ ...@@ -20,18 +20,18 @@
<view class="nickname">{{userInfo.nickname}}</view> <view class="nickname">{{userInfo.nickname}}</view>
</view> --> </view> -->
</view> </view>
<view class="point-box" wx:if="{{isForbidden}}"> <!-- <view class="point-box" wx:if="{{isForbidden}}">
<view class="change_btn" bind:tap="toPoint">我的积分</view> <view class="change_btn" bind:tap="toPoint">我的积分</view>
<image class="icon_card" bindtap="jumpAccount" src="{{IMG_URL}}bank-card.png" mode="" /> <image class="icon_card" bindtap="jumpAccount" src="{{IMG_URL}}bank-card.png" mode="" />
</view> </view> -->
<!-- <view class="change_btn" bindtap="changeAccount">切换账号</view> --> <!-- <view class="change_btn" bindtap="changeAccount">切换账号</view> -->
</view> </view>
<view class="user-info"> <!-- <view class="user-info">
<view class="user-text"> <view class="user-text">
<view class="item">所属园区:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}</view> <view class="item">所属园区:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}</view>
<view class="item">创建时间:{{userInfo.createdTime}}</view> <view class="item">创建时间:{{userInfo.createdTime}}</view>
</view> </view>
</view> </view> -->
</view> </view>
<block> <block>
<view class="set_box"> <view class="set_box">
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
</view> </view>
</view> </view>
</block> </block>
<view class="collegeCon"> <!-- <view class="collegeCon">
<view class="set_box" wx:if="{{ showCollege }}"> <view class="set_box" wx:if="{{ showCollege }}">
<view class="set_item" bindtap="goCollegeScene"> <view class="set_item" bindtap="goCollegeScene">
<view class="title">工资绩效(员工绩效)</view> <view class="title">工资绩效(员工绩效)</view>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
<image class="icon_image" src="./images/right.png" mode="" /> <image class="icon_image" src="./images/right.png" mode="" />
</view> </view>
</view> </view>
</view> </view> -->
<view class="logout-box"> <view class="logout-box">
<view class="logout text-center" bindtap="changeAccount">切换账号</view> <view class="logout text-center" bindtap="changeAccount">切换账号</view>
<view class="logout text-center" bindtap="logout">退出账号</view> <view class="logout text-center" bindtap="logout">退出账号</view>
......
/* integration/pages/bankAccount/detail/detail.wxss */
\ No newline at end of file \ No newline at end of file
/* integration/pages/bankAccount/list/list.wxss */
\ No newline at end of file \ No newline at end of file
/* integration/pages/point/index/index.wxss */
\ No newline at end of file \ No newline at end of file
/* integration/pages/point/record/record.wxss */
\ No newline at end of file \ No newline at end of file
/* integration/pages/point/success/success.wxss */
\ No newline at end of file \ No newline at end of file
/* integration/pages/point/toCash/toCash.wxss */
\ No newline at end of file \ No newline at end of file
/* packageCrowdFunding/pages/activityPage/activityPay/activityPay.wxss */
\ No newline at end of file \ No newline at end of file
/* packageCrowdFunding/pages/activityPage/balanceNote/balanceNote.wxss */
\ No newline at end of file \ No newline at end of file
/* packageCrowdFunding/pages/activityPage/newOrder/newOrder.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -35,11 +35,11 @@ Page({ ...@@ -35,11 +35,11 @@ Page({
iconPath: "/images/tab-order.png", iconPath: "/images/tab-order.png",
selectedIconPath: "/images/tab-order-active.png", selectedIconPath: "/images/tab-order-active.png",
}, },
{ // {
name: "权益提单", // name: "权益提单",
iconPath: "/images/tab-equity.png", // iconPath: "/images/tab-equity.png",
selectedIconPath: "/images/tab-equity-active.png", // selectedIconPath: "/images/tab-equity-active.png",
}, // },
{ {
name: "营销素材", name: "营销素材",
iconPath: "/images/tab-material.png", iconPath: "/images/tab-material.png",
......
...@@ -31,9 +31,9 @@ ...@@ -31,9 +31,9 @@
<!-- wx:if="{{ tabIndex == 0}}" wx:if="{{ tabIndex == 1}}" --> <!-- wx:if="{{ tabIndex == 0}}" wx:if="{{ tabIndex == 1}}" -->
<quotation-list id="page-1" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 1?'':'hide' }}" mode="{{ mode }}" staffUuid="{{staffUuid}}" /> <quotation-list id="page-1" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 1?'':'hide' }}" mode="{{ mode }}" staffUuid="{{staffUuid}}" />
<home id="page-0" class="pagedetail {{ tabIndex == 0?'':'hide' }}" navBarHeight="{{ navBarHeight }}" waitInputCount="{{waitInputCount}}" mode="{{ mode }}" showScreen="{{showScreen}}" show="{{tabIndex == 0}}"></home> <home id="page-0" class="pagedetail {{ tabIndex == 0?'':'hide' }}" navBarHeight="{{ navBarHeight }}" waitInputCount="{{waitInputCount}}" mode="{{ mode }}" showScreen="{{showScreen}}" show="{{tabIndex == 0}}"></home>
<equity-list id="page-2" outTabIndex="{{ tabIndex }}" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 2?'':'hide' }}" /> <!-- <equity-list id="page-2" outTabIndex="{{ tabIndex }}" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 2?'':'hide' }}" /> -->
<makert-material id="page-3" navBarHeight="{{ navBarHeight }}" class="pagedetail {{tabIndex == 3?'':'hide'}}"></makert-material> <makert-material id="page-2" navBarHeight="{{ navBarHeight }}" class="pagedetail {{tabIndex == 2?'':'hide'}}"></makert-material>
<tab-mine showCollege="{{ enableBusinessSchool }}" id="page-4" class="pagedetail {{ tabIndex == 4?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine> <tab-mine showCollege="{{ enableBusinessSchool }}" id="page-3" class="pagedetail {{ tabIndex == 3?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine>
</block> </block>
</view> </view>
<view class="waitOrderCon" wx:if="{{ waitInputCount && mode == 1 && tabIndex == 0 }}"> <view class="waitOrderCon" wx:if="{{ waitInputCount && mode == 1 && tabIndex == 0 }}">
......
/* packageEquity/pages/aiCheck/chat/chat.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/defense/defense.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/detail/detail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/redundance/redundance.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/result/result.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/scene/scene.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiCheck/start/start.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiExcercise/ai/ai.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiExcercise/detail/detail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiExcercise/list/list.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiExcercise/result/result.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspection/aiInspection.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspectionDetail/aiInspectionDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/aiInspectionReception/aiInspectionReception.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/beforeCreate/beforeCreate.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carEquity/previewList/previewList.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/CarQuotationDetail/CarQuotationDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/CarQuotationPay/CarQuotationPay.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/reception/reception.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/schemeConfirmation/schemeConfirmation.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/carQuotation/signature/signature.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/clueDetail/clueDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/clueList/clueList.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/collegeScene/collegeScene.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/createDeafeatOrderAi/createDeafeatOrderAi.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/createDeafeatOrderBefore/createDeafeatOrderBefore.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/deliveryTarget/deliveryTarget.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/employeeInspection/employeeInspection.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/equityQualityOrderList/equityQualityOrderList.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -374,22 +374,22 @@ Component({ ...@@ -374,22 +374,22 @@ Component({
menuList, menuList,
mode mode
} = this.data; } = this.data;
if ( // if (
isStaff && // isStaff &&
menuList.every((item) => item.menuText != "战败下单" && mode) // menuList.every((item) => item.menuText != "战败下单" && mode)
) { // ) {
menuList.push({ // menuList.push({
menuText: "战败下单", // menuText: "战败下单",
icon: "deafeat_order", // icon: "deafeat_order",
// path: "packageEquity.createDeafeatOrder", // // path: "packageEquity.createDeafeatOrder",
path: "packageEquity.createDeafeatOrderBefore", // path: "packageEquity.createDeafeatOrderBefore",
sortVal: 3 // sortVal: 3
}); // });
} // }
if (menuList.some((item) => item.menuText == "战败下单" && mode == 0)) { // if (menuList.some((item) => item.menuText == "战败下单" && mode == 0)) {
menuList = menuList.filter((item) => item.menuText != "战败下单"); // menuList = menuList.filter((item) => item.menuText != "战败下单");
} // }
console.log('menuList', mode, menuList,); // console.log('menuList', mode, menuList,);
// 将menuList排序 // 将menuList排序
menuList.sort((a, b) => a.sortVal - b.sortVal) menuList.sort((a, b) => a.sortVal - b.sortVal)
this.setData({ this.setData({
...@@ -463,35 +463,35 @@ Component({ ...@@ -463,35 +463,35 @@ Component({
sortVal: 2 sortVal: 2
}); });
} }
if ( // if (
isStaff && // isStaff &&
menuList.every((item) => item.menuText != "战败下单" && mode) // menuList.every((item) => item.menuText != "战败下单" && mode)
) { // ) {
menuList.push({ // menuList.push({
menuText: "战败下单", // menuText: "战败下单",
icon: "deafeat_order", // icon: "deafeat_order",
path: "packageEquity.createDeafeatOrder", // path: "packageEquity.createDeafeatOrder",
path: "packageEquity.createDeafeatOrderBefore", // path: "packageEquity.createDeafeatOrderBefore",
sortVal: 3 // sortVal: 3
}); // });
} // }
if ((userInfo.isSuper || userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != "BI报表")) { // if ((userInfo.isSuper || userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != "BI报表")) {
menuList.unshift({ // menuList.unshift({
menuText: "BI报表", // menuText: "BI报表",
path: "tabOperating.index", // path: "tabOperating.index",
recordId: 11, // recordId: 11,
icon: "business_data", // icon: "business_data",
sortVal: 11 // sortVal: 11
}) // })
} // }
if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != '积分审批')) { // if ((userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != '积分审批')) {
menuList.unshift({ // menuList.unshift({
menuText: "积分审批", // menuText: "积分审批",
path: "pages.pointsReview", // path: "pages.pointsReview",
icon: "points_review", // icon: "points_review",
sortVal: 12 // sortVal: 12
}) // })
} // }
// if ( // if (
// userInfo.isSuper && // userInfo.isSuper &&
// menuList.every((item) => item.menuText != "质检管理") // menuList.every((item) => item.menuText != "质检管理")
...@@ -516,57 +516,57 @@ Component({ ...@@ -516,57 +516,57 @@ Component({
}); });
} }
// 驻店负责人 // 驻店负责人
if ( // if (
app.globalData.isStaff && // app.globalData.isStaff &&
userInfo?.loginRoleOnSelectMerchant == 4 && // userInfo?.loginRoleOnSelectMerchant == 4 &&
menuList.every((item) => item.menuText != "交车目标") // menuList.every((item) => item.menuText != "交车目标")
) { // ) {
menuList.push({ // menuList.push({
menuText: "交车目标", // menuText: "交车目标",
path: "packageEquity.deliveryTarget", // path: "packageEquity.deliveryTarget",
icon: "delivery_target", // icon: "delivery_target",
sortVal: 9 // sortVal: 9
}); // });
} // }
if (!(userInfo?.isSuper || userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != "培训资料")) { // if (!(userInfo?.isSuper || userInfo?.loginRole == 3 || userInfo.loginRole == 5) && menuList.every((item) => item.menuText != "培训资料")) {
menuList.push({ // menuList.push({
menuText: "培训资料", // menuText: "培训资料",
icon: "peixun_icon", // icon: "peixun_icon",
path: "packageEquity.trainingMaterials", // path: "packageEquity.trainingMaterials",
sortVal: 7 // sortVal: 7
}); // });
} // }
if (!app.globalData.isStaff || userInfo?.loginRoleOnSelectMerchant != 4) { // if (!app.globalData.isStaff || userInfo?.loginRoleOnSelectMerchant != 4) {
let index = menuList?.findIndex((val) => val.menuText == "交车目标"); // let index = menuList?.findIndex((val) => val.menuText == "交车目标");
index > -1 && menuList.splice(index, 1); // index > -1 && menuList.splice(index, 1);
} // }
// 督导和销售 // 督导和销售
if ((userInfo?.loginRole == 3 || userInfo?.loginRole == 5) && menuList.every((item) => item.menuText != '工作日报')) { // if ((userInfo?.loginRole == 3 || userInfo?.loginRole == 5) && menuList.every((item) => item.menuText != '工作日报')) {
menuList.push({ // menuList.push({
menuText: "工作日报", // menuText: "工作日报",
path: "tabWorkOrder.supervisorDaily", // path: "tabWorkOrder.supervisorDaily",
icon: "supervisorDaily", // icon: "supervisorDaily",
}) // })
} // }
if ( // if (
(userInfo?.isSuper || // (userInfo?.isSuper ||
userInfo?.loginRole == 3 || // userInfo?.loginRole == 3 ||
userInfo.loginRole == 5) && // userInfo.loginRole == 5) &&
menuList.every((item) => item.menuText != "驻店管理") // menuList.every((item) => item.menuText != "驻店管理")
) { // ) {
menuList.push({ // menuList.push({
menuText: "驻店管理", // menuText: "驻店管理",
path: "tabWorkOrder.residentManage", // path: "tabWorkOrder.residentManage",
recordId: 13, // recordId: 13,
icon: "residentManage" // icon: "residentManage"
}); // });
} // }
this.checkIsPadOrNot(); this.checkIsPadOrNot();
this.getData(); this.getData();
// 隐藏待办事项模块 // 隐藏待办事项模块
// if (isStaff) this.getStaffRemindList(); // if (isStaff) this.getStaffRemindList();
this.getTotal(this.data.dataActive); this.getTotal(this.data.dataActive);
let eventArr = [this.getYqStoreConfig(), this.getInspectionBadgeCode(), this.getBusiness(), this.getStoreList()] let eventArr = [ this.getInspectionBadgeCode()]
if (isStaff) eventArr.push(this.getStaffTargetTask()) if (isStaff) eventArr.push(this.getStaffTargetTask())
Promise.all(eventArr).then(() => { Promise.all(eventArr).then(() => {
this.menuListRest(); // 解决融合和非融合互相切换导致战败按钮问题 this.menuListRest(); // 解决融合和非融合互相切换导致战败按钮问题
...@@ -1039,28 +1039,29 @@ Component({ ...@@ -1039,28 +1039,29 @@ Component({
return wx.$router.go(item.path, { return wx.$router.go(item.path, {
id: taskId, id: taskId,
}); });
} else {
if (item.menuText === "培训资料") {
let params = {
merchantId: userInfo?.default4SStoreInfo?.merchantId,
staffUuid: userInfo?.uuid,
scene: 0,
taskId: 5,
};
commonApi.shutDownTaskApi(params);
} }
else {
// if (item.menuText === "培训资料") {
// let params = {
// merchantId: userInfo?.default4SStoreInfo?.merchantId,
// staffUuid: userInfo?.uuid,
// scene: 0,
// taskId: 5,
// };
// commonApi.shutDownTaskApi(params);
// }
// console.log(merchantBrand.findIndex((i) => ["鸿蒙智行"].includes(i.name)) == -1); // console.log(merchantBrand.findIndex((i) => ["鸿蒙智行"].includes(i.name)) == -1);
// debugger // debugger
if (item.menuText == '战败下单' && merchantBrand.findIndex((i) => ["鸿蒙智行"].includes(i.name)) == -1) { // if (item.menuText == '战败下单' && merchantBrand.findIndex((i) => ["鸿蒙智行"].includes(i.name)) == -1) {
item.path = 'packageEquity.createDeafeatOrder' // item.path = 'packageEquity.createDeafeatOrder'
} // }
if (item.menuText == '战败下单') { // if (item.menuText == '战败下单') {
// 校验是否填写昨日日报 // // 校验是否填写昨日日报
let staffCheck = await checkDailyReport(true); // let staffCheck = await checkDailyReport(true);
if (staffCheck) return false; // if (staffCheck) return false;
} // }
return wx.$router.go(item.path, { return wx.$router.go(item.path, {
scene: 0, scene: 0,
params: item.params || {}, params: item.params || {},
......
...@@ -102,10 +102,9 @@ ...@@ -102,10 +102,9 @@
</block> </block>
</view> --> </view> -->
</view> </view>
<view class="receive-list" wx:if="{{storeRangeList.length || userInfo.loginRole== 3 || userInfo.loginRole== 5}}"> <!-- <view class="receive-list" wx:if="{{storeRangeList.length || userInfo.loginRole== 3 || userInfo.loginRole== 5}}">
<view class="'screen-box' {{showScreen ? '' : 'sticky-screen'}} {{isScrollTop ? 'bg-white' : ''}}"> <view class="'screen-box' {{showScreen ? '' : 'sticky-screen'}} {{isScrollTop ? 'bg-white' : ''}}">
<view> <view>
<!-- <text class="title">接待记录</text> -->
<text class="name text-hide">{{searchForm.merchantNames.length > 1 ? '部分门店' : searchForm.merchantNames.length ? filter.filterMerchantName(searchForm.merchantNames) : !userInfo.isSuper && userInfo.loginRole != 3 ? userInfo.default4SStoreInfo.merchantName : '全部门店'}}</text> <text class="name text-hide">{{searchForm.merchantNames.length > 1 ? '部分门店' : searchForm.merchantNames.length ? filter.filterMerchantName(searchForm.merchantNames) : !userInfo.isSuper && userInfo.loginRole != 3 ? userInfo.default4SStoreInfo.merchantName : '全部门店'}}</text>
</view> </view>
<view bindtap="showScreenPop"> <view bindtap="showScreenPop">
...@@ -162,7 +161,7 @@ ...@@ -162,7 +161,7 @@
</block> </block>
<view class="seize-box"></view> <view class="seize-box"></view>
</view> </view>
</view> </view> -->
</scroll-view> </scroll-view>
</view> </view>
<task-dialog wx:if="{{ showTaskDialog }}" showDialog="{{ showTaskDialog }}" taskInfo="{{ taskInfo }}"></task-dialog> <task-dialog wx:if="{{ showTaskDialog }}" showDialog="{{ showTaskDialog }}" taskInfo="{{ taskInfo }}"></task-dialog>
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/receptionDetail/receptionDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/receptionRecords/receptionRecords.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/residentTarget/residentTarget.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/trainingMaterials/pages/playVideo/index.wxss */
\ No newline at end of file \ No newline at end of file
/* packageEquity/pages/trainingMaterials/trainingMaterials.wxss */
\ No newline at end of file \ No newline at end of file
/* pages/log/log.wxss */
\ No newline at end of file \ No newline at end of file
/* pages/pointsReview/pointsReview.wxss */
\ No newline at end of file \ No newline at end of file
/* pages/tabDateIndex/pages/tabDateIndex.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -17,13 +17,12 @@ ...@@ -17,13 +17,12 @@
</view> </view>
<view class="name_box"> <view class="name_box">
<view class="item name text-hide">{{userInfo.name}}</view> <view class="item name text-hide">{{userInfo.name}}</view>
<view class="point-box" wx:if="{{isForbidden}}"> <!-- <view class="point-box" wx:if="{{isForbidden}}">
<view class="change_btn" bind:tap="toPoint">我的积分</view> <view class="change_btn" bind:tap="toPoint">我的积分</view>
<image class="icon_card" bindtap="jumpAccount" src="{{IMG_URL}}bank-card.png" mode="" /> <image class="icon_card" bindtap="jumpAccount" src="{{IMG_URL}}bank-card.png" mode="" />
</view> -->
</view> </view>
<!-- <view class="change_btn" bindtap="changeAccount">切换账号</view> --> <!-- <view class="user-info">
</view>
<view class="user-info">
<view class="user-text"> <view class="user-text">
<view class="item"> <view class="item">
所属园区店:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}} 所属园区店:{{userInfo.merchantName}}{{userInfo.isSuper==true?'(超管)':loginRoleLabel[userInfo.loginRole]}}
...@@ -43,57 +42,51 @@ ...@@ -43,57 +42,51 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view> -->
</view> </view>
<view class="set_box"> <view class="set_box">
<view class="set_item " bindtap="showWork" wx:if="{{isForbidden}}"> <!-- <view class="set_item " bindtap="showWork" wx:if="{{isForbidden}}">
<view class="title">工位设置 <view class="title">工位设置
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<!-- font-size: var(--fontSize32); -->
<view class="set_tips" wx:if="{{workCount>0}}"><text style="color: #333333; font-weight: 500;">{{workCount}}</text> 个</view> <view class="set_tips" wx:if="{{workCount>0}}"><text style="color: #333333; font-weight: 500;">{{workCount}}</text> 个</view>
<view class="set_tips" wx:else>根据门店设置工位数</view> <view class="set_tips" wx:else>根据门店设置工位数</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view> -->
<view class="set_item " bindtap="showMerchantPop" wx:if="{{isForbidden}}"> <view class="set_item " bindtap="showMerchantPop" wx:if="{{isForbidden}}">
<view class="title">录单设置 <view class="title">录单设置
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">设置录单必填项</view> <view class="set_tips">设置录单必填项</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view>
<view class="set_item " bindtap="changeScene"> <view class="set_item " bindtap="changeScene">
<view class="title">场景切换 <view class="title">场景切换
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">{{selectedSceneName}}</view> <view class="set_tips">{{selectedSceneName}}</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view>
<view class="set_item " bindtap="goReservationCouponPage" wx:if="{{isForbidden}}"> <!-- <view class="set_item " bindtap="goReservationCouponPage" wx:if="{{isForbidden}}">
<view class="title">领券预约 <view class="title">领券预约
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">设置接待电话</view> <view class="set_tips">设置接待电话</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view> -->
<view class="set_item " bindtap="goTechnicianSetupPage" wx:if="{{isForbidden}}"> <!-- <view class="set_item " bindtap="goTechnicianSetupPage" wx:if="{{isForbidden}}">
<view class="title">技师设置 <view class="title">技师设置
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">设置园区店技师</view> <view class="set_tips">设置园区店技师</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view> -->
<view class="set_item " bindtap="goConstructSetupPage" wx:if="{{isForbidden}}"> <!-- <view class="set_item " bindtap="goConstructSetupPage" wx:if="{{isForbidden}}">
<view class="title">完成施工 <view class="title">完成施工
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">设置施工完成上传图片</view> <view class="set_tips">设置施工完成上传图片</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
</view> </view> -->
<view class="set_item " bindtap="goVersionPage"> <view class="set_item " bindtap="goVersionPage">
<view class="title">更新日志 <view class="title">更新日志
<!-- <image class="arrow_icon" src="../../images/arrow_icon.png" mode="" /> -->
</view> </view>
<view class="set_tips">最新{{versionData.version}}版</view> <view class="set_tips">最新{{versionData.version}}版</view>
<image class="icon_image" src="../../images/right.png" mode="" /> <image class="icon_image" src="../../images/right.png" mode="" />
......
...@@ -202,10 +202,10 @@ ...@@ -202,10 +202,10 @@
<image src="{{ IMG_URL }}upgrade/scancode_verification02.png" /> <image src="{{ IMG_URL }}upgrade/scancode_verification02.png" />
新增工单 新增工单
</view> </view>
<view class="btn text-center" bindtap="scan"> <!-- <view class="btn text-center" bindtap="scan">
<image src="{{ IMG_URL }}upgrade/create_newworkorder01.png" /> <image src="{{ IMG_URL }}upgrade/create_newworkorder01.png" />
扫码核销 扫码核销
</view> </view> -->
</view> </view>
</block> </block>
<block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && !showIcon1 }}"> <block wx:if="{{ !userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && !showIcon1 }}">
......
/* pages/tabWorkOrder/pages/index/index.wxss */
\ No newline at end of file \ No newline at end of file
/* pages/wxLogin/wxLogin.wxss */
\ No newline at end of file \ No newline at end of file
/* subvehicleConversion/pages/activityPage/order/order.wxss */
\ No newline at end of file \ No newline at end of file
/* subvehicleConversion/pages/activityPage/visitor/visitor.wxss */
\ No newline at end of file \ No newline at end of file
/* tabDate/pages/detail/detail.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
"usingComponents": { "usingComponents": {
"order-switchPopup": "/components/orderSwitchPopup/orderSwitchPopup", "order-switchPopup": "/components/orderSwitchPopup/orderSwitchPopup",
"side-select-popup": "/components/SideSelectPopup/SideSelectPopup", "side-select-popup": "/components/SideSelectPopup/SideSelectPopup",
"CalendarMonthSingle": "/components/CalendarMonthSingle/CalendarMonth",
"van-progress": "@vant/weapp/progress/index", "van-progress": "@vant/weapp/progress/index",
"store-picker": "/components/storePicker/storePicker", "store-picker": "/components/storePicker/storePicker",
"recording-order-popup": "/tabIndex/components/recordingOrderPopup/recordingOrderPopup", "recording-order-popup": "/tabIndex/components/recordingOrderPopup/recordingOrderPopup",
......
/* tabIndex/pages/index/index.wxss */
\ No newline at end of file \ No newline at end of file
...@@ -40,20 +40,20 @@ export default { ...@@ -40,20 +40,20 @@ export default {
// recordId: 6, // recordId: 6,
// icon: "boutique_upgrade", // icon: "boutique_upgrade",
// }, // },
{ // {
name: "客户建档", // name: "客户建档",
// name: '战败下单', // // name: '战败下单',
url: "tabWorkOrder.createArchives", // url: "tabWorkOrder.createArchives",
recordId: 8, // recordId: 8,
icon: "customer_filing", // icon: "customer_filing",
}, // },
{ // {
name: "扫码下单", // name: "扫码下单",
url: "tabWorkOrder.createOrder", // url: "tabWorkOrder.createOrder",
type: "scanCode", // type: "scanCode",
recordId: 7, // recordId: 7,
icon: "scancode_verification", // icon: "scancode_verification",
}, // },
// { // {
// name: '预约管理', // name: '预约管理',
...@@ -61,59 +61,28 @@ export default { ...@@ -61,59 +61,28 @@ export default {
// recordId: 9, // recordId: 9,
// icon: 'booking_management' // icon: 'booking_management'
// }, // },
{ // {
name: "生意助手", // name: "生意助手",
type: "mini", // type: "mini",
recordId: 12, // recordId: 12,
icon: "boutique-syzs", // icon: "boutique-syzs",
}, // },
// { // {
// name: "驻店日报", // name: "驻店日报",
// url: "tabWorkOrder.staffDaily", // url: "tabWorkOrder.staffDaily",
// recordId: 13, // recordId: 13,
// icon: "staffreport", // icon: "staffreport",
// }, // },
{ // {
name: "营销素材", // name: "营销素材",
url: "/pages/materails/index", // url: "/pages/materails/index",
recordId: 9, // recordId: 9,
icon: "icon-market", // icon: "icon-market",
}, // },
], ],
newMenu: [], newMenu: [],
totalTableSum: [
{
name: "filmTimesTotalSum",
},
{
name: "usedTotalSum",
},
{
name: "experienceTotalSum",
},
{
name: "upgradeTotalSum",
},
{
name: "orderMoneyTotalSum",
},
{
name: "customerUnitMoneySum",
},
{
name: "upgradeRateSum",
},
],
tableHeight: (20 + 1) * 96, tableHeight: (20 + 1) * 96,
tableWidth: 118 * 7 + 232 + 10,
pageNum: 1, pageNum: 1,
tipsProps: {
tipsText: "该门店产生异常订单,请点击补录!",
showTips: true,
type: 2,
typeText: "补录订单",
},
totalList: [ totalList: [
// { // {
// name: '服务客户', // name: '服务客户',
...@@ -189,67 +158,10 @@ export default { ...@@ -189,67 +158,10 @@ export default {
type: "date", type: "date",
}, },
], ],
tableSort: 4,
//排序类型(1:发券数升序,2:发券数降序,3:核销数升序,4:核销数降序,5:转化数升序,6:转化数降序,
// 7:转化金额升序,8:转化金额降序,9:客单价升序,10:客单价降序,11:转化率升序,12:转化率降序)
orderByTypeEnum: { orderByTypeEnum: {
true: [1, 3, 13, 5, 7, 9, 11], true: [1, 3, 13, 5, 7, 9, 11],
false: [2, 4, 14, 6, 8, 10, 12], false: [2, 4, 14, 6, 8, 10, 12],
}, },
tableObj: [
{
name: "贴膜",
// unit: '(张)',
unit: "/台",
// key: 'getTotal',//发券数
key: "filmTimes",
width: "var(--fontSize110)",
},
{
name: "核销",
// unit: '(张)',
unit: "/张",
key: "usedTotal",
width: "var(--fontSize110)",
},
{
name: "体验",
// unit: '(位)',
unit: "/位",
key: "experienceTotal",
width: "var(--fontSize110)",
},
{
name: "转化",
// unit: '(单)',
unit: "/单",
key: "upgradeTotal",
width: "var(--fontSize110)",
},
{
name: "营业额",
// unit: '(元)',
unit: "",
key: "orderMoneyTotal",
sort: false,
// width: 'var(--fontSize124)'
width: "var(--fontSize110)",
},
{
name: "客单价",
// unit: '(元)',
unit: "",
key: "customerUnitMoney",
width: "var(--fontSize110)",
},
{
name: "转化率",
// unit: '(率)',
unit: "",
key: "upgradeRate",
width: "var(--fontSize110)",
},
],
table: [], table: [],
loginRoleLabel: { loginRoleLabel: {
1: "超管", 1: "超管",
......
/* tabMine/pages/collectCoupons/collectCoupons.wxss */
\ No newline at end of file \ No newline at end of file
/* tabMine/pages/completeBuild/completeBuild.wxss */
\ No newline at end of file \ No newline at end of file
/* tabMine/pages/technicianSetup/technicianSetup.wxss */
\ No newline at end of file \ No newline at end of file
/* tabOperating/pages/index/index.wxss */
\ No newline at end of file \ No newline at end of file
/* tabOperating/pages/operatingShow/operatingShow.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/createOrder/createOrder.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/residentManage/residentManage.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/staffDaily/staffDaily.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/supervisorDaily/supervisorDaily.wxss */
\ No newline at end of file \ No newline at end of file
/* tabWorkOrder/pages/upgradeStaffDaily/upgradeStaffDaily.wxss */
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!