Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 a14b8e53
authored
Feb 23, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
去掉不需要的代码
1 parent
4e2f95fd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
51 deletions
src/views/giftBag/editGift.vue
src/views/giftBag/giftDetail.vue
src/views/giftBag/giftList.vue
src/views/giftBag/selectGiftDialog.vue
src/views/giftBag/selectStaffDialog.vue
src/views/giftBag/editGift.vue
View file @
a14b8e5
...
@@ -432,7 +432,6 @@ export default {
...
@@ -432,7 +432,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.marketing.edit-gift
.select-merchant
{
.marketing.edit-gift
.select-merchant
{
/* width: calc(98% - 140px); */
width
:
98%
;
width
:
98%
;
}
}
.marketing.edit-gift
.staff-block
{
.marketing.edit-gift
.staff-block
{
...
@@ -526,7 +525,6 @@ export default {
...
@@ -526,7 +525,6 @@ export default {
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
//
background
:
#fff
!important
;
}
}
.el-tag.el-tag--info
.el-tag__close
{
.el-tag.el-tag--info
.el-tag__close
{
color
:
#e8e8ea
;
color
:
#e8e8ea
;
...
...
src/views/giftBag/giftDetail.vue
View file @
a14b8e5
...
@@ -36,10 +36,6 @@
...
@@ -36,10 +36,6 @@
</div>
</div>
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button
type=
"default"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
返回
</el-button>
<!--
<span
v-show=
"editForm.receivedFlag == 1"
>
-->
<!--
<el-button
type=
"primary"
@
click=
"handleEdit"
>
编辑
</el-button>
-->
<!--
<GLButton
type=
"primary"
fn=
"编辑"
@
click=
"handleEdit"
>
编辑
</GLButton>
-->
<!--
</span>
-->
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -200,17 +196,6 @@ export default {
...
@@ -200,17 +196,6 @@ export default {
this
.
totalEstimatedCost
=
(
this
.
totalEstimatedCost
/
100
).
toFixed
(
2
)
this
.
totalEstimatedCost
=
(
this
.
totalEstimatedCost
/
100
).
toFixed
(
2
)
},
},
handleEdit
()
{
var
params
=
{
addOrEdit
:
'edit'
,
$title
:
encodeURI
(
'编辑礼包'
)
}
params
.
id
=
this
.
routeInfo
.
id
this
.
$router
.
push
({
path
:
'/giftBag/editGift'
,
query
:
params
})
},
handleCancel
()
{
handleCancel
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/giftBag/index'
path
:
'/giftBag/index'
...
...
src/views/giftBag/giftList.vue
View file @
a14b8e5
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<
template
>
<
template
>
<div
class=
"marketing p-t-20"
>
<div
class=
"marketing p-t-20"
>
<div
class=
"m-b-10"
>
<div
class=
"m-b-10"
>
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</el-button>
-->
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增礼包"
class=
"el-icon-plus"
@
click=
"handleEdit('add')"
>
新增礼包
</GLButton>
</div>
</div>
<div
class=
"list-tips m-b-10"
>
<div
class=
"list-tips m-b-10"
>
...
@@ -21,7 +20,6 @@
...
@@ -21,7 +20,6 @@
</glsx-combi-form>
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
>
<glsx-combi-form
ref=
"showSearch"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<!--
<el-button
:size=
"size"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
-->
<GLButton
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
<GLButton
:size=
"size"
class=
"default-blue-btn"
type=
"default"
fn=
"导出"
@
click=
"handleExport"
>
导出
</GLButton>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
...
@@ -39,12 +37,9 @@
...
@@ -39,12 +37,9 @@
</div>
</div>
</div>
</div>
<div
slot=
"name"
slot-scope=
"scope"
>
<div
slot=
"name"
slot-scope=
"scope"
>
<!--
<el-button
:size=
"size"
type=
"text"
>
{{
scope
.
scope
.
name
}}
</el-button>
-->
<p
class=
"cursor-pointer"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
name
}}
</p>
<p
class=
"cursor-pointer"
@
click=
"handleDetail(scope.scope)"
>
{{
scope
.
scope
.
name
}}
</p>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<!--
<el-button
type=
"text"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</el-button>
-->
<GLButton
type=
"text"
fn=
"编辑"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</GLButton>
<GLButton
type=
"text"
fn=
"编辑"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</GLButton>
<GLButton
type=
"text"
fn=
"删除"
@
click=
"handleDelete(scope.scope)"
>
删除
</GLButton>
<GLButton
type=
"text"
fn=
"删除"
@
click=
"handleDelete(scope.scope)"
>
删除
</GLButton>
</div>
</div>
...
@@ -237,7 +232,6 @@ export default {
...
@@ -237,7 +232,6 @@ export default {
// add-新增;edit-编辑
// add-新增;edit-编辑
handleEdit
(
addOrEdit
,
row
)
{
handleEdit
(
addOrEdit
,
row
)
{
// addOrEdit == 1 ? this.$router.push('/zoneList/editZone/' + addOrEdit) : this.$router.push('/zoneList/editZone/' + addOrEdit + '/' + row.id)
var
params
=
{
var
params
=
{
addOrEdit
:
addOrEdit
,
addOrEdit
:
addOrEdit
,
$title
:
encodeURI
(
addOrEdit
==
'add'
?
'新增礼包'
:
'编辑礼包'
)
$title
:
encodeURI
(
addOrEdit
==
'add'
?
'新增礼包'
:
'编辑礼包'
)
...
...
src/views/giftBag/selectGiftDialog.vue
View file @
a14b8e5
...
@@ -66,7 +66,6 @@
...
@@ -66,7 +66,6 @@
<el-input-number
v-if=
"subItem.discountType == 7"
:disabled=
"subItem.status == '3'"
class=
"sum-input"
v-model=
"subItem.couponAmount"
@
change=
"handleChange"
:min=
"1"
:max=
"10"
size=
"mini"
label=
"描述文字"
></el-input-number>
<el-input-number
v-if=
"subItem.discountType == 7"
:disabled=
"subItem.status == '3'"
class=
"sum-input"
v-model=
"subItem.couponAmount"
@
change=
"handleChange"
:min=
"1"
:max=
"10"
size=
"mini"
label=
"描述文字"
></el-input-number>
<p
:class=
"[subItem.status == '3' ? ' txt-grey' : '']"
v-else
>
×
{{
subItem
.
couponAmount
}}
</p>
<p
:class=
"[subItem.status == '3' ? ' txt-grey' : '']"
v-else
>
×
{{
subItem
.
couponAmount
}}
</p>
</div>
</div>
<!--
<p
v-show=
"subItem.status == '3'"
class=
"gift-tips"
>
已失效
</p>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -77,7 +76,6 @@
...
@@ -77,7 +76,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
export
default
{
...
@@ -85,7 +83,6 @@ export default {
...
@@ -85,7 +83,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
// 表格组件
// 表格组件
// getListApi: this.$apis.common.getGoodsListApi,
activeName
:
'service'
,
activeName
:
'service'
,
userInfo
:
{},
userInfo
:
{},
giftList
:
[],
giftList
:
[],
...
@@ -329,7 +326,6 @@ export default {
...
@@ -329,7 +326,6 @@ export default {
// })
// })
// return true
// return true
// }
// }
// var selectedData = this.$refs[this.activeName + 'Ref'].mutiSelectArr[this.tableParams.mutiSelectName]
var
selectedData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectedGiftList
))
var
selectedData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectedGiftList
))
this
.
$emit
(
'handleGiftConfirm'
,
selectedData
)
this
.
$emit
(
'handleGiftConfirm'
,
selectedData
)
},
},
...
@@ -357,16 +353,6 @@ export default {
...
@@ -357,16 +353,6 @@ export default {
.muti-gift
.m-t-10
{
.muti-gift
.m-t-10
{
margin-top
:
10px
;
margin-top
:
10px
;
}
}
/* .muti-gift .nogiftP {
width: 100%;
height: 20px;
font-family: PingFangSC-Medium;
font-size: 16px;
color: #666666;
line-height: 20px;
font-weight: 500;
text-align: center;
} */
.muti-gift
.gift-table
{
.muti-gift
.gift-table
{
border
:
1px
solid
#eeeeee
;
border
:
1px
solid
#eeeeee
;
margin-right
:
10px
;
margin-right
:
10px
;
...
...
src/views/giftBag/selectStaffDialog.vue
View file @
a14b8e5
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
import
url
from
'@/assets/empty.png'
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
export
default
{
...
@@ -21,7 +20,6 @@ export default {
...
@@ -21,7 +20,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
// 表格组件
// 表格组件
// getListApi: this.$apis.common.getGoodsListApi,
userInfo
:
{},
userInfo
:
{},
staffList
:
[],
staffList
:
[],
fnCallBack
:
false
,
fnCallBack
:
false
,
...
@@ -103,18 +101,6 @@ export default {
...
@@ -103,18 +101,6 @@ export default {
}
}
},
},
handleMutiSelectConfirm
()
{
handleMutiSelectConfirm
()
{
// if (!this.staffList.length) {
// var params = {
// addOrEdit: 1,
// groupOrStore: this.userInfo.accountLevel == 4 ? 2 : 1,
// $title: '新建员工'
// }
// this.$router.push({
// path: '/productGroup/editProduct',
// query: params
// })
// return true
// }
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
},
},
...
...
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