Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-mallconfig
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 53f5765e
authored
Oct 08, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
e1505612
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
90 deletions
package-lock.json
src/components/text-box/index.vue
src/views/strategy/burialPointList.vue
src/views/strategy/index.vue
package-lock.json
View file @
53f5765
...
@@ -1909,51 +1909,6 @@
...
@@ -1909,51 +1909,6 @@
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"integrity"
:
"sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
,
"dev"
:
true
"dev"
:
true
},
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"ssri"
:
{
"ssri"
:
{
"version"
:
"8.0.1"
,
"version"
:
"8.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/ssri/-/ssri-8.0.1.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/ssri/-/ssri-8.0.1.tgz"
,
...
@@ -1962,28 +1917,6 @@
...
@@ -1962,28 +1917,6 @@
"requires"
:
{
"requires"
:
{
"minipass"
:
"^3.1.1"
"minipass"
:
"^3.1.1"
}
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
}
}
}
}
},
},
...
@@ -13415,6 +13348,75 @@
...
@@ -13415,6 +13348,75 @@
}
}
}
}
},
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"vue-router"
:
{
"version"
:
"3.6.5"
,
"version"
:
"3.6.5"
,
"resolved"
:
"https://registry.npmmirror.com/vue-router/-/vue-router-3.6.5.tgz"
,
"resolved"
:
"https://registry.npmmirror.com/vue-router/-/vue-router-3.6.5.tgz"
,
...
...
src/components/text-box/index.vue
View file @
53f5765
...
@@ -37,6 +37,17 @@
...
@@ -37,6 +37,17 @@
this
.
editor
.
config
.
height
=
this
.
boxHeight
this
.
editor
.
config
.
height
=
this
.
boxHeight
this
.
editor
.
config
.
width
=
500
this
.
editor
.
config
.
width
=
500
this
.
editor
.
config
.
excludeMenus
=
this
.
excludeMenus
this
.
editor
.
config
.
excludeMenus
=
this
.
excludeMenus
this
.
editor
.
config
.
pasteIgnoreImg
=
true
// this.editor.config.uploadImgHooks = {
// before: (xhr, editer, files) => {
// if(files[0].name === 'image.png') {
// return {
// prevent: true,
// msg: '请您将截图以上传图片的方式显示在文本框中!'
// }
// }
// }
// }
this
.
editor
.
config
.
onchange
=
html
=>
{
this
.
editor
.
config
.
onchange
=
html
=>
{
// console.log(html);
// console.log(html);
this
.
content
=
html
// 绑定当前逐渐地值
this
.
content
=
html
// 绑定当前逐渐地值
...
...
src/views/strategy/burialPointList.vue
View file @
53f5765
<!-- 秒杀活动 -->
<!-- 秒杀活动 -->
<
template
>
<
template
>
<div
class=
"ctnr"
>
<div>
<GLCombiForm
ref=
"goodsRef"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:formObj=
"searchFormObj"
:formData=
"searchFormData"
>
<div
class=
"big-title"
>
</GLCombiForm>
攻略名称:
{{
strategyName
||
'--'
}}
<div
class=
"operate-wrap"
>
<span
class=
"table-title"
>
已累计
{{
searchFormObj
.
recordType
==
1
?
'浏览'
:
searchFormObj
.
recordType
==
2
?
'分享'
:
''
}}
<span
style=
"color: #5850FF;"
>
{{
total
}}
</span>
{{
searchFormObj
.
recordType
==
3
?
'位访客'
:
'次'
}}
</span>
<div
class=
"operate-btn"
>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
</div>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchFormObj"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
class=
"ctnr"
>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<GLCombiForm
ref=
"goodsRef"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
:formObj=
"searchFormObj"
:formData=
"searchFormData"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
{{
scope
.
scope
.
goodsSkuName
}}
</GLCombiForm>
<div
class=
"operate-wrap"
>
<span
class=
"table-title"
>
已累计
{{
searchFormObj
.
recordType
==
1
?
'浏览'
:
searchFormObj
.
recordType
==
2
?
'分享'
:
''
}}
<span
style=
"color: #5850FF;"
>
{{
total
}}
</span>
{{
searchFormObj
.
recordType
==
3
?
'位访客'
:
'次'
}}
</span>
<div
class=
"operate-btn"
>
<el-button
:size=
"size"
type=
"primary"
plain
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
</div>
<div
class=
"setPriceSlot"
slot=
"setPriceSlot"
slot-scope=
"scope"
>
<GLTable
ref=
"tableRef"
:pageConf=
"pageConf"
:searchForm=
"searchFormObj"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<el-input
v-if=
"curEditId==scope.scope.id"
:value=
"scope.scope.salePrice"
type=
"text"
clearable
@
blur=
"setPriceFn(scope.scope)"
></el-input>
<div
slot=
"customerSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<span
class=
"unedited"
v-else
>
<img
v-if=
"scope.scope.customerAvatar"
:src=
"scope.scope.customerAvatar"
alt=
""
>
{{
scope
.
scope
.
customerName
}}
{{
scope
.
scope
.
salePrice
}}
</div>
<img
:src=
"require('@/assets/images/edit.png')"
alt=
""
@
click=
"editPrice(scope.scope)"
>
<div
slot=
"shareSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
</span>
<img
v-if=
"scope.scope.shareAvatar"
:src=
"scope.scope.shareAvatar"
alt=
""
>
{{
scope
.
scope
.
shareName
}}
</div>
</div>
</GLTable>
<div
slot=
"goodsNameSlot"
class=
"goodsNameSlot"
slot-scope=
"scope"
>
<img
:src=
"scope.scope.goodsImgUrl"
alt=
""
>
{{
scope
.
scope
.
goodsSkuName
}}
</div>
<div
class=
"setPriceSlot"
slot=
"setPriceSlot"
slot-scope=
"scope"
>
<el-input
v-if=
"curEditId==scope.scope.id"
:value=
"scope.scope.salePrice"
type=
"text"
clearable
@
blur=
"setPriceFn(scope.scope)"
></el-input>
<span
class=
"unedited"
v-else
>
{{
scope
.
scope
.
salePrice
}}
<img
:src=
"require('@/assets/images/edit.png')"
alt=
""
@
click=
"editPrice(scope.scope)"
>
</span>
</div>
</GLTable>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -28,7 +39,7 @@
...
@@ -28,7 +39,7 @@
const
baseColumn
=
[
const
baseColumn
=
[
{
{
label
:
'微信昵称'
,
label
:
'微信昵称'
,
prop
:
'customerName
'
addHtml
:
'customerSlot
'
},
},
{
{
label
:
'手机号'
,
label
:
'手机号'
,
...
@@ -36,7 +47,7 @@ const baseColumn = [
...
@@ -36,7 +47,7 @@ const baseColumn = [
},
},
{
{
label
:
'分享人'
,
label
:
'分享人'
,
prop
:
'shareName
'
addHtml
:
'shareSlot
'
}
}
]
]
...
@@ -58,7 +69,7 @@ const otherColumn = {
...
@@ -58,7 +69,7 @@ const otherColumn = {
2
:
[
2
:
[
{
{
label
:
'分享时间'
,
label
:
'分享时间'
,
prop
:
'
sharedTim
e'
prop
:
'
operationDat
e'
},
},
{
{
label
:
'浏览时长'
,
label
:
'浏览时长'
,
...
@@ -97,6 +108,7 @@ export default {
...
@@ -97,6 +108,7 @@ export default {
mobile
:
''
,
mobile
:
''
,
shareName
:
''
shareName
:
''
},
},
strategyName
:
''
,
total
:
0
,
total
:
0
,
searchFormData
:
[
searchFormData
:
[
{
{
...
@@ -135,7 +147,8 @@ export default {
...
@@ -135,7 +147,8 @@ export default {
const
urlParam
=
this
.
$route
.
params
const
urlParam
=
this
.
$route
.
params
this
.
routeInfo
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
this
.
routeInfo
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
console
.
log
(
this
.
routeInfo
)
console
.
log
(
this
.
routeInfo
)
const
{
id
,
recordType
}
=
this
.
routeInfo
const
{
id
,
recordType
,
strategyName
}
=
this
.
routeInfo
this
.
strategyName
=
strategyName
this
.
searchFormObj
.
strategyId
=
id
this
.
searchFormObj
.
strategyId
=
id
this
.
searchFormObj
.
recordType
=
recordType
this
.
searchFormObj
.
recordType
=
recordType
this
.
tableParams
.
tableColumns
=
[...
baseColumn
,...
otherColumn
[
recordType
]]
this
.
tableParams
.
tableColumns
=
[...
baseColumn
,...
otherColumn
[
recordType
]]
...
@@ -192,6 +205,17 @@ export default {
...
@@ -192,6 +205,17 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.big-title
{
height
:
52px
;
background
:
#FFFFFF
;
margin-bottom
:
16px
;
padding
:
0
20px
;
line-height
:
52px
;
font-weight
:
600
;
font-size
:
14px
;
color
:
#333333
;
font-family
:
PingFangSC-Medium
;
}
.ctnr
{
.ctnr
{
background-color
:
#fff
;
background-color
:
#fff
;
padding
:
20px
;
padding
:
20px
;
...
...
src/views/strategy/index.vue
View file @
53f5765
...
@@ -181,6 +181,7 @@ export default {
...
@@ -181,6 +181,7 @@ export default {
}[
scope
.
prop
]
}[
scope
.
prop
]
const
params
=
{
const
params
=
{
recordType
,
recordType
,
strategyName
:
scope
.
scope
.
strategyName
,
id
:
scope
.
scope
.
id
id
:
scope
.
scope
.
id
}
}
const
queryStr
=
encodeURIComponent
(
JSON
.
stringify
(
params
))
const
queryStr
=
encodeURIComponent
(
JSON
.
stringify
(
params
))
...
...
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