Commit 1ac01a52 by iambtr

修改文字描述

parent f11dce55
......@@ -54,7 +54,7 @@ Page({
api.get('site/getByCompanyId', { companyId })
.then(({ items }) => {
if(items.length==0){
alertTip('该一级网点下不存在二级网点,请联系管理员')
alertTip('该租赁商下不存在站点,请联系管理员')
}
that.setData({
pointArray: items
......@@ -69,7 +69,7 @@ Page({
if (point && point.companyName){
wx.showModal({
title: '提示',
content: `确认您的二级网点是${point.companyName}`,
content: `确认您的点是${point.companyName}`,
success: function (res) {
if (res.confirm) {
wx.setStorageSync('siteId', point.id)
......@@ -83,6 +83,6 @@ Page({
})
return
}
alertTip('二级网点异常,请联系管理员')
alertTip('点异常,请联系管理员')
}
})
\ No newline at end of file
{
"navigationBarTitleText": "选择点"
"navigationBarTitleText": "选择点"
}
\ No newline at end of file
<view class='phone list'>
<text>一级网点:</text>
<text>租赁商:</text>
<picker class='input-text point' bindchange="companyChange" value="{{companyIndex}}" range-key="companyName" range="{{companyArray}}">
<view>{{companyArray[companyIndex].companyName}}</view>
</picker>
<text class='fresh-car' catchtap='getCompany'>刷新租赁商</text>
</view>
<view class='phone list'>
<text>二级网点:</text>
<text>点:</text>
<picker class='input-text point' bindchange="pointChange" value="{{pointIndex}}" range-key="companyName" range="{{pointArray}}">
<view>{{pointArray[pointIndex].companyName}}</view>
</picker>
......
......@@ -88,7 +88,7 @@ Page({
})
wx.setNavigationBarTitle({
title: `${role==1?"录车":"交车"}操作员:${user.userName}`
title: `${role==1?"录车":"交车"}操作员:${user.name}`
})
},
onUnload() {
......
......@@ -8,7 +8,7 @@
"newFeature": true
},
"compileType": "miniprogram",
"libVersion": "1.6.4",
"libVersion": "2.0.9",
"appid": "wx6fb8bdbf51d38e78",
"projectname": "%E6%99%BA%E7%AE%A1%E5%AE%B6",
"condition": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment