|
|
|
@ -1,7 +1,126 @@
|
|
|
|
|
<template> |
|
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
|
|
|
<!-- 派单管理 --> |
|
|
|
|
<el-tab-pane label="任务管理" name="first"> |
|
|
|
|
<!-- 商家任务接单管理 --> |
|
|
|
|
<el-tab-pane label="商家任务接单管理" name="five"> |
|
|
|
|
<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;"> |
|
|
|
|
<span>平台:</span> |
|
|
|
|
<el-select v-model="classify" style="width:150px;margin: 10px;" @change="animeDat(classify)"> |
|
|
|
@ -166,9 +285,9 @@
|
|
|
|
|
:total="tableData.totalCount"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
</el-tab-pane> --> |
|
|
|
|
<!-- 接单管理 --> |
|
|
|
|
<el-tab-pane label="接单管理" name="fourthly"> |
|
|
|
|
<!-- <el-tab-pane label="接单管理" name="fourthly"> |
|
|
|
|
<div style="display: inline-block;"> |
|
|
|
|
<span>状态:</span> |
|
|
|
|
<el-select v-model="status" style="width:150px;margin-left: 10px;" @change="animeDat2(status)"> |
|
|
|
@ -179,11 +298,11 @@
|
|
|
|
|
<el-option v-for="item in channelnum" :key="item.id" :label="item.name" :value="item.id"> |
|
|
|
|
</el-option> |
|
|
|
|
</el-select> |
|
|
|
|
<!-- <div style="position: relative;display: inline-block;"> |
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
<span>用户手机号:</span> |
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model="myPhone"> |
|
|
|
|
</el-input> |
|
|
|
|
</div> --> |
|
|
|
|
</div> |
|
|
|
|
<div style="position: relative;display: inline-block;"> |
|
|
|
|
<span>验证手机号:</span> |
|
|
|
|
<el-input style="width: 200px;" @keydown.enter.native="phoneSelect" placeholder="请输入手机号" v-model.trim="phone"> |
|
|
|
@ -229,8 +348,8 @@
|
|
|
|
|
</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<!-- <el-table-column prop="myPhone" label="用户手机号" width="120" align="center"> |
|
|
|
|
</el-table-column> --> |
|
|
|
|
<el-table-column prop="myPhone" label="用户手机号" width="120" align="center"> |
|
|
|
|
</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> |
|
|
|
@ -251,9 +370,9 @@
|
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<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> |
|
|
|
|
</template> --> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="money" label="任务金额"></el-table-column> |
|
|
|
|
<el-table-column prop="phone" label="验证手机号" width="160"></el-table-column> |
|
|
|
@ -283,8 +402,8 @@
|
|
|
|
|
<el-button v-if="scope.row.status == 2" size="mini" type="primary" :disabled="!isAuth('mission:sold')" |
|
|
|
|
@click="examineClick(scope.row)">审核 |
|
|
|
|
</el-button> |
|
|
|
|
<!-- <el-button size="mini" type="primary" @click="refund(scope.row)"> |
|
|
|
|
详情</el-button> --> |
|
|
|
|
<el-button size="mini" type="primary" @click="refund(scope.row)"> |
|
|
|
|
详情</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> |
|
|
|
|
</el-table-column> |
|
|
|
@ -295,129 +414,8 @@
|
|
|
|
|
:total="tableData2.totalCount"> |
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</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> --> |
|
|
|
|
|
|
|
|
|
<!-- 商家任务 --> |
|
|
|
|
<el-tab-pane label="商家任务" name="four"> |
|
|
|
|
<div style="display: inline-block;"> |
|
|
|
@ -500,7 +498,7 @@
|
|
|
|
|
</el-switch> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="channelName" label="渠道商" width="100"> |
|
|
|
|
<!-- <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> |
|
|
|
@ -512,7 +510,7 @@
|
|
|
|
|
<span v-if="scope.row.channelMoney">{{scope.row.channelMoney}}</span> |
|
|
|
|
<span v-else>无</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
</el-table-column> --> |
|
|
|
|
<el-table-column prop="merchantGoodsMoney" label="商品发布总金额(元)" width="100"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span v-if="scope.row.merchantGoodsMoney">{{scope.row.merchantGoodsMoney}}</span> |
|
|
|
@ -582,7 +580,7 @@
|
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column fixed="right" label="操作" width="150"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<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="warning" v-if="scope.row.status==0" @click="shenhe1(scope.row)">审核</el-button> |
|
|
|
|
<el-button style="margin: 10px 0;" size="mini" type="primary" |
|
|
|
|
@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> |
|
|
|
@ -599,124 +597,127 @@
|
|
|
|
|
</el-pagination> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<!-- 商家任务接单管理 --> |
|
|
|
|
<el-tab-pane label="商家任务接单管理" name="five"> |
|
|
|
|
<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> |
|
|
|
|
<!-- 分类管理 --> |
|
|
|
|
<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="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 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="userType" label="平台" width="100"> |
|
|
|
|
<el-table-column prop="classifyIcon" label="图标"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span v-if="scope.row.classify == 1">饿了么</span> |
|
|
|
|
<span v-if="scope.row.classify == 2">美团</span> |
|
|
|
|
<img :src="scope.row.classifyIcon" width="40" height="40" style="border-radius: 50%;"/> |
|
|
|
|
</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"> |
|
|
|
|
<el-table-column prop="classifyIcon" label="类型"> |
|
|
|
|
<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)"> |
|
|
|
|
<span v-if="scope.row.state==1">任务分类</span> |
|
|
|
|
<span v-if="scope.row.state==2">跳转链接</span> |
|
|
|
|
</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 prop="classifyUrl" label="链接"> |
|
|
|
|
</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 prop="describes" label="描述"> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column fixed="right" label="操作" width="180"> |
|
|
|
|
<el-table-column label="操作" width="220"> |
|
|
|
|
<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 size="mini" type="primary" :disabled="!isAuth('mission:update')" |
|
|
|
|
@click="compile(scope.$index, scope.row)">编辑 |
|
|
|
|
</el-button> |
|
|
|
|
<!-- <el-button @click="deldatesOder(scope.row)" size="mini" type="danger">删除</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="handleSizeChange3" @current-change="handleCurrentChange3" |
|
|
|
|
<!-- <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="tableData2.totalCount"> |
|
|
|
|
:total="classifyData.length"> |
|
|
|
|
</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-dialog title="任务拒绝" :visible.sync="dialogFormVisible7" center> |
|
|
|
@ -812,15 +813,24 @@
|
|
|
|
|
style="display: inline-table;width:45%;height: 100px;border: 1px solid #efefef;padding: 10px;" |
|
|
|
|
placeholder="请输入审批意见"></textarea> |
|
|
|
|
</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>{{merchantMoney}}</span> |
|
|
|
|
</div> --> |
|
|
|
|
<div style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">商铺返现:</span> |
|
|
|
|
<span>满 </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 style="margin-bottom: 10px;" v-if="shstatus==1"> |
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">会员满返:</span> |
|
|
|
|
<span>满 </span> |
|
|
|
|
<el-input v-model="memberPrice" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
|
type="number" min="0"></el-input> |
|
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
|
<span>返 </span> |
|
|
|
|
<el-input v-model="memberMoney" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
|
type="number" min="0"></el-input> |
|
|
|
@ -829,7 +839,7 @@
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">普通用户满返:</span> |
|
|
|
|
<span>满 </span> |
|
|
|
|
<el-input v-model="price" style="width:200px;" placeholder="请输入金额要求" |
|
|
|
|
type="number" min="0"></el-input> |
|
|
|
|
type="number" min="0" disabled></el-input> |
|
|
|
|
<span>返 </span> |
|
|
|
|
<el-input v-model="money" style="width:200px;" placeholder="请输入优惠金额" |
|
|
|
|
type="number" min="0"></el-input> |
|
|
|
@ -842,7 +852,7 @@
|
|
|
|
|
<span style="width: 200px;display: inline-block;text-align: right;">任务分类:</span> |
|
|
|
|
<el-checkbox-group v-model="activityIds" @change="handleCheckedCitiesChange1" style="display: initial;"> |
|
|
|
|
<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> |
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
@ -1036,7 +1046,7 @@
|
|
|
|
|
classifyName: '', |
|
|
|
|
classifyDeatilsName: '', |
|
|
|
|
formLabelWidth: '200px', |
|
|
|
|
activeName: 'first', |
|
|
|
|
activeName: 'five', |
|
|
|
|
tableDataLoading: false, |
|
|
|
|
dialogFormVisible: false, |
|
|
|
|
// dialogFormVisible1: false, |
|
|
|
@ -1998,6 +2008,7 @@
|
|
|
|
|
}, |
|
|
|
|
// 任务审核 |
|
|
|
|
shenhe1(row){ |
|
|
|
|
console.log(row,'roweeweqw') |
|
|
|
|
this.goodsId = row.goodsId |
|
|
|
|
this.category(); |
|
|
|
|
this.merchantMoney = row.merchantMoney |
|
|
|
@ -2018,6 +2029,7 @@
|
|
|
|
|
this.url = row.url |
|
|
|
|
} |
|
|
|
|
if(row.activityIds!='' && row.activityIds){ |
|
|
|
|
console.log(row.activityIds.split(','),'row.activityIds.split(',')') |
|
|
|
|
this.activityIds = row.activityIds.split(',') |
|
|
|
|
}else{ |
|
|
|
|
var arr = 8 |
|
|
|
@ -2070,42 +2082,42 @@
|
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if(this.shstatus == 1){ |
|
|
|
|
if (this.memberPrice == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
|
duration: 1800, |
|
|
|
|
message: '请输入会员满金额', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (this.memberMoney == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
|
duration: 1800, |
|
|
|
|
message: '请输入会员返金额', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (this.price == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
|
duration: 1800, |
|
|
|
|
message: '请输入普通用户满金额', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (this.money == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
|
duration: 1800, |
|
|
|
|
message: '请输入普通用户返金额', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
// if (this.memberPrice == '') { |
|
|
|
|
// this.$notify({ |
|
|
|
|
// title: '提示', |
|
|
|
|
// duration: 1800, |
|
|
|
|
// message: '请输入会员满金额', |
|
|
|
|
// type: 'warning' |
|
|
|
|
// }); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
// if (this.memberMoney == '') { |
|
|
|
|
// this.$notify({ |
|
|
|
|
// title: '提示', |
|
|
|
|
// duration: 1800, |
|
|
|
|
// message: '请输入会员返金额', |
|
|
|
|
// type: 'warning' |
|
|
|
|
// }); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
// if (this.price == '') { |
|
|
|
|
// this.$notify({ |
|
|
|
|
// title: '提示', |
|
|
|
|
// duration: 1800, |
|
|
|
|
// message: '请输入普通用户满金额', |
|
|
|
|
// type: 'warning' |
|
|
|
|
// }); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
// if (this.money == '') { |
|
|
|
|
// this.$notify({ |
|
|
|
|
// title: '提示', |
|
|
|
|
// duration: 1800, |
|
|
|
|
// message: '请输入普通用户返金额', |
|
|
|
|
// type: 'warning' |
|
|
|
|
// }); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
if (this.url == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
@ -2115,15 +2127,15 @@
|
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
if (this.activityIds.length == 0) { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
|
duration: 1800, |
|
|
|
|
message: '请选择任务分类', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
// if (this.activityIds.length == 0) { |
|
|
|
|
// this.$notify({ |
|
|
|
|
// title: '提示', |
|
|
|
|
// duration: 1800, |
|
|
|
|
// message: '请选择任务分类', |
|
|
|
|
// type: 'warning' |
|
|
|
|
// }); |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
if (this.isGoodss == '') { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
@ -2182,6 +2194,7 @@
|
|
|
|
|
this.dataSelect() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
this.$store.dispatch('getMessage') |
|
|
|
|
} else { |
|
|
|
|
this.$notify({ |
|
|
|
|
title: '提示', |
|
|
|
@ -2202,9 +2215,13 @@
|
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
var p =Number(sessionStorage.getItem('page')) |
|
|
|
|
if(p!=1&&p!=null){ |
|
|
|
|
if(p!= 0 && p!=null){ |
|
|
|
|
this.page = p |
|
|
|
|
} |
|
|
|
|
this.page = 1 |
|
|
|
|
this.limit = 10 |
|
|
|
|
this.isMerchant = 0 |
|
|
|
|
this.taskdataSelect() |
|
|
|
|
this.dataSelect() |
|
|
|
|
this.task() |
|
|
|
|
this.category() |
|
|
|
|