Commit f5b3f92c by 张立顺

bug修复

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