物流公司switch切换无效,代码注释添加

master
mabo 2021-07-20 14:06:53 +08:00
parent 5062cad2b0
commit 0a248d89d5
74 changed files with 480 additions and 1060 deletions

View File

@ -196,4 +196,5 @@ $dark_content_color: #d5d5d5;
[data-theme="light"] & {
color: $light_title_color;
}
}
}
@import "./table-common.scss";

View File

@ -36,7 +36,7 @@ import { changePass } from "@/api/index";
export default {
name: "change-password",
components: {
SetPassword,
SetPassword
},
data() {
const valideRePassword = (rule, value, callback) => {
@ -94,9 +94,11 @@ export default {
};
},
methods: {
//
changeInputPass(v, grade, strength) {
this.strength = strength;
},
//
saveEditPass() {
let params = {
password: this.md5(this.editPasswordForm.oldPassword),
@ -125,6 +127,7 @@ export default {
}
});
},
//
cancelEditPass() {
this.$store.commit("removeTag", "change_password");
localStorage.pageOpenedList = JSON.stringify(
@ -141,8 +144,7 @@ export default {
name: lastPageName,
});
},
},
mounted() {},
}
};
</script>
<style lang="scss" scoped>

View File

@ -1,5 +1,5 @@
<template>
<div class="search">
<div>
<Card>
<Row @keydown.enter.native="handleSearch">
<Form
@ -46,11 +46,9 @@
:columns="columns"
:data="data"
ref="table"
sortable="custom"
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
class="mt_10"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -82,15 +80,12 @@ export default {
data() {
return {
distributionStatusList, //
openSearch: true, //
loading: true, //
searchForm: {
//
pageNumber: 1, //
pageSize: 10, //
},
selectList: [], //
selectCount: 0, //
columns: [
{
title: "会员名称",
@ -227,43 +222,30 @@ export default {
};
},
methods: {
//
init() {
this.getDataList();
},
see(v) {
this.$router.push({
name: "distributionOrder",
query: { id: v.memberId },
});
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
clearSelectAll() {
//
this.$refs.table.selectAll(false);
},
changeSelect(e) {
this.selectList = e;
this.selectCount = e.length;
},
//
getDataList() {
this.loading = true;
this.searchForm.status = "PASS";
//
getDistributionListData(this.searchForm).then((res) => {
this.loading = false;
if (res.success) {
@ -316,6 +298,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -1,5 +1,5 @@
<template>
<div class="search">
<div>
<Card>
<Row @keydown.enter.native="handleSearch">
<Form
@ -21,7 +21,6 @@
<Button
@click="handleSearch"
type="primary"
icon="ios-search"
class="search-btn"
>搜索</Button
>
@ -34,11 +33,8 @@
:columns="columns"
:data="data"
ref="table"
sortable="custom"
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -61,7 +57,6 @@ import { getDistributionListData, auditDistribution } from "@/api/distribution";
export default {
name: "distributionApply",
components: {},
data() {
return {
loading: true, //
@ -74,14 +69,6 @@ export default {
startDate: "", //
endDate: "", //
},
form: {
//
memberName: "",
},
//
submitLoading: false, //
selectList: [], //
selectCount: 0, //
columns: [
{
title: "会员名称",
@ -149,48 +136,31 @@ export default {
};
},
methods: {
//
init() {
this.getDataList();
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
this.searchForm.order = "";
}
this.getDataList();
},
clearSelectAll() {
this.$refs.table.selectAll(false);
},
changeSelect(e) {
this.selectList = e;
this.selectCount = e.length;
},
selectDateRange(v) {
if (v) {
this.searchForm.startDate = v[0];
this.searchForm.endDate = v[1];
}
},
//
getDataList() {
this.loading = true;
this.searchForm.distributionStatus = "APPLY";
//
getDistributionListData(this.searchForm).then((res) => {
this.loading = false;
if (res.success) {
@ -198,9 +168,6 @@ export default {
this.total = res.result.total;
}
});
//
//this.data = [
//];
this.total = this.data.length;
this.loading = false;
},
@ -235,6 +202,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -1,5 +1,5 @@
<template>
<div class="search">
<div>
<Card>
<Row @keydown.enter.native="handleSearch" >
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
@ -15,11 +15,11 @@
</Select>
</Form-item>
<Form-item style="margin-left:-35px;" class="br">
<Button @click="handleSearch" type="primary" icon="ios-search">搜索</Button>
<Button @click="handleSearch" type="primary">搜索</Button>
</Form-item>
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10"></Table>
<Row type="flex" justify="end" class="page padding-row">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10,20,50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -55,12 +55,9 @@ import {
getDistributionCash,
auditDistributionCash
} from "@/api/distribution";
// import { parse } from 'date-fns';
import {cashStatusList} from './dataJson'
export default {
name: "distributionCash",
components: {
},
data() {
return {
cashStatusList, //
@ -81,8 +78,6 @@ export default {
price: "",
},
submitLoading: false, //
selectList: [], //
selectCount: 0, //
columns: [
{
title: "编号",
@ -202,21 +197,12 @@ export default {
this.searchForm.pageSize = v;
this.getDataList();
},
//
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
//
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
this.searchForm.order = "";
}
this.getDataList();
},
//
getDataList() {
this.loading = true;
@ -231,6 +217,7 @@ export default {
this.total = this.data.length;
this.loading = false;
},
//
handleSubmit() {
let result = "拒绝"
if(this.result == 'PASS'){
@ -258,6 +245,7 @@ export default {
}
});
},
// modal
edit(v) {
this.modalTitle = "审核";
this.handleStatus = 'edit';
@ -271,6 +259,7 @@ export default {
this.form = JSON.parse(JSON.stringify(v));
this.modalVisible = true;
},
// modal
view(v){
this.modalTitle = "查看";
this.handleStatus = 'view';
@ -293,6 +282,3 @@ export default {
}
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -1,22 +1,20 @@
<template>
<div class="search">
<div>
<Card>
<Row @keydown.enter.native="handleSearch">
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
<Form-item label="商品名称" prop="goodsName">
<Input
type="text"
v-model="searchForm.goodsName"
placeholder="请输入商品名称"
clearable
style="width: 200px"
/>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
</Form>
</Row>
<Row class="operation" style="margin-top: 10px">
<Button @click="delAll"></Button>
<Form @keydown.enter.native="handleSearch" ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
<Form-item label="商品名称" prop="goodsName">
<Input
type="text"
v-model="searchForm.goodsName"
placeholder="请输入商品名称"
clearable
style="width: 200px"
/>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
</Form>
<Row class="operation" style="margin:10px 0;">
<Button @click="delAll" type="primary">批量下架</Button>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect">
<template slot="goodsName" slot-scope="{row}">
@ -33,7 +31,7 @@
</div>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10,20,50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
</Card>
@ -45,14 +43,10 @@ import {
getDistributionGoods,
delDistributionGoods
} from "@/api/distribution";
import {getShopListData} from '@/api/shops'
export default {
name: "distributionGoods",
components: {
},
data() {
return {
shopList:[], //
loading: true, //
searchForm: { //
pageNumber: 1, //
@ -161,50 +155,39 @@ export default {
};
},
methods: {
//
init() {
this.getDataList();
// this.getShopList()
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
handleReset() {
this.$refs.searchForm.resetFields();
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
//
this.init();
},
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
this.searchForm.order = "";
}
this.getDataList();
},
//
clearSelectAll() {
this.$refs.table.selectAll(false);
},
//
changeSelect(e) {
this.selectList = e;
this.selectCount = e.length;
},
//
getDataList() {
this.loading = true;
//
getDistributionGoods(this.searchForm).then(res => {
this.loading = false;
if (res.success) {
@ -215,68 +198,50 @@ export default {
this.total = this.data.length;
this.loading = false;
},
//
remove(v) {
this.$Modal.confirm({
title: "确认删除",
//
content: "您确认要删除么?",
title: "确认下架",
content: "您确认要下架么?",
loading: true,
onOk: () => {
//
//
delDistributionGoods(v.id).then(res => {
this.$Modal.remove();
if (res.success) {
this.$Message.success("删除成功");
this.$Message.success("下架成功");
this.getDataList();
}
});
}
});
},
//
delAll() {
if (this.selectCount <= 0) {
this.$Message.warning("您还未选择要删除的数据");
this.$Message.warning("您还未选择要下架的数据");
return;
}
this.$Modal.confirm({
title: "确认删除",
content: "您确认要删除所选的 " + this.selectCount + " 条数据?",
title: "确认下架",
content: "您确认要下架所选的 " + this.selectCount + " 条数据?",
loading: true,
onOk: () => {
let ids = []
this.selectList.forEach(item => {
ids.push(item.id)
});
//
//
delDistributionGoods(ids.toString()).then(res => {
this.$Modal.remove();
if (res.success) {
this.$Message.success("删除成功");
this.$Message.success("下架成功");
this.clearSelectAll();
this.getDataList();
}
});
}
});
},
getShopList(val){
const params = {
pageNumber:1,
pageSize:10,
storeName:''
}
if(val){
params.storeName = val;
}else {
params.storeName = ''
}
getShopListData(params).then(res => {
this.shopList = res.result.records
})
},
searchChange(val){
this.getShopList(val)
}
},
mounted() {
@ -284,7 +249,5 @@ export default {
}
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -1,40 +1,38 @@
<template>
<div class="search">
<div>
<Card>
<Row v-show="openSearch" @keydown.enter.native="handleSearch">
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
<Form-item label="订单编号" prop="orderSn">
<Input
type="text"
v-model="searchForm.orderSn"
placeholder="请输入订单编号"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="分销商" prop="distributionName">
<Input
type="text"
v-model="searchForm.distributionName"
placeholder="请输入分销商名称"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="店铺名称">
<Select v-model="searchForm.shopId" placeholder="请选择" @on-query-change="searchChange" filterable
clearable style="width: 150px">
<Option v-for="item in shopList" :value="item.id" :key="item.id">{{ item.storeName }}</Option>
</Select>
</Form-item>
<Form-item label="订单时间">
<DatePicker type="daterange" v-model="timeRange" format="yyyy-MM-dd" placeholder="选择时间"
style="width: 210px"></DatePicker>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom">
<Form ref="searchForm" @keydown.enter.native="handleSearch" :model="searchForm" inline :label-width="70" class="search-form">
<Form-item label="订单编号" prop="orderSn">
<Input
type="text"
v-model="searchForm.orderSn"
placeholder="请输入订单编号"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="分销商" prop="distributionName">
<Input
type="text"
v-model="searchForm.distributionName"
placeholder="请输入分销商名称"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="店铺名称">
<Select v-model="searchForm.shopId" placeholder="请选择" @on-query-change="searchChange" filterable
clearable style="width: 150px">
<Option v-for="item in shopList" :value="item.id" :key="item.id">{{ item.storeName }}</Option>
</Select>
</Form-item>
<Form-item label="订单时间">
<DatePicker type="daterange" v-model="timeRange" format="yyyy-MM-dd" placeholder="选择时间"
style="width: 210px"></DatePicker>
</Form-item>
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
</Form>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10">
<template slot-scope="{row}" slot="goodsMsg">
<div class="goods-msg">
<img :src="row.image" width="60" height="60" alt="">
@ -56,7 +54,7 @@
<Tag :color="filterStatusColor(row.distributionOrderStatus)">{{filterStatus(row.distributionOrderStatus)}}</Tag>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize"
@on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10,20,50]"
size="small" show-total show-elevator show-sizer></Page>
@ -81,8 +79,6 @@
orderStatusList, //
shopList: [], //
distributionId: this.$route.query.id, // id
openSearch: true, //
openTip: true, //
loading: true, //
searchForm: { //
pageNumber: 1, //
@ -154,24 +150,28 @@
};
},
methods: {
//
init() {
this.getDataList();
this.getShopList()
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
//
getDataList() {
this.searchForm.distributionId = this.distributionId;
this.loading = true;
@ -181,7 +181,6 @@
this.searchForm.startTime = this.$options.filters.unixToDate(startTime / 1000)
this.searchForm.endTime = this.$options.filters.unixToDate(endTime / 1000)
}
console.log(this.searchForm)
//
getDistributionOrder(this.searchForm).then(res => {
this.loading = false;
@ -194,7 +193,7 @@
this.total = this.data.length;
this.loading = false;
},
getShopList(val) { //
getShopList(val) { //
const params = {
pageNumber: 1,
pageSize: 10,
@ -253,8 +252,7 @@
}
};
</script>
<style lang="scss" >
@import "@/styles/table-common.scss";
<style lang="scss">
.goods-msg {
display: flex;
align-items: center;

View File

@ -1,7 +1,7 @@
<template>
<div style="background-color: #fff;">
<Form ref="form" :model="form" :label-width="120" :rules="formValidate" style="padding: 10px;">
<Form ref="form" :model="form" :label-width="120" style="padding: 10px;">
<Divider orientation="left">分销设置</Divider>
<FormItem label="是否开启分销" prop="distribution">
@ -25,49 +25,34 @@ import { setSetting, getSetting } from "@/api/index";
export default {
name: "distributionSetting",
components: {},
data() {
return {
loading: true, //
form: {
//
isOpen: "",
distributionDay: "", //
cashDay: "", //
},
//
formValidate: {},
submitLoading: false, //
selectList: [], //
selectCount: 0, //
data: [], //
total: 0, //
}
};
},
methods: {
init() {
this.getDataList();
},
//
getDataList() {
this.loading = true;
//
getSetting("DISTRIBUTION_SETTING").then((res) => {
this.loading = false;
if (res.success) {
this.form = res.result;
}
});
this.loading = false;
},
//
handleSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {
//
this.$options.filters.debounce(this.submit(), 1500);
}
});
this.$options.filters.debounce(this.submit(), 1500);
},
// api
submit() {
setSetting("DISTRIBUTION_SETTING", this.form).then((res) => {
if (res.success) {

View File

@ -22,9 +22,11 @@
export default {
name: "Error403",
methods: {
//
backPage() {
this.$router.go(-1);
},
//
goHome() {
this.$router.push({
name: "home_index",

View File

@ -1,91 +1,105 @@
<template>
<div class="error404">
<div class="error404-body-con">
<Card>
<div class="error404-body-con-title">4<span><Icon type="ios-navigate-outline"></Icon></span>4</div>
<p class="error404-body-con-message">YOU&nbsp;&nbsp;LOOK&nbsp;&nbsp;LOST</p>
<div class="error404-btn-con">
<Button @click="goHome" size="large" style="width: 200px;" type="text">返回首页</Button>
<Button @click="backPage" size="large" style="width: 200px;margin-left: 40px;" type="primary">返回上一页</Button>
</div>
</Card>
<div class="error404">
<div class="error404-body-con">
<Card>
<div class="error404-body-con-title">
4<span><Icon type="ios-navigate-outline"></Icon></span>4
</div>
<p class="error404-body-con-message">
YOU&nbsp;&nbsp;LOOK&nbsp;&nbsp;LOST
</p>
<div class="error404-btn-con">
<Button @click="goHome" size="large" style="width: 200px" type="text"
>返回首页</Button
>
<Button
@click="backPage"
size="large"
style="width: 200px; margin-left: 40px"
type="primary"
>返回上一页</Button
>
</div>
</Card>
</div>
</div>
</template>
<script>
export default {
name: 'Error404',
methods: {
backPage () {
this.$router.go(-1);
},
goHome () {
this.$router.push({
name: 'home_index'
});
}
}
name: "Error404",
methods: {
//
backPage() {
this.$router.go(-1);
},
//
goHome() {
this.$router.push({
name: "home_index",
});
},
},
};
</script>
<style lang="scss" scoped>
@keyframes error404animation {
0% {
transform: rotateZ(0deg);
}
20% {
transform: rotateZ(-60deg);
}
40% {
transform: rotateZ(-10deg);
}
60% {
transform: rotateZ(50deg);
}
80% {
transform: rotateZ(-20deg);
}
100% {
transform: rotateZ(0deg);
}
@keyframes error404animation {
0% {
transform: rotateZ(0deg);
}
20% {
transform: rotateZ(-60deg);
}
40% {
transform: rotateZ(-10deg);
}
60% {
transform: rotateZ(50deg);
}
80% {
transform: rotateZ(-20deg);
}
100% {
transform: rotateZ(0deg);
}
}
.error404{
&-body-con{
width: 700px;
height: 500px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
&-title{
text-align: center;
font-size: 240px;
font-weight: 700;
color: #2d8cf0;
height: 260px;
line-height: 260px;
margin-top: 40px;
span{
display: inline-block;
color: #19be6b;
font-size: 230px;
animation: error404animation 3s ease 0s infinite alternate;
}
}
&-message{
display: block;
text-align: center;
font-size: 30px;
font-weight: 500;
letter-spacing: 12px;
color: #dddde2;
}
.error404 {
&-body-con {
width: 700px;
height: 500px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
&-title {
text-align: center;
font-size: 240px;
font-weight: 700;
color: #2d8cf0;
height: 260px;
line-height: 260px;
margin-top: 40px;
span {
display: inline-block;
color: #19be6b;
font-size: 230px;
animation: error404animation 3s ease 0s infinite alternate;
}
}
&-btn-con{
text-align: center;
padding: 20px 0;
margin-bottom: 40px;
&-message {
display: block;
text-align: center;
font-size: 30px;
font-weight: 500;
letter-spacing: 12px;
color: #dddde2;
}
}
&-btn-con {
text-align: center;
padding: 20px 0;
margin-bottom: 40px;
}
}
</style>

View File

@ -1,107 +1,121 @@
<template>
<div class="error500">
<div class="error500-body-con">
<Card>
<div class="error500-body-con-title">
5<span class="error500-0-span"><Icon type="social-freebsd-devil"></Icon></span><span class="error500-0-span"><Icon type="social-freebsd-devil"></Icon></span>
</div>
<p class="error500-body-con-message">Oops! the server is wrong</p>
<div class="error500-btn-con">
<Button @click="goHome" size="large" style="width: 200px;" type="text">返回首页</Button>
<Button @click="backPage" size="large" style="width: 200px;margin-left: 40px;" type="primary">返回上一页</Button>
</div>
</Card>
<div class="error500">
<div class="error500-body-con">
<Card>
<div class="error500-body-con-title">
5<span class="error500-0-span"
><Icon type="social-freebsd-devil"></Icon></span
><span class="error500-0-span"
><Icon type="social-freebsd-devil"></Icon
></span>
</div>
<p class="error500-body-con-message">Oops! the server is wrong</p>
<div class="error500-btn-con">
<Button @click="goHome" size="large" style="width: 200px" type="text"
>返回首页</Button
>
<Button
@click="backPage"
size="large"
style="width: 200px; margin-left: 40px"
type="primary"
>返回上一页</Button
>
</div>
</Card>
</div>
</div>
</template>
<script>
export default {
name: 'Error500',
methods: {
backPage () {
this.$router.go(-1);
},
goHome () {
this.$router.push({
name: 'home_index'
});
}
}
name: "Error500",
methods: {
//
backPage() {
this.$router.go(-1);
},
//
goHome() {
this.$router.push({
name: "home_index",
});
},
},
};
</script>
<style lang="scss" scoped>
@keyframes error500animation {
0% {
transform: rotateZ(0deg);
}
20% {
transform: rotateZ(-10deg);
}
40% {
transform: rotateZ(5deg);
}
60% {
transform: rotateZ(-5deg);
}
80% {
transform: rotateZ(10deg);
}
100% {
transform: rotateZ(0deg);
}
@keyframes error500animation {
0% {
transform: rotateZ(0deg);
}
20% {
transform: rotateZ(-10deg);
}
40% {
transform: rotateZ(5deg);
}
60% {
transform: rotateZ(-5deg);
}
80% {
transform: rotateZ(10deg);
}
100% {
transform: rotateZ(0deg);
}
}
.error500{
&-body-con{
width: 700px;
height: 500px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
&-title{
text-align: center;
font-size: 240px;
font-weight: 700;
color: #2d8cf0;
height: 260px;
line-height: 260px;
margin-top: 40px;
.error500-0-span{
display: inline-block;
position: relative;
width: 170px;
height: 170px;
border-radius: 50%;
border: 20px solid #ed3f14;
color: #ed3f14;
margin-right: 10px;
i{
display: inline-block;
font-size: 120px;
position: absolute;
bottom: -10px;
left: 10px;
transform-origin: center bottom;
animation: error500animation 3s ease 0s infinite alternate;
}
}
}
&-message{
display: block;
text-align: center;
font-size: 30px;
font-weight: 500;
letter-spacing: 4px;
color: #dddde2;
.error500 {
&-body-con {
width: 700px;
height: 500px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
&-title {
text-align: center;
font-size: 240px;
font-weight: 700;
color: #2d8cf0;
height: 260px;
line-height: 260px;
margin-top: 40px;
.error500-0-span {
display: inline-block;
position: relative;
width: 170px;
height: 170px;
border-radius: 50%;
border: 20px solid #ed3f14;
color: #ed3f14;
margin-right: 10px;
i {
display: inline-block;
font-size: 120px;
position: absolute;
bottom: -10px;
left: 10px;
transform-origin: center bottom;
animation: error500animation 3s ease 0s infinite alternate;
}
}
}
&-btn-con{
text-align: center;
padding: 20px 0;
margin-bottom: 40px;
&-message {
display: block;
text-align: center;
font-size: 30px;
font-weight: 500;
letter-spacing: 4px;
color: #dddde2;
}
}
&-btn-con {
text-align: center;
padding: 20px 0;
margin-bottom: 40px;
}
}
</style>

View File

@ -17,7 +17,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -323,7 +323,3 @@ export default {
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -1,239 +0,0 @@
<template>
<Card>
<Form
label-position="left"
ref="searchForm"
:model="params"
inline
:label-width="100"
class="search-form"
>
<Form-item label="选择店铺" prop="sn">
<span class="tips" v-if="storeName"
>{{ storeName }}
<Button
@click="
() => {
storeName = '';
params.shopId = '';
}
"
type="text"
>清空</Button
>
</span>
<Button size="small" @click="handleClickShop" type="primary"
>选择店铺</Button
>
</Form-item>
<Form-item label="选择会员" prop="sn">
<span class="tips" v-if="memberName"
>{{ memberName }}
<Button
@click="
() => {
memberName = '';
params.memberId = '';
}
"
type="text"
>清空</Button
>
</span>
<Button size="small" @click="handleClickMember" type="primary"
>选择会员</Button
>
</Form-item>
<Form-item label="选择时间类型" prop="sn">
<Select v-model="params.timeType" style="width: 200px">
<Option
v-for="item in typeList"
:value="item.value"
:key="item.value"
>{{ item.label }}</Option
>
</Select>
</Form-item>
<Form-item label="按年查询" prop="sn">
<DatePicker
type="year"
placeholder="Select year"
style="width: 200px"
v-model="year"
></DatePicker>
</Form-item>
<Form-item label="按月查询" v-if="params.timeType == 'MONTH'">
<InputNumber :max="12" :min="1" v-model="params.month"></InputNumber>
</Form-item>
</Form>
<Tabs v-model="orderStatus" @on-click="handleClickType">
<TabPane label="行业订单数量" name="NUM">
<Table :columns="columns" :data="data"></Table>
</TabPane>
<TabPane label="行业订单金额" name="PRICE">
<Table :columns="columns" :data="data"></Table>
</TabPane>
</Tabs>
<Modal v-model="modalFlag" width="1200" :title="selectName">
<!-- 店铺 -->
<shopLayout v-if="shopFlag" @callback="callbackShop" ref="shops" />
<!-- 会员 -->
<memberLayout v-else @callback="callbackMember" ref="members" />
</Modal>
</Card>
</template>
<script>
import shopLayout from "@/views/seller/shop/shopList";
import memberLayout from "@/views/member/list/index";
import * as API_Goods from "@/api/goods";
export default {
components: {
shopLayout,
memberLayout,
},
data() {
return {
storeName: "", //
memberName: "", //
shopFlag: false, //
selectName: "选择", // modal
modalFlag: false, // modal
priceData: "", //
orderStatus: "NUM", // tab
shopList: {}, //
memberList: {}, //
typeList: [ //
{
value: "YEAR",
label: "年",
},
{
value: "MONTH",
label: "月",
},
],
total: 0, //
year:"", //
params: { //
type: "PRICE",
timeType: "YEAR",
pageNumber: 1,
pageSize: 10,
year: "",
shopId: "",
memberId: "",
},
columns: [ //
{
title: "商品一级分类",
key: "categoryName",
},
{
title: "销售数量",
key: "num",
},
{
title: "销售金额",
key: "price",
},
],
data: [], //
};
},
watch: {
params: {
handler(val) {
this.init();
},
deep: true,
},
year(val) {
this.params.year = new Date(val).getFullYear();
},
},
methods: {
//
handleClickShop() {
this.modalFlag = true;
this.selectName += "店铺";
this.shopFlag = true;
this.$nextTick(() => {
this.$refs.shops.selectedShop = true;
});
},
//
handleClickMember() {
this.modalFlag = true;
this.selectName += "会员";
this.$nextTick(() => {
this.$refs.members.selectedMember = true;
});
},
callbackMember(val) {
this.memberName = val.username;
this.params.memberId = val.id;
this.modalFlag = false;
},
callbackShop(val) {
this.storeName = val.storeName;
this.params.shopId = val.id;
this.modalFlag = false;
},
//
changePage(index) {
this.params.pageNumber = index;
},
handleClickType(name) {
this.params.type = name;
},
init(name) {
Promise.all([
API_Goods.goodsCategoryStatistics(this.params),
]).then((res) => {
if (res[0].result) {
this.data = res[0].result;
}
});
},
},
mounted() {
let data = new Date();
this.year = data;
this.year && this.params.month
? this.timeType == "MONTH"
: this.timeType == "YEAR";
},
};
</script>
<style scoped lang="scss">
.page-col {
text-align: right;
margin: 10px 0;
}
.order-col {
display: flex;
> div {
margin-right: 8px;
padding: 16px;
font-size: 15px;
}
}
.order-list {
display: flex;
}
.tips {
margin: 0 8px;
}
</style>

View File

@ -1,63 +1,59 @@
<template>
<div class="search">
<Card>
<Row @keydown.enter.native="handleSearch">
<Form
ref="searchForm"
:model="searchForm"
inline
:label-width="70"
class="search-form"
>
<Form-item label="商品名称" prop="goodsName">
<Input
type="text"
v-model="searchForm.goodsName"
placeholder="请输入商品名称"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="商品编号" prop="sn">
<Input
type="text"
v-model="searchForm.sn"
placeholder="请输入商品编号"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="状态" prop="status">
<Select
v-model="searchForm.marketEnable"
placeholder="请选择"
clearable
style="width: 200px"
>
<Option value="UPPER">上架</Option>
<Option value="DOWN">下架</Option>
</Select>
</Form-item>
<Form-item label="商品类型" prop="status">
<Select v-model="searchForm.goodsType" placeholder="请选择" clearable style="width: 200px">
<Option value="PHYSICAL_GOODS">实物商品</Option>
<Option value="VIRTUAL_GOODS">虚拟商品</Option>
</Select>
</Form-item>
<Button @click="handleSearch" class="search-btn" type="primary" icon="ios-search" >搜索</Button>
</Form>
</Row>
<Form
ref="searchForm"
:model="searchForm"
inline
:label-width="70"
class="search-form"
@keydown.enter.native="handleSearch"
>
<Form-item label="商品名称" prop="goodsName">
<Input
type="text"
v-model="searchForm.goodsName"
placeholder="请输入商品名称"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="商品编号" prop="sn">
<Input
type="text"
v-model="searchForm.sn"
placeholder="请输入商品编号"
clearable
style="width: 200px"
/>
</Form-item>
<Form-item label="状态" prop="status">
<Select
v-model="searchForm.marketEnable"
placeholder="请选择"
clearable
style="width: 200px"
>
<Option value="UPPER">上架</Option>
<Option value="DOWN">下架</Option>
</Select>
</Form-item>
<Form-item label="商品类型" prop="status">
<Select v-model="searchForm.goodsType" placeholder="请选择" clearable style="width: 200px">
<Option value="PHYSICAL_GOODS">实物商品</Option>
<Option value="VIRTUAL_GOODS">虚拟商品</Option>
</Select>
</Form-item>
<Button @click="handleSearch" class="search-btn" type="primary" icon="ios-search" >搜索</Button>
</Form>
<Table
:loading="loading"
border
:columns="columns"
:data="data"
ref="table"
sortable="custom"
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
class="mt_10"
>
<!-- 商品栏目格式化 -->
<template slot="goodsSlot" slot-scope="{row}">
<div style="margin: 5px 0px;height: 80px; display: flex;">
@ -80,7 +76,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -96,7 +92,7 @@
</Row>
</Card>
<Modal
:title="modalTitle"
title="下架操作"
v-model="modalVisible"
:mask-closable="false"
:width="500"
@ -124,14 +120,11 @@
import { getGoodsListData, upGoods, lowGoods } from "@/api/goods";
export default {
name: "goods",
components: {},
data() {
return {
id: "", //id
loading: true, //
modalType: 0, //
modalVisible: false, //
modalTitle: "", //
searchForm: {
//
pageNumber: 1, //
@ -143,8 +136,6 @@ export default {
reason: "",
},
submitLoading: false, //
selectList: [], //
selectCount: 0, //
columns: [
{
title: "商品名称",
@ -310,41 +301,29 @@ export default {
};
},
methods: {
//
init() {
this.getDataList();
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
this.searchForm.order = "";
}
this.getDataList();
},
clearSelectAll() {
this.$refs.table.selectAll(false);
},
changeSelect(e) {
this.selectList = e;
this.selectCount = e.length;
},
//
getDataList() {
this.loading = true;
//
getGoodsListData(this.searchForm).then((res) => {
this.loading = false;
if (res.records) {
@ -353,16 +332,15 @@ export default {
}
});
},
//
edit(v) {
this.id = v.id;
if (v.underMessage != "{}") {
this.underForm.reason = v.underMessage;
}
this.modalType = 1;
this.modalTitle = "下架操作";
this.modalVisible = true;
},
//
lower() {
lowGoods(this.id, this.underForm).then((res) => {
this.$Modal.remove();
@ -373,6 +351,7 @@ export default {
}
});
},
//
upper(v) {
this.$Modal.confirm({
title: "确认上架",
@ -397,14 +376,10 @@ export default {
name: "goods-detail",
query: { id: id },
});
},
}
},
mounted() {
this.init();
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -57,7 +57,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -328,6 +328,4 @@
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -1,6 +1,3 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -17,7 +14,7 @@
<Button @click="add" type="primary">添加</Button>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>

View File

@ -476,7 +476,6 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
.wrapper {
width: 100%;
height: 100%;

View File

@ -37,7 +37,7 @@
@on-selection-change="changeSelect"
>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -372,6 +372,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -22,7 +22,7 @@
</i-switch>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage"
@on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
@ -351,5 +351,4 @@ export default {
</script>
<style lang="scss" scoped>
@import "./index.scss";
@import "@/styles/table-common.scss";
</style>

View File

@ -22,7 +22,7 @@
<Table height="350" border tooltip :loading="loading" :columns="activeColumns" :data="showPromotionList"></Table>
<Page @on-change="(val) => {params.pageNumber = val; } " :current="params.pageNumber" :page-size="params.pageSize" class="page" :total="totals" size="small" show-elevator />
<Page @on-change="(val) => {params.pageNumber = val; } " :current="params.pageNumber" :page-size="params.pageSize" class="mt_10" :total="totals" size="small" show-elevator />
</div>

View File

@ -1,7 +1,6 @@
<template>
<div class="search">
<Card>
<Row @keydown.enter.native="handleSearch"></Row>
<Row class="operation padding-row">
<Button @click="add" type="primary">添加</Button>
</Row>
@ -16,14 +15,14 @@
@on-selection-change="changeSelect"
>
<!-- 页面展示 -->
<template slot="disableSlot" slot-scope="scope">
<i-switch size="large" v-model="scope.row.disabled == 'OPEN'?true:false" @on-change="changeSwitch(scope.row)">
<span slot="open">展示</span>
<span slot="close">隐藏</span>
<template slot="disableSlot" slot-scope="{row}">
<i-switch size="large" :value="row.switch" @on-change="changeSwitch(row)">
<span slot="open">开启</span>
<span slot="close">禁用</span>
</i-switch>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -87,12 +86,9 @@
} from "@/api/logistics";
export default {
name: "bill",
components: {},
name: "logistics",
data() {
return {
openSearch: true, //
openTip: true, //
loading: true, //
modalType: 0, //
modalVisible: false, //
@ -120,15 +116,7 @@
],
},
submitLoading: false, //
selectList: [], //
selectCount: 0, //
columns: [
//
{
type: "selection",
width: 60,
align: "center",
},
{
title: "物流公司名称",
key: "name",
@ -146,14 +134,6 @@
key: "disabled",
width: 150,
slot: "disableSlot",
/*render(h, params) {
return h("Badge", {
props: {
status: params.row.disabled == 'OPEN' ? "success" : "error",
text: params.row.disabled == 'OPEN' ? "开启" : "禁用",
},
});
},*/
},
{
title: "创建时间",
@ -213,59 +193,53 @@
};
},
methods: {
//
init() {
this.getDataList();
},
//
changePage(v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//
changePageSize(v) {
this.searchForm.pageSize = v;
this.getDataList();
},
handleSearch() {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
handleReset() {
this.$refs.searchForm.resetFields();
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
//
this.getDataList();
},
changeSort(e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
this.searchForm.order = "";
}
this.getDataList();
},
clearSelectAll() {
this.$refs.table.selectAll(false);
},
changeSelect(e) {
this.selectList = e;
this.selectCount = e.length;
},
//
getDataList() {
this.loading = true;
getLogisticsPage(this.searchForm).then((res) => {
this.loading = false;
if (res.success) {
this.data = res.result.records;
const data = res.result.records;
data.forEach(e => {
e.switch = e.disabled === 'OPEN' ? true : false
});
this.data = data;
this.total = res.result.total;
}
});
this.total = this.data.length;
this.loading = false;
},
// switch
changeSwitch (v) {
this.form.name = v.name;
this.form.code = v.code;
this.form.standBy = v.standBy;
this.form.formItems = v.formItems;
this.form.disabled = v.disabled === 'CLOSE' ? 'OPEN' : 'CLOSE';
updateLogistics(v.id, this.form).then((res) => {
if (res.success) {
this.$Message.success("操作成功");
this.getDataList();
}
});
},
//
handleSubmit() {
this.$refs.form.validate((valid) => {
if (valid) {
@ -300,6 +274,7 @@
}
});
},
//
add() {
this.modalType = 0;
this.modalTitle = "添加";
@ -308,6 +283,7 @@
this.modalVisible = true;
},
//
detail(v) {
this.modalType = 1;
this.id = v.id;
@ -323,6 +299,7 @@
? (this.form.disabled = true)
: (this.form.disabled = false);
},
//
remove(v) {
this.$Modal.confirm({
title: "确认删除",
@ -347,7 +324,3 @@
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -51,7 +51,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -235,9 +235,4 @@
this.init();
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>
</script>

View File

@ -14,7 +14,7 @@
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -188,7 +188,3 @@ export default {
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -23,7 +23,7 @@
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>
@ -337,7 +337,4 @@ export default {
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -23,7 +23,7 @@
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect">
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>
@ -530,7 +530,6 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
/deep/ .ivu-table-wrapper {
width: 100%;
}

View File

@ -89,7 +89,7 @@
>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="pointSearchForm.pageNumber"
:total="pointTotal"
@ -177,7 +177,7 @@
>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="orderSearchForm.pageNumber"
:total="orderTotal"
@ -208,7 +208,7 @@
>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="addressSearchForm.pageNumber"
:total="addressTotal"
@ -254,7 +254,7 @@
>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="walletSearchForm.pageNumber"
:total="walletTotal"
@ -300,7 +300,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="receiptRecordSearchForm.pageNumber"
:total="receiptRecordTotal"
@ -1151,7 +1151,5 @@
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
@import "memberDetail.scss";
</style>

View File

@ -43,7 +43,7 @@
@on-selection-change="changeSelect"
>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -486,8 +486,6 @@
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
.face {
width: 60px;
height: 60px;

View File

@ -1,6 +1,4 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div>
<!--短信-->
@ -111,7 +109,7 @@
@on-selection-change="showSelect"
ref="memberTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -153,7 +151,7 @@
@on-selection-change="showSelect"
ref="shopTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -197,7 +195,7 @@
@on-selection-change="showSelect"
ref="weChatTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="weChatSearchForm.pageNumber"
:total="weChatTotal"
@ -240,7 +238,7 @@
@on-selection-change="showSelect"
ref="otherTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -1,6 +1,3 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -85,7 +82,7 @@
@on-selection-change="showSelect"
ref="table"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -1,6 +1,3 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -51,7 +48,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="pageNumber"
:total="total"

View File

@ -1,6 +1,3 @@
<style lang="less">
@import "@/styles/table-common.scss";
</style>
<template>
<div>
<!--微信模板-->
@ -53,7 +50,7 @@
:data="weChatData"
ref="weChatTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="weChatSearchForm.pageNumber"
:total="weChatTotal"
@ -83,7 +80,7 @@
sortable="custom"
ref="weChatMPTable"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="weChatMPSearchForm.pageNumber"
:total="weChatMPTotal"

View File

@ -82,7 +82,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -368,25 +368,3 @@ export default {
},
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.search {
.operation {
margin-bottom: 2vh;
}
.select-count {
font-weight: 600;
color: #40a9ff;
}
.select-clear {
margin-left: 10px;
}
.page {
margin-top: 2vh;
}
.drop-down {
margin-left: 5px;
}
}
</style>

View File

@ -33,7 +33,7 @@
@on-selection-change="changeSelect"
>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -195,8 +195,6 @@
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
.face {
width: 60px;
height: 60px;

View File

@ -20,7 +20,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -53,7 +53,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -86,7 +86,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -120,7 +120,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -105,7 +105,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -370,7 +370,3 @@
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -54,7 +54,7 @@
</Poptip>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -345,7 +345,3 @@
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -28,7 +28,7 @@
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -192,7 +192,4 @@ export default {
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -21,7 +21,7 @@
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom"
@on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize"
@on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
@ -175,7 +175,4 @@ export default {
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -57,7 +57,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -310,7 +310,3 @@
},
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
</style>

View File

@ -700,8 +700,6 @@ export default {
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.order-log-div {
line-height: 30px;
height: 500px;

View File

@ -43,7 +43,7 @@
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>
@ -294,8 +294,6 @@ export default {
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
.export {
margin: 10px 20px 10px 0;
}

View File

@ -74,7 +74,7 @@
@click="$router.push({name: 'order-detail',query: {sn: scope.row.orderSn}})">{{scope.row.orderSn}}</a>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -32,7 +32,7 @@
</i-switch>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator>
@ -458,6 +458,3 @@ export default {
},
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
</style>

View File

@ -1,6 +1,4 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -14,7 +12,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="pageNumber"
:total="total"

View File

@ -25,7 +25,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -488,8 +488,6 @@ export default {
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.search {
.operation {
margin-bottom: 2vh;

View File

@ -25,7 +25,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -488,8 +488,6 @@ export default {
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.search {
.operation {
margin-bottom: 2vh;

View File

@ -25,7 +25,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -472,25 +472,3 @@ export default {
},
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.search {
.operation {
margin-bottom: 2vh;
}
.select-count {
font-weight: 600;
color: #40a9ff;
}
.select-clear {
margin-left: 10px;
}
.page {
margin-top: 2vh;
}
.drop-down {
margin-left: 5px;
}
}
</style>

View File

@ -15,7 +15,7 @@
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom"
@on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize"
@on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10,20,50]"
size="small" show-total show-elevator show-sizer></Page>
@ -437,25 +437,3 @@
}
};
</script>
<style lang="scss">
//
// @import "@/styles/table-common.scss";
.search {
.operation {
margin-bottom: 2vh;
}
.select-count {
font-weight: 600;
color: #40a9ff;
}
.select-clear {
margin-left: 10px;
}
.page {
margin-top: 2vh;
}
.drop-down {
margin-left: 5px;
}
}
</style>

View File

@ -30,7 +30,7 @@
</Button>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>
@ -394,6 +394,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -73,7 +73,7 @@
<h4>适用品类范围</h4>
<div>
<Table :loading="loading" border :columns="columns1" :data="data1" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>

View File

@ -16,7 +16,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber + 1" :total="total" :page-size="searchForm.pageSize"
@on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
@ -236,6 +236,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -216,7 +216,3 @@ export default {
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -10,7 +10,7 @@
</Tabs>
<Table :columns="liveColumns" :data="liveData"></Table>
<Row type="flex" style="margin:20px;" justify="end" class="page">
<Row type="flex" style="margin:20px;" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePageNumber" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -237,7 +237,6 @@ export default {
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
.btns {
margin-bottom: 10px;
margin-top: 10px;

View File

@ -71,7 +71,7 @@
</Button>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber + 1"
:total="total"
@ -237,7 +237,6 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
.ivu-form-item{
margin-bottom: 0 !important;
}

View File

@ -59,7 +59,7 @@
<Button type="error" size="small" @click="close(row.id)"></Button>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]" size="small"
show-total show-elevator show-sizer></Page>
</Row>
@ -265,6 +265,3 @@ export default {
},
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
</style>

View File

@ -26,7 +26,7 @@
</Row>
<Tabs value="list" @on-click="clickTabPane">
<TabPane label="秒杀活动列表" name="list">
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="page">
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10">
<template slot-scope="{ row }" slot="action">
<Button type="info" size="small" class="mr_5" v-if="row.promotionStatus == 'NEW'" @click="edit(row)"></Button>
@ -42,7 +42,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page style="margin: 20px 0;" :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize"
:page-size-opts="[10, 20, 50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -230,7 +230,6 @@ export default {
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
.mr_5 {
margin: 0 5px;
}

View File

@ -106,7 +106,7 @@
>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber + 1"
:total="total"

View File

@ -16,7 +16,7 @@
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect">
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -214,8 +214,6 @@ export default {
};
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
/deep/ .ivu-col {
min-height: 100vh;
}

View File

@ -55,7 +55,7 @@
:data="order"
ref="table"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="orderParam.pageNumber"
:total="orderTotal"
@ -78,7 +78,7 @@
:data="refund"
ref="table"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="refundParam.pageNumber"
:total="refundTotal"

View File

@ -26,7 +26,7 @@
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-selection-change="changeSelect">
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -256,7 +256,3 @@ export default {
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -28,7 +28,7 @@
</Form>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -395,7 +395,3 @@
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -263,7 +263,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="orderSearchForm.pageNumber"
:total="orderTotal"
@ -386,7 +386,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="refundGoodsOrderSearchForm.pageNumber"
:total="refundGoodsOrderTotal"
@ -509,7 +509,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page" style="margin-top: 10px">
<Row type="flex" justify="end" class="mt_10" style="margin-top: 10px">
<Page
:current="refundOrderSearchForm.pageNumber"
:total="refundOrderTotal"
@ -1006,7 +1006,5 @@
};
</script>
<style lang="scss" scoped>
@import "@/styles/table-common.scss";
@import "shopDetail.scss";
</style>

View File

@ -40,7 +40,7 @@
<Button @click="add" type="primary">添加</Button>
</Row>
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -448,7 +448,3 @@ export default {
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -15,7 +15,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -321,8 +321,3 @@ export default {
},
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>

View File

@ -155,7 +155,7 @@
<Table stripe :columns="columns" :data="data"></Table>
</div>
<Page @on-change="(index)=>{refundParams.pageNumber = index}" @on-page-size-change="(size)=>{refundParams.pageSize= size}" class="page" show-total show-elevator :total="total" />
<Page @on-change="(index)=>{refundParams.pageNumber = index}" @on-page-size-change="(size)=>{refundParams.pageSize= size}" class="mt_10" show-total show-elevator :total="total" />
</div>

View File

@ -20,7 +20,7 @@
<Row class="padding-row">
<Table :loading="loading" border :columns="columns" :data="data" ref="table" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
</Row>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -411,6 +411,4 @@ export default {
.search-form {
width: 100%;
}
//
@import "@/styles/table-common.scss";
</style>

View File

@ -1,6 +1,4 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -77,7 +75,7 @@
>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -47,7 +47,7 @@
@on-selection-change="messageChangeSelect"
></Table>
</Row>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchMessageForm.pageNumber"
:total="messageDataTotal"
@ -76,7 +76,7 @@
@on-selection-change="changeSelect"
></Table>
</Row>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="noticeDataTotal"
@ -246,7 +246,7 @@
@on-sort-change="shopMessageChangeSort"
></Table>
</Row>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchShopMessageForm.pageNumber"
:total="shopMessageDataTotal"
@ -273,7 +273,7 @@
@on-sort-change="memberMessageChangeSort"
></Table>
</Row>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchMemberMessageForm.pageNumber"
:total="memberMessageDataTotal"
@ -1064,6 +1064,5 @@
};
</script>
<style lang="scss">
@import "@/styles/table-common.scss";
@import "sms.scss";
</style>

View File

@ -9,7 +9,7 @@
<Table :loading="loading" border :columns="smsColumns" :data="smsData" ref="table" sortable="custom" @on-sort-change="templateChangeSort">
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="smsSearchForm.pageNumber" :total="smsTotal" :page-size="smsSearchForm.pageSize" @on-change="smsChangePage" @on-page-size-change="smsChangePageSize"
:page-size-opts="[10, 20, 50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -21,7 +21,7 @@
</Row>
<Table :loading="loading" border :columns="templateColumns" :data="templateData" ref="table" sortable="custom" @on-sort-change="smsChangeSort">
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="templateSearchForm.pageNumber" :total="templateTotal" :page-size="templateSearchForm.pageSize" @on-change="templateChangePage"
@on-page-size-change="templateChangePageSize" :page-size-opts="[10, 20, 50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -48,7 +48,7 @@
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page :current="signSearchForm.pageNumber" :total="signTotal" :page-size="signSearchForm.pageSize" @on-change="signChangePage" @on-page-size-change="signChangePageSize"
:page-size-opts="[10, 20, 50]" size="small" show-total show-elevator show-sizer></Page>
</Row>
@ -900,8 +900,6 @@ export default {
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
@import "sms.scss";
.split {

View File

@ -164,8 +164,6 @@
</script>
<style lang="scss" scoped>
//
@import "@/styles/table-common.scss";
.sign-name {
margin-top: 5px;

View File

@ -1,5 +1,4 @@
<style lang="scss">
@import "@/styles/table-common.scss";
@import "./ossManage.scss";
</style>
<template>
@ -166,7 +165,7 @@
</Card>
</div>
</div>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -1,5 +1,4 @@
<style lang="scss">
@import "@/styles/table-common.scss";
@import "./roleManage.scss";
</style>
<template>
@ -19,7 +18,7 @@
@on-sort-change="changeSort"
@on-selection-change="changeSelect"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="pageNumber"
:total="total"

View File

@ -24,7 +24,7 @@
</div>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -62,7 +62,7 @@
</div>
</template>
</Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"

View File

@ -1,6 +1,3 @@
<style lang="scss">
@import "@/styles/table-common.scss";
</style>
<template>
<div class="search">
<Card>
@ -53,7 +50,7 @@
@on-selection-change="showSelect"
ref="table"
></Table>
<Row type="flex" justify="end" class="page">
<Row type="flex" justify="end" class="mt_10">
<Page
:current="searchForm.pageNumber"
:total="total"
@ -629,8 +626,3 @@ export default {
}
};
</script>
<style lang="scss">
//
@import "@/styles/table-common.scss";
</style>