Commit f5b3f92c by 张立顺

bug修复

1 parent a7980e63
......@@ -9,6 +9,7 @@ Component({
show: {
type: Boolean,
observer: function (n) {
wx.$util.pointRecord(19)
let { isFirst } = this.data
if (n && isFirst) {
this.init()
......@@ -105,7 +106,7 @@ Component({
if (!flag) {
return wx.$util.showToast('请选择客户')
}
wx.$util.pointRecord(19)
this.triggerEvent('confirm', orderInfo)
this.setData({
show: false
......
......@@ -10,6 +10,7 @@ Component({
value: false,
observer: function (n) {
if (n) {
wx.$util.pointRecord(31)
let userInfo = wx.$util.getUserInfo() || {}
let storageSelectedSceneType = userInfo.selectedSceneType
this.setData({storageSelectedSceneType})
......@@ -62,6 +63,7 @@ Component({
wx.$util.pointRecord(item.recordId)
},
goMineCenter() {
wx.$util.pointRecord(5)
wx.$router.redirectTo('pages.sceneIndex')
}
}
......
......@@ -11,7 +11,7 @@
* 3生产环境
* 4预发布
*/
let index = 2
let index = 0
const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync()
......
......@@ -265,13 +265,6 @@
"scene": null
},
{
"name": "1.1 订单详情",
"pathName": "tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "1.1 订单列表",
"pathName": "pages/tabWorkOrder/pages/index/index",
"query": "",
......@@ -326,6 +319,13 @@
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "1.1 订单详情",
"pathName": "tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
......
......@@ -60,7 +60,11 @@ Page({
},
4: {
text: '已施工',
color: '#999999'
color: '#3582EE'
},
7: {
text: '已支付',
color: '#14CC68'
}
},
searchObj: {},
......
......@@ -83,10 +83,9 @@ if (code!= 0 ) return
// console.log(item?.optionList,'item?.optionList');
// if(item.isMult) params[item.name] = []
item?.optionList?.forEach(subItem => {
subItem.active = false
// if (subItem.active) {
// item.isMult? params[item.name].push(subItem.confId):( params[item.name] = subItem.confId)
// }
if (item!='customerSex') {
subItem.active = false
}
})
})
this.setData({
......
......@@ -113,7 +113,7 @@
</view>
<view class="box customer">
<view class="title userTitle">
<text>客户信息</text>
<view>客户信息</view>
<view bindtap="jumpUserPortrait" class="updateInfo icon"><image src="../../images/userImageIcon.png" class="iconImage" ></image>画像</view>
<view wx:if="{{isYqdSuper||isStaff}}" bindtap="jumpUpdate" class="updateInfo "><image src="../../images/editIcon.png" class="iconImage" ></image>客户信息</view>
</view>
......
......@@ -243,9 +243,10 @@ page {
margin-left: auto;
}
.copyImage, .iconImage {
width: 32rpx;
height: 32rpx;
vertical-align: bottom;
width: 36rpx;
height: 36rpx;
/* vertical-align: bottom; */
vertical-align: middle;
}
.iconImage{
margin-right: 5rpx;
......@@ -522,6 +523,7 @@ margin-right: auto;
}
.customer .title {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -531,6 +533,7 @@ margin-right: auto;
color: #3582EE;
font-size: 28rpx;
margin-left: 16rpx;
margin-top: 3rpx;
}
......
......@@ -321,6 +321,7 @@ Page({
// 预录建档跳转到预约列表
wx.$refresh = true
wx.$router.redirectTo('tabDate.index')
wx.$util.pointRecord(30)
} else {
wx.$router.back(page => {
page.search && page.search()
......
......@@ -3,8 +3,8 @@ page {
background-color: rgb(246, 247, 247);
}
.copyImage, .iconImage {
width: 32rpx;
height: 32rpx;
width: 36rpx;
height: 36rpx;
vertical-align: bottom;
}
.iconImage{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!