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 b401ef3d
authored
Jun 22, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
冗余代码
1 parent
a096409e
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
75 deletions
src/views/couponManage/index.vue
src/views/material/index.vue
src/views/orderComment/index.vue
src/views/orderManage/index.vue
src/views/productGroup/index.vue
src/views/productStore/index.vue
src/views/seckillActivity/index.vue
src/views/sop/sopList.vue
src/views/takeGood/index.vue
src/views/couponManage/index.vue
View file @
b401ef3
...
@@ -25,11 +25,6 @@
...
@@ -25,11 +25,6 @@
<span>
{{ baseData.statusList.find(item => item.confId == scope.scope.status).confName }}
</span>
<span>
{{ baseData.statusList.find(item => item.confId == scope.scope.status).confName }}
</span>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- <GLButton v-if="scope.scope.status == '1'" type="text" @click="start(scope.scope)" fn="生效" display="disabled" mode="el-button">生效</GLButton>
<el-button v-if="scope.scope.status == '2'" type="text" @click="end(scope.scope)">失效</el-button>
<GLButton v-if="scope.scope.status == '2' || scope.scope.status == '3'" type="text" @click="handleEdit(3, scope.scope)" :fn="scope.scope.discountType == 3 ? '查看代金券' : scope.scope.discountType == 7 ? '查看会员服务' : scope.scope.discountType == 2 ? '查看折扣券' : '查看兑换券'" mode="el-button">查看</GLButton>
<GLButton v-if="scope.scope.status == '1' || scope.scope.status == '3'" type="text" @click="del(scope.scope)" fn="删除" mode="el-button" display="disabled">删除</GLButton>
<GLButton type="text" @click="receiveDetail(scope.scope)" fn="领取详情" mode="el-button">领取详情</GLButton> -->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/material/index.vue
View file @
b401ef3
...
@@ -73,19 +73,6 @@
...
@@ -73,19 +73,6 @@
<span
v-if=
"scope.scope.materialType == 3"
>
图文
</span>
<span
v-if=
"scope.scope.materialType == 3"
>
图文
</span>
</div>
</div>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<GLButton
type=
"text"
fn=
"详情"
@
click=
"handleDetail(scope.scope)"
>
详情
</GLButton>
<GLButton
:size=
"size"
type=
"text"
fn=
"编辑"
@
click=
"addMaterial(2, scope.scope)"
>
编辑
</GLButton>
<el-popover
placement=
"right"
trigger=
"click"
>
<ul>
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"禁用"
@
click=
"handleForbid(scope.scope)"
>
{{
scope
.
scope
.
status
==
0
?
'禁用'
:
'启用'
}}
</GLButton>
</li>
<li>
<GLButton
:size=
"size"
type=
"text"
fn=
"删除营销素材"
@
click=
"handleDelete(scope.scope)"
>
删除
</GLButton>
</li>
</ul>
<el-button
type=
"text"
slot=
"reference"
class=
"btn-more"
>
更多
</el-button>
</el-popover>
-->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</span>
</span>
</GLTable>
</GLTable>
...
...
src/views/orderComment/index.vue
View file @
b401ef3
...
@@ -2,21 +2,11 @@
...
@@ -2,21 +2,11 @@
<
template
>
<
template
>
<div
class=
"marketing p-t-20"
>
<div
class=
"marketing p-t-20"
>
<div
class=
"container"
>
<div
class=
"container"
>
<!--
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</span>
</glsx-combi-form>
-->
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"commentRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"commentRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
v-if=
"scope.scope.commentStatus == '0'"
type=
"text"
@
click=
"handleRevoke(scope.scope)"
>
发布
</el-button>
<el-button
v-if=
"scope.scope.commentStatus == '1'"
type=
"text"
@
click=
"handleRevoke(scope.scope)"
>
撤回
</el-button>
<GLButton
type=
"text"
fn=
"评价详情"
@
click=
"handleDetail(scope.scope)"
>
查看
</GLButton>
-->
<!--
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/orderManage/index.vue
View file @
b401ef3
...
@@ -38,11 +38,6 @@
...
@@ -38,11 +38,6 @@
<span>
{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}
</span>
<span>
{{ baseData.orderStatusList.map(item => item.confId).includes(scope.scope.orderStatus + '') ? baseData.orderStatusList.find(item => item.confId == scope.scope.orderStatus).confName : '-' }}
</span>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- <GLButton type="text" fn="查看订单" @click="handleDetail(scope.scope)">查看订单</GLButton>
<el-button v-if="scope.scope.deliveryType == 1 && scope.scope.orderStatus == 21" type="text" @click="handleWriteOff(scope.scope)">订单核销</el-button>
<el-button v-if="scope.scope.deliveryType == 2 && scope.scope.orderStatus == 6" type="text" @click="handleExpressInfo(scope.scope)">输入快递信息</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 1" type="text" @click="handleExamine(scope.scope)">退款审核</el-button>
<el-button v-if="scope.scope.afterSaleStatus == 4" type="text" @click="handleReceiving(scope.scope)">确认收货</el-button> -->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/productGroup/index.vue
View file @
b401ef3
...
@@ -16,11 +16,6 @@
...
@@ -16,11 +16,6 @@
</el-popover>
</el-popover>
</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=
"handleUpOrDown(scope.scope)"
>
{{
scope
.
scope
.
goodsStatus
?
'下架'
:
'上架'
}}
</el-button>
<GLButton
v-if=
"!scope.scope.goodsStatus"
type=
"text"
fn=
"编辑"
@
click=
"handleEdit(2, scope.scope)"
>
编辑
</GLButton>
<GLButton
v-if=
"scope.scope.goodsStatus"
type=
"text"
fn=
"查看"
@
click=
"handleEdit(3, scope.scope)"
>
查看
</GLButton>
<el-button
type=
"text"
@
click=
"handleTop(scope.scope)"
>
置顶
</el-button>
<el-button
type=
"text"
@
click=
"handleShare(scope.scope)"
>
分享
</el-button>
-->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/productStore/index.vue
View file @
b401ef3
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<
template
>
<
template
>
<div
class=
"marketing pro-group p-t-20"
>
<div
class=
"marketing pro-group p-t-20"
>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<!--
<el-button
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</el-button>
-->
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -17,16 +16,6 @@
...
@@ -17,16 +16,6 @@
</el-popover>
</el-popover>
</
template
>
</
template
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- <GLButton v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" fn="自建编辑" @click="handleEdit(2, scope.scope)">编辑</GLButton>
<GLButton v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2 && scope.scope.takeType == '1'" type="text" fn="带货编辑" @click="handleEditDh(2, scope.scope)">编辑</GLButton>
<el-button v-if="!scope.scope.goodsStatus && (scope.scope.goodsSource == 1 || (scope.scope.goodsSource == 2 && scope.scope.originGoodsStatus))" type="text" @click="handleUpOrDown(scope.scope)">上架</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2 && !scope.scope.originGoodsStatus && scope.scope.offReason" type="text" @click="handleDwonNotice(scope.scope)">下架通知</el-button>
<el-button v-if="scope.scope.goodsStatus" type="text" @click="handleUpOrDown(scope.scope)">下架</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 2" type="text" @click="handleTakeGood(scope.scope)">取消带货</el-button>
<el-button v-if="!scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" @click="handleTop(scope.scope)">置顶</el-button>
<GLButton v-if="scope.scope.goodsStatus && scope.scope.goodsSource == 1" type="text" fn="自建查看" @click="handleEdit(3, scope.scope)">查看</GLButton>
<GLButton v-if="scope.scope.goodsStatus && scope.scope.goodsSource == 2" type="text" fn="带货查看" @click="handleEditDh(3, scope.scope)">查看</GLButton>
<el-button v-if="scope.scope.goodsStatus" type="text" @click="handleShare(scope.scope)">分享</el-button> -->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
@@ -386,11 +375,6 @@ export default {
...
@@ -386,11 +375,6 @@ export default {
// groupOrStore:1-集团;2-门店
// groupOrStore:1-集团;2-门店
// goodsSource: 1-门店;2-带货
// goodsSource: 1-门店;2-带货
handleEdit
(
addOrEdit
,
row
)
{
handleEdit
(
addOrEdit
,
row
)
{
// if (addOrEdit != 1 && row.goodsSource == 2) {
// this.$router.push('/productStore/editProductDh/' + addOrEdit + '/' + row.id)
// return true
// }
// addOrEdit == 1 ? this.$router.push('/productGroup/editProduct/' + addOrEdit + '/' + 2) : this.$router.push('/productGroup/editProduct/' + addOrEdit + '/' + 2 + '/' + row.id)
var
titleObj
=
{
var
titleObj
=
{
1
:
'新建商品'
,
1
:
'新建商品'
,
2
:
'编辑商品'
,
2
:
'编辑商品'
,
...
...
src/views/seckillActivity/index.vue
View file @
b401ef3
...
@@ -16,13 +16,6 @@
...
@@ -16,13 +16,6 @@
</el-popover>
</el-popover>
</
template
>
</
template
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!-- <el-button v-if="scope.scope.activityStatus == '1'" type="text" @click="start(scope.scope)">开始</el-button>
<el-button v-if="scope.scope.activityStatus == '2'" type="text" @click="end(scope.scope)">结束</el-button>
<GLButton v-if="scope.scope.activityStatus == '1'" type="text" @click="handleEdit(2, scope.scope)" fn="编辑秒杀活动" mode="el-button">编辑</GLButton>
<GLButton v-if="scope.scope.activityStatus == '2' || scope.scope.activityStatus == '3'" type="text" @click="handleEdit(3, scope.scope)" fn="编辑秒杀活动" mode="el-button">查看</GLButton>
<el-button v-if="scope.scope.activityStatus == '3'" type="text" @click="del(scope.scope)">删除</el-button>
<el-button type="text" @click="topping(scope.scope)">置顶</el-button>
<el-button v-if="scope.scope.activityStatus == '1' || scope.scope.activityStatus == '2'" type="text" @click="handleShare(scope.scope)">分享</el-button> -->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/sop/sopList.vue
View file @
b401ef3
...
@@ -6,23 +6,11 @@
...
@@ -6,23 +6,11 @@
<el-button
class=
"sop-back-btn"
:size=
"size"
type=
"primary"
@
click=
"handleBack"
>
返回
</el-button>
<el-button
class=
"sop-back-btn"
:size=
"size"
type=
"primary"
@
click=
"handleBack"
>
返回
</el-button>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<!--
<div>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
</span>
</glsx-combi-form>
</div>
-->
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"sopListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"sopListRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
v-if=
"scope.scope.sopStatus != 1"
type=
"text"
@
click=
"handleJump('sopAnalysisList', scope.scope)"
>
SOP分析
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 2"
type=
"text"
@
click=
"handleEnd(scope.scope)"
>
结束
</el-button>
<el-button
v-if=
"scope.scope.sopStatus != 3"
type=
"text"
@
click=
"handleEdit('edit', scope.scope)"
>
编辑
</el-button>
<el-button
v-if=
"scope.scope.sopStatus == 1"
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
-->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
src/views/takeGood/index.vue
View file @
b401ef3
...
@@ -15,8 +15,6 @@
...
@@ -15,8 +15,6 @@
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<!--
<el-button
v-if=
"!scope.scope.taked"
type=
"text"
@
click=
"handleSingleTakeGood(scope.scope)"
>
带货
</el-button>
<GLButton
type=
"text"
fn=
"详情"
@
click=
"handleDetail(scope.scope)"
>
详情
</GLButton>
-->
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
...
...
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