Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ydauto-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 4781eb22
authored
Apr 14, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat 功能去除
1 parent
7e48dc93
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
43 deletions
README.md
packageEquity/pages/aiCheck/defense/defense.scss
tabWorkOrder/pages/createOrder/createOrder.js
utils/request/environment.js
utils/track.js
README.md
View file @
4781eb2
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
商户管理员:15814019200
商户管理员:15814019200
区域督导:187750352053
区域督导:187750352053
销售: 15626599743(开发)
销售: 15626599743(开发)
# 生产环境跟手机号和验证码绑定 需要自己到账号中心绑定手机号成为员工或超管
# 生产环境跟手机号和验证码绑定 需要自己到账号中心绑定手机号成为员工或超管
...
...
packageEquity/pages/aiCheck/defense/defense.scss
deleted
100644 → 0
View file @
7e48dc9
/* packageEquity/pages/aiCheck/defense/defense.wxss */
\ No newline at end of file
\ No newline at end of file
tabWorkOrder/pages/createOrder/createOrder.js
View file @
4781eb2
...
@@ -1082,7 +1082,7 @@ Page({
...
@@ -1082,7 +1082,7 @@ Page({
subVal
.
merchantGoodsPosition
!=
subV
.
upgradeGoodsPosition
&&
subVal
.
merchantGoodsPosition
!=
subV
.
upgradeGoodsPosition
&&
subVal
.
upgradeGoodsId
==
subV
.
upgradeGoodsId
subVal
.
upgradeGoodsId
==
subV
.
upgradeGoodsId
)
{
)
{
debugger
//
debugger
subV
.
upgradeGoodsPosition
=
subVal
.
merchantGoodsPosition
;
subV
.
upgradeGoodsPosition
=
subVal
.
merchantGoodsPosition
;
}
}
});
});
...
...
utils/request/environment.js
View file @
4781eb2
...
@@ -80,14 +80,19 @@ const domain_items = {
...
@@ -80,14 +80,19 @@ const domain_items = {
},
},
uat
:
{
uat
:
{
dj
:
"https://dj.test.glsx.com.cn"
,
dj
:
"https://djpadtest.glsx.com.cn"
,
scrm
:
"https://scrm.test.glsx.com.cn"
,
scrm
:
"https://djpadtest.glsx.com.cn"
,
AI
:
'https://aipractice.test.glsx.com.cn'
,
// dj: "https://dj.test.glsx.com.cn",
// scrm: "https://scrm.test.glsx.com.cn",
// AI: 'https://aipractice.test.glsx.com.cn',
AI
:
'https://aipadtest.glsx.com.cn'
,
merchants
:
"https://rop-merchant.test.glsx.com.cn"
,
merchants
:
"https://rop-merchant.test.glsx.com.cn"
,
},
},
prod
:
{
prod
:
{
dj
:
"https://dj.glsx.com.cn"
,
dj
:
"https://djpadtest.glsx.com.cn"
,
scrm
:
"https://scrm.glsx.com.cn"
,
scrm
:
"https://djpadtest.glsx.com.cn"
,
// dj: "https://dj.glsx.com.cn",
// scrm: "https://scrm.glsx.com.cn",
AI
:
'https://aipractice.glsx.com.cn'
,
AI
:
'https://aipractice.glsx.com.cn'
,
merchants
:
"https://commodity.glsx.com.cn"
,
merchants
:
"https://commodity.glsx.com.cn"
,
},
},
...
...
utils/track.js
View file @
4781eb2
...
@@ -34,25 +34,25 @@ class TRACK {
...
@@ -34,25 +34,25 @@ class TRACK {
fun
=
fun
.
filter
(
e
=>
filtered
.
includes
(
e
))
fun
=
fun
.
filter
(
e
=>
filtered
.
includes
(
e
))
keys
.
map
(
key
=>
{
keys
.
map
(
key
=>
{
if
(
typeof
thisPage
[
key
]
===
'function'
)
{
if
(
typeof
thisPage
[
key
]
===
'function'
)
{
const
FUN
=
thisPage
[
key
]
const
FUN
=
thisPage
[
key
]
thisPage
[
key
]
=
function
(
event
)
{
thisPage
[
key
]
=
function
(
event
)
{
if
(
event
&&
event
.
type
==
'tap'
)
{
if
(
event
&&
event
.
type
==
'tap'
)
{
let
{
let
{
eventCode
,
eventCode
,
track
track
}
=
event
.
currentTarget
.
dataset
}
=
event
.
currentTarget
.
dataset
if
(
eventCode
)
_this
.
setTrackData
(
0
,
eventCode
,
track
)
if
(
eventCode
)
_this
.
setTrackData
(
0
,
eventCode
,
track
)
}
return
FUN
.
apply
(
this
,
arguments
)
}
}
return
FUN
.
apply
(
this
,
arguments
)
}
}
})
}
})
.
.
thisPage
.
onTabItemTap
=
function
(
options
)
{
thisPage
.
onTabItemTap
=
function
(
options
)
{
onTabItemTap
&&
onTabItemTap
.
apply
(
this
,
arguments
)
onTabItemTap
&&
onTabItemTap
.
apply
(
this
,
arguments
)
// , _this.setTrackData({}, 1)
// , _this.setTrackData({}, 1)
}
}
thisPage
.
onLoad
=
function
()
{
thisPage
.
onLoad
=
function
()
{
onLoad
&&
onLoad
.
apply
(
this
,
arguments
)
onLoad
&&
onLoad
.
apply
(
this
,
arguments
)
//, _this.setTrackData({
//, _this.setTrackData({
...
@@ -170,26 +170,27 @@ class TRACK {
...
@@ -170,26 +170,27 @@ class TRACK {
}
}
/**调取API */
/**调取API */
sendData
()
{
sendData
()
{
let
recordList
=
$Storage
.
get
(
'recordList'
)
$Storage
.
set
(
'recordList'
,
[])
// 去掉埋点调用
if
(
recordList
&&
recordList
.
length
)
// let recordList = $Storage.get('recordList')
api
.
post
(
// if (recordList && recordList.length)
'clue.api.burial.point.record.batch.insert'
,
{
// api.post(
recordList
// 'clue.api.burial.point.record.batch.insert', {
},
// recordList
[],
// },
'/rop-scrm-clue/router'
,
// [],
"scrm"
,
// '/rop-scrm-clue/router',
false
// "scrm",
).
then
(({
// false
code
,
// ).then(({
data
,
// code,
message
// data,
})
=>
{
// message
if
(
code
==
0
&&
data
)
{
// }) => {
$Storage
.
set
(
'recordList'
,
[])
// if (code == 0 && data) {
console
.
log
(
'---------------- 埋点定时推送成功 ----------------'
,
new
Date
().
format
(
'yyyy-MM-dd hh:mm:ss'
),
':'
,
recordList
)
// $Storage.set('recordList', [])
}
else
console
.
log
(
'---------------- 埋点定时推送失败 ----------------'
,
new
Date
().
format
(
'yyyy-MM-dd hh:mm:ss'
),
':'
,
message
)
// console.log('---------------- 埋点定时推送成功 ----------------', new Date().format('yyyy-MM-dd hh:mm:ss'), ':', recordList)
})
// } else console.log('---------------- 埋点定时推送失败 ----------------', new Date().format('yyyy-MM-dd hh:mm:ss'), ':', message)
// })
}
}
/**获取页面对象实例 */
/**获取页面对象实例 */
getPageInstance
=
(
size
=
1
)
=>
{
getPageInstance
=
(
size
=
1
)
=>
{
...
...
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