Commit dcdf42ce by 张立顺

Merge branch 'dev_v4.31.0_1031' into dev_v4.32.0_1130

2 parents da22ed79 f92e0eb7
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
"pages/carQuotation/CarQuotationPay/CarQuotationPay", "pages/carQuotation/CarQuotationPay/CarQuotationPay",
"pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation", "pages/carQuotation/createOrderCarQuotation/createOrderCarQuotation",
"pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple", "pages/carQuotation/createOrderCarQuotationSimple/createOrderCarQuotationSimple",
"pages/carQuotation/updateOrderInfo/updateOrderInfo",
"pages/ocrEquityModules/ocrEquityModules", "pages/ocrEquityModules/ocrEquityModules",
"pages/carEquity/previewList/previewList", "pages/carEquity/previewList/previewList",
"pages/carEquity/serviceInfo/serviceInfo", "pages/carEquity/serviceInfo/serviceInfo",
......
...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd' ...@@ -18,7 +18,7 @@ export const appId = 'wx570d9331f9ace0bd'
* 4预发布 * 4预发布
* 5cdptest * 5cdptest
*/ */
let index = 3 let index = 1
const accountInfo = wx.getAccountInfoSync() const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync() const systemInfo = wx.getSystemInfoSync()
......
...@@ -97,6 +97,11 @@ module.exports = { ...@@ -97,6 +97,11 @@ module.exports = {
/** 会员权益产值统计 */ /** 会员权益产值统计 */
outputValueStatistics(data) { outputValueStatistics(data) {
return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.quotation.outputValueStatistics', data) return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.quotation.outputValueStatistics', data)
},
/** 修改车损报价单客户基本信息信息 */
updateCustomerInfo(data) {
return api.post('dj.api.smartcarlife.vehicle.damage.upgrade.quotation.customer.base.info.update', data)
} }
} }
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
} from '../../../api' } from '../../../api'
import data from '../constant/data' import data from '../constant/data'
import constantData from '../constant/data' import constantData from '../constant/data'
import { ImgUrl } from '~/config' import { ImgUrl as IMG_URL } from '~/config'
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表
...@@ -26,7 +26,7 @@ Component({ ...@@ -26,7 +26,7 @@ Component({
* 组件的初始数据 * 组件的初始数据
*/ */
data: { data: {
ImgUrl, IMG_URL,
orderObj: [{ orderObj: [{
label: '车架号', label: '车架号',
key: 'carVin' key: 'carVin'
...@@ -106,6 +106,12 @@ Component({ ...@@ -106,6 +106,12 @@ Component({
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
jumpUpdate(e) {
const {item:orderInfo} = e.currentTarget.dataset
// let { orderInfo } = this.data
console.log(orderInfo,'orderInfo');
wx.$router.go('updateOrderInfo', orderInfo.id)
},
// 获取数据 // 获取数据
onLoad(noGetList) { onLoad(noGetList) {
this.setData({ this.setData({
......
...@@ -67,10 +67,11 @@ ...@@ -67,10 +67,11 @@
<view wx:for="{{list}}" wx:key="index" class="item"> <view wx:for="{{list}}" wx:key="index" class="item">
<view class="item-content"> <view class="item-content">
<view class="item-header"> <view class="item-header">
<view class="header-cust"> <view class="header-cust" >
{{item.customerName}} {{item.customerName}}
<image wx:if="{{item.ownerGender}}" class="icon-sex" src="{{item.ownerGender == '男' ? '../../../images/icon-man.png' : '../../../images/icon-woman.png'}}" /> <image wx:if="{{item.ownerGender}}" class="icon-sex" src="{{item.ownerGender == '男' ? '../../../images/icon-man.png' : '../../../images/icon-woman.png'}}" />
</view> </view>
<view wx:if="{{item.orderStatus == '3'||item.orderStatus =='5' || item.orderStatus == '-1' }}" data-item="{{item}}" bindtap="jumpUpdate" class="updateInfo "><image src="{{IMG_URL}}/miniProgram/edit_icon.png" class="iconImage" ></image>客户信息</view>
<view class="header-status"> <view class="header-status">
<!-- 0待报价、1待确认、2待支付、3已支付、-1战败 5已完成(已签名)--> <!-- 0待报价、1待确认、2待支付、3已支付、-1战败 5已完成(已签名)-->
<!-- == '3' --> <!-- == '3' -->
...@@ -199,7 +200,7 @@ ...@@ -199,7 +200,7 @@
</view> </view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 --> <!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<view class="addOrderBtn" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}"> <view class="addOrderBtn" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}">
<image data-target="addOrder" bind:tap="handleClickOrderBtn" class="addOrder" src="{{ImgUrl}}/miniProgram/crateOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" /> <image data-target="addOrder" bind:tap="handleClickOrderBtn" class="addOrder" src="{{IMG_URL}}/miniProgram/crateOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<view class="label">新增提单</view> <view class="label">新增提单</view>
</view> </view>
</view> </view>
......
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,7 @@
.list .item-header { .list .item-header {
display: flex; display: flex;
align-items: center;
justify-content: space-between; justify-content: space-between;
} }
...@@ -618,3 +619,17 @@ ...@@ -618,3 +619,17 @@
.addOrderBtn .label { .addOrderBtn .label {
margin-top: -10rpx; margin-top: -10rpx;
} }
.updateInfo {
color: #347BFF;
font-size: 28rpx;
margin-left: 16rpx;
font-weight: normal;
margin-right: auto;
}
.iconImage {
width: 32rpx;
height: 32rpx;
vertical-align: bottom;
}
\ No newline at end of file \ No newline at end of file
// tabWorkOrder/pages/createOrder/createOrder.js
// import deepClone from '~/utils/deepClone'
import {getQuotationInfoById,updateCustomerInfo} from '../../../api'
// import { getYQorderInfo } from '~/store/index'
let toastList = {
userId: '销售顾问不能为空',
customerName: '车主姓名不能为空',
customerPhone: '手机号不能为空',
sellerUserId: '转化人员不能为空',
customerCouponCode: '精品礼券不能为空'
}
const phoneRex = /^[1]([3-9])[0-9]{9}$/
const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
phoneShow: false,
payTypeList: [
{
name: '门店收款',
value: 2
},
{
name: 'POS机',
value: 3
},
{
name: '战败',
value: 0
},
{
name: '微信支付',
value: 1
}
],
showPayList: [],
orderObj: {
customer: {
customerName: '',
customerPhone: '',
standNo: '',
plateNumber: '',
customerSex: 1,
experienceFlag: 'Y',
technicianId: ''
},
selectPayType: 2,
remark: ''
},
goodsList: [],
goodsData: [],
tipsProps: {
tipsText: '客户信息仅支持修改以上部分。',
showTips: true,
type: 1
},
currentWordNumber: 0 // 订单备注字数
},
showPopup(e) {
let {
goodsData,
orderObj: { selectPayType }
} = this.data
let { showName } = e.currentTarget.dataset
if (showName == 'goodsBox') {
if (selectPayType == 0) return
if (goodsData.length < 1) {
this.showToast('门店无配置商品')
return
}
}
this.setData({
[showName]: true
})
},
changeExperience(e) {
let { experience } = e.currentTarget.dataset
console.log(experience)
wx.vibrateShort()
this.setData({
['orderObj.customer.experienceFlag']: experience
})
},
input(e) {
// userInfo
let { orderObj } = this.data
let { value } = e.detail
let { name } = e.currentTarget.dataset
// let flag = (name == 'customer.customerPhone' && phoneRex.test(value)) || name != 'customer.customerPhone'
// if (!flag) return
this.setData({
[`orderObj.${name}`]: value
})
},
remarkInput(e) {
this.setData({
currentWordNumber: e.detail.cursor,
'orderObj.notes': e.detail.value
})
},
// changeGender(e) {
// let { gender } = e.currentTarget.dataset
// wx.vibrateShort()
// this.setData({
// ['orderObj.customer.customerSex']: gender
// })
// },
// chooseCar(e) {
// console.log(e)
// let { carBrand, carType } = e.detail
// this.setData({
// car: `${carBrand}|${carType}`
// })
// },
back(data) {
if (data) {
// this.
// wx.$router.back(page => {
// page.getOrderDetail && page.getOrderDetail(data)
// })
} else {
wx.$router.back()
}
},
// 选择技师
changeArtificer(e) {
let value = e?.detail || {}
this.setData({
artificerSelectPopup: false,
orderObj: value
})
},
submit(i) {
let { giveup } = i.currentTarget.dataset
// console.log(giveUp)
// console.log(i.currentTarget)
if (giveup) {
return this.back()
}
let {orderObj,orderObj:{owner}} = this.data
let key = this.checkRequired(orderObj)
console.log(key)
// debugger
if (key) {
this.showToast(toastList[key])
wx.pageScrollTo({
selector: `.${key}`
})
return
}
if (!phoneRex.test(orderObj.owner.phone)) {
this.showToast('请输入正确的手机号')
return
}
if (orderObj.owner.carVin) {
const vinRex = /[^\w]/g
if (vinRex.test(orderObj.owner.carVin)) {
this.showToast('请输入正确的VIN码')
return
}
}
let params = {
id:orderObj.id,
notes: orderObj.notes||'',
owner:{
id:orderObj.owner.id,
owner:owner.owner,
phone:owner.phone,
carVin:owner.carVin|| '',
certificateNo:owner.certificateNo|| ''
}
}
console.log(params,'params');
// if (!scene) {
// if (!orderObj.orderCode) delete orderObj.orderCode
// }
// if (orderObj.customer.buyTime) delete orderObj.customer.buyTime
// delete orderObj.customerCouponCode
// delete orderObj.customer.createdDate
wx.$util.showLoading('提交中...')
// let paramsList = ['orderCode', 'customerId', 'customerName', 'customerPhone', 'customerSex', 'carBrandId', 'carBrand', 'carChildsBrandId', 'carChildsBrandName', 'carSeriesId', 'carSeriesName', 'standNo', 'plateNumber', 'experienceFlag', 'remark', 'technicianUuid', 'technicianId', 'technicianName']
// let userInfo = {}
// orderObj = Object.assign(orderObj, orderObj.customer)
// paramsList.map(item => {
// userInfo[item] = orderObj[item] || ''
// })
// console.log(userInfo)
// return
// 修改提交用户信息
updateCustomerInfo(params)
.then(result => {
wx.$util.hideLoading()
console.log(result)
if (result.code == 0 && result.data) {
// wx.$refresh = true
this.back(orderObj.orderCode)
} else {
wx.showToast({
title: result.message,
icon: 'error'
})
}
})
.catch(err => {
// wx.$util.hideLoading()
console.log(err)
})
},
checkRequired(obj) {
// 'merchantId', 'employeeName', 'customerName','sellerUserId', 'sellerName', 'sellerMerchantId', 'customerCouponCode'
let target = ['owner', 'phone']
obj = {
...obj,
...obj.owner
}
// console.log(obj)
try {
target.map(key => {
if (!obj[key]) {
throw key
}
})
} catch (error) {
return error
}
return false
},
setOrderObj(options) {
// console.log(options)
let { scene, userInfo } = this.data
console.log('setOrderObj', options)
// wx.$util.showLoading('加载中...')
let orderObj = {}
Object.keys(options).map(e => {
if (options[e] != null && options[e] != undefined) {
if (typeof options[e] == 'object') {
Object.keys(options[e]).map(key => {
if (options[e][key] == null || options[e][key] == undefined) delete options[e][key]
})
}
orderObj[e] = options[e]
}
})
// if (!orderObj.customer) orderObj.customer = orderObj.customerInfo
// if (!orderObj.customer.customerSex) orderObj.customer.customerSex = 1
// if (!orderObj.customer.experienceFlag) orderObj.customer.experienceFlag = 'N'
this.setData({
currentWordNumber: orderObj?.remark?.length || 0,
orderObj,
first: true,
flag: true,
// artificerList: orderObj?.technicianConfigDTOList
artificerList: orderObj?.technicianList
})
},
getQuotationInfoById(id) {
getQuotationInfoById({id}).then(res=>{
console.log(res);
let {data,} = res
this.setData({
orderObj:data
})
})
},
// getSetting() {
// // 动态获取 车型 车架 车牌 是否必填
// // let { } = this.data
// // app.
// getYQorderInfo()
// .then(merchantSettingInfo => {
// this.setData({
// phoneShow: wx.$util.deepClone(merchantSettingInfo.yqPhoneConfig)
// })
// // this.setData({ merchantSettingInfo })
// })
// .catch(err => {
// console.log(err)
// })
// },
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
console.log(options)
if (options.scene) {
this.setData(options)
}
},
init(userInfo) {},
remarkConfirm(e) {
let value = e.detail
this.setData({
['orderObj.remark']: value
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
// this.getConfig()
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {},
onRoute(id) {
// id = 1912
id && this.getQuotationInfoById(id)
// wx.$util.pointRecord(28)
// 避免数据污染到上一页
// let obj = JSON.parse(JSON.stringify(res))
// this.setOrderObj(obj)
// this.getSetting()
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
onUnload: () => {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {}
})
{
"navigationBarTitleText": "修改客户信息",
"usingComponents": {
"car-brands": "/components/CarBrands/CarBrands",
"merchant-seles": "/components/Merchant-Seles/Merchant-Seles",
"artificer-select-popup": "/components/ArtificerSelectPopup/artificerSelectPopup"
}
}
<!-- 订单修改 -->
<!-- <block wx:if="{{flag}}"> -->
<view class="main {{isFullSucreen?'isFullSucreen':''}}">
<view class="box">
<view class="customerName owner">
<gl-cell border valueAlign="right" label="车主姓名" requiredAfter labelWidth="140rpx" required>
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" maxlength="16" value="{{orderObj.owner.owner}}" bindinput="input" data-name="owner.owner" always-embed></input>
</gl-cell>
</view>
<!-- <gl-cell border label="性别" valueAlign="right" labelWidth="140rpx">
<view class="gender-box">
<view class="block text-center {{orderObj.customer.customerSex==1?'':'right'}}" />
<view class="male text-center {{orderObj.customer.customerSex == 1?'active':''}}" bindtap="changeGender" data-gender="1">
男
</view>
<view class="woman text-center {{orderObj.customer.customerSex == 2?'active':''}}" bindtap="changeGender" data-gender="2">
女
</view>
</view>
</gl-cell> -->
<view class="customerPhone phone" >
<gl-cell border valueAlign="right" label="手机号" requiredAfter labelWidth="140rpx" required>
<input placeholder="点击输入" class="input" type="number" maxlength="11" placeholder-class="placeholder-class" value="{{orderObj.owner.phone}}" bindinput="input" data-name="customer.phone" disabled="{{orderObj.orderSource == 5||orderObj.orderSource == 6}}" always-embed></input>
</gl-cell>
</view>
<gl-cell border valueAlign="right" label="车架号( VIN码 )" labelWidth="240rpx">
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" value="{{orderObj.owner.carVin}}" bindinput="input" data-name="customer.carVin" maxlength="17" always-embed></input>
</gl-cell>
<gl-cell border valueAlign="right" label="身份证号" labelWidth="240rpx">
<input placeholder="点击输入" class="input" placeholder-class="placeholder-class" value="{{orderObj.owner.certificateNo}}" bindinput="input" data-name="customer.certificateNo" maxlength="20" always-embed></input>
</gl-cell>
<!-- <gl-cell border label="是否体验" valueAlign="right" labelWidth="140rpx">
<view class="gender-box">
<view class="block text-center {{orderObj.customer.experienceFlag=='Y'?'':'right'}}" />
<view class="male text-center {{orderObj.customer.experienceFlag == 'Y'?'active':''}}" bindtap="changeExperience" data-experience="Y">
是
</view>
<view class="woman text-center {{orderObj.customer.experienceFlag == 'N'?'active':''}}" bindtap="changeExperience" data-experience="N">
否
</view>
</view>
</gl-cell> -->
<view class="remark_box">
<view class="label">订单备注</view>
<view class="textArea_box">
<textarea value="{{orderObj.notes}}" placeholder="请输入" class="textarea" bindinput="remarkInput" />
<view class="currentWordNumber">{{currentWordNumber || 0}} / 100</view>
</view>
</view>
</view>
</view>
<view class="btns {{isFullSucreen?'isFullSucreen-btn':''}}">
<!-- <text class="tips x-center">客户信息仅支持修改以上部分。</text> -->
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsProps }}" />
<view class="btns-con">
<view class="save text-center"
data-giveUp="{{true}}"
bindtap="submit"
data-save data-save>放弃</view>
<view class="confirm text-center" bindtap="submit">提交修改</view>
</view>
</view>
<remark-popup
wx:if="{{showRemark}}"
show="{{showRemark}}"
bindconfirm="remarkConfirm"
placeholder="请填写内容,最多30个字"
maxlength="30"
value="{{orderObj.remark}}" />
/* tabWorkOrder/pages/createOrder/createOrder.wxss */
page {
background-color: rgb(246, 247, 247);
}
.main {
padding: 0 20rpx 136rpx;
}
.isFullSucreen {
padding-bottom: 102px !important;
}
.isFullSucreen-btn {
padding-bottom: 34px !important;
}
.box {
background: #FFFFFF;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx;
overflow: hidden;
margin-top: 20rpx;
height: calc(100% - 100rpx);
}
.box .remark_box{
padding: 20rpx;
}
.box .remark_box .label{
font-size: 28rpx;
color: #292D33;
margin: 20rpx 0 24rpx 20rpx;
}
.box .remark_box .textArea_box{
font-size: 28rpx;
background: #F7F8FA;
border: 2rpx solid #EFF0F2;
border-radius: 16rpx;
padding: 24rpx;
}
.box .remark_box .textArea_box .textarea{
height: 130rpx;
}
.box .remark_box .textArea_box .currentWordNumber{
color: #BEC1C7;
text-align: right;
}
.input {
text-align: right;
font-size: 28rpx;
}
.placeholder-class {
color: #BEC1C7;
}
.between {
display: flex;
align-items: center;
justify-content: flex-end;
}
.between .start {
max-width: 70%;
}
.between .end text {
margin: 0 6rpx;
}
.gender-box {
width: 236rpx;
height: 60rpx;
display: flex;
border: 2rpx solid #347BFF;
border-radius: 12rpx;
font-size: 28rpx;
color: #347BFF;
margin-left: auto;
position: relative;
}
.gender-box .block {
position: absolute;
/* top: 0; */
top: 50%;
transform: translateY(-50%);
border: 2rpx solid #347BFF;
left: 0;
width: 50%;
border-radius: 12rpx;
height: 100%;
background: #347BFF;
color: #fff;
transition: all .25s;
}
.gender-box .block.right {
left: 50%;
}
.gender-box .male,
.gender-box .woman {
width: 50%;
height: 100%;
position: absolute;
top: 0;
transition: all .25s;
}
.gender-box .male {
left: 0;
}
.gender-box .woman {
right: 0;
}
.gender-box .male.active,
.gender-box .woman.active {
color: #fff;
}
.payType-box {
display: flex;
align-items: center;
/* justify-content: space-between; */
}
.payType-box .item {
margin-right: 4px;
}
.payType-box .item:last-child {
margin-right: 0;
}
.box .item-disabled {
opacity: .4;
}
.payType-box .item {
box-sizing: border-box;
border: 2rpx solid #999999;
border-radius: 8rpx;
font-size: 28rpx;
color: #999999;
height: 56rpx;
padding: 0 22rpx;
position: relative;
}
.payType-box .item.disabled {
opacity: .4;
}
.payType-box .item.active {
color: #347BFF;
border-color: #347BFF;
}
.payType-box .item .active-icon {
display: none;
width: 20rpx;
height: 20rpx;
position: absolute;
right: 0;
bottom: 0;
}
.payType-box .item.active .active-icon {
display: block;
}
.goods-box .goods {
height: 118rpx;
border-bottom: 2rpx solid rgba(195, 195, 195, .3);
display: flex;
align-items: center;
padding: 0 28rpx 0 90rpx;
justify-content: space-between;
font-size: 28rpx;
position: relative;
}
.goods .icon {
position: absolute;
top: 50%;
left: 40rpx;
width: 40rpx;
height: 40rpx;
transform: translateY(-50%);
}
.goods-box .goods .name {
color: #FF6601;
width: 306rpx;
}
.goods-box .goods .price-box {
display: flex;
align-items: center;
justify-content: space-between;
max-width: calc(100% - 436rpx);
min-width: 104rpx;
}
.goods-box .goods .price {
max-width: 80%;
min-width: 104rpx;
height: 44rpx;
border: 2rpx solid #C3C3C3;
border-radius: 8rpx;
}
.goods-box .goods .price input {
width: 100%;
height: 100%;
text-align: center;
min-height: 100%;
font-size: 28rpx;
}
.goods-box .goods .price input.error {
color: red;
}
.goods-box .goods.total-box {
padding: 0 40rpx;
}
.goods-box .goods .total {
color: #F24724;
}
.btns {
position: fixed;
left: 0;
width: 100%;
bottom: 0;
min-height: 100rpx;
background: #FFFFFF;
box-sizing: border-box;
/* padding: 10rpx 32rpx; */
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
z-index: 99;
flex-direction: column;
}
.btns-con {
box-sizing: border-box;
display: flex;
padding: 10rpx 0;
}
.tipsIcon,
.closeIcon {
width: 32rpx;
height: 32rpx;
}
.btns .btns-con view {
border: 2rpx solid #0075F9;
border-radius: 12rpx;
height: 80rpx;
box-sizing: border-box;
}
.btns .save,
.confirm {
border: 2rpx solid #0075F9;
border-radius: 12rpx;
height: 80rpx;
box-sizing: border-box;
}
.btns .save {
width: 186rpx;
margin-right: 20rpx;
color: #347BFF;
margin-right: 20rpx;
}
.btns .confirm {
width: 480rpx;
color: #fff;
background-color: #347BFF;
}
.btns .save.disabled {
border: 1px solid #DCDEE0;
color: #c0c0cc;
}
.btns .tips {
box-sizing: border-box;
display: flex;
justify-content: space-between;
/* align-items: center; */
padding: 20rpx;
font-weight: 500;
background: #EFF5FE;
height: 72rpx;
width: 100%;
color: #347BFF;
font-size: 24rpx;
}
.tips .contentText {
margin-left: 20rpx;
margin-right: auto;
display: flex;
font-weight: 500;
flex-direction: column;
justify-content: space-between;
}
...@@ -4,44 +4,9 @@ ...@@ -4,44 +4,9 @@
"miniprogram": { "miniprogram": {
"list": [ "list": [
{ {
"name": "", "name": "权益修改客户信息",
"pathName": "pages/wxLogin/wxLogin", "pathName": "packageEquity/pages/carQuotation/updateOrderInfo/updateOrderInfo",
"query": "scene=sceneId%3D133329", "query": "id=1912",
"launchMode": "default",
"scene": 1047
},
{
"name": "",
"pathName": "pages/wxLogin/wxLogin",
"query": "scene=sceneId%3D133329",
"launchMode": "default",
"scene": 1047
},
{
"name": "",
"pathName": "pages/accountItems/accountItems",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/wxLogin/wxLogin",
"query": "noLogin=18902454301&sence=2",
"launchMode": "default",
"scene": 1047
},
{
"name": "战败下单",
"pathName": "tabWorkOrder/pages/defeatOrder/defeatOrder",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "1.1 订单列表",
"pathName": "pages/tabWorkOrder/pages/index/index",
"query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },
......
...@@ -61,6 +61,15 @@ Page({ ...@@ -61,6 +61,15 @@ Page({
selectedSceneDesc: '', selectedSceneDesc: '',
versionData: {} versionData: {}
}, },
goReservationCouponPage () {
},
goTechnicianSetupPage () {
},
goConstructSetupPage () {
},
changeSwitch(e) { changeSwitch(e) {
let { value } = e.detail let { value } = e.detail
let { target } = e.currentTarget.dataset let { target } = e.currentTarget.dataset
......
...@@ -69,6 +69,21 @@ ...@@ -69,6 +69,21 @@
<view class="set_tips">最新{{versionData.version}}版</view> <view class="set_tips">最新{{versionData.version}}版</view>
<image class="icon_image" src="{{IMG_URL}}mine_icon_1.png" mode=""/> <image class="icon_image" src="{{IMG_URL}}mine_icon_1.png" mode=""/>
</view> </view>
<view class="set_item item_5" bindtap="goReservationCouponPage">
<view class="title">领券预约<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">设置接待电话</view>
<image class="icon_image" src="{{IMG_URL}}mine_icon_5.png" mode=""/>
</view>
<view class="set_item item_6" bindtap="goTechnicianSetupPage">
<view class="title">技师设置<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">设置园区店技师</view>
<image class="icon_image" src="{{IMG_URL}}mine_icon_6.png" mode=""/>
</view>
<view class="set_item item_7" bindtap="goConstructSetupPage">
<view class="title">完成施工<image class="arrow_icon" src="../../images/arrow_icon.png" mode=""/></view>
<view class="set_tips">设置施工完成上传图片</view>
<image class="icon_image" src="{{IMG_URL}}mine_icon_7.png" mode=""/>
</view>
</view> </view>
<!-- <view class="version_box" bindtap="goVersionPage"> <!-- <view class="version_box" bindtap="goVersionPage">
<view class="item"> <view class="item">
......
...@@ -185,6 +185,15 @@ ...@@ -185,6 +185,15 @@
.set_box .item_4{ .set_box .item_4{
background: #FFF8F8; background: #FFF8F8;
} }
.set_box .item_5{
background: #FFFCF7;
}
.set_box .item_6{
background: #F8FFFD;
}
.set_box .item_7{
background: #F6FCFE;
}
.set_box .set_item .title{ .set_box .set_item .title{
font-weight: 500; font-weight: 500;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!