Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
f6cc0a25
Commit
f6cc0a25
authored
Aug 21, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed defect 103 | 104 |1 05 |1 06 | 107 | 108 | 109 |110
parent
c3b09cbb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
86 additions
and
11 deletions
+86
-11
chooseMember.vue
...w/giftManagement/bulkExchange/components/chooseMember.vue
+11
-2
index.vue
src/views/ecw/giftManagement/index.vue
+5
-1
index.vue
...cw/memberManagement/addIntegrationRuleOperation/index.vue
+2
-2
index.vue
src/views/ecw/memberManagement/exchangeRecord/index.vue
+9
-1
chooseGift.vue
...agement/exchangeRecordOperation/components/chooseGift.vue
+8
-2
index.vue
...ws/ecw/memberManagement/exchangeRecordOperation/index.vue
+17
-1
index.vue
src/views/ecw/memberManagement/integralRecord/index.vue
+10
-0
index.vue
src/views/ecw/memberManagement/integrationRule/index.vue
+13
-0
index.vue
src/views/ecw/memberManagement/memberPointsSummary/index.vue
+8
-0
memberDetails.vue
src/views/member/user/memberDetails.vue
+3
-2
No files found.
src/views/ecw/giftManagement/bulkExchange/components/chooseMember.vue
View file @
f6cc0a25
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
:model=
"queryParams"
:model=
"queryParams"
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
v-show=
"showSearch"
:inline=
"true"
:inline=
"true"
label-width=
"120px"
label-width=
"120px"
>
>
...
@@ -88,6 +89,12 @@
...
@@ -88,6 +89,12 @@
}}
</el-button>
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"mb8"
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"handleQueryPagination"
></right-toolbar>
</el-row>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
v-loading=
"loading"
v-loading=
"loading"
...
@@ -189,6 +196,8 @@ export default {
...
@@ -189,6 +196,8 @@ export default {
total
:
0
,
total
:
0
,
loading
:
true
,
loading
:
true
,
memberList
:
[],
memberList
:
[],
// 显示搜索条件
showSearch
:
true
,
queryParams
:
{
queryParams
:
{
country
:
null
,
country
:
null
,
city
:
null
,
city
:
null
,
...
@@ -199,8 +208,8 @@ export default {
...
@@ -199,8 +208,8 @@ export default {
pageNo
:
1
,
pageNo
:
1
,
pageSize
:
10
,
pageSize
:
10
,
startTime
:
""
,
startTime
:
""
,
usedScore
:
0
,
usedScore
:
null
,
usedScoreOperate
:
0
,
usedScoreOperate
:
null
,
},
},
};
};
},
},
...
...
src/views/ecw/giftManagement/index.vue
View file @
f6cc0a25
...
@@ -137,6 +137,10 @@
...
@@ -137,6 +137,10 @@
v-hasPermi=
"['ecw:giftManagement:add']"
v-hasPermi=
"['ecw:giftManagement:add']"
>
{{
$t
(
"
添加礼品
"
)
}}
</el-button
>
{{
$t
(
"
添加礼品
"
)
}}
</el-button
>
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<!-- 礼品列表 -->
<!-- 礼品列表 -->
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"list"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"list"
>
...
@@ -164,7 +168,7 @@
...
@@ -164,7 +168,7 @@
</el-table-column>
</el-table-column>
<el-table-column
width=
"100"
:label=
"$t('开始日期')"
>
<el-table-column
width=
"100"
:label=
"$t('开始日期')"
>
<
template
v-slot=
"{ row }"
>
<
template
v-slot=
"{ row }"
>
{{
parseTime
(
row
.
create
Time
,
"
{y
}
-{m
}
-{d
}
"
)
||
"
/
"
}}
{{
parseTime
(
row
.
start
Time
,
"
{y
}
-{m
}
-{d
}
"
)
||
"
/
"
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
width
=
"
100
"
:
label
=
"
$t('结束日期')
"
>
<
el
-
table
-
column
width
=
"
100
"
:
label
=
"
$t('结束日期')
"
>
...
...
src/views/ecw/memberManagement/addIntegrationRuleOperation/index.vue
View file @
f6cc0a25
...
@@ -49,12 +49,12 @@
...
@@ -49,12 +49,12 @@
</el-row>
</el-row>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('中文封面图')"
>
<el-form-item
:label=
"$t('中文封面图')"
prop=
"coverImageZh"
>
<image-upload
v-model=
"queryParams.coverImageZh"
/>
<image-upload
v-model=
"queryParams.coverImageZh"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('英文封面图')"
>
<el-form-item
:label=
"$t('英文封面图')"
prop=
"coverImageEn"
>
<image-upload
v-model=
"queryParams.coverImageEn"
/>
<image-upload
v-model=
"queryParams.coverImageEn"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
...
src/views/ecw/memberManagement/exchangeRecord/index.vue
View file @
f6cc0a25
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
:model=
"queryParams"
:model=
"queryParams"
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
v-show=
"showSearch"
:inline=
"true"
:inline=
"true"
label-width=
"120px"
label-width=
"120px"
>
>
...
@@ -156,6 +157,10 @@
...
@@ -156,6 +157,10 @@
v-hasPermi=
"['ecw:memberManagement:exchangeoInfoImport']"
v-hasPermi=
"['ecw:memberManagement:exchangeoInfoImport']"
>
{{
$t
(
"
兑换信息导入
"
)
}}
</el-button
>
{{
$t
(
"
兑换信息导入
"
)
}}
</el-button
>
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"handleQueryPagination"
></right-toolbar>
</el-row>
</el-row>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
...
@@ -502,6 +507,8 @@ export default {
...
@@ -502,6 +507,8 @@ export default {
verifyTime
:
""
,
verifyTime
:
""
,
verifyUser
:
""
,
verifyUser
:
""
,
},
},
// 显示搜索条件
showSearch
:
true
,
selectedMember
:
[],
selectedMember
:
[],
cityList
:
[],
cityList
:
[],
dateRangeCreateTime
:
[],
dateRangeCreateTime
:
[],
...
@@ -645,7 +652,7 @@ export default {
...
@@ -645,7 +652,7 @@ export default {
handleFileSuccess
(
response
,
file
,
fileList
)
{
handleFileSuccess
(
response
,
file
,
fileList
)
{
if
(
if
(
!
response
.
data
.
redeemIdFailedMap
||
!
response
.
data
.
redeemIdFailedMap
||
JSON
.
stringify
(
response
.
data
.
redeemIdFailedMap
)
!
=
"
{}
"
JSON
.
stringify
(
response
.
data
.
redeemIdFailedMap
)
=
=
"
{}
"
)
{
)
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
导入成功
"
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
导入成功
"
));
this
.
handleQuery
();
this
.
handleQuery
();
...
@@ -819,6 +826,7 @@ export default {
...
@@ -819,6 +826,7 @@ export default {
},
},
resetQuery
()
{
resetQuery
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dateRangeCreateTime
=
[];
this
.
queryParams
=
{
this
.
queryParams
=
{
country
:
null
,
country
:
null
,
city
:
null
,
city
:
null
,
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/components/chooseGift.vue
View file @
f6cc0a25
...
@@ -137,6 +137,12 @@
...
@@ -137,6 +137,12 @@
}}
</el-button>
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"mb8"
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<!-- 礼品列表 -->
<!-- 礼品列表 -->
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"list"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"list"
>
<el-table-column
<el-table-column
...
@@ -258,8 +264,8 @@
...
@@ -258,8 +264,8 @@
<pagination
<pagination
v-show=
"total > 0"
v-show=
"total > 0"
:total=
"total"
:total=
"total"
:page.sync=
"queryParams.page
No
"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.
pageSize
"
:limit.sync=
"queryParams.
rows
"
@
pagination=
"getList"
@
pagination=
"getList"
/>
/>
</div>
</div>
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/index.vue
View file @
f6cc0a25
...
@@ -434,7 +434,7 @@ export default {
...
@@ -434,7 +434,7 @@ export default {
},
},
{
{
validator
:
validatePass2
,
validator
:
validatePass2
,
trigger
:
"
blur
"
,
trigger
:
[
"
blur
"
,
"
change
"
]
,
},
},
],
],
rewardName
:
[
rewardName
:
[
...
@@ -584,6 +584,15 @@ export default {
...
@@ -584,6 +584,15 @@ export default {
:
(
this
.
queryParamsList
[
0
].
memberName
=
item
.
englishName
);
:
(
this
.
queryParamsList
[
0
].
memberName
=
item
.
englishName
);
this
.
queryParamsList
[
0
].
holdScore
=
item
.
holdScore
;
this
.
queryParamsList
[
0
].
holdScore
=
item
.
holdScore
;
this
.
queryParamsList
[
0
].
memberId
=
item
.
id
;
this
.
queryParamsList
[
0
].
memberId
=
item
.
id
;
this
.
queryParamsList
[
0
].
spendCredit
=
this
.
queryParamsList
[
0
].
pointsRequire
*
this
.
queryParamsList
[
0
].
rewardCount
;
this
.
queryParamsList
[
0
].
remainingPoints
=
this
.
queryParamsList
[
0
].
holdScore
-
this
.
queryParamsList
[
0
].
spendCredit
;
this
.
quantityComputation
=
this
.
queryParamsList
[
0
].
remainingPoints
>=
0
?
true
:
false
;
},
},
querySearchAsync
(
queryString
,
cb
)
{
querySearchAsync
(
queryString
,
cb
)
{
let
result
=
[];
let
result
=
[];
...
@@ -649,6 +658,13 @@ export default {
...
@@ -649,6 +658,13 @@ export default {
this
.
queryParamsList
[
0
].
rewardName
=
item
.
titleEn
;
this
.
queryParamsList
[
0
].
rewardName
=
item
.
titleEn
;
}
}
this
.
queryParamsList
[
0
].
pointsRequire
=
item
.
pointsRequire
;
this
.
queryParamsList
[
0
].
pointsRequire
=
item
.
pointsRequire
;
this
.
queryParamsList
[
0
].
rewardCount
=
""
;
this
.
queryParamsList
[
0
].
spendCredit
=
""
;
this
.
queryParamsList
[
0
].
remainingPoints
=
this
.
queryParamsList
[
0
].
holdScore
;
this
.
quantityComputation
=
this
.
queryParamsList
[
0
].
remainingPoints
>=
0
?
true
:
false
;
},
},
handleSelectMember
()
{
handleSelectMember
()
{
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
...
...
src/views/ecw/memberManagement/integralRecord/index.vue
View file @
f6cc0a25
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
:model=
"queryParams"
:model=
"queryParams"
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
v-show=
"showSearch"
:inline=
"true"
:inline=
"true"
label-width=
"120px"
label-width=
"120px"
>
>
...
@@ -91,6 +92,12 @@
...
@@ -91,6 +92,12 @@
}}
</el-button>
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"mb8"
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"handleQueryPagination"
></right-toolbar>
</el-row>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"memberList"
>
<el-table
ref=
"multipleTable"
v-loading=
"loading"
:data=
"memberList"
>
<el-table-column
<el-table-column
width=
"140"
width=
"140"
...
@@ -254,6 +261,8 @@ export default {
...
@@ -254,6 +261,8 @@ export default {
dateRangeCreateTime
:
[],
dateRangeCreateTime
:
[],
total
:
0
,
total
:
0
,
loading
:
true
,
loading
:
true
,
// 显示搜索条件
showSearch
:
true
,
memberList
:
[],
memberList
:
[],
queryParams
:
{
queryParams
:
{
ruleTitle
:
""
,
ruleTitle
:
""
,
...
@@ -320,6 +329,7 @@ export default {
...
@@ -320,6 +329,7 @@ export default {
}
,
}
,
resetQuery
()
{
resetQuery
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dateRangeCreateTime
=
[];
this
.
queryParams
=
{
this
.
queryParams
=
{
ruleTitle
:
""
,
ruleTitle
:
""
,
ruleDesc
:
""
,
ruleDesc
:
""
,
...
...
src/views/ecw/memberManagement/integrationRule/index.vue
View file @
f6cc0a25
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
:inline=
"true"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
label-width=
"68px"
>
>
<el-form-item
:label=
"$t('指标类型')"
>
<el-form-item
:label=
"$t('指标类型')"
>
...
@@ -118,6 +119,10 @@
...
@@ -118,6 +119,10 @@
@
click=
"handleNewScoreRule"
@
click=
"handleNewScoreRule"
>
{{
$t
(
"
添加规则
"
)
}}
</el-button
>
{{
$t
(
"
添加规则
"
)
}}
</el-button
>
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"handleQueryPagination"
></right-toolbar>
</el-row>
</el-row>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
...
@@ -297,6 +302,7 @@ export default {
...
@@ -297,6 +302,7 @@ export default {
return
{
return
{
dateRangeCreateTime
:
[],
dateRangeCreateTime
:
[],
total
:
0
,
total
:
0
,
showSearch
:
true
,
loading
:
true
,
loading
:
true
,
dialogPostponeVisible
:
false
,
dialogPostponeVisible
:
false
,
integrationRuleList
:
[],
integrationRuleList
:
[],
...
@@ -463,6 +469,12 @@ export default {
...
@@ -463,6 +469,12 @@ export default {
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
=
1
;
this
.
queryParams
.
page
=
1
;
let
params
=
{
...
this
.
queryParams
};
let
params
=
{
...
this
.
queryParams
};
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
,
false
);
getScoreRecordList
(
params
).
then
((
res
)
=>
{
getScoreRecordList
(
params
).
then
((
res
)
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
integrationRuleList
=
res
.
data
.
list
;
this
.
integrationRuleList
=
res
.
data
.
list
;
...
@@ -485,6 +497,7 @@ export default {
...
@@ -485,6 +497,7 @@ export default {
},
},
resetQuery
()
{
resetQuery
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dateRangeCreateTime
=
[];
this
.
queryParams
=
{
this
.
queryParams
=
{
ruleTitle
:
""
,
ruleTitle
:
""
,
ruleDesc
:
""
,
ruleDesc
:
""
,
...
...
src/views/ecw/memberManagement/memberPointsSummary/index.vue
View file @
f6cc0a25
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
ref=
"queryForm"
ref=
"queryForm"
size=
"small"
size=
"small"
:inline=
"true"
:inline=
"true"
v-show=
"showSearch"
label-width=
"120px"
label-width=
"120px"
>
>
<el-form-item
:label=
"$t('关键词')"
>
<el-form-item
:label=
"$t('关键词')"
>
...
@@ -106,6 +107,10 @@
...
@@ -106,6 +107,10 @@
@
click=
"handleScore"
@
click=
"handleScore"
>
{{
$t
(
"
操作积分
"
)
}}
</el-button
>
{{
$t
(
"
操作积分
"
)
}}
</el-button
>
>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"handleQueryPagination"
></right-toolbar>
</el-row>
</el-row>
<el-table
<el-table
ref=
"multipleTable"
ref=
"multipleTable"
...
@@ -245,6 +250,8 @@ export default {
...
@@ -245,6 +250,8 @@ export default {
cityList
:
[],
cityList
:
[],
dateRangeCreateTime
:
[],
dateRangeCreateTime
:
[],
total
:
0
,
total
:
0
,
// 显示搜索条件
showSearch
:
true
,
loading
:
true
,
loading
:
true
,
dialogVisible
:
false
,
dialogVisible
:
false
,
memberList
:
[],
memberList
:
[],
...
@@ -367,6 +374,7 @@ export default {
...
@@ -367,6 +374,7 @@ export default {
});
});
},
},
resetQuery
()
{
resetQuery
()
{
this
.
dateRangeCreateTime
=
[];
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
queryParams
=
{
this
.
queryParams
=
{
country
:
null
,
country
:
null
,
...
...
src/views/member/user/memberDetails.vue
View file @
f6cc0a25
...
@@ -1051,7 +1051,7 @@ export default {
...
@@ -1051,7 +1051,7 @@ export default {
handleQueryRecord
()
{
handleQueryRecord
()
{
this
.
queryParamsRecord
.
pageNo
=
1
;
this
.
queryParamsRecord
.
pageNo
=
1
;
let
params
=
{
...
this
.
queryParamsRecord
};
let
params
=
{
...
this
.
queryParamsRecord
};
if
(
this
.
dateRangeCreateTimeRecord
>
0
)
{
if
(
this
.
dateRangeCreateTimeRecord
)
{
params
.
startTime
=
this
.
dateRangeCreateTimeRecord
[
0
];
params
.
startTime
=
this
.
dateRangeCreateTimeRecord
[
0
];
params
.
endTime
=
this
.
dateRangeCreateTimeRecord
[
1
];
params
.
endTime
=
this
.
dateRangeCreateTimeRecord
[
1
];
}
}
...
@@ -1064,6 +1064,7 @@ export default {
...
@@ -1064,6 +1064,7 @@ export default {
resetQueryRecord
()
{
resetQueryRecord
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dateRangeCreateTimeRecord
=
[];
this
.
queryParamsRecord
=
{
this
.
queryParamsRecord
=
{
country
:
null
,
country
:
null
,
city
:
null
,
city
:
null
,
...
@@ -1132,6 +1133,7 @@ export default {
...
@@ -1132,6 +1133,7 @@ export default {
},
},
resetQuery
()
{
resetQuery
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
dateRangeCreateTime
=
[];
this
.
queryParams
=
{
this
.
queryParams
=
{
ruleTitle
:
""
,
ruleTitle
:
""
,
ruleDesc
:
""
,
ruleDesc
:
""
,
...
@@ -1180,7 +1182,6 @@ export default {
...
@@ -1180,7 +1182,6 @@ export default {
},
},
getDetails
()
{
getDetails
()
{
memberUserGet
({
id
:
this
.
$route
.
params
.
id
}).
then
((
r
)
=>
{
memberUserGet
({
id
:
this
.
$route
.
params
.
id
}).
then
((
r
)
=>
{
console
.
log
(
r
,
"
rrrr
"
);
this
.
details
=
r
.
data
;
this
.
details
=
r
.
data
;
});
});
},
},
...
...
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