Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9c9dc943
authored
Aug 14, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/shiyu/icsalesProgram
parents
336d0b04
7b4f875e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
pages/person/editcompany/index.js
pages/person/editcompany/index.wxml
pages/person/editcompany/index.js
View file @
9c9dc943
...
...
@@ -95,6 +95,17 @@ Page({
*/
onShow
:
function
()
{
//获取用户信息
http
.
getData
(
apis
.
userInfo
,
'GET'
,
{
token
:
wx
.
getStorageSync
(
'access_token'
)
},
(
res
)
=>
{
if
(
res
.
errcode
===
0
)
{
this
.
setData
({
userInfo
:
res
.
data
});
}
},
true
);
},
/**
...
...
@@ -275,6 +286,7 @@ Page({
name
:
values
.
region_name
})
});
arrs
.
splice
(
2
,
1
,
area
);
this
.
setData
({
multiArray
:
arrs
...
...
pages/person/editcompany/index.wxml
View file @
9c9dc943
...
...
@@ -20,7 +20,7 @@
<view class="hr"></view>
<view class="list row verCenter bothSide bor">
<view class="l">所有地区</view>
<view class="sel row rowCenter verCenter">
<view class="sel row rowCenter verCenter"
wx:if="{{multiArray.length > 0}}"
>
<view>
<picker class="t1" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="name">
{{multiArray[0][multiIndex[0]].name}},{{multiArray[1][multiIndex[1]].name}},{{multiArray[2][multiIndex[2]].name}}
...
...
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