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
57efa020
Commit
57efa020
authored
Oct 09, 2024
by
chenwei
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分bug
parent
4445bf80
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
385 additions
and
891 deletions
+385
-891
index.vue
...cw/memberManagement/addIntegrationRuleOperation/index.vue
+2
-3
index.vue
...ws/ecw/memberManagement/exchangeRecordOperation/index.vue
+208
-424
index.vue
src/views/ecw/memberManagement/integrationRule/index.vue
+127
-336
index.vue
src/views/ecw/memberManagement/sharingDetails/index.vue
+48
-128
No files found.
src/views/ecw/memberManagement/addIntegrationRuleOperation/index.vue
View file @
57efa020
...
@@ -72,8 +72,8 @@
...
@@ -72,8 +72,8 @@
<el-form-item
:label=
"$t('提货点')"
v-if=
"queryParams.type == '1'"
prop=
"extraOrderV.receiveAddrList"
>
<el-form-item
:label=
"$t('提货点')"
v-if=
"queryParams.type == '1'"
prop=
"extraOrderV.receiveAddrList"
>
<el-cascader
v-if=
"cascaderState"
style=
"width: 400px"
:options=
"regionTreeList"
@
change=
"selectHandle"
@
expand-change=
"selectExpand"
collapse-tags
v-model=
"queryParams.extraOrderV.receiveAddrList"
:props=
"cascaderProps"
clearable
></el-cascader>
<el-cascader
v-if=
"cascaderState"
style=
"width: 400px"
:options=
"regionTreeList"
@
change=
"selectHandle"
@
expand-change=
"selectExpand"
collapse-tags
v-model=
"queryParams.extraOrderV.receiveAddrList"
:props=
"cascaderProps"
clearable
></el-cascader>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('渠道')"
v-if=
"queryParams.extraOrderV.transportType == '3'"
>
<el-form-item
:label=
"$t('渠道')"
v-if=
"queryParams.
type == '1' && queryParams.
extraOrderV.transportType == '3'"
>
<el-select
v-model=
"queryParams.channel"
multiple
placeholder=
"请选择"
>
<el-select
v-model=
"queryParams.
extraOrderV.
channel"
multiple
placeholder=
"请选择"
>
<el-option
v-for=
"item in channelList"
:key=
"item.channelId"
:label=
"isChinese ? item.nameZh : item.nameEn"
:value=
"item.channelId"
>
</el-option>
<el-option
v-for=
"item in channelList"
:key=
"item.channelId"
:label=
"isChinese ? item.nameZh : item.nameEn"
:value=
"item.channelId"
>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -705,7 +705,6 @@ export default {
...
@@ -705,7 +705,6 @@ export default {
if
(
isNumber
(
res
.
data
.
extraRecommend
?.
shareStatus
))
{
if
(
isNumber
(
res
.
data
.
extraRecommend
?.
shareStatus
))
{
params
.
extraRecommend
.
shareStatus
=
res
.
data
.
extraRecommend
?.
shareStatus
.
toString
()
params
.
extraRecommend
.
shareStatus
=
res
.
data
.
extraRecommend
?.
shareStatus
.
toString
()
}
}
console
.
log
(
params
)
params
.
dateRangeCreateTime
=
[
parseTime
(
res
.
data
.
startTime
),
parseTime
(
res
.
data
.
endTime
)]
params
.
dateRangeCreateTime
=
[
parseTime
(
res
.
data
.
startTime
),
parseTime
(
res
.
data
.
endTime
)]
if
(
params
.
type
==
1
&&
params
.
extraOrderV
.
receiveAddrList
[
0
].
toString
()
==
"
0,0,0
"
)
{
if
(
params
.
type
==
1
&&
params
.
extraOrderV
.
receiveAddrList
[
0
].
toString
()
==
"
0,0,0
"
)
{
...
...
src/views/ecw/memberManagement/exchangeRecordOperation/index.vue
View file @
57efa020
This diff is collapsed.
Click to expand it.
src/views/ecw/memberManagement/integrationRule/index.vue
View file @
57efa020
This diff is collapsed.
Click to expand it.
src/views/ecw/memberManagement/sharingDetails/index.vue
View file @
57efa020
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<!-- 搜索工作栏 -->
<!-- 搜索工作栏 -->
<el-form
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
:label=
"$t('操作人')"
prop=
"memberName"
>
<el-form-item
:label=
"$t('操作人')"
prop=
"memberName"
>
<el-input
<el-input
v-model=
"queryParams.memberName"
:placeholder=
"$t('请输入操作人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
v-model=
"queryParams.memberName"
:placeholder=
"$t('请输入操作人')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('分类')"
prop=
"type"
>
<el-form-item
:label=
"$t('分类')"
prop=
"type"
>
<el-select
<el-select
v-model=
"queryParams.type"
:placeholder=
"$t('请选择分类')"
clearable
>
v-model=
"queryParams.type"
<el-option
v-for=
"item in getDictDatas(DICT_TYPE.SCORE_RULE_TYPE)"
:label=
"isChinese ? item.label : item.labelEn"
:value=
"item.value"
v-if=
"item.value == 3 || item.value == 4"
/>
:placeholder=
"$t('请选择分类')"
clearable
>
<el-option
v-for=
"item in getDictDatas(DICT_TYPE.SCORE_RULE_TYPE)"
:label=
"isChinese ? item.label : item.labelEn"
:value=
"item.value"
v-if=
"item.value == 3 || item.value == 4"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('标题')"
prop=
"title"
>
<el-form-item
:label=
"$t('标题')"
prop=
"title"
>
<el-input
<el-input
v-model=
"queryParams.title"
:placeholder=
"$t('请输入关键词查找')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
v-model=
"queryParams.title"
:placeholder=
"$t('请输入关键词查找')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('分享ID')"
prop=
"code"
>
<el-form-item
:label=
"$t('分享ID')"
prop=
"code"
>
<el-input
<el-input
v-model=
"queryParams.code"
:placeholder=
"$t('请输入分享ID')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
v-model=
"queryParams.code"
:placeholder=
"$t('请输入分享ID')"
clearable
@
keyup.enter.native=
"handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('总积分')"
prop=
"type"
>
<el-form-item
:label=
"$t('总积分')"
prop=
"type"
>
<el-row
:gutter=
"10"
style=
"width: 300px"
>
<el-row
:gutter=
"10"
style=
"width: 300px"
>
<el-col
:span=
"10"
>
<el-col
:span=
"10"
>
<dict-selector
<dict-selector
v-model=
"queryParams.relationSymbol"
clearable
:type=
"DICT_TYPE.QUANTITATIVE_RELATION_SYMBOL"
@
change=
"handleQuery"
/>
v-model=
"queryParams.relationSymbol"
clearable
:type=
"DICT_TYPE.QUANTITATIVE_RELATION_SYMBOL"
@
change=
"handleQuery"
/>
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
<el-input
<el-input
v-model.trim=
"queryParams.totalScore"
:placeholder=
"$t('请输入数字')"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
@
keyup.enter.native=
"handleQuery"
/>
v-model.trim=
"queryParams.totalScore"
:placeholder=
"$t('请输入数字')"
clearable
onkeyup=
"this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
@
keyup.enter.native=
"handleQuery"
/>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('操作时间')"
>
<el-form-item
:label=
"$t('操作时间')"
>
<el-date-picker
<el-date-picker
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
v-model=
"dateRangeCreateTime"
style=
"width: 240px"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleQuery"
>
{{
$t
(
"
搜索
"
)
}}
</el-button>
$t
(
"
搜索
"
)
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
"
重置
"
)
}}
</el-button>
}}
</el-button>
<el-button
icon=
"el-icon-refresh"
@
click=
"resetQuery"
>
{{
$t
(
"
重置
"
)
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<!-- 操作工具栏 -->
<!-- 操作工具栏 -->
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<right-toolbar
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<!-- 列表 -->
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('序号')"
align=
"center"
prop=
"id"
/>
<el-table-column
width=
"100"
:label=
"$t('序号')"
align=
"center"
prop=
"id"
/>
<el-table-column
:label=
"$t('操作人')"
align=
"center"
prop=
"memberName"
/>
<el-table-column
width=
"140"
:label=
"$t('操作人')"
align=
"center"
prop=
"memberName"
/>
<el-table-column
<el-table-column
width=
"120"
:label=
"$t('分类')"
align=
"center"
:prop=
"isChinese ? 'typeZh' : 'typeEn'"
/>
:label=
"$t('分类')"
<el-table-column
width=
"120"
:label=
"$t('分享ID')"
align=
"center"
prop=
"code"
/>
align=
"center"
<el-table-column
:label=
"$t('标题')"
align=
"center"
:prop=
"isChinese ? 'titleZh' : 'titleEn'"
/>
:prop=
"isChinese ? 'typeZh' : 'typeEn'"
<el-table-column
:label=
"$t('操作时间')"
align=
"center"
prop=
"createTime"
"
>
/>
<el-table-column
:label=
"$t('分享ID')"
align=
"center"
prop=
"code"
/>
<el-table-column
:label=
"$t('标题')"
align=
"center"
:prop=
"isChinese ? 'titleZh' : 'titleEn'"
/>
<el-table-column
:label=
"$t('操作时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
:label=
"$t('点击时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
:label=
"$t('点击时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
triggerTime
)
||
"
--
"
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
triggerTime
)
||
"
--
"
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"180"
:label=
"$t('ip')"
align=
"center"
prop=
"ipAddress"
/>
<el-table-column
:label=
"$t('积分')"
align=
"center"
prop=
"score"
/>
<el-table-column
:label=
"$t('积分')"
align=
"center"
prop=
"score"
/>
</el-table>
</el-table>
<!-- 分页组件 -->
<!-- 分页组件 -->
<pagination
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.rows"
@
pagination=
"getList"
/>
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.rows"
@
pagination=
"getList"
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
getShareRecordDetails
}
from
"
@/api/ecw/memberManagement
"
;
import
{
getShareRecordDetails
}
from
"
@/api/ecw/memberManagement
"
export
default
{
export
default
{
name
:
"
EcwMembermanagementSharingdetailsIndex
"
,
name
:
"
EcwMembermanagementSharingdetailsIndex
"
,
components
:
{},
components
:
{},
...
@@ -181,17 +101,17 @@ export default {
...
@@ -181,17 +101,17 @@ export default {
status
:
null
,
status
:
null
,
type
:
null
,
type
:
null
,
category
:
null
,
category
:
null
,
remark
:
null
,
remark
:
null
}
,
}
}
;
}
},
},
created
()
{
created
()
{
this
.
getList
()
;
this
.
getList
()
},
},
computed
:
{
computed
:
{
isChinese
()
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
return
this
.
$i18n
.
locale
===
"
zh_CN
"
}
,
}
},
},
methods
:
{
methods
:
{
goShareDetails
(
row
)
{
goShareDetails
(
row
)
{
...
@@ -199,38 +119,38 @@ export default {
...
@@ -199,38 +119,38 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"
/member/memberManagement/sharingStatisticalDetails
"
,
path
:
"
/member/memberManagement/sharingStatisticalDetails
"
,
query
:
{
query
:
{
id
:
row
.
id
,
id
:
row
.
id
}
,
}
})
;
})
}
}
},
},
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
// 处理查询参数
// 处理查询参数
let
params
=
{
...
this
.
queryParams
}
;
let
params
=
{
...
this
.
queryParams
}
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
)
;
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
"
createTime
"
)
// 执行查询
// 执行查询
getShareRecordDetails
(
params
).
then
((
response
)
=>
{
getShareRecordDetails
(
params
).
then
((
response
)
=>
{
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
this
.
loading
=
false
;
this
.
loading
=
false
})
;
})
},
},
/** 搜索按钮操作 */
/** 搜索按钮操作 */
handleQuery
()
{
handleQuery
()
{
this
.
queryParams
.
page
=
1
;
this
.
queryParams
.
page
=
1
this
.
getList
()
;
this
.
getList
()
},
},
/** 重置按钮操作 */
/** 重置按钮操作 */
resetQuery
()
{
resetQuery
()
{
this
.
dateRangeCreateTime
=
[]
;
this
.
dateRangeCreateTime
=
[]
this
.
queryParams
.
relationSymbol
=
""
;
this
.
queryParams
.
relationSymbol
=
""
this
.
queryParams
.
totalScore
=
""
;
this
.
queryParams
.
totalScore
=
""
this
.
resetForm
(
"
queryForm
"
)
;
this
.
resetForm
(
"
queryForm
"
)
this
.
handleQuery
()
;
this
.
handleQuery
()
}
,
}
}
,
}
}
;
}
</
script
>
</
script
>
chenwei
@chenwei
mentioned in commit
d32130e0
·
Oct 09, 2024
mentioned in commit
d32130e0
mentioned in commit d32130e02ac0e7483d4d97666a7237d0c9fa3c01
Toggle commit list
chenwei
@chenwei
mentioned in merge request
!76 (merged)
·
Oct 09, 2024
mentioned in merge request
!76 (merged)
mentioned in merge request !76
Toggle commit list
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