Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
store-assistant-assemble
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 4be5492b
authored
Apr 27, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
d1545d35
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
11 deletions
login/index/components/Box/Box.scss
login/lib/index.js
packageOutput/components/staff/staff.js
packagesList/outDetail/components/OutputWork/index.js
packagesList/outDetail/components/activityTop/activityTop.scss
pages/tab/mine/mine.wxml
project.private.config.json
utils/request/environment.js
login/index/components/Box/Box.scss
View file @
4be5492
...
@@ -47,13 +47,11 @@
...
@@ -47,13 +47,11 @@
.input
{
.input
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
33
rpx
;
margin-top
:
20
rpx
;
border-bottom
:
1rpx
solid
#E3E3E6
;
border-bottom
:
1rpx
solid
#E3E3E6
;
padding
:
24rpx
0
;
padding
:
24rpx
0
;
height
:
64rpx
;
position
:
relative
;
position
:
relative
;
&
:last-child
{
margin-top
:
13rpx
;
}
input
{
input
{
flex
:
1
;
flex
:
1
;
...
...
login/lib/index.js
View file @
4be5492
...
@@ -52,7 +52,7 @@ const findSubordinateListByPage = (userInfo)=> {
...
@@ -52,7 +52,7 @@ const findSubordinateListByPage = (userInfo)=> {
/**设置登录信息 */
/**设置登录信息 */
const
setLoginInfo
=
async
(
userInfo
,
sessionId
)
=>
{
const
setLoginInfo
=
async
(
userInfo
,
sessionId
)
=>
{
if
(
!
userInfo
)
{
if
(
!
userInfo
)
{
wx
.
$api
.
showToast
(
'
账户错误
'
)
wx
.
$api
.
showToast
(
'
请使用商户账号登陆
'
)
return
return
}
}
setUserInfo
(
userInfo
)
setUserInfo
(
userInfo
)
...
...
packageOutput/components/staff/staff.js
View file @
4be5492
...
@@ -111,7 +111,7 @@ Component({
...
@@ -111,7 +111,7 @@ Component({
hanldBlur
(
e
)
{
hanldBlur
(
e
)
{
const
empName
=
e
.
detail
.
value
;
const
empName
=
e
.
detail
.
value
;
const
sfaffList
=
this
.
data
.
sfaffList
.
filter
(
item
=>
{
const
sfaffList
=
this
.
data
.
sfaffList
.
filter
(
item
=>
{
const
employeeName
=
item
.
transferName
||
item
.
employeeName
const
employeeName
=
item
.
transferName
||
item
.
employeeName
||
item
.
shareName
return
employeeName
?
employeeName
.
includes
(
empName
)
:
item
return
employeeName
?
employeeName
.
includes
(
empName
)
:
item
})
})
this
.
filterStaff
=
sfaffList
this
.
filterStaff
=
sfaffList
...
@@ -180,6 +180,16 @@ Component({
...
@@ -180,6 +180,16 @@ Component({
})
})
return
arr
return
arr
},
},
shareName
:
(
item
)
=>
{
let
arr
=
[]
item
.
shareImageUrl
&&
item
.
shareImageUrl
.
forEach
((
val
,
index
)
=>
{
arr
.
push
({
avatarUrl
:
val
,
transferName
:
item
.
shareName
[
index
]
})
})
return
arr
},
conversionRate
:
(
item
,
k
)
=>
{
conversionRate
:
(
item
,
k
)
=>
{
const
arr
=
this
.
data
.
downType
==
'equity'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
100
))
:
item
[
k
]
const
arr
=
this
.
data
.
downType
==
'equity'
?
item
[
k
]
&&
item
[
k
].
map
(
item
=>
accMul
(
item
,
100
))
:
item
[
k
]
return
arr
return
arr
...
...
packagesList/outDetail/components/OutputWork/index.js
View file @
4be5492
...
@@ -335,6 +335,9 @@ Component({
...
@@ -335,6 +335,9 @@ Component({
if
(
startTime
)
this
.
data
.
type
==
1
?
params
.
startDate
=
startTime
:
params
.
startTime
=
startTime
+
' 00:00:00'
if
(
startTime
)
this
.
data
.
type
==
1
?
params
.
startDate
=
startTime
:
params
.
startTime
=
startTime
+
' 00:00:00'
if
(
endTime
)
this
.
data
.
type
==
1
?
params
.
endDate
=
endTime
:
params
.
endTime
=
endTime
+
' 23:59:59'
if
(
endTime
)
this
.
data
.
type
==
1
?
params
.
endDate
=
endTime
:
params
.
endTime
=
endTime
+
' 23:59:59'
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
ActivityApi
[
methods
[
this
.
data
.
type
]](
params
).
then
(
res
=>
{
// res.forEach(item=>{
// item.abscissaValue = item.abscissaValue.substring(5)
// })
this
.
setData
({
this
.
setData
({
lineData
:
res
lineData
:
res
})
})
...
...
packagesList/outDetail/components/activityTop/activityTop.scss
View file @
4be5492
...
@@ -15,6 +15,9 @@
...
@@ -15,6 +15,9 @@
overflow
:
hidden
;
overflow
:
hidden
;
top
:
0
;
top
:
0
;
left
:
0
;
left
:
0
;
image
{
height
:
100%
;
}
}
}
.active-type
{
.active-type
{
position
:
absolute
;
position
:
absolute
;
...
...
pages/tab/mine/mine.wxml
View file @
4be5492
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
头像
头像
</glsx-image>
</glsx-image>
<view class="info">
<view class="info">
<view class="name">{{userInfo.
n
ame}}</view>
<view class="name">{{userInfo.
merchantN
ame}}</view>
<view class="id">{{userInfo.phone}}</view>
<view class="id">{{userInfo.phone}}</view>
</view>
</view>
<view class="logot">
<view class="logot">
...
...
project.private.config.json
View file @
4be5492
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
}
}
},
},
"setting"
:
{
"setting"
:
{
"urlCheck"
:
fals
e
"urlCheck"
:
tru
e
},
},
"projectname"
:
"store-assistant-assemble"
"projectname"
:
"store-assistant-assemble"
}
}
\ No newline at end of file
\ No newline at end of file
utils/request/environment.js
View file @
4be5492
...
@@ -31,7 +31,6 @@ let index = 2
...
@@ -31,7 +31,6 @@ let index = 2
// console.log(accountInfo.miniProgram.envVersion);
// console.log(accountInfo.miniProgram.envVersion);
// 对比一下appkey
// 对比一下appkey
// console.log();
// console.log();
if
(
systemInfo
.
platform
!=
'devtools'
)
{
// 判断预发布的appid 是强制锁定为4(预发布的地址)
// 判断预发布的appid 是强制锁定为4(预发布的地址)
if
(
accountInfo
.
miniProgram
.
appId
==
preReleaseAppId
)
{
if
(
accountInfo
.
miniProgram
.
appId
==
preReleaseAppId
)
{
index
=
4
index
=
4
...
@@ -50,7 +49,6 @@ if (systemInfo.platform != 'devtools') {
...
@@ -50,7 +49,6 @@ if (systemInfo.platform != 'devtools') {
break
break
}
}
}
}
}
const
secretKey
=
{
const
secretKey
=
{
ip
:
{},
ip
:
{},
...
@@ -112,7 +110,7 @@ const domain = {
...
@@ -112,7 +110,7 @@ const domain = {
dev
:
{
dev
:
{
dj
:
'https://dj.dev.glsx.com.cn'
,
dj
:
'https://dj.dev.glsx.com.cn'
,
scrm
:
'https://scrm.dev.glsx.com.cn'
,
scrm
:
'https://scrm.dev.glsx.com.cn'
,
merchant
:
"http://rop-merchant.dev.glsx.com.cn"
,
merchant
:
"http
s
://rop-merchant.dev.glsx.com.cn"
,
},
},
uat
:
{
uat
:
{
dj
:
'https://dj.test.glsx.com.cn'
,
dj
:
'https://dj.test.glsx.com.cn'
,
...
...
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