Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 69968a0c
authored
Oct 20, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'develop' of
http://192.168.3.233:8090/saas_plus/business-assistant
into develop
2 parents
8f04b84a
914b5c5a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
13 deletions
pages/mineDetail/customerManagement/customerManagement.js
pages/tab/index/components/product/product.wxml
pages/tab/output/components/merchant/mrechant.js
pages/tab/output/components/staff/staff.scss
pages/tab/output/output.js
pages/tab/output/output.scss
pages/tab/output/output.wxml
pages/mineDetail/customerManagement/customerManagement.js
View file @
69968a0
...
@@ -125,10 +125,15 @@ Component({
...
@@ -125,10 +125,15 @@ Component({
isEdit
:
true
isEdit
:
true
}
}
],
],
listObj
listObj
,
isSuper
:
false
},
},
attached
()
{
attached
()
{
// this.initTime()
// this.initTime()
let
{
userInfo
}
=
wx
.
$storage
.
get
()
this
.
setData
({
isSuper
:
userInfo
.
isSuper
})
this
.
getMerchantCustomInfoList
()
this
.
getMerchantCustomInfoList
()
},
},
/**
/**
...
@@ -191,7 +196,7 @@ Component({
...
@@ -191,7 +196,7 @@ Component({
},
},
changeStatus
(
e
)
{
changeStatus
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
let
{
customerList
}
=
this
.
data
let
{
customerList
,
isSuper
}
=
this
.
data
let
{
index
,
item
}
=
e
.
currentTarget
.
dataset
let
{
index
,
item
}
=
e
.
currentTarget
.
dataset
// let
// let
let
status
=
customerList
[
index
].
isEdit
let
status
=
customerList
[
index
].
isEdit
...
@@ -200,7 +205,7 @@ Component({
...
@@ -200,7 +205,7 @@ Component({
// 提交客户信息更新
// 提交客户信息更新
// this.checkout(customerList[index])
// this.checkout(customerList[index])
// console.log('customerList[index]', customerList[index])
// console.log('customerList[index]', customerList[index])
this
.
submit
(
customerList
[
index
])
!
isSuper
&&
this
.
submit
(
customerList
[
index
])
}
else
{
}
else
{
customerList
[
index
][
'isEdit'
]
=
true
customerList
[
index
][
'isEdit'
]
=
true
this
.
setData
({
this
.
setData
({
...
...
pages/tab/index/components/product/product.wxml
View file @
69968a0
...
@@ -65,7 +65,8 @@
...
@@ -65,7 +65,8 @@
wx:if="{{isShare && actNum != 2 && index == 4}}"
wx:if="{{isShare && actNum != 2 && index == 4}}"
class="more-btn"
class="more-btn"
data-index="{{index}}"
data-index="{{index}}"
bindtap="getMoreFn"
bindgetphonenumber="getMoreFn"
open-type="getPhoneNumber"
>
>
点击查看更多详情
点击查看更多详情
</button>
</button>
...
...
pages/tab/output/components/merchant/mrechant.js
View file @
69968a0
...
@@ -57,17 +57,20 @@ Component({
...
@@ -57,17 +57,20 @@ Component({
// showNothingSceneCon: false
// showNothingSceneCon: false
},
},
attached
()
{
attached
()
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
this
.
setData
({
userInfo
:
userInfo
.
subLoginUser
})
this
.
initTime
()
this
.
initTime
()
this
.
getTotalMerchantCoun
t
()
this
.
ini
t
()
},
},
/**
/**
* 组件的方法列表
* 组件的方法列表
*/
*/
methods
:
{
methods
:
{
init
()
{
let
{
userInfo
}
=
wx
.
$storage
.
get
()
this
.
setData
({
userInfo
:
userInfo
.
subLoginUser
})
this
.
getTotalMerchantCount
()
},
pickSheet
(
e
)
{
pickSheet
(
e
)
{
let
that
=
this
let
that
=
this
let
{
index
}
=
e
.
currentTarget
.
dataset
let
{
index
}
=
e
.
currentTarget
.
dataset
...
...
pages/tab/output/components/staff/staff.scss
View file @
69968a0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
align-items
:
center
;
align-items
:
center
;
padding-top
:
88rpx
;
padding-top
:
88rpx
;
background-color
:
#fff
;
background-color
:
#fff
;
height
:
100
vh
;
height
:
100
%
;
.img
{
.img
{
width
:
512rpx
;
width
:
512rpx
;
...
...
pages/tab/output/output.js
View file @
69968a0
...
@@ -52,7 +52,7 @@ Page({
...
@@ -52,7 +52,7 @@ Page({
console
.
log
(
userInfo
)
console
.
log
(
userInfo
)
this
.
setData
({
this
.
setData
({
userInfo
,
userInfo
,
isSuper
:
userInfo
.
subLoginUser
.
isSuper
isSuper
:
userInfo
.
isSuper
})
})
this
.
getMerchantRange
()
this
.
getMerchantRange
()
},
},
...
...
pages/tab/output/output.scss
View file @
69968a0
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
height
:
100vh
;
height
:
100vh
;
overflow
:
hidden
;
&
:
:
after
{
&
:
:
after
{
content
:
''
;
content
:
''
;
...
@@ -38,7 +39,9 @@
...
@@ -38,7 +39,9 @@
}
}
.comCom
{
.comCom
{
flex
:
1
;
// flex: 1;
height
:
calc
(
100%
-
100rpx
);
overflow
:
scroll
;
// background-color: #fff;
// background-color: #fff;
}
}
...
...
pages/tab/output/output.wxml
View file @
69968a0
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<image src="{{IMG_URL}}/output/arrow.png" />
<image src="{{IMG_URL}}/output/arrow.png" />
</view>
</view>
</view>
</view>
<!-- </picker> -->
<!-- </picker>
height:calc(100vh - {{tabBarStyle}}px)
-->
</navigation-bar>
</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<tab
<tab
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment