|
|
@ -1,126 +1,7 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
|
|
<!-- 商家任务接单管理 --> |
|
|
|
<!-- 派单管理 --> |
|
|
|
<el-tab-pane label="商家任务接单管理" name="five"> |
|
|
|
<el-tab-pane label="任务管理" name="first"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
|
|
|
|
<span>状态:</span> |
|
|
|
|
|
|
|
<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="animeDat2(status)"> |
|
|
|
|
|
|
|
<el-option v-for="item in taskstates" :key="item.value" :label="item.label" :value="item.value"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>验证手机号:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model.trim="phone"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- <div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>渠道商昵称:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入渠道商昵称" v-model.trim="nickName"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>标题名称:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入标题名称" v-model.trim="content"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>时间段:</span> |
|
|
|
|
|
|
|
<span class="block"> |
|
|
|
|
|
|
|
<el-date-picker v-model="value2" value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange" range-separator="至" |
|
|
|
|
|
|
|
start-placeholder="开始日期" end-placeholder="结束日期" @change="changeaa1"> |
|
|
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans2">重置</el-button> |
|
|
|
|
|
|
|
<el-button style='margin:10px;' size="mini" type="success" icon="document" @click="derive2">导出Excel</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table v-loading="tableDataLoading" :data="tableData2.list"> |
|
|
|
|
|
|
|
<el-table-column prop="orderId" label="编号" fixed="left"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="merchantName" label="商铺名" width="150"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,2,)"> |
|
|
|
|
|
|
|
{{ scope.row.merchantName}} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="nickName" label="接单用户姓名" width="150"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,0,)"> |
|
|
|
|
|
|
|
{{ scope.row.nickName ? scope.row.nickName : '未绑定' }} |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="nickName" label="用户是否为会员" width="120" align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span v-if="scope.row.member==0">非会员</span> |
|
|
|
|
|
|
|
<span v-if="scope.row.member==1">会员</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<!-- <el-table-column prop="channelName" label="渠道商" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.channelName" |
|
|
|
|
|
|
|
@click="updates(scope.row,1)">{{scope.row.channelName}}</span> |
|
|
|
|
|
|
|
<span v-else>非渠道商</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> --> |
|
|
|
|
|
|
|
<el-table-column prop="goodsTitle" label="标题" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="site" label="logo图" align="center" width="180"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<img v-if="scope.row.titleImg" :src="scope.row.titleImg" alt="" width="100" height="100"> |
|
|
|
|
|
|
|
<span v-else>暂无</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="userType" label="平台" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span v-if="scope.row.classify == 1">饿了么</span> |
|
|
|
|
|
|
|
<span v-if="scope.row.classify == 2">美团</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="integral" label="返佣积分"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="money" label="任务金额"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="phone" label="验证手机号" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="site" label="验证图" width="200" align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<img v-for="(item,index) in scope.row.imgs" :key="index" :src="item" alt="" width="80" height="80" |
|
|
|
|
|
|
|
style="display: inline-block;margin-left: 10px;" @click="refund(scope.row)"> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="createTime" label="接单时间" width="150"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="submitTime" label="提交时间" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="endTime" label="结束时间" width="150"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="auditContent" label="审核内容" width="100"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="auditTime" label="审核时间"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column fixed="right" prop="status" label="状态" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待提交</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 2 ">待审核</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 3 ">审核成功</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 4 ">审核失败</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 5 ">放弃任务</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<!-- <el-table-column fixed="right" label="操作" width="180"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<el-button v-if="scope.row.status == 2" size="mini" type="primary" :disabled="!isAuth('mission:sold')" |
|
|
|
|
|
|
|
@click="examineClick(scope.row)">审核 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button @click="deldatesOder(scope.row)" size="mini" type="danger">删除</el-button> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> --> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
<div style="text-align: center;margin-top: 10px;"> |
|
|
|
|
|
|
|
<el-pagination @size-change="handleSizeChange3" @current-change="handleCurrentChange3" |
|
|
|
|
|
|
|
:page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page" layout="total,sizes, prev, pager, next,jumper" |
|
|
|
|
|
|
|
:total="tableData2.totalCount"> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
<!-- 任务管理 --> |
|
|
|
|
|
|
|
<!-- <el-tab-pane label="任务管理" name="first"> |
|
|
|
|
|
|
|
<div style="display: inline-block;"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
<span>平台:</span> |
|
|
|
<span>平台:</span> |
|
|
|
<el-select v-model="classify" style="width:150px;margin: 10px;" @change="animeDat(classify)"> |
|
|
|
<el-select v-model="classify" style="width:150px;margin: 10px;" @change="animeDat(classify)"> |
|
|
@ -285,9 +166,9 @@ |
|
|
|
:total="tableData.totalCount"> |
|
|
|
:total="tableData.totalCount"> |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> --> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 接单管理 --> |
|
|
|
<!-- 接单管理 --> |
|
|
|
<!-- <el-tab-pane label="接单管理" name="fourthly"> |
|
|
|
<el-tab-pane label="接单管理" name="fourthly"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
<span>状态:</span> |
|
|
|
<span>状态:</span> |
|
|
|
<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="animeDat2(status)"> |
|
|
|
<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="animeDat2(status)"> |
|
|
@ -298,11 +179,11 @@ |
|
|
|
<el-option v-for="item in channelnum" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
<el-option v-for="item in channelnum" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
<!-- <div style="position: relative;display: inline-block;"> |
|
|
|
<span>用户手机号:</span> |
|
|
|
<span>用户手机号:</span> |
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model="myPhone"> |
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model="myPhone"> |
|
|
|
</el-input> |
|
|
|
</el-input> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
<span>验证手机号:</span> |
|
|
|
<span>验证手机号:</span> |
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model.trim="phone"> |
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model.trim="phone"> |
|
|
@ -348,8 +229,8 @@ |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="myPhone" label="用户手机号" width="120" align="center"> |
|
|
|
<!-- <el-table-column prop="myPhone" label="用户手机号" width="120" align="center"> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> --> |
|
|
|
<el-table-column prop="nickName" label="用户是否为会员" width="120" align="center"> |
|
|
|
<el-table-column prop="nickName" label="用户是否为会员" width="120" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.member==0">非会员</span> |
|
|
|
<span v-if="scope.row.member==0">非会员</span> |
|
|
@ -370,9 +251,9 @@ |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="integral" label="返佣积分"> |
|
|
|
<el-table-column prop="integral" label="返佣积分"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.status == 3">{{scope.row.integral}}</span> |
|
|
|
<span v-if="scope.row.status == 3">{{scope.row.integral}}</span> |
|
|
|
</template> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="money" label="任务金额"></el-table-column> |
|
|
|
<el-table-column prop="money" label="任务金额"></el-table-column> |
|
|
|
<el-table-column prop="phone" label="验证手机号" width="160"></el-table-column> |
|
|
|
<el-table-column prop="phone" label="验证手机号" width="160"></el-table-column> |
|
|
@ -402,8 +283,8 @@ |
|
|
|
<el-button v-if="scope.row.status == 2" size="mini" type="primary" :disabled="!isAuth('mission:sold')" |
|
|
|
<el-button v-if="scope.row.status == 2" size="mini" type="primary" :disabled="!isAuth('mission:sold')" |
|
|
|
@click="examineClick(scope.row)">审核 |
|
|
|
@click="examineClick(scope.row)">审核 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<el-button size="mini" type="primary" @click="refund(scope.row)"> |
|
|
|
<!-- <el-button size="mini" type="primary" @click="refund(scope.row)"> |
|
|
|
详情</el-button> |
|
|
|
详情</el-button> --> |
|
|
|
<el-button @click="deldatesOder(scope.row)" :disabled="!isAuth('mission:delete')" size="mini" v-if="scope.row.status != 1 " type="danger">删除</el-button> |
|
|
|
<el-button @click="deldatesOder(scope.row)" :disabled="!isAuth('mission:delete')" size="mini" v-if="scope.row.status != 1 " type="danger">删除</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
@ -414,8 +295,129 @@ |
|
|
|
:total="tableData2.totalCount"> |
|
|
|
:total="tableData2.totalCount"> |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> --> |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
<!-- 分类管理 --> |
|
|
|
|
|
|
|
<el-tab-pane label="分类管理" name="third"> |
|
|
|
|
|
|
|
<div style="display: inline-block;float: right;"> |
|
|
|
|
|
|
|
<el-button style="margin:0 0 20px 20px;" :disabled="!isAuth('mission:add')" size="mini" type="primary" |
|
|
|
|
|
|
|
icon="document" @click="classifyStair()">添加分类</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-table v-loading="tableDataLoading" :data="classifyData"> |
|
|
|
|
|
|
|
<el-table-column prop="id" label="编号"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="classifyName" label="名称"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="classifyIcon" label="图标"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<img :src="scope.row.classifyIcon" width="40" height="40" style="border-radius: 50%;"/> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="classifyIcon" label="类型"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span v-if="scope.row.state==1">任务分类</span> |
|
|
|
|
|
|
|
<span v-if="scope.row.state==2">跳转链接</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="classifyUrl" label="链接"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="describes" label="描述"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column label="操作" width="220"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<el-button size="mini" type="primary" :disabled="!isAuth('mission:update')" |
|
|
|
|
|
|
|
@click="compile(scope.$index, scope.row)">编辑 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button size="mini" type="danger" :disabled="!isAuth('mission:delete')" @click="deleteStair(scope.row)"> |
|
|
|
|
|
|
|
删除 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
<!-- <el-button size="mini" type="primary" :disabled="!isAuth('mission:update')" |
|
|
|
|
|
|
|
@click="compile(scope.$index, scope.row)">添加 |
|
|
|
|
|
|
|
</el-button> --> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
</el-table> |
|
|
|
|
|
|
|
<!-- <div style="text-align: center;margin-top: 10px;"> |
|
|
|
|
|
|
|
<el-pagination @size-change="handleSizeChange2" @current-change="handleCurrentChange2" |
|
|
|
|
|
|
|
:page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page" layout="total,sizes, prev, pager, next,jumper" |
|
|
|
|
|
|
|
:total="classifyData.length"> |
|
|
|
|
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
<!-- 添加一级分类 --> |
|
|
|
|
|
|
|
<el-dialog title="添加分类" :visible.sync="dialogFormVisible" center> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类名称:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="classifyName" type="text" placeholder="请输入分类名称"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类类型:</span> |
|
|
|
|
|
|
|
<el-radio-group v-model="classStatus" style="text-align: center;"> |
|
|
|
|
|
|
|
<el-radio :label="1">任务分类</el-radio> |
|
|
|
|
|
|
|
<el-radio :label="2">跳转链接</el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类链接:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="classifyUrl" type="text" placeholder="请输入分类链接"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类描述:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="describes" type="text" placeholder="请输入分类描述"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;display:flex;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类图标:</span> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;"> |
|
|
|
|
|
|
|
<el-upload class="avatar-uploader" v-model="classifyIcon" |
|
|
|
|
|
|
|
action="https://bwcadmin.xianmxkj.com/sqx_fast/alioss/upload" :show-file-list="false" |
|
|
|
|
|
|
|
:on-success="handleAvatarSuccess"> |
|
|
|
|
|
|
|
<img v-if="classifyIcon" :src="classifyIcon" class="avatar" |
|
|
|
|
|
|
|
style="border-radius: 6px;width: 148px;height: 148px;" /> |
|
|
|
|
|
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i> |
|
|
|
|
|
|
|
</el-upload> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button @click="dialogFormVisible = false">取 消</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="StairNoticeTo()">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 修改分类 --> |
|
|
|
|
|
|
|
<el-dialog title="编辑分类" :visible.sync="dialogFormVisible2" center> |
|
|
|
|
|
|
|
<el-form :model="form"> |
|
|
|
|
|
|
|
<el-form-item label="分类名称:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<el-input v-model="form.classifyName" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类类型:</span> |
|
|
|
|
|
|
|
<el-radio-group v-model="classStatus" style="text-align: center;"> |
|
|
|
|
|
|
|
<el-radio :label="1">任务分类</el-radio> |
|
|
|
|
|
|
|
<el-radio :label="2">跳转链接</el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-form-item label="分类链接:" :label-width="formLabelWidth" > |
|
|
|
|
|
|
|
<el-input v-model="form.classifyUrl" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="分类描述:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<el-input v-model="form.describes" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="分类图标:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;"> |
|
|
|
|
|
|
|
<el-upload class="avatar-uploader" v-model="classifyIcon" |
|
|
|
|
|
|
|
action="https://bwcadmin.xianmxkj.com/sqx_fast/alioss/upload" :show-file-list="false" |
|
|
|
|
|
|
|
:on-success="handleAvatarSuccess2"> |
|
|
|
|
|
|
|
<img v-if="form.classifyIcon" :src="form.classifyIcon" class="avatar" |
|
|
|
|
|
|
|
style="border-radius: 6px;width: 148px;height: 148px;" /> |
|
|
|
|
|
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i> |
|
|
|
|
|
|
|
</el-upload> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="CompileNoticeTo()">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
<!-- 商家任务 --> |
|
|
|
<!-- 商家任务 --> |
|
|
|
<el-tab-pane label="商家任务" name="four"> |
|
|
|
<el-tab-pane label="商家任务" name="four"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
<div style="display: inline-block;"> |
|
|
@ -498,7 +500,7 @@ |
|
|
|
</el-switch> |
|
|
|
</el-switch> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<!-- <el-table-column prop="channelName" label="渠道商" width="100"> |
|
|
|
<el-table-column prop="channelName" label="渠道商" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.channelName" |
|
|
|
<span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.channelName" |
|
|
|
@click="updates(scope.row,1)">{{scope.row.channelName}}</span> |
|
|
|
@click="updates(scope.row,1)">{{scope.row.channelName}}</span> |
|
|
@ -510,7 +512,7 @@ |
|
|
|
<span v-if="scope.row.channelMoney">{{scope.row.channelMoney}}</span> |
|
|
|
<span v-if="scope.row.channelMoney">{{scope.row.channelMoney}}</span> |
|
|
|
<span v-else>无</span> |
|
|
|
<span v-else>无</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="merchantGoodsMoney" label="商品发布总金额(元)" width="100"> |
|
|
|
<el-table-column prop="merchantGoodsMoney" label="商品发布总金额(元)" width="100"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.merchantGoodsMoney">{{scope.row.merchantGoodsMoney}}</span> |
|
|
|
<span v-if="scope.row.merchantGoodsMoney">{{scope.row.merchantGoodsMoney}}</span> |
|
|
@ -580,7 +582,7 @@ |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column fixed="right" label="操作" width="150"> |
|
|
|
<el-table-column fixed="right" label="操作" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button style="margin: 10px 0;" size="mini" type="warning" v-if="scope.row.status==0" @click="shenhe1(scope.row)">审核</el-button> |
|
|
|
<el-button style="margin: 10px 0;" size="mini" type="primary" v-if="scope.row.status==0" @click="shenhe1(scope.row)">审核</el-button> |
|
|
|
<el-button style="margin: 10px 0;" size="mini" type="primary" |
|
|
|
<el-button style="margin: 10px 0;" size="mini" type="primary" |
|
|
|
@click="xiangqng(scope.row)">详情</el-button> |
|
|
|
@click="xiangqng(scope.row)">详情</el-button> |
|
|
|
<el-button style="margin: 10px 0;" @click="adddates(scope.row)" size="mini" :disabled="!isAuth('mission:update')" type="primary">修改</el-button> |
|
|
|
<el-button style="margin: 10px 0;" @click="adddates(scope.row)" size="mini" :disabled="!isAuth('mission:update')" type="primary">修改</el-button> |
|
|
@ -597,127 +599,124 @@ |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 分类管理 --> |
|
|
|
<!-- 商家任务接单管理 --> |
|
|
|
<el-tab-pane label="分类管理" name="third"> |
|
|
|
<el-tab-pane label="商家任务接单管理" name="five"> |
|
|
|
<div style="display: inline-block;float: right;"> |
|
|
|
<div style="display: inline-block;"> |
|
|
|
<el-button style="margin:0 0 20px 20px;" :disabled="!isAuth('mission:add')" size="mini" type="primary" |
|
|
|
<span>状态:</span> |
|
|
|
icon="document" @click="classifyStair()">添加分类</el-button> |
|
|
|
<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="animeDat2(status)"> |
|
|
|
|
|
|
|
<el-option v-for="item in taskstates" :key="item.value" :label="item.label" :value="item.value"></el-option> |
|
|
|
|
|
|
|
</el-select> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>验证手机号:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model.trim="phone"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>渠道商昵称:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入渠道商昵称" v-model.trim="nickName"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>标题名称:</span> |
|
|
|
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入标题名称" v-model.trim="content"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
|
|
|
<span>时间段:</span> |
|
|
|
|
|
|
|
<span class="block"> |
|
|
|
|
|
|
|
<el-date-picker v-model="value2" value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange" range-separator="至" |
|
|
|
|
|
|
|
start-placeholder="开始日期" end-placeholder="结束日期" @change="changeaa1"> |
|
|
|
|
|
|
|
</el-date-picker> |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="phoneSelect">查询 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button style="margin:10px;" size="mini" type="primary" icon="document" @click="cleans2">重置</el-button> |
|
|
|
|
|
|
|
<el-button style='margin:10px;' size="mini" type="success" icon="document" @click="derive2">导出Excel</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<el-table v-loading="tableDataLoading" :data="classifyData"> |
|
|
|
<el-table v-loading="tableDataLoading" :data="tableData2.list"> |
|
|
|
<el-table-column prop="id" label="编号"></el-table-column> |
|
|
|
<el-table-column prop="orderId" label="编号" fixed="left"> |
|
|
|
<el-table-column prop="classifyName" label="名称"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="classifyIcon" label="图标"> |
|
|
|
<el-table-column prop="merchantName" label="商铺名" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<img :src="scope.row.classifyIcon" width="40" height="40" style="border-radius: 50%;"/> |
|
|
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,2,)"> |
|
|
|
|
|
|
|
{{ scope.row.merchantName}} |
|
|
|
|
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="classifyIcon" label="类型"> |
|
|
|
<el-table-column prop="nickName" label="接单用户姓名" width="150"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="scope.row.state==1">任务分类</span> |
|
|
|
<span style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row,0,)"> |
|
|
|
<span v-if="scope.row.state==2">跳转链接</span> |
|
|
|
{{ scope.row.nickName ? scope.row.nickName : '未绑定' }} |
|
|
|
|
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="classifyUrl" label="链接"> |
|
|
|
<el-table-column prop="nickName" label="用户是否为会员" width="120" align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span v-if="scope.row.member==0">非会员</span> |
|
|
|
|
|
|
|
<span v-if="scope.row.member==1">会员</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="describes" label="描述"> |
|
|
|
<el-table-column prop="channelName" label="渠道商" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;cursor: pointer;" v-if="scope.row.channelName" |
|
|
|
|
|
|
|
@click="updates(scope.row,1)">{{scope.row.channelName}}</span> |
|
|
|
|
|
|
|
<span v-else>非渠道商</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作" width="220"> |
|
|
|
<el-table-column prop="goodsTitle" label="标题" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="site" label="logo图" align="center" width="180"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button size="mini" type="primary" :disabled="!isAuth('mission:update')" |
|
|
|
<img v-if="scope.row.titleImg" :src="scope.row.titleImg" alt="" width="100" height="100"> |
|
|
|
@click="compile(scope.$index, scope.row)">编辑 |
|
|
|
<span v-else>暂无</span> |
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
<el-button size="mini" type="danger" :disabled="!isAuth('mission:delete')" @click="deleteStair(scope.row)"> |
|
|
|
</el-table-column> |
|
|
|
删除 |
|
|
|
<el-table-column prop="userType" label="平台" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span v-if="scope.row.classify == 1">饿了么</span> |
|
|
|
|
|
|
|
<span v-if="scope.row.classify == 2">美团</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="integral" label="返佣积分"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="money" label="任务金额"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="phone" label="验证手机号" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="site" label="验证图" width="200" align="center"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<img v-for="(item,index) in scope.row.imgs" :key="index" :src="item" alt="" width="80" height="80" |
|
|
|
|
|
|
|
style="display: inline-block;margin-left: 10px;" @click="refund(scope.row)"> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="createTime" label="接单时间" width="150"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="submitTime" label="提交时间" width="160"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="endTime" label="结束时间" width="150"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="auditContent" label="审核内容" width="100"> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column prop="auditTime" label="审核时间"></el-table-column> |
|
|
|
|
|
|
|
<el-table-column fixed="right" prop="status" label="状态" width="100"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 1 ">待提交</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 2 ">待审核</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 3 ">审核成功</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 4 ">审核失败</span> |
|
|
|
|
|
|
|
<span style="color: #4f9dec;" v-if="scope.row.status === 5 ">放弃任务</span> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
<el-table-column fixed="right" label="操作" width="180"> |
|
|
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
|
|
<el-button v-if="scope.row.status == 2" size="mini" type="primary" :disabled="!isAuth('mission:sold')" |
|
|
|
|
|
|
|
@click="examineClick(scope.row)">审核 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
<!-- <el-button size="mini" type="primary" :disabled="!isAuth('mission:update')" |
|
|
|
<!-- <el-button @click="deldatesOder(scope.row)" size="mini" type="danger">删除</el-button> --> |
|
|
|
@click="compile(scope.$index, scope.row)">添加 |
|
|
|
|
|
|
|
</el-button> --> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
|
<!-- <div style="text-align: center;margin-top: 10px;"> |
|
|
|
<div style="text-align: center;margin-top: 10px;"> |
|
|
|
<el-pagination @size-change="handleSizeChange2" @current-change="handleCurrentChange2" |
|
|
|
<el-pagination @size-change="handleSizeChange3" @current-change="handleCurrentChange3" |
|
|
|
:page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page" layout="total,sizes, prev, pager, next,jumper" |
|
|
|
:page-sizes="[10, 20, 30, 40]" :page-size="limit" :current-page="page" layout="total,sizes, prev, pager, next,jumper" |
|
|
|
:total="classifyData.length"> |
|
|
|
:total="tableData2.totalCount"> |
|
|
|
</el-pagination> |
|
|
|
</el-pagination> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
<!-- 添加一级分类 --> |
|
|
|
|
|
|
|
<el-dialog title="添加分类" :visible.sync="dialogFormVisible" center> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类名称:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="classifyName" type="text" placeholder="请输入分类名称"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类类型:</span> |
|
|
|
|
|
|
|
<el-radio-group v-model="classStatus" style="text-align: center;"> |
|
|
|
|
|
|
|
<el-radio :label="1">任务分类</el-radio> |
|
|
|
|
|
|
|
<el-radio :label="2">跳转链接</el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类链接:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="classifyUrl" type="text" placeholder="请输入分类链接"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类描述:</span> |
|
|
|
|
|
|
|
<el-input style="width:50%;" v-model="describes" type="text" placeholder="请输入分类描述"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;display:flex;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类图标:</span> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;"> |
|
|
|
|
|
|
|
<el-upload class="avatar-uploader" v-model="classifyIcon" |
|
|
|
|
|
|
|
action="https://fanqie.app.cyjyyjy.com/sqx_fast/alioss/upload" :show-file-list="false" |
|
|
|
|
|
|
|
:on-success="handleAvatarSuccess"> |
|
|
|
|
|
|
|
<img v-if="classifyIcon" :src="classifyIcon" class="avatar" |
|
|
|
|
|
|
|
style="border-radius: 6px;width: 148px;height: 148px;" /> |
|
|
|
|
|
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i> |
|
|
|
|
|
|
|
</el-upload> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button @click="dialogFormVisible = false">取 消</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="StairNoticeTo()">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 修改分类 --> |
|
|
|
|
|
|
|
<el-dialog title="编辑分类" :visible.sync="dialogFormVisible2" center> |
|
|
|
|
|
|
|
<el-form :model="form"> |
|
|
|
|
|
|
|
<el-form-item label="分类名称:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<el-input v-model="form.classifyName" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">分类类型:</span> |
|
|
|
|
|
|
|
<el-radio-group v-model="classStatus" style="text-align: center;"> |
|
|
|
|
|
|
|
<el-radio :label="1">任务分类</el-radio> |
|
|
|
|
|
|
|
<el-radio :label="2">跳转链接</el-radio> |
|
|
|
|
|
|
|
</el-radio-group> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<el-form-item label="分类链接:" :label-width="formLabelWidth" > |
|
|
|
|
|
|
|
<el-input v-model="form.classifyUrl" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="分类描述:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<el-input v-model="form.describes" style="width:65%;"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="分类图标:" :label-width="formLabelWidth"> |
|
|
|
|
|
|
|
<div |
|
|
|
|
|
|
|
style=" width:148px;height:148px;border: 1px dashed #c0ccda;border-radius: 6px;text-align: center;line-height: 148px;"> |
|
|
|
|
|
|
|
<el-upload class="avatar-uploader" v-model="classifyIcon" |
|
|
|
|
|
|
|
action="https://fanqie.app.cyjyyjy.com/sqx_fast/alioss/upload" :show-file-list="false" |
|
|
|
|
|
|
|
:on-success="handleAvatarSuccess2"> |
|
|
|
|
|
|
|
<img v-if="form.classifyIcon" :src="form.classifyIcon" class="avatar" |
|
|
|
|
|
|
|
style="border-radius: 6px;width: 148px;height: 148px;" /> |
|
|
|
|
|
|
|
<i v-else class="el-icon-plus avatar-uploader-icon"></i> |
|
|
|
|
|
|
|
</el-upload> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
|
|
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button> |
|
|
|
|
|
|
|
<el-button type="primary" @click="CompileNoticeTo()">确 定</el-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
</el-tab-pane> |
|
|
|
</el-tab-pane> |
|
|
|
<!-- 任务拒绝弹框 --> |
|
|
|
<!-- 任务拒绝弹框 --> |
|
|
|
<el-dialog title="任务拒绝" :visible.sync="dialogFormVisible7" center> |
|
|
|
<el-dialog title="任务拒绝" :visible.sync="dialogFormVisible7" center> |
|
|
@ -813,24 +812,15 @@ |
|
|
|
style="display: inline-table;width:45%;height: 100px;border: 1px solid #efefef;padding: 10px;" |
|
|
|
style="display: inline-table;width:45%;height: 100px;border: 1px solid #efefef;padding: 10px;" |
|
|
|
placeholder="请输入审批意见"></textarea> |
|
|
|
placeholder="请输入审批意见"></textarea> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- <div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">商铺返现:</span> |
|
|
|
|
|
|
|
<span>{{merchantMoney}}</span> |
|
|
|
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
<div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
<div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">商铺返现:</span> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">商铺返现:</span> |
|
|
|
<span>满 </span> |
|
|
|
<span>{{merchantMoney}}</span> |
|
|
|
<el-input v-model="memberPrice" style="width:200px;" placeholder="" |
|
|
|
|
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
|
|
|
|
<span>返 </span> |
|
|
|
|
|
|
|
<el-input v-model="merchantMoney" style="width:200px;" placeholder="" |
|
|
|
|
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
<div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">会员满返:</span> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">会员满返:</span> |
|
|
|
<span>满 </span> |
|
|
|
<span>满 </span> |
|
|
|
<el-input v-model="memberPrice" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
<el-input v-model="memberPrice" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
type="number" min="0"></el-input> |
|
|
|
<span>返 </span> |
|
|
|
<span>返 </span> |
|
|
|
<el-input v-model="memberMoney" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
<el-input v-model="memberMoney" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
type="number" min="0"></el-input> |
|
|
|
type="number" min="0"></el-input> |
|
|
@ -839,7 +829,7 @@ |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">普通用户满返:</span> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">普通用户满返:</span> |
|
|
|
<span>满 </span> |
|
|
|
<span>满 </span> |
|
|
|
<el-input v-model="price" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
<el-input v-model="price" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
type="number" min="0"></el-input> |
|
|
|
<span>返 </span> |
|
|
|
<span>返 </span> |
|
|
|
<el-input v-model="money" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
<el-input v-model="money" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
type="number" min="0"></el-input> |
|
|
|
type="number" min="0"></el-input> |
|
|
@ -852,7 +842,7 @@ |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">任务分类:</span> |
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">任务分类:</span> |
|
|
|
<el-checkbox-group v-model="activityIds" @change="handleCheckedCitiesChange1" style="display: initial;"> |
|
|
|
<el-checkbox-group v-model="activityIds" @change="handleCheckedCitiesChange1" style="display: initial;"> |
|
|
|
<span v-for="(item,index) in fromTypes" :key="index" style="margin-right: 10px;"> |
|
|
|
<span v-for="(item,index) in fromTypes" :key="index" style="margin-right: 10px;"> |
|
|
|
<el-checkbox v-if="item.state ==1" :label="item.id + ''" >{{item.classifyName}} |
|
|
|
<el-checkbox v-if="item.state ==1" :label="item.id" >{{item.classifyName}} |
|
|
|
</el-checkbox> |
|
|
|
</el-checkbox> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
@ -1046,7 +1036,7 @@ |
|
|
|
classifyName: '', |
|
|
|
classifyName: '', |
|
|
|
classifyDeatilsName: '', |
|
|
|
classifyDeatilsName: '', |
|
|
|
formLabelWidth: '200px', |
|
|
|
formLabelWidth: '200px', |
|
|
|
activeName: 'five', |
|
|
|
activeName: 'first', |
|
|
|
tableDataLoading: false, |
|
|
|
tableDataLoading: false, |
|
|
|
dialogFormVisible: false, |
|
|
|
dialogFormVisible: false, |
|
|
|
// dialogFormVisible1: false, |
|
|
|
// dialogFormVisible1: false, |
|
|
@ -2008,7 +1998,6 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 任务审核 |
|
|
|
// 任务审核 |
|
|
|
shenhe1(row){ |
|
|
|
shenhe1(row){ |
|
|
|
console.log(row,'roweeweqw') |
|
|
|
|
|
|
|
this.goodsId = row.goodsId |
|
|
|
this.goodsId = row.goodsId |
|
|
|
this.category(); |
|
|
|
this.category(); |
|
|
|
this.merchantMoney = row.merchantMoney |
|
|
|
this.merchantMoney = row.merchantMoney |
|
|
@ -2029,7 +2018,6 @@ |
|
|
|
this.url = row.url |
|
|
|
this.url = row.url |
|
|
|
} |
|
|
|
} |
|
|
|
if(row.activityIds!='' && row.activityIds){ |
|
|
|
if(row.activityIds!='' && row.activityIds){ |
|
|
|
console.log(row.activityIds.split(','),'row.activityIds.split(',')') |
|
|
|
|
|
|
|
this.activityIds = row.activityIds.split(',') |
|
|
|
this.activityIds = row.activityIds.split(',') |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
var arr = 8 |
|
|
|
var arr = 8 |
|
|
@ -2082,42 +2070,42 @@ |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
if(this.shstatus == 1){ |
|
|
|
if(this.shstatus == 1){ |
|
|
|
// if (this.memberPrice == '') { |
|
|
|
if (this.memberPrice == '') { |
|
|
|
// this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
// title: '提示', |
|
|
|
title: '提示', |
|
|
|
// duration: 1800, |
|
|
|
duration: 1800, |
|
|
|
// message: '请输入会员满金额', |
|
|
|
message: '请输入会员满金额', |
|
|
|
// type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return |
|
|
|
return |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (this.memberMoney == '') { |
|
|
|
if (this.memberMoney == '') { |
|
|
|
// this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
// title: '提示', |
|
|
|
title: '提示', |
|
|
|
// duration: 1800, |
|
|
|
duration: 1800, |
|
|
|
// message: '请输入会员返金额', |
|
|
|
message: '请输入会员返金额', |
|
|
|
// type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return |
|
|
|
return |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (this.price == '') { |
|
|
|
if (this.price == '') { |
|
|
|
// this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
// title: '提示', |
|
|
|
title: '提示', |
|
|
|
// duration: 1800, |
|
|
|
duration: 1800, |
|
|
|
// message: '请输入普通用户满金额', |
|
|
|
message: '请输入普通用户满金额', |
|
|
|
// type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return |
|
|
|
return |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (this.money == '') { |
|
|
|
if (this.money == '') { |
|
|
|
// this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
// title: '提示', |
|
|
|
title: '提示', |
|
|
|
// duration: 1800, |
|
|
|
duration: 1800, |
|
|
|
// message: '请输入普通用户返金额', |
|
|
|
message: '请输入普通用户返金额', |
|
|
|
// type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return |
|
|
|
return |
|
|
|
// } |
|
|
|
} |
|
|
|
if (this.url == '') { |
|
|
|
if (this.url == '') { |
|
|
|
this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
title: '提示', |
|
|
|
title: '提示', |
|
|
@ -2127,15 +2115,15 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
// if (this.activityIds.length == 0) { |
|
|
|
if (this.activityIds.length == 0) { |
|
|
|
// this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
// title: '提示', |
|
|
|
title: '提示', |
|
|
|
// duration: 1800, |
|
|
|
duration: 1800, |
|
|
|
// message: '请选择任务分类', |
|
|
|
message: '请选择任务分类', |
|
|
|
// type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return |
|
|
|
return |
|
|
|
// } |
|
|
|
} |
|
|
|
if (this.isGoodss == '') { |
|
|
|
if (this.isGoodss == '') { |
|
|
|
this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
title: '提示', |
|
|
|
title: '提示', |
|
|
@ -2194,7 +2182,6 @@ |
|
|
|
this.dataSelect() |
|
|
|
this.dataSelect() |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$store.dispatch('getMessage') |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.$notify({ |
|
|
|
this.$notify({ |
|
|
|
title: '提示', |
|
|
|
title: '提示', |
|
|
@ -2215,13 +2202,9 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
var p =Number(sessionStorage.getItem('page')) |
|
|
|
var p =Number(sessionStorage.getItem('page')) |
|
|
|
if(p!= 0 && p!=null){ |
|
|
|
if(p!=1&&p!=null){ |
|
|
|
this.page = p |
|
|
|
this.page = p |
|
|
|
} |
|
|
|
} |
|
|
|
this.page = 1 |
|
|
|
|
|
|
|
this.limit = 10 |
|
|
|
|
|
|
|
this.isMerchant = 0 |
|
|
|
|
|
|
|
this.taskdataSelect() |
|
|
|
|
|
|
|
this.dataSelect() |
|
|
|
this.dataSelect() |
|
|
|
this.task() |
|
|
|
this.task() |
|
|
|
this.category() |
|
|
|
this.category() |
|
|
|