管理端代码优化
parent
ebb048f1a7
commit
1f02b45600
|
@ -4,10 +4,9 @@
|
||||||
<div>
|
<div>
|
||||||
<Card class="change-pass">
|
<Card class="change-pass">
|
||||||
<p slot="title">
|
<p slot="title">
|
||||||
<Icon type="key"></Icon>
|
|
||||||
修改密码
|
修改密码
|
||||||
</p>
|
</p>
|
||||||
<div>
|
<div class="mt_10">
|
||||||
<Form ref="editPasswordForm" :model="editPasswordForm" :label-width="100" label-position="right" :rules="passwordValidate" style="width:450px">
|
<Form ref="editPasswordForm" :model="editPasswordForm" :label-width="100" label-position="right" :rules="passwordValidate" style="width:450px">
|
||||||
<FormItem label="原密码" prop="oldPass">
|
<FormItem label="原密码" prop="oldPass">
|
||||||
<Input type="password" v-model="editPasswordForm.oldPassword" placeholder="请输入现在使用的密码"></Input>
|
<Input type="password" v-model="editPasswordForm.oldPassword" placeholder="请输入现在使用的密码"></Input>
|
||||||
|
@ -19,7 +18,7 @@
|
||||||
<Input type="password" v-model="editPasswordForm.rePassword" placeholder="请再次输入新密码"></Input>
|
<Input type="password" v-model="editPasswordForm.rePassword" placeholder="请再次输入新密码"></Input>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem>
|
<FormItem>
|
||||||
<Button type="primary" style="width: 100px;margin-right:5px" :loading="savePassLoading" @click="saveEditPass">保存
|
<Button type="primary" class="mr_10" :loading="savePassLoading" @click="saveEditPass">保存
|
||||||
</Button>
|
</Button>
|
||||||
<Button @click="cancelEditPass">取消</Button>
|
<Button @click="cancelEditPass">取消</Button>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
/>
|
/>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
<Button @click="handleSearch" class="search-btn" type="primary" icon="ios-search" >搜索</Button>
|
<Button @click="handleSearch" class="search-btn" type="primary" icon="ios-search">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
<Table
|
<Table
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
|
|
|
@ -302,8 +302,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-bar::-webkit-scrollbar {
|
.menu-bar::-webkit-scrollbar {
|
||||||
// width: 6px;
|
|
||||||
// height: 6px;
|
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,4 +328,4 @@
|
||||||
right: 4px;
|
right: 4px;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
|
@ -1,33 +1,32 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form
|
||||||
<Form
|
ref="searchForm"
|
||||||
ref="searchForm"
|
:model="searchForm"
|
||||||
:model="searchForm"
|
inline
|
||||||
inline
|
:label-width="70"
|
||||||
:label-width="70"
|
class="search-form"
|
||||||
class="search-form"
|
>
|
||||||
>
|
<Form-item label="会员名称" prop="memberName">
|
||||||
<Form-item label="会员名称" prop="memberName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.memberName"
|
||||||
v-model="searchForm.memberName"
|
placeholder="请输入会员名称"
|
||||||
placeholder="请输入会员名称"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="充值单号" prop="rechargeSn">
|
||||||
<Form-item label="充值单号" prop="rechargeSn">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.rechargeSn"
|
||||||
v-model="searchForm.rechargeSn"
|
placeholder="请输入充值单号"
|
||||||
placeholder="请输入充值单号"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="支付时间">
|
||||||
<Form-item label="支付时间">
|
|
||||||
<DatePicker
|
<DatePicker
|
||||||
v-model="selectDate"
|
v-model="selectDate"
|
||||||
type="datetimerange"
|
type="datetimerange"
|
||||||
|
@ -38,9 +37,8 @@
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
></DatePicker>
|
></DatePicker>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
|
||||||
<Table
|
<Table
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
border
|
border
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div>
|
||||||
<Card>
|
<Card>
|
||||||
<Form ref="searchForm" @keydown.enter.native="handleSearch" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form ref="searchForm" @keydown.enter.native="handleSearch" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form-item label="订单号" prop="orderSn">
|
<Form-item label="订单号" prop="orderSn">
|
||||||
|
@ -20,7 +20,6 @@
|
||||||
<Form-item label="下单时间">
|
<Form-item label="下单时间">
|
||||||
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 160px"></DatePicker>
|
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 160px"></DatePicker>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
|
||||||
<Form-item label="订单状态" prop="orderStatus">
|
<Form-item label="订单状态" prop="orderStatus">
|
||||||
<Select v-model="searchForm.orderStatus" placeholder="请选择" clearable style="width: 160px">
|
<Select v-model="searchForm.orderStatus" placeholder="请选择" clearable style="width: 160px">
|
||||||
<Option value="UNPAID">未付款</Option>
|
<Option value="UNPAID">未付款</Option>
|
||||||
|
@ -32,7 +31,7 @@
|
||||||
<Option value="CANCELLED">已取消</Option>
|
<Option value="CANCELLED">已取消</Option>
|
||||||
</Select>
|
</Select>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
<div>
|
<div>
|
||||||
<download-excel class="export-excel-wrapper" :data="data" :fields="fields" :fetch="exportOrder" name="商品订单.xls">
|
<download-excel class="export-excel-wrapper" :data="data" :fields="fields" :fetch="exportOrder" name="商品订单.xls">
|
||||||
|
|
|
@ -16,10 +16,11 @@
|
||||||
<Option v-for="item in statusList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
<Option v-for="item in statusList" :value="item.value" :key="item.value">{{ item.label }}</Option>
|
||||||
</Select>
|
</Select>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
|
||||||
<Form-item label="SKU编码">
|
<Form-item label="SKU编码">
|
||||||
<Input type="text" v-model="searchForm.skuId" placeholder="请输入SKU编码" clearable style="width: 200px" />
|
<Input type="text" v-model="searchForm.skuId" placeholder="请输入SKU编码" clearable style="width: 200px" />
|
||||||
</Form-item>
|
</Form-item>
|
||||||
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
|
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
</Row>
|
||||||
<Row class="operation padding-row">
|
<Row class="operation padding-row">
|
||||||
|
|
|
@ -21,9 +21,6 @@
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
</Row>
|
||||||
<!-- <Row class="operation padding-row">
|
|
||||||
<Button type="primary" @click="add">添加活动</Button>
|
|
||||||
</Row> -->
|
|
||||||
<Tabs value="list" class="mt_10" @on-click="clickTabPane">
|
<Tabs value="list" class="mt_10" @on-click="clickTabPane">
|
||||||
<TabPane label="秒杀活动列表" name="list">
|
<TabPane label="秒杀活动列表" name="list">
|
||||||
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10">
|
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10">
|
||||||
|
|
|
@ -1,19 +1,17 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="账单编号" prop="sn">
|
||||||
<Form-item label="账单编号" prop="sn">
|
<Input type="text" v-model="searchForm.sn" placeholder="请输入账单编号" clearable style="width: 200px" />
|
||||||
<Input type="text" v-model="searchForm.sn" placeholder="请输入账单编号" clearable style="width: 200px" />
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="出帐时间" prop="createTime">
|
||||||
<Form-item label="出帐时间" prop="createTime">
|
<DatePicker v-model="selectDate" type="daterange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px">
|
||||||
<DatePicker v-model="selectDate" type="daterange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px">
|
</DatePicker>
|
||||||
</DatePicker>
|
</Form-item>
|
||||||
</Form-item>
|
|
||||||
|
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
|
||||||
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10" @on-selection-change="changeSelect">
|
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10" @on-selection-change="changeSelect">
|
||||||
</Table>
|
</Table>
|
||||||
<Row type="flex" justify="end" class="mt_10">
|
<Row type="flex" justify="end" class="mt_10">
|
||||||
|
|
|
@ -1,26 +1,24 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="账单编号" prop="sn">
|
||||||
<Form-item label="账单编号" prop="sn">
|
<Input type="text" v-model="searchForm.sn" placeholder="请输入账单编号" clearable style="width: 200px" />
|
||||||
<Input type="text" v-model="searchForm.sn" placeholder="请输入账单编号" clearable style="width: 200px" />
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="出帐时间" prop="createTime">
|
||||||
<Form-item label="出帐时间" prop="createTime">
|
<DatePicker v-model="selectDate" type="daterange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px">
|
||||||
<DatePicker v-model="selectDate" type="daterange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px">
|
</DatePicker>
|
||||||
</DatePicker>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="筛选状态">
|
||||||
<Form-item label="筛选状态">
|
<Select v-model="searchForm.billStatus" style="width:160px">
|
||||||
<Select v-model="searchForm.billStatus" style="width:160px">
|
<Option value="">全部</Option>
|
||||||
<Option value="">全部</Option>
|
<Option value="OUT">已出账</Option>
|
||||||
<Option value="OUT">已出账</Option>
|
<Option value="CHECK">已核对</Option>
|
||||||
<Option value="CHECK">已核对</Option>
|
<Option value="COMPLETE">已完成</Option>
|
||||||
<Option value="COMPLETE">已完成</Option>
|
</Select>
|
||||||
</Select>
|
</Form-item>
|
||||||
</Form-item>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
</Form>
|
||||||
</Form>
|
|
||||||
</Row>
|
|
||||||
<Row class="operation padding-row">
|
<Row class="operation padding-row">
|
||||||
<Button @click="delAll">批量删除</Button>
|
<Button @click="delAll">批量删除</Button>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -1,32 +1,30 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="会员名称" prop="memberName">
|
||||||
<Form-item label="会员名称" prop="memberName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.memberName"
|
||||||
v-model="searchForm.memberName"
|
placeholder="请输入会员名称"
|
||||||
placeholder="请输入会员名称"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="店铺名称" prop="storeName">
|
||||||
<Form-item label="店铺名称" prop="storeName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.storeName"
|
||||||
v-model="searchForm.storeName"
|
placeholder="请输入店铺名称"
|
||||||
placeholder="请输入店铺名称"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="创建时间" prop="createTime">
|
||||||
<Form-item label="创建时间" prop="createTime">
|
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px"></DatePicker>
|
||||||
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px"></DatePicker>
|
</Form-item>
|
||||||
</Form-item>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
</Form>
|
||||||
</Form>
|
|
||||||
</Row>
|
|
||||||
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10"></Table>
|
<Table :loading="loading" border :columns="columns" :data="data" ref="table" class="mt_10"></Table>
|
||||||
<Row type="flex" justify="end" class="mt_10">
|
<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]"
|
<Page :current="searchForm.pageNumber" :total="total" :page-size="searchForm.pageSize" @on-change="changePage" @on-page-size-change="changePageSize" :page-size-opts="[10, 20, 50]"
|
||||||
|
|
|
@ -1,41 +1,39 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="会员名称" prop="memberName">
|
||||||
<Form-item label="会员名称" prop="memberName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.memberName"
|
||||||
v-model="searchForm.memberName"
|
placeholder="请输入会员名称"
|
||||||
placeholder="请输入会员名称"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="店铺名称" prop="storeName">
|
||||||
<Form-item label="店铺名称" prop="storeName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.storeName"
|
||||||
v-model="searchForm.storeName"
|
placeholder="请输入店铺名称"
|
||||||
placeholder="请输入店铺名称"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="店铺状态">
|
||||||
<Form-item label="店铺状态">
|
<Select v-model="searchForm.storeDisable" clearable style="width: 200px">
|
||||||
<Select v-model="searchForm.storeDisable" clearable style="width: 200px">
|
<Option value="OPEN">开启中</Option>
|
||||||
<Option value="OPEN">开启中</Option>
|
<Option value="CLOSED">已关闭</Option>
|
||||||
<Option value="CLOSED">已关闭</Option>
|
<Option value="APPLY">申请中</Option>
|
||||||
<Option value="APPLY">申请中</Option>
|
<Option value="APPLYING">审核中</Option>
|
||||||
<Option value="APPLYING">审核中</Option>
|
<Option value="REFUSED">审核拒绝</Option>
|
||||||
<Option value="REFUSED">审核拒绝</Option>
|
</Select>
|
||||||
</Select>
|
</Form-item>
|
||||||
</Form-item>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
<Form-item label="创建时间" prop="createTime">
|
||||||
<Form-item label="创建时间" prop="createTime">
|
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px"></DatePicker>
|
||||||
<DatePicker v-model="selectDate" type="datetimerange" format="yyyy-MM-dd HH:mm:ss" clearable @on-change="selectDateRange" placeholder="选择起始时间" style="width: 200px"></DatePicker>
|
</Form-item>
|
||||||
</Form-item>
|
</Form>
|
||||||
</Form>
|
|
||||||
</Row>
|
|
||||||
<Row class="operation padding-row">
|
<Row class="operation padding-row">
|
||||||
<Button @click="add" type="primary">添加</Button>
|
<Button @click="add" type="primary">添加</Button>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -1,22 +1,26 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form" @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form" @keydown.enter.native="handleSearch">
|
||||||
<Form-item label="系统类型" prop="orderSn">
|
<Form-item label="系统类型" prop="orderSn">
|
||||||
<Select v-model="searchForm.type" placeholder="请选择系统类型" clearable style="width: 200px">
|
<Select v-model="searchForm.type" placeholder="请选择系统类型" clearable style="width: 200px">
|
||||||
<Option value="IOS">苹果</Option>
|
<Option value="IOS">苹果</Option>
|
||||||
<Option value="ANDROID">安卓</Option>
|
<Option value="ANDROID">安卓</Option>
|
||||||
</Select>
|
</Select>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search">搜索</Button>
|
<Button @click="handleSearch" type="primary" icon="ios-search">搜索</Button>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
||||||
<Button class="mt_10 mb_10" @click="addAppVersion" type="primary">添加</Button>
|
<Button class="mt_10 mb_10" @click="addAppVersion" type="primary">添加</Button>
|
||||||
|
|
||||||
<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" sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect"></Table>
|
||||||
|
|
||||||
<Row type="flex" justify="end" class="mt_10">
|
<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]"
|
<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>
|
size="small" show-total show-elevator show-sizer></Page>
|
||||||
</Row>
|
</Row>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
<Modal :title="modalTitle" v-model="modalVisible" :mask-closable="false" :width="1000">
|
<Modal :title="modalTitle" v-model="modalVisible" :mask-closable="false" :width="1000">
|
||||||
<Form ref="form" :model="form" :label-width="100" :rules="formValidate">
|
<Form ref="form" :model="form" :label-width="100" :rules="formValidate">
|
||||||
<FormItem label="版本名称" prop="versionName">
|
<FormItem label="版本名称" prop="versionName">
|
||||||
|
|
|
@ -2,40 +2,38 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="搜索日志" prop="searchKey">
|
||||||
<Form-item label="搜索日志" prop="searchKey">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.searchKey"
|
||||||
v-model="searchForm.searchKey"
|
placeholder="请输入搜索日志内容"
|
||||||
placeholder="请输入搜索日志内容"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="操作人" prop="operatorName">
|
||||||
<Form-item label="操作人" prop="operatorName">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.operatorName"
|
||||||
v-model="searchForm.operatorName"
|
placeholder="请输入操作人"
|
||||||
placeholder="请输入操作人"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="创建时间">
|
||||||
<Form-item label="创建时间">
|
<DatePicker
|
||||||
<DatePicker
|
type="daterange"
|
||||||
type="daterange"
|
v-model="selectDate"
|
||||||
v-model="selectDate"
|
format="yyyy-MM-dd"
|
||||||
format="yyyy-MM-dd"
|
clearable
|
||||||
clearable
|
@on-change="selectDateRange"
|
||||||
@on-change="selectDateRange"
|
placeholder="选择起始时间"
|
||||||
placeholder="选择起始时间"
|
style="width: 200px"
|
||||||
style="width: 200px"
|
></DatePicker>
|
||||||
></DatePicker>
|
</Form-item>
|
||||||
</Form-item>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
</Form>
|
||||||
</Form>
|
|
||||||
</Row>
|
|
||||||
<Row class="operation padding-row">
|
<Row class="operation padding-row">
|
||||||
<Button @click="getLogList" icon="md-refresh">刷新</Button>
|
<Button @click="getLogList" icon="md-refresh">刷新</Button>
|
||||||
<Button type="dashed" @click="openTip=!openTip">{{openTip ? "关闭提示" : "开启提示"}}</Button>
|
<Button type="dashed" @click="openTip=!openTip">{{openTip ? "关闭提示" : "开启提示"}}</Button>
|
||||||
|
|
|
@ -6,48 +6,41 @@
|
||||||
<Tabs value="MESSAGE" @on-click="paneChange">
|
<Tabs value="MESSAGE" @on-click="paneChange">
|
||||||
|
|
||||||
<TabPane label="站内信列表" name="MESSAGE">
|
<TabPane label="站内信列表" name="MESSAGE">
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchMessageForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchMessageForm" inline :label-width="70" class="search-form">
|
<Form-item label="消息标题" prop="title">
|
||||||
<Form-item label="消息标题" prop="title">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchMessageForm.title"
|
||||||
v-model="searchMessageForm.title"
|
placeholder="请输入消息标题"
|
||||||
placeholder="请输入消息标题"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
|
||||||
|
|
||||||
<Form-item label="消息内容" prop="content">
|
<Form-item label="消息内容" prop="content">
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
v-model="searchMessageForm.content"
|
v-model="searchMessageForm.content"
|
||||||
placeholder="请输入消息内容"
|
placeholder="请输入消息内容"
|
||||||
clearable
|
clearable
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
/>
|
/>
|
||||||
</Form-item>
|
</Form-item>
|
||||||
|
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
|
|
||||||
</Form>
|
</Form>
|
||||||
</Row>
|
|
||||||
<Row class="operation" style="margin-top: 20px">
|
<Row class="operation" style="margin-top: 20px">
|
||||||
<Button @click="sendMessage" type="primary">发送消息</Button>
|
<Button @click="sendMessage" type="primary">发送消息</Button>
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Table
|
||||||
<Table
|
class="mr_10"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
border
|
border
|
||||||
:columns="messageColumns"
|
:columns="messageColumns"
|
||||||
:data="messageData"
|
:data="messageData"
|
||||||
ref="table"
|
></Table>
|
||||||
sortable="custom"
|
<Row type="flex" justify="end" class="mt_10 mb_10 mr_10">
|
||||||
@on-sort-change="messageChangeSort"
|
|
||||||
@on-selection-change="messageChangeSelect"
|
|
||||||
></Table>
|
|
||||||
</Row>
|
|
||||||
<Row type="flex" justify="end" class="mt_10 mb_10">
|
|
||||||
<Page
|
<Page
|
||||||
:current="searchMessageForm.pageNumber"
|
:current="searchMessageForm.pageNumber"
|
||||||
:total="messageDataTotal"
|
:total="messageDataTotal"
|
||||||
|
@ -64,16 +57,14 @@
|
||||||
</TabPane>
|
</TabPane>
|
||||||
|
|
||||||
<TabPane label="通知类站内信" name="SETTING">
|
<TabPane label="通知类站内信" name="SETTING">
|
||||||
<Row>
|
<Table
|
||||||
<Table
|
:loading="loading"
|
||||||
:loading="loading"
|
border
|
||||||
border
|
class="mr_10"
|
||||||
:columns="noticeColumns"
|
:columns="noticeColumns"
|
||||||
:data="noticeData"
|
:data="noticeData"
|
||||||
ref="table"
|
></Table>
|
||||||
></Table>
|
<Row type="flex" justify="end" class="mt_10 mr_10">
|
||||||
</Row>
|
|
||||||
<Row type="flex" justify="end" class="mt_10">
|
|
||||||
<Page
|
<Page
|
||||||
:current="searchForm.pageNumber"
|
:current="searchForm.pageNumber"
|
||||||
:total="noticeDataTotal"
|
:total="noticeDataTotal"
|
||||||
|
@ -193,8 +184,7 @@
|
||||||
<Button type="text" @click="messageModalVisible = false">取消</Button>
|
<Button type="text" @click="messageModalVisible = false">取消</Button>
|
||||||
<Button type="primary" :loading="submitLoading" @click="sendMessageSubmit"
|
<Button type="primary" :loading="submitLoading" @click="sendMessageSubmit"
|
||||||
>发送
|
>发送
|
||||||
</Button
|
</Button>
|
||||||
>
|
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
<TabPane label="基础设置" name="base">
|
<TabPane label="基础设置" name="base">
|
||||||
<div style="display:flex;position:relative">
|
<div style="display:flex;position:relative">
|
||||||
<Form
|
<Form
|
||||||
ref="baseForm"
|
ref="baseForm"
|
||||||
:model="base"
|
:model="base"
|
||||||
:label-width="140"
|
:label-width="140"
|
||||||
label-position="right"
|
label-position="right"
|
||||||
:rules="baseValidate"
|
:rules="baseValidate"
|
||||||
>
|
>
|
||||||
<FormItem label="网站名称" prop="siteName">
|
<FormItem label="网站名称" prop="siteName">
|
||||||
<Input type="text" v-model="base.siteName" placeholder="请输入网站名称" style="width: 350px"/>
|
<Input type="text" v-model="base.siteName" placeholder="请输入网站名称" style="width: 350px"/>
|
||||||
|
|
|
@ -1,33 +1,30 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<Card>
|
<Card>
|
||||||
<Row @keydown.enter.native="handleSearch">
|
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
||||||
<Form ref="searchForm" :model="searchForm" inline :label-width="70" class="search-form">
|
<Form-item label="用户名">
|
||||||
<Form-item label="用户名">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.username"
|
||||||
v-model="searchForm.username"
|
placeholder="请输入用户名"
|
||||||
placeholder="请输入用户名"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="联系方式">
|
||||||
<Form-item label="联系方式">
|
<Input
|
||||||
<Input
|
type="text"
|
||||||
type="text"
|
v-model="searchForm.mobile"
|
||||||
v-model="searchForm.mobile"
|
placeholder="请输入联系方式"
|
||||||
placeholder="请输入联系方式"
|
clearable
|
||||||
clearable
|
style="width: 200px"
|
||||||
style="width: 200px"
|
/>
|
||||||
/>
|
</Form-item>
|
||||||
</Form-item>
|
<Form-item label="部门">
|
||||||
|
<department-choose @on-change="handleSelectDep" style="width: 150px;" ref="dep"></department-choose>
|
||||||
<Form-item label="部门">
|
</Form-item>
|
||||||
<department-choose @on-change="handleSelectDep" style="width: 150px;" ref="dep"></department-choose>
|
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
||||||
</Form-item>
|
</Form>
|
||||||
<Button @click="handleSearch" type="primary" icon="ios-search" class="search-btn">搜索</Button>
|
|
||||||
</Form>
|
|
||||||
</Row>
|
|
||||||
<Row class="operation padding-row">
|
<Row class="operation padding-row">
|
||||||
<Button @click="add" type="primary">添加</Button>
|
<Button @click="add" type="primary">添加</Button>
|
||||||
<Button @click="delAll">批量删除</Button>
|
<Button @click="delAll">批量删除</Button>
|
||||||
|
|
Loading…
Reference in New Issue