Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
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
integralMall
integral-mall
Commits
391779c9
Commit
391779c9
authored
Oct 24, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: log
parent
6a3eecd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ruleDetail.vue
src/components/ruleDetail.vue
+4
-4
No files found.
src/components/ruleDetail.vue
View file @
391779c9
...
...
@@ -190,12 +190,12 @@ export default {
/** 人群筛选器 */
// 获取需要回显的数据, 供保存时候使用
getBackData
(
val
)
{
console
.
log
(
val
);
//
console.log(val);
this
.
ruleForm
.
searchJson
=
val
;
},
// 子组件触发父组件事件,返回过滤条件数据
findFilter
(
val
)
{
console
.
log
(
val
);
//
console.log(val);
this
.
ruleForm
.
filterJson
=
val
;
},
getDatail
(
integralMallProRuleId
)
{
...
...
@@ -239,7 +239,7 @@ export default {
}
else
{
data
=
this
.
ruleForm
;
}
console
.
log
(
data
);
//
console.log(data);
this
.
btnLoading
=
true
;
this
.
$emit
(
'btnLoading'
);
request
.
post
(
'/api-integral-mall/add-update-rule'
,
data
).
then
(
res
=>
{
...
...
@@ -309,7 +309,7 @@ export default {
},
memberTypeNum
()
{
Promise
.
all
([
request
.
get
(
'/api-integral-mall/list-rule'
,
{
params
:
{
memberType
:
3
}
}),
request
.
get
(
'/api-integral-mall/list-rule'
,
{
params
:
{
memberType
:
2
}
})]).
then
(
res
=>
{
console
.
log
(
res
);
//
console.log(res);
const
total1
=
res
[
0
].
data
.
result
?
res
[
0
].
data
.
result
.
length
:
0
;
const
total2
=
res
[
1
].
data
.
result
?
res
[
1
].
data
.
result
.
length
:
0
;
this
.
memberTypeTotal
=
total1
+
total2
;
...
...
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