Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
scan-app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
iambtr
scan-app
Commits
1ac01a52
Commit
1ac01a52
authored
Jun 13, 2018
by
iambtr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改文字描述
parent
f11dce55
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
choose_point.js
pages/choose_point/choose_point.js
+4
-3
choose_point.json
pages/choose_point/choose_point.json
+2
-1
choose_point.wxml
pages/choose_point/choose_point.wxml
+2
-2
user_index.js
pages/user_index/user_index.js
+1
-1
project.config.json
project.config.json
+1
-1
No files found.
pages/choose_point/choose_point.js
View file @
1ac01a52
...
...
@@ -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
pages/choose_point/choose_point.json
View file @
1ac01a52
{
"navigationBarTitleText"
:
"选择
网
点"
"navigationBarTitleText"
:
"选择
站
点"
}
\ No newline at end of file
pages/choose_point/choose_point.wxml
View file @
1ac01a52
<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>
...
...
pages/user_index/user_index.js
View file @
1ac01a52
...
...
@@ -88,7 +88,7 @@ Page({
})
wx
.
setNavigationBarTitle
({
title
:
`
${
role
==
1
?
"录车"
:
"交车"
}
操作员:
${
user
.
userN
ame
}
`
title
:
`
${
role
==
1
?
"录车"
:
"交车"
}
操作员:
${
user
.
n
ame
}
`
})
},
onUnload
()
{
...
...
project.config.json
View file @
1ac01a52
...
...
@@ -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"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment