Commit 5d386901 by chenxin

fix: loading

parent d7c2142b
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=./static/img/favicon.ico><title>GIC后台</title><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><link rel=stylesheet type=text/css href=static/css/common.css><link rel=stylesheet href=//web-1251519181.file.myqcloud.com/components/element.2.12.0.css><link href=/marketing/static/css/main.4b9902ed46372ce65df416bb4ec6009a.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/element.2.12.0.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.35.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/store.2.0.01.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/member-group.2.2.16.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.42.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/input.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.2.10.js></script><script type=text/javascript src=/marketing/static/js/manifest.5fb5f76758419245fe1b.js></script><script type=text/javascript src=/marketing/static/js/vendor.cbb380c2053ab598e892.js></script><script type=text/javascript src=/marketing/static/js/main.5175384b277b5fe3450d.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel="shortcut icon" href=./static/img/favicon.ico><title>GIC后台</title><link rel=stylesheet type=text/css href=static/fonts/iconfont.css><link rel=stylesheet type=text/css href=static/css/common.css><link rel=stylesheet href=//web-1251519181.file.myqcloud.com/components/element.2.12.0.css><link href=/marketing/static/css/main.7a83faf7ac7856ac393c0a3d62936973.css rel=stylesheet></head><body><div id=app></div><script src=//web-1251519181.file.myqcloud.com/lib/vue/2.5.2/vue.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js></script><script src=//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js></script><script src=//web-1251519181.file.myqcloud.com/components/element.2.12.0.js></script><script src=//web-1251519181.file.myqcloud.com/components/header.2.0.35.js></script><script src=//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js></script><script src=//web-1251519181.file.myqcloud.com/components/card.2.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/store.2.0.01.js></script><script src=//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/member-group.2.2.16.js></script><script src=//web-1251519181.file.myqcloud.com/components/store-card.2.0.18.js></script><script src=//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.01.js></script><script src=//web-1251519181.file.myqcloud.com/components/people.2.0.42.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-excel.2.0.13.js></script><script src=//web-1251519181.file.myqcloud.com/components/input.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/delete.2.0.00.js></script><script src=//web-1251519181.file.myqcloud.com/components/selector.1.2.10.js></script><script type=text/javascript src=/marketing/static/js/manifest.1f1c32dbf97d8a91aedc.js></script><script type=text/javascript src=/marketing/static/js/vendor.cbb380c2053ab598e892.js></script><script type=text/javascript src=/marketing/static/js/main.5175384b277b5fe3450d.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
!function(e){var r=window.webpackJsonp;window.webpackJsonp=function(t,a,c){for(var i,f,u,b=0,s=[];b<t.length;b++)f=t[b],n[f]&&s.push(n[f][0]),n[f]=0;for(i in a)Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);for(r&&r(t,a,c);s.length;)s.shift()();if(c)for(b=0;b<c.length;b++)u=o(o.s=c[b]);return u};var t={},n={13:0};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.e=function(e){var r=n[e];if(0===r)return new Promise(function(e){e()});if(r)return r[2];var t=new Promise(function(t,o){r=n[e]=[t,o]});r[2]=t;var a=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,o.nc&&c.setAttribute("nonce",o.nc),c.src=o.p+"static/js/"+({0:"card",1:"game",2:"wechat",3:"message",4:"ewash",5:"evaluation",6:"ecm",7:"activity",8:"recharge",9:"msg",10:"calllog"}[e]||e)+"."+{0:"f74b8d6402fbec174aec",1:"5603aa6bc3c455d7b51e",2:"fbae0807ae1627a1cd27",3:"dbb7db1bf14e057fd6e0",4:"25ad3bea6ec6f023bc8f",5:"0b4dee932b2b51aa14e1",6:"806cf254f1baba677ec0",7:"c7e6a74eba07ee933137",8:"cc0950432812606ca31b",9:"df16b0b3f7288e21ec0d",10:"4b68b26d138f9bc39980"}[e]+".js";var i=setTimeout(f,12e4);function f(){c.onerror=c.onload=null,clearTimeout(i);var r=n[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return c.onerror=c.onload=f,a.appendChild(c),t},o.m=e,o.c=t,o.d=function(e,r,t){o.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,"a",r),r},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.p="/marketing/",o.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
!function(e){var r=window.webpackJsonp;window.webpackJsonp=function(t,o,c){for(var i,f,u,d=0,s=[];d<t.length;d++)f=t[d],n[f]&&s.push(n[f][0]),n[f]=0;for(i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i]);for(r&&r(t,o,c);s.length;)s.shift()();if(c)for(d=0;d<c.length;d++)u=a(a.s=c[d]);return u};var t={},n={13:0};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.e=function(e){var r=n[e];if(0===r)return new Promise(function(e){e()});if(r)return r[2];var t=new Promise(function(t,a){r=n[e]=[t,a]});r[2]=t;var o=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.timeout=12e4,a.nc&&c.setAttribute("nonce",a.nc),c.src=a.p+"static/js/"+({0:"card",1:"game",2:"wechat",3:"message",4:"ewash",5:"evaluation",6:"ecm",7:"activity",8:"recharge",9:"msg",10:"calllog"}[e]||e)+"."+{0:"de79b8a52ea4530b357f",1:"a84ee3b94f5f2e5240a7",2:"c287f3dba66f64618009",3:"bf4ec2199760e6a6d79b",4:"9e42654bdc43f38a3646",5:"dae31f13dcb87d6e487e",6:"3bb70a3570fa92aaebb0",7:"d84777d528b9196017cc",8:"983ea8707decbcaf3c7f",9:"bdc1c1df75064a39bd3b",10:"2e28c020a9f9c0e96471"}[e]+".js";var i=setTimeout(f,12e4);function f(){c.onerror=c.onload=null,clearTimeout(i);var r=n[e];0!==r&&(r&&r[1](new Error("Loading chunk "+e+" failed.")),n[e]=void 0)}return c.onerror=c.onload=f,o.appendChild(c),t},a.m=e,a.c=t,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:t})},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/marketing/",a.oe=function(e){throw console.error(e),e}}([]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -33,10 +33,12 @@
<el-button type="text" @click="delBatchImg">删除</el-button>
</div>
</div>
<el-checkbox-group v-loading="loading" :isIndeterminate="isIndeterminate" v-model="checkedList" @change="handlecheckedListChange" class="clearfix img-item__wrap" :style="scrollStyle">
<img-item v-for="(v, i) in imgList" :key="i" :imgData="v" @refresh="loadImgList" @delSingleImg="delImg" @moveSingleImg="moveImgGroup"></img-item>
</el-checkbox-group>
<el-pagination v-show="imgList.length" background class="dm-pagination pb20 pr20" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
<div v-loading="loading">
<el-checkbox-group :isIndeterminate="isIndeterminate" v-model="checkedList" @change="handlecheckedListChange" class="clearfix img-item__wrap" :style="scrollStyle">
<img-item v-for="(v, i) in imgList" :key="i" :imgData="v" @refresh="loadImgList" @delSingleImg="delImg" @moveSingleImg="moveImgGroup"></img-item>
</el-checkbox-group>
<el-pagination v-show="imgList.length" background class="dm-pagination pb20 pr20" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
</div>
</article>
<dm-move-dialog :show.sync="moveDialogShow" :dataList="groupsMoveList" @moveFinish="moveFinish"></dm-move-dialog>
</section>
......
<template>
<section :class="{ 'dm-wrap': auto }">
<section :class="{ 'dm-wrap': auto }" v-loading="loading">
<div class="dm-imgtext_head" :class="pbSize">
<div>
图文消息(共{{ total }}条)
......@@ -11,7 +11,7 @@
<el-button v-if="auto" @click="check">检查同步</el-button>
</div>
</div>
<el-radio-group class="dm-imgtext-list" v-model="selectedData" v-loading="loading" :style="scrollStyle">
<el-radio-group class="dm-imgtext-list" v-model="selectedData" :style="scrollStyle">
<el-table tooltipEffect="light" :data="textImgList" style="width: 100%" @row-click="rowClick">
<el-table-column label="" align="center" v-if="radioShow">
<template slot-scope="scope">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<el-date-picker class="w400" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-input v-model="listParams.search" class="w300" placeholder="请输入活动名称/创建人" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<el-date-picker class="w400" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-input v-model="listParams.search" class="w300" placeholder="请输入活动名称/创建人" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" @click="$router.push('/activity/add')">新建营销活动</el-button>
<el-button class="fr mr10" @click="$router.push('/activity/history-list')">查看历史活动</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker v-model="dateTime" :picker-options="pickerOptions" class="w250" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="getTableList"></el-date-picker>
<el-select class="dm-select" clearable="" v-model="listParams.callStatus" placeholder="选择通话状态" @change="getTableList">
......@@ -11,7 +11,7 @@
<el-input v-model="listParams.phoneNumber" class="w200" placeholder="输入号码查询" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button type="primary" class="fr" @click="$router.push('/calllog/record')">录音设置</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width:100%">
<el-table-column align="left" width="150" prop="callBeginTime" label="呼叫时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker class="w250" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-input v-model="listParams.searchParam" class="w300" placeholder="订单号/门店名称/导购姓名" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" icon="iconfont icon-icon_yunxiazai fz14" @click="exportExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" width="100" align="left" prop="createTime" label="操作时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker class="w400" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-select class="dm-select w160" v-model="listParams.cardType" clearable placeholder="所有销毁方式" @change="refresh">
......@@ -8,7 +8,7 @@
<el-input v-model="listParams.search" class="w300" placeholder="请输入卡券名称" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="danger" @click="showDialog('add', {})">卡券销毁</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" min-width="120" align="left" prop="cardName" label="卡券名称"></el-table-column>
<el-table-column :show-overflow-tooltip="true" min-width="100" align="left" prop="createTime" label="销毁时间">
<template slot-scope="scope">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="game-ptyx-header pb10 clearfix">
<span class="pr10">卡券共{{ total }}</span>
<el-button-group class="vertical-middle pr4">
......@@ -15,7 +15,7 @@
<el-checkbox class="vertical-middle" v-if="$store.state.marketing.isShowSelf" v-model="listParams.showSelfFlag" :true-label="1" :false-label="0" label="仅看本人" border @change="refresh" />
<el-button class="fr" type="primary" @click="$router.push('/card/add')">新增卡券</el-button>
</div>
<ul class="clearfix" v-loading="loading" element-loading-text="拼命加载中">
<ul class="clearfix" element-loading-text="拼命加载中">
<card-item @adjust-stock="preAdjustStock" :item="v" v-for="(v, i) in tableList" :key="i" @delete-card="delData"></card-item>
</ul>
<div class="text-center" v-if="tableList.length === 0">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="game-ptyx-header pb10 clearfix">
<span class="pr10">卡券共{{ total }}</span>
<el-input v-model="listParams.searchParam" class="w200" placeholder="输入名称/备注" clearable @change="cardPageList"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" @click="shelfAddShow = true">添加卡券</el-button>
</div>
<ul class="clearfix" v-loading="loading" element-loading-text="拼命加载中">
<ul class="clearfix" element-loading-text="拼命加载中">
<card-item :item="v" v-for="(v, i) in tableList" :shelfFlag="true" :key="i" @del-shelf="delShelf"></card-item>
</ul>
<div class="text-center" v-if="tableList.length === 0">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker class="w400" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-select class="dm-select w160" v-model="listParams.sceneSettingId" clearable placeholder="所有营销场景" @change="refresh">
......@@ -8,7 +8,7 @@
<el-input v-model="listParams.search" class="w300" placeholder="请输入卡券包名称" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" @click="$router.push('/card/merge/add')">新建卡券包</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" min-width="140" align="left" prop="name" label="卡券包名称"></el-table-column>
<el-table-column :show-overflow-tooltip="true" min-width="100" align="left" prop="createTime" label="创建时间">
<template slot-scope="scope">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-input v-model="listParams.search" class="w300" placeholder="请输入卡券包名称" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<!-- <el-input v-model="listParams.receiveCode" class="w300" placeholder="请输入投放渠道" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input> -->
......@@ -7,7 +7,7 @@
<el-option v-for="item in sceneSettingIdOptions" :key="item.sceneSettingId" :label="item.sceneName" :value="item.sceneSettingId"></el-option>
</el-select>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" min-width="100" align="left" prop="receiveTime" label="领取时间">
<template slot-scope="scope">
<p class="cell-time">
......
......@@ -4,7 +4,7 @@
<span class="mr20">库存数量</span><el-radio v-model="calculate" :label="true">增加</el-radio>
<el-radio v-model="calculate" :label="false">减少</el-radio>
<div class="pt20" style="margin-left:76px;">
<el-input-number controls-position="right" :min="0" v-model="count" class="w200 block-center" size="small" @blur="checkCalc"></el-input-number>
<el-input-number controls-position="right" :min="0" v-model="count" class="w200 block-center" size="small" @blur="checkCalc" :max="1000000"></el-input-number>
</div>
<div class="pt20">
<span class="fz14">剩余库存:</span>
......
<template>
<section class="card-record-get">
<section class="card-record-get" v-loading="recordLoading">
<!-- 条件筛选区 -->
<div class="pb22">
<el-input v-model="listParams.search" class="w300" placeholder="请输入卡券名称/卡券代码/会员信息" @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
......@@ -13,7 +13,7 @@
<span class="vertical-middle">领取时间:</span><el-date-picker v-model="dateTime" :clearable="false" @change="refresh" class="w250" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker> <span class="vertical-middle">核销时间:</span><el-date-picker v-model="dateTime2" @change="refresh" class="w250" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</div>
<!-- 列表 -->
<el-table tooltipEffect="light" :data="recordList" style="width: 100%" v-loading="recordLoading" @sort-change="sortList">
<el-table tooltipEffect="light" :data="recordList" style="width: 100%" @sort-change="sortList">
<el-table-column width="120" align="left" prop="receiveTime" label="领取时间" fixed="left" sortable="custom">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="card-record-send">
<section class="card-record-send" v-loading="loading">
<div class="pb22">
<el-input class="w300" v-model="listParams.search" placeholder="输入卡券名称/备注名/活动名" @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-checkbox class="vertical-middle" v-if="$store.state.marketing.isShowSelf" v-model="listParams.showSelfFlag" :true-label="1" :false-label="0" label="仅看本人" border @change="refresh" />
</div>
<el-table tooltipEffect="light" :data="recordList" style="width: 100%" row-key="putonTime" v-loading="loading">
<el-table tooltipEffect="light" :data="recordList" style="width: 100%" row-key="putonTime">
<el-table-column width="120" align="left" prop="putonTime" label="投放时间" fixed="left">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section>
<section v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker class="w250" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-input v-model="listParams.search" class="w300" placeholder="卡券名称/卡券代码/会员信息" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" @click="exportExcel" icon="iconfont icon-icon_yunxiazai fz14"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" width="100" align="left" prop="sendBackTime" label="退券时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22">
<store-group class="w200 pr4" :model="currentData" @commit-store="storeChange"></store-group>
<el-input class="w300" v-model="listParams.searchParam" clearable placeholder="输入门店名称/代码/地区名" @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" @sort-change="sortList">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" @sort-change="sortList">
<el-table-column min-width="120" align="left" prop="shelfName" label="门店名称">
<template slot-scope="scope">
<p>{{ scope.row.shelfName }}</p>
......
<template>
<el-dialog title="批次记录" :visible.sync="show" width="80%" :before-close="close">
<div class="pb22 clearfix">
<el-input v-model="listParams.memberInfo" class="w200" placeholder="输入会员昵称/名字/手机号" clearable @change="search"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-select class="dm-select" clearable v-model="listParams.success" placeholder="所有条件" @change="search">
<el-option v-for="(v, i) in successOptions" :key="i" :label="v.label" :value="v.value"></el-option>
</el-select>
<el-button icon="iconfont icon-icon_yunxiazai" class="fr" type="primary" @click="exportBatchSendDetails"> 导出列表</el-button>
<div v-loading="loading">
<div class="pb22 clearfix">
<el-input v-model="listParams.memberInfo" class="w200" placeholder="输入会员昵称/名字/手机号" clearable @change="search"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-select class="dm-select" clearable v-model="listParams.success" placeholder="所有条件" @change="search">
<el-option v-for="(v, i) in successOptions" :key="i" :label="v.label" :value="v.value"></el-option>
</el-select>
<el-button icon="iconfont icon-icon_yunxiazai" class="fr" type="primary" @click="exportBatchSendDetails"> 导出列表</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" height="400" style="width: 100%" element-loading-text="拼命加载中">
<el-table-column type="index" width="50px" label="序号"></el-table-column>
<el-table-column v-for="(v, i) in tableHeader" :type="v.type" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
<component v-else-if="v.component" :is="v.component" :row="scope.row"></component>
<span v-else>{{ scope.row[v.prop] }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination v-show="tableList.length" background class="dm-pagination" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
</div>
<el-table tooltipEffect="light" :data="tableList" height="400" style="width: 100%" v-loading="loading" element-loading-text="拼命加载中">
<el-table-column type="index" width="50px" label="序号"></el-table-column>
<el-table-column v-for="(v, i) in tableHeader" :type="v.type" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
<component v-else-if="v.component" :is="v.component" :row="scope.row"></component>
<span v-else>{{ scope.row[v.prop] }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination v-show="tableList.length" background class="dm-pagination" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
<span slot="footer" class="dialog-footer">
<el-button @click="close">关 闭</el-button>
</span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-date-picker class="w250" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="search"></el-date-picker>
<el-select class="dm-select" clearable v-model="listParams.type" placeholder="选择上线状态" @change="search">
......@@ -7,7 +7,7 @@
</el-select>
<el-input v-model="listParams.title" class="w200" placeholder="输入营销内容标题" clearable @change="search"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" element-loading-text="拼命加载中">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" element-loading-text="拼命加载中">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section>
<section v-loading="loading">
<div class="dm-wrap clearfix">
<el-date-picker class="w250" v-model="dateTime" :clearable="false" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="search"></el-date-picker>
<el-select class="dm-select" clearable v-model="listParams.success" placeholder="所有条件" @change="search">
......@@ -8,7 +8,7 @@
<el-button icon="iconfont icon-icon_yunxiazai" class="fr" type="primary" @click="exportCurrentSendDetails"> 导出列表</el-button>
</div>
<div class="dm-wrap">
<el-table ref="multipleTable" tooltipEffect="light" :data="infoList" style="width: 100%" v-loading="loading" @selection-change="handleSelectionChange">
<el-table ref="multipleTable" tooltipEffect="light" :data="infoList" style="width: 100%" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" width="50" label="序号"></el-table-column>
<el-table-column v-for="(v, i) in infoHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" clearable="" v-model="listParams.effectType" placeholder="选择时效" @change="search">
<el-option v-for="(v, i) in effectTypeOption" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -15,7 +15,7 @@
<el-checkbox class="vertical-middle" v-if="$store.state.marketing.isShowSelf" v-model="listParams.showSelfFlag" :true-label="1" :false-label="0" label="仅看本人" border @change="search" />
<el-button class="fr" type="primary" @click="$router.push('/ecm/add')">新建计划</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" element-loading-text="拼命加载中">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" element-loading-text="拼命加载中">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="eval-newest dm-wrap">
<section class="eval-newest dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<store-group width="240" class="pr5" :model="storeGroupData" @commit-store="getStoreGroup"></store-group>
<el-date-picker v-if="$route.meta.type !== 'bad'" class="w250" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
......@@ -18,7 +18,7 @@
<el-checkbox class="vertical-middle" size="small" border v-if="$route.meta.type !== 'bad'" :true-label="1" :false-label="0" v-model="listParams.isContent" @change="refresh">有评语</el-checkbox>
<el-checkbox class="vertical-middle" size="small" border v-if="$route.meta.type !== 'bad'" :true-label="1" :false-label="0" v-model="listParams.hasReply" @change="refresh">有追评</el-checkbox>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" element-loading-text="拼命加载中">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" element-loading-text="拼命加载中">
<el-table-column :show-overflow-tooltip="false" width="90" align="left" prop="showStatus" fixed="left" label="服务号显示">
<template slot-scope="scope">
<el-switch v-model="scope.row.showStatus" :active-value="1" :inactive-value="0" @change="changeShow(scope.row)"> </el-switch>
......
<template>
<el-dialog title="门店评分" :visible.sync="show" width="70%" :before-close="close">
<store-group width="240" class="pb22" :model="storeGroupData" @commit-store="getStoreGroup"></store-group>
<el-table tooltipEffect="light" :data="tableList" height="350" style="width: 100%" v-loading="loading" @sort-change="sortList">
<el-table-column :show-overflow-tooltip="true" :min-width="140" align="left" prop="storeName" label="门店名称">
<template slot-scope="scope">
<p v-if="scope.row.totalCount" class="primary-color">{{ scope.row.totalCount }}</p>
<div v-else>
<p style="line-height:22px;">{{ scope.row.storeName || '--' }}</p>
<p class="fz12 gray" style="line-height:20px;">{{ scope.row.areaName || '--' }}</p>
</div>
</template>
</el-table-column>
<div v-loading="loading">
<store-group width="240" class="pb22" :model="storeGroupData" @commit-store="getStoreGroup"></store-group>
<el-table tooltipEffect="light" :data="tableList" height="350" style="width: 100%" @sort-change="sortList">
<el-table-column :show-overflow-tooltip="true" :min-width="140" align="left" prop="storeName" label="门店名称">
<template slot-scope="scope">
<p v-if="scope.row.totalCount" class="primary-color">{{ scope.row.totalCount }}</p>
<div v-else>
<p style="line-height:22px;">{{ scope.row.storeName || '--' }}</p>
<p class="fz12 gray" style="line-height:20px;">{{ scope.row.areaName || '--' }}</p>
</div>
</template>
</el-table-column>
<el-table-column :width="130" align="left" prop="evaluateCount" label="累计评价次数">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.evaluateCount }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="fwtdAvg" label="服务态度">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.fwtdAvg ? Number(scope.row.fwtdAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="zycdAvg" label="专业程度">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.zycdAvg ? Number(scope.row.zycdAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="mdhjAvg" label="门店环境">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.mdhjAvg ? Number(scope.row.mdhjAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
</el-table>
<el-pagination v-show="tableList.length" background class="dm-pagination" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
<el-table-column :width="130" align="left" prop="evaluateCount" label="累计评价次数">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.evaluateCount }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="fwtdAvg" label="服务态度">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.fwtdAvg ? Number(scope.row.fwtdAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="zycdAvg" label="专业程度">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.zycdAvg ? Number(scope.row.zycdAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
<el-table-column :width="110" sortable="custom" align="left" prop="mdhjAvg" label="门店环境">
<template slot-scope="scope">
<p :class="{ 'primary-color': !!scope.row.totalCount }">{{ scope.row.mdhjAvg ? Number(scope.row.mdhjAvg).toFixed(2) : '0.00' }}</p>
</template>
</el-table-column>
</el-table>
<el-pagination v-show="tableList.length" background class="dm-pagination" @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="listParams.currentPage" :page-sizes="[20, 40, 60, 80]" :page-size="listParams.pageSize" layout="total, sizes, prev, pager, next" :total="total"></el-pagination>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="close">关 闭</el-button>
</span>
......
<template>
<section class="suggestion dm-wrap">
<section class="suggestion dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<span class="pr10">{{ total }}条投诉与建议</span>
<el-select class="w200" v-model="listParams.status" placeholder="选择状态" @change="search">
......@@ -10,7 +10,7 @@
<el-input v-model="listParams.memberSearch" class="w200" placeholder="会员昵称/手机号" clearable @change="search"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button icon="iconfont icon-icon_yunxiazai fz14" class="fr" type="primary" @click="exportSuggestionExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" element-loading-text="拼命加载中">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" element-loading-text="拼命加载中">
<el-table-column :show-overflow-tooltip="true" min-width="120" align="left" :key="Math.random()" prop="createTime" label="评价时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="game-ptyx-header pb10 clearfix">
<span class="pr10">卡券共{{ total }}</span>
<el-button-group class="vertical-middle pr4">
......@@ -16,7 +16,7 @@
<el-button type="primary" @click="$router.push('/ewash/add')" :disabled="!ewashDisable">新增卡券</el-button>
</div>
</div>
<ul class="clearfix" v-loading="loading" element-loading-text="拼命加载中">
<ul class="clearfix" element-loading-text="拼命加载中">
<card-item @adjust-stock="preAdjustStock" :item="v" v-for="(v, i) in tableList" :key="i" @delete-card="delData"></card-item>
</ul>
<div class="text-center" v-if="tableList.length === 0">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<el-input v-model="listParams.orderNumber" class="w250" placeholder="请输入业务单号进行搜索" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-date-picker class="w300" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-button class="fr" type="primary" @click="exportExcel">导出明细</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter" :fixed="v.fixed">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="clearfix pb22">
<el-input v-model="listParams.searchParam" class="w300" placeholder="输入门店名称/code进行搜索" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<div class="fr">
......@@ -7,7 +7,7 @@
<el-button type="primary" @click="handleDialogShow" :disabled="!ewashDisable">创建子账户</el-button>
</div>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter" :fixed="v.fixed">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" v-model="listParams.gameStatus" placeholder="选择游戏状态" @change="refresh">
<el-option v-for="(v, i) in gameStatusOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -9,7 +9,7 @@
<el-button class="fr" type="primary" @click="$router.push('/game/dzp/add')">新建游戏</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width:100%">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
......@@ -16,7 +16,7 @@
<el-checkbox border class="pl10" v-model="listParams.freeFlag" :true-label="1" :false-label="0" @change="loadLotteryRecordList">免费抽奖</el-checkbox>
<el-button type="primary" class="fr" icon="iconfont icon-icon_yunxiazai fz14" @click="exportLotteryExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="recordList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="recordList" style="width:100%">
<el-table-column :min-width="150" align="left" label="中奖时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" v-model="listParams.gameStatus" placeholder="选择游戏状态" @change="refresh">
<el-option v-for="(v, i) in gameStatusOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -9,7 +9,7 @@
<el-button class="fr" type="primary" @click="$router.push('/game/ggk/add')">新建游戏</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
......@@ -16,7 +16,7 @@
<el-checkbox border class="pl10" v-model="listParams.freeFlag" :true-label="1" :false-label="0" @change="loadLotteryRecordList">免费抽奖</el-checkbox>
<el-button icon="iconfont icon-icon_yunxiazai fz14" type="primary" class="fr" @click="exportLotteryExcel">下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="recordList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="recordList" style="width:100%">
<el-table-column :min-width="150" align="left" label="中奖时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<el-dialog title="选择口令" :visible.sync="show" width="40%" :before-close="close">
<el-input v-model="searchName" class="w200" placeholder="请输入口令" size="medium" clearable @change="klflCodeList"><i slot="prefix" class="el-input__icon el-icon-search" @click="klflCodeList"></i></el-input>
<el-table tooltipEffect="light" :data="tableList" class="pt10" style="width:100%" height="300" v-loading="loading">
<el-table-column align="left" label="口令名称">
<template slot-scope="scope">
<el-radio v-model="radio" :label="scope.row">{{ scope.row.gameCode }}</el-radio>
</template>
</el-table-column>
<el-table-column align="left" label="口令个数" prop="codeStock"></el-table-column>
</el-table>
<div v-loading="loading">
<el-input v-model="searchName" class="w200" placeholder="请输入口令" size="medium" clearable @change="klflCodeList"><i slot="prefix" class="el-input__icon el-icon-search" @click="klflCodeList"></i></el-input>
<el-table tooltipEffect="light" :data="tableList" class="pt10" style="width:100%" height="300">
<el-table-column align="left" label="口令名称">
<template slot-scope="scope">
<el-radio v-model="radio" :label="scope.row">{{ scope.row.gameCode }}</el-radio>
</template>
</el-table-column>
<el-table-column align="left" label="口令个数" prop="codeStock"></el-table-column>
</el-table>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="close">关 闭</el-button>
<el-button type="primary" @click="submit">保 存</el-button>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" v-model="listParams.gameStatus" placeholder="选择游戏状态" @change="refresh">
<el-option v-for="(v, i) in gameStatusOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -10,7 +10,7 @@
<el-button class="fr" type="primary" @click="$router.push('/game/klfl/add')">新建游戏</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<!-- <el-table-column type="selection" width="50" fixed="left"></el-table-column> -->
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
......
<!--
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-06-04 11:49:47
* @LastEditTime: 2019-08-12 09:19:03
* @LastEditors: Please set LastEditors
-->
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" v-model="listParams.prizeReferType" placeholder="请选择" @change="klflReportList">
<el-option v-for="(v, i) in prizeReferTypeOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -18,7 +11,7 @@
<el-input v-model="listParams.searchParam" class="w200" placeholder="会员昵称/手机号/卡号" clearable @change="klflReportList"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button icon="iconfont icon-icon_yunxiazai fz14" type="primary" class="fr" @click="klflRecordExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="rankList" style="width:100%" height="300" v-loading="loading">
<el-table tooltipEffect="light" :data="rankList" style="width:100%" height="300">
<el-table-column :min-width="150" align="left" label="会员信息">
<template slot-scope="scope">
<a :href="'/member/#/wechatmemberDetail?memberId=' + scope.row.memberId" target="_blank">
......
<template>
<el-dialog title="首次获奖策略管理" :visible.sync="show" width="1000px" :before-close="close" v-loading="loading">
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
<el-form-item label="策略名称" prop="strategyName">
<el-input v-model="form.strategyName" class="w300"></el-input>
</el-form-item>
<el-form-item label="奖品设置" prop="prizeReferType">
<el-select class="w300" v-model="form.prizeReferType" placeholder="请选择" @change="cardCheck">
<el-option v-for="v in prizeReferTypeOptions" :key="v.value" :label="v.label" :value="v.value"></el-option>
</el-select>
<span v-if="form.prizeReferType === 3" class="fz12 gray">已选中:{{ prizeSetInfo.proGiftName }}</span>
<span v-if="form.prizeReferType === 2" class="fz12 gray">已选中:{{ cardObj.cardName }}</span>
</el-form-item>
<el-form-item label="积分设置" v-if="form.prizeReferType === 1">
<el-input-number :precision="0" :min="0" v-model="form.prizeIntegral" placeholder="请输入积分" class="w300"></el-input-number>
</el-form-item>
<el-form-item label="奖品数量" prop="prizeCount" v-if="strategyType === 'edit'"> {{ form.prizeCount }} <i class="el-icon-edit blue" @click="calculateShow = true"></i> (已领取{{ form.prizeCount - form.prizeStock }}件) </el-form-item>
<el-form-item label="奖品数量" prop="prizeCount" v-if="strategyType === 'add'">
<el-input-number :precision="0" :min="0" v-model="form.prizeStock" placeholder="请输入奖品数量" class="w300"></el-input-number>
</el-form-item>
<vue-gic-people v-if="peopleFilterReRender" :projectName="projectName" :isAdd="false" :triggerReset="true" :useId="useId" :hasSearchData="hasSearchData" :sceneValue="sceneValue" ref="peopleFilter" @findFilter="findFilter" @getBackData="getBackData" @editHide="editHide" @editShow="editShow" @hideBtn="hideBtn" />
<div class="gic-people--button" v-show="toggleTag">
<el-button size="small" type="primary" @click="getData">确 定</el-button>
<el-button size="small" @click="cancelFilter">取 消</el-button>
</div>
</el-form>
<el-dialog title="首次获奖策略管理" :visible.sync="show" width="1000px" :before-close="close">
<div v-loading="loading">
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
<el-form-item label="策略名称" prop="strategyName">
<el-input v-model="form.strategyName" class="w300"></el-input>
</el-form-item>
<el-form-item label="奖品设置" prop="prizeReferType">
<el-select class="w300" v-model="form.prizeReferType" placeholder="请选择" @change="cardCheck">
<el-option v-for="v in prizeReferTypeOptions" :key="v.value" :label="v.label" :value="v.value"></el-option>
</el-select>
<span v-if="form.prizeReferType === 3" class="fz12 gray">已选中:{{ prizeSetInfo.proGiftName }}</span>
<span v-if="form.prizeReferType === 2" class="fz12 gray">已选中:{{ cardObj.cardName }}</span>
</el-form-item>
<el-form-item label="积分设置" v-if="form.prizeReferType === 1">
<el-input-number :precision="0" :min="0" v-model="form.prizeIntegral" placeholder="请输入积分" class="w300"></el-input-number>
</el-form-item>
<el-form-item label="奖品数量" prop="prizeCount" v-if="strategyType === 'edit'"> {{ form.prizeCount }} <i class="el-icon-edit blue" @click="calculateShow = true"></i> (已领取{{ form.prizeCount - form.prizeStock }}件) </el-form-item>
<el-form-item label="奖品数量" prop="prizeCount" v-if="strategyType === 'add'">
<el-input-number :precision="0" :min="0" v-model="form.prizeStock" placeholder="请输入奖品数量" class="w300"></el-input-number>
</el-form-item>
<vue-gic-people v-if="peopleFilterReRender" :projectName="projectName" :isAdd="false" :triggerReset="true" :useId="useId" :hasSearchData="hasSearchData" :sceneValue="sceneValue" ref="peopleFilter" @findFilter="findFilter" @getBackData="getBackData" @editHide="editHide" @editShow="editShow" @hideBtn="hideBtn" />
<div class="gic-people--button" v-show="toggleTag">
<el-button size="small" type="primary" @click="getData">确 定</el-button>
<el-button size="small" @click="cancelFilter">取 消</el-button>
</div>
</el-form>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="close">关 闭</el-button>
<el-button type="primary" @click="submit('form')">保 存</el-button>
......
<template>
<el-dialog title="拼图配置" :visible.sync="show" width="40%" :before-close="close" v-loading="loading">
<h3 class="fz16 pb20">机制设置</h3>
<h4 class="fz14 gray pb20">用户免费体力数</h4>
<el-radio v-model="form.sysGiveValueType" :label="1">
总共免费 <span v-if="form.sysGiveValueType === 1"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.sysGiveValueType !== 1" v-model="form.sysGiveValue"></el-input-number> 体力</span>
</el-radio>
<p class="pb20"></p>
<el-radio v-model="form.sysGiveValueType" :label="2">
每天免费 <span v-if="form.sysGiveValueType === 2"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.sysGiveValueType !== 2" v-model="form.sysGiveValue"></el-input-number> 体力</span>
</el-radio>
<h4 class="fz14 gray pb20 pt20">分享赠送体力</h4>
<el-radio v-model="form.shareGiveValueType" :label="1">
一次赠送 <span v-if="form.shareGiveValueType === 1"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.shareGiveValueType !== 1" v-model="form.shareGiveValue"></el-input-number> 体力给好友,仅能送一次</span>
</el-radio>
<p class="pb20"></p>
<el-radio v-model="form.shareGiveValueType" :label="2">
每天赠送 <span v-if="form.shareGiveValueType === 2"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.shareGiveValueType !== 2" v-model="form.shareGiveValue"></el-input-number> 体力给好友,仅能送一次</span>
</el-radio>
<el-dialog title="拼图配置" :visible.sync="show" width="40%" :before-close="close">
<div v-loading="loading">
<h3 class="fz16 pb20">机制设置</h3>
<h4 class="fz14 gray pb20">用户免费体力数</h4>
<el-radio v-model="form.sysGiveValueType" :label="1">
总共免费 <span v-if="form.sysGiveValueType === 1"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.sysGiveValueType !== 1" v-model="form.sysGiveValue"></el-input-number> 体力</span>
</el-radio>
<p class="pb20"></p>
<el-radio v-model="form.sysGiveValueType" :label="2">
每天免费 <span v-if="form.sysGiveValueType === 2"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.sysGiveValueType !== 2" v-model="form.sysGiveValue"></el-input-number> 体力</span>
</el-radio>
<h4 class="fz14 gray pb20 pt20">分享赠送体力</h4>
<el-radio v-model="form.shareGiveValueType" :label="1">
一次赠送 <span v-if="form.shareGiveValueType === 1"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.shareGiveValueType !== 1" v-model="form.shareGiveValue"></el-input-number> 体力给好友,仅能送一次</span>
</el-radio>
<p class="pb20"></p>
<el-radio v-model="form.shareGiveValueType" :label="2">
每天赠送 <span v-if="form.shareGiveValueType === 2"><el-input-number controls-position="right" :min="0" class="w200" type="number" :disabled="form.shareGiveValueType !== 2" v-model="form.shareGiveValue"></el-input-number> 体力给好友,仅能送一次</span>
</el-radio>
</div>
<span slot="footer" class="dialog-footer">
<el-button @click="handleSubmit" type="primary">保 存</el-button>
<el-button @click="close">关 闭</el-button>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" clearable v-model="listParams.gameStatus" placeholder="选择游戏状态" @change="refresh">
<el-option v-for="(v, i) in gameStatusOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -9,7 +9,7 @@
<el-button class="fr" @click="configShow = true">拼图配置</el-button>
<el-button class="fr mr10" type="primary" @click="$router.push('/game/ptyx/add')">新建游戏</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
......@@ -12,7 +12,7 @@
<el-input v-model="listParams.searchParam" class="w200" placeholder="会员昵称/手机号/卡号" clearable @change="LoadPtyxRecordList"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button icon="iconfont icon-icon_yunxiazai fz14" type="primary" class="fr" @click="exportPtyxExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="rankList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="rankList" style="width:100%">
<el-table-column width="60" align="left" label="名次" prop="ranking"></el-table-column>
<el-table-column min-width="150" header-align="left" align="left" label="会员信息">
<template slot-scope="scope">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<el-select class="dm-select" v-model="listParams.gameStatus" placeholder="选择游戏状态" @change="refresh">
<el-option v-for="(v, i) in gameStatusOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -8,7 +8,7 @@
<el-checkbox class="vertical-middle ml0" v-if="$store.state.marketing.isShowSelf" v-model="listParams.showSelfFlag" :true-label="1" :false-label="0" label="仅看本人" border @change="refresh" />
<el-button class="fr" type="primary" @click="$router.push('/game/znm/add')">新建游戏</el-button>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column v-for="(v, i) in tableHeader" :fixed="v.fixed" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<el-tabs type="card" v-model="activeName">
<!-- 排行榜 -->
<el-tab-pane label="排行榜" name="first">
......@@ -7,7 +7,7 @@
<el-input v-model="listParams.searchParam" class="w200" placeholder="会员昵称/手机号/卡号" clearable @change="znmReportList"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button icon="iconfont icon-icon_yunxiazai fz14" type="primary" class="fr" @click="znmRankExcel"> 下载Excel</el-button>
</div>
<el-table tooltipEffect="light" :data="rankList" style="width:100%" v-loading="loading">
<el-table tooltipEffect="light" :data="rankList" style="width:100%">
<el-table-column width="60" align="left" label="名次" prop="ranking"></el-table-column>
<el-table-column align="left" label="会员信息">
<template slot-scope="scope">
......
<template>
<el-dialog title="首次获奖策略管理" :visible.sync="show" width="1000px" :before-close="close" v-loading="loading">
<el-form ref="form" :model="form" :rules="rules" label-width="90px">
<el-dialog title="首次获奖策略管理" :visible.sync="show" width="1000px" :before-close="close">
<el-form ref="form" :model="form" :rules="rules" label-width="90px" v-loading="loading">
<el-form-item label="策略名称" prop="strategyName" class="w400">
<el-input v-model="form.strategyName"></el-input>
</el-form-item>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb22 clearfix">
<span>创建时间</span>
<el-date-picker class="w400 ml10" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
......@@ -13,7 +13,7 @@
</el-select>
<el-input v-model="listParams.search" class="w300" placeholder="请输入模板名称" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column :show-overflow-tooltip="true" min-width="120" align="left" prop="smsTitle" label="模板名称"></el-table-column>
<el-table-column :show-overflow-tooltip="true" width="100" align="left" prop="createTime" label="创建时间">
<template slot-scope="scope">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="recordLoading">
<div class="clearfix pb22">
<el-date-picker class="w250" v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="refresh"></el-date-picker>
<el-select class="dm-select" v-model="listParams.sendStatus" placeholder="选择发送状态" @change="refresh">
......@@ -10,7 +10,7 @@
<el-input v-model="listParams.search" class="w200" placeholder="输入模板名称/ID/内容" clearable @change="refresh"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
<el-button class="fr" type="primary" @click="$router.push('/message/record/add')">新建群发</el-button>
</div>
<el-table tooltipEffect="light" :data="messageList" style="width: 100%" row-key="sendTime" v-loading="recordLoading">
<el-table tooltipEffect="light" :data="messageList" style="width: 100%" row-key="sendTime">
<el-table-column :min-width="100" align="left" label="发送时间" prop="sendTime">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="pb10">
<el-select class="dm-select" v-model="listParams.type" placeholder="选择营销场景" @change="search">
<el-option v-for="(v, i) in libTypeOptions" :key="i" :label="v.label" :value="v.value"></el-option>
......@@ -14,7 +14,7 @@
<span class="gray fz13">可用模板数: {{ allUsableCount }} | 已用模板数:{{ usedCount }}</span>
</span>
</div>
<el-row :gutter="20" v-loading="loading">
<el-row :gutter="20">
<el-col :span="12" v-for="(v, i) in smsTempList" :key="i">
<div class="sms-lib-item border1">
<div class="sms-lib-item_top ellipsis-80" :title="`${v.title}`">模板名称:{{ v.title }}</div>
......
<template>
<section class="dm-wrap">
<section class="dm-wrap" v-loading="loading">
<div class="msg-tips clearfix mb20">
<div class="msg-tips__left fl">
<i class="el-icon-info"></i>
......@@ -17,7 +17,7 @@
<div class="clearfix pb22">
<el-input v-model="listParams.searchParam" class="w300" placeholder="输入模板名称/ID/内容" clearable @change="pageTemplateMessage"><i slot="prefix" class="el-input__icon el-icon-searchParam"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading" @sort-change="sortList">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" @sort-change="sortList">
<el-table-column v-for="(v, i) in tableHeader" :show-overflow-tooltip="v.tooltip" :width="v.width" :min-width="v.minWidth" :align="v.align" :key="i" :prop="v.prop" :label="v.label" :formatter="v.formatter" :sortable="v.sortable">
<template slot-scope="scope">
<span v-if="v.formatter" v-html="v.formatter(scope.row)"></span>
......
......@@ -91,13 +91,13 @@
</el-col>
</el-row>
</div>
<div class="dm-wrap">
<div class="dm-wrap" v-loading="loading">
<div class="pb22">
<div slot="header" class="clearfix">
<el-date-picker v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="consumeRecord"></el-date-picker>
</div>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="light" :data="tableList" style="width: 100%">
<el-table-column align="left" prop="name" label="计费项目"></el-table-column>
<el-table-column align="left" prop="count" label="时长/条数">
<template slot-scope="scope">
......
......@@ -10,14 +10,14 @@
<div class="chart--nodata" v-show="!list.length"></div>
</div>
</div>
<div class="dm-form__wrap">
<div class="dm-form__wrap" v-loading="loading">
<div class="pb22" style="overflow:hidden;line-height:40px;">
<!-- <el-select v-if="$route.params.type === 'call'" class="dm-select" v-model="taskType" placeholder="选择发送状态" @change="loadAll(true)">
<el-option v-for="item in taskTypeOptions" :key="item.taskType" :label="item.ecmName" :value="item.taskType"></el-option>
</el-select> -->
<el-input v-model="listParams.searchParam" class="w250" :placeholder="placeholder" clearable @change="loadAll(true)"><i slot="prefix" class="el-input__icon el-icon-search"></i></el-input>
</div>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading" v-if="$route.params.type === 'marketing'">
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'marketing'">
<el-table-column align="left" width="170" prop="sendTime" label="发送时间">
<template slot-scope="scope">
<p class="cell-time">
......@@ -46,7 +46,7 @@
</template>
</el-table-column>
</el-table>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading" v-if="$route.params.type === 'sms'">
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'sms'">
<el-table-column align="left" width="170" prop="createTime" label="发送时间">
<template slot-scope="scope">
<p class="cell-time">
......@@ -71,7 +71,7 @@
</template>
</el-table-column>
</el-table>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading" v-if="$route.params.type === 'voice'">
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'voice'">
<el-table-column align="left" prop="createTime" label="发送时间" width="170px">
<template slot-scope="scope">
<p class="cell-time">
......@@ -95,7 +95,7 @@
</el-table-column>
</el-table>
<!-- 不良评价回访 -->
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading" v-if="$route.params.type === 'call'">
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'call'">
<el-table-column align="left" width="160" prop="createTime" label="呼叫时间">
<template slot-scope="scope">
<p class="cell-time">
......@@ -137,7 +137,7 @@
<template slot-scope="scope">{{ Number(scope.row.callFee / 1000).toFixed(2) }}</template>
</el-table-column>
</el-table>
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-loading="loading" v-if="$route.params.type === 'record'">
<el-table tooltipEffect="light" :data="tableList" style="width:100%" v-if="$route.params.type === 'record'">
<el-table-column align="left" width="160" prop="createTime" label="呼叫时间">
<template slot-scope="scope">
<p class="cell-time">
......
<template>
<section class="recharge dm-wrap">
<section class="recharge dm-wrap" v-loading="loading">
<div class="pb22"><el-date-picker v-model="dateTime" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" @change="rechargeRecord"></el-date-picker></div>
<el-table tooltipEffect="dark" :data="tableList" style="width: 100%" v-loading="loading">
<el-table tooltipEffect="dark" :data="tableList" style="width: 100%">
<el-table-column align="left" prop="timeEnd" label="充值时间">
<template slot-scope="scope">
<p style="color:#606266;">{{ formatDateTimeByType(scope.row.timeEnd, 'yyyy-MM-dd-HH-mm-ss', true).y }}</p>
......
<template>
<el-dialog title="查看数据" :visible.sync="show" width="60%" :before-close="close" v-loading="loading">
<el-table tooltipEffect="light" :data="dialogList" style="width: 100%">
<el-dialog title="查看数据" :visible.sync="show" width="60%" :before-close="close">
<el-table tooltipEffect="light" :data="dialogList" style="width: 100%" v-loading="loading">
<el-table-column v-for="(v, i) in dialogHeader" :align="v.align" :key="i" :prop="v.prop" :label="v.label"></el-table-column>
</el-table>
<span slot="footer" class="dialog-footer">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment