8.31首页筛选优化以及系统日志筛选优化
This commit is contained in:
parent
54c02ce23c
commit
2608f4c1d6
@ -1 +1 @@
|
||||
#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loss[data-v-091c644d]{position:relative}.table[data-v-091c644d]{margin-top:40px;position:relative}.btn[data-v-091c644d]{float:right}[data-v-091c644d] .cell{display:flex;align-items:center}.commodityimg[data-v-091c644d]{width:59px;height:59px;background:hsla(0,0%,89%,.39);opacity:1;display:block;margin-right:12px}.Img[data-v-091c644d]{width:100%;height:100%}.confirmbtn[data-v-091c644d]{width:114px;height:44px;border-radius:3px;margin-top:21px;margin-bottom:8px}.import-right[data-v-091c644d]{margin-top:30px}.import-right a[data-v-091c644d]{text-decoration:none;color:#000}[data-v-091c644d] .btn11{padding:0;width:14px;height:14px}[data-v-091c644d] .btn11 img{width:100%;height:100%}.page[data-v-091c644d]{margin-top:20px}
|
||||
#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loss[data-v-60f77afd]{position:relative}.table[data-v-60f77afd]{margin-top:40px;position:relative}.btn[data-v-60f77afd]{float:right}[data-v-60f77afd] .cell{display:flex;align-items:center}.commodityimg[data-v-60f77afd]{width:59px;height:59px;background:hsla(0,0%,89%,.39);opacity:1;display:block;margin-right:12px}.Img[data-v-60f77afd]{width:100%;height:100%}.confirmbtn[data-v-60f77afd]{width:114px;height:44px;border-radius:3px;margin-top:21px;margin-bottom:8px}.import-right[data-v-60f77afd]{margin-top:30px}.import-right a[data-v-60f77afd]{text-decoration:none;color:#000}[data-v-60f77afd] .btn11{padding:0;width:14px;height:14px}[data-v-60f77afd] .btn11 img{width:100%;height:100%}.page[data-v-60f77afd]{margin-top:20px}
|
||||
2
public/dist/index.html
vendored
2
public/dist/index.html
vendored
@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>erp</title><link href="css/chunk-01b147f1.cec86515.css" rel="prefetch"><link href="css/chunk-046929c6.0080a3bb.css" rel="prefetch"><link href="css/chunk-0ab08886.0080a3bb.css" rel="prefetch"><link href="css/chunk-19797d59.4a709612.css" rel="prefetch"><link href="css/chunk-1c56d4e4.a81ac70a.css" rel="prefetch"><link href="css/chunk-2a2235b7.1a0ea8f6.css" rel="prefetch"><link href="css/chunk-3bcfd210.9c27e2c9.css" rel="prefetch"><link href="css/chunk-4546fe72.3bcd502b.css" rel="prefetch"><link href="css/chunk-5e1711e0.d4b94e52.css" rel="prefetch"><link href="css/chunk-7c135f6b.b66e0a3d.css" rel="prefetch"><link href="css/chunk-af147af4.34fd631a.css" rel="prefetch"><link href="js/chunk-01b147f1.411ddf4a.js" rel="prefetch"><link href="js/chunk-046929c6.45cea179.js" rel="prefetch"><link href="js/chunk-0ab08886.47a1307b.js" rel="prefetch"><link href="js/chunk-19797d59.521ebbb8.js" rel="prefetch"><link href="js/chunk-1c56d4e4.ceee754d.js" rel="prefetch"><link href="js/chunk-2a2235b7.b4b58aba.js" rel="prefetch"><link href="js/chunk-3bcfd210.374395ff.js" rel="prefetch"><link href="js/chunk-4546fe72.955bc949.js" rel="prefetch"><link href="js/chunk-5e1711e0.4eafce54.js" rel="prefetch"><link href="js/chunk-7c135f6b.7b5f30c1.js" rel="prefetch"><link href="js/chunk-af147af4.2c39028d.js" rel="prefetch"><link href="css/app.62fa08a2.css" rel="preload" as="style"><link href="css/chunk-vendors.a6a7f90c.css" rel="preload" as="style"><link href="js/app.b18c812e.js" rel="preload" as="script"><link href="js/chunk-vendors.dc4080e5.js" rel="preload" as="script"><link href="css/chunk-vendors.a6a7f90c.css" rel="stylesheet"><link href="css/app.62fa08a2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but erp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.dc4080e5.js"></script><script src="js/app.b18c812e.js"></script></body></html>
|
||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="favicon.ico"><title>erp</title><link href="css/chunk-01b147f1.cec86515.css" rel="prefetch"><link href="css/chunk-0ab08886.0080a3bb.css" rel="prefetch"><link href="css/chunk-19797d59.4a709612.css" rel="prefetch"><link href="css/chunk-1c56d4e4.a81ac70a.css" rel="prefetch"><link href="css/chunk-2a2235b7.1a0ea8f6.css" rel="prefetch"><link href="css/chunk-33e29a08.9142830e.css" rel="prefetch"><link href="css/chunk-3bcfd210.9c27e2c9.css" rel="prefetch"><link href="css/chunk-4546fe72.3bcd502b.css" rel="prefetch"><link href="css/chunk-49bc9534.0080a3bb.css" rel="prefetch"><link href="css/chunk-5e1711e0.d4b94e52.css" rel="prefetch"><link href="css/chunk-7c135f6b.b66e0a3d.css" rel="prefetch"><link href="js/chunk-01b147f1.411ddf4a.js" rel="prefetch"><link href="js/chunk-0ab08886.47a1307b.js" rel="prefetch"><link href="js/chunk-19797d59.521ebbb8.js" rel="prefetch"><link href="js/chunk-1c56d4e4.ceee754d.js" rel="prefetch"><link href="js/chunk-2a2235b7.b4b58aba.js" rel="prefetch"><link href="js/chunk-33e29a08.03cb9098.js" rel="prefetch"><link href="js/chunk-3bcfd210.374395ff.js" rel="prefetch"><link href="js/chunk-4546fe72.955bc949.js" rel="prefetch"><link href="js/chunk-49bc9534.d43fa97d.js" rel="prefetch"><link href="js/chunk-5e1711e0.4eafce54.js" rel="prefetch"><link href="js/chunk-7c135f6b.7b5f30c1.js" rel="prefetch"><link href="css/app.62fa08a2.css" rel="preload" as="style"><link href="css/chunk-vendors.a6a7f90c.css" rel="preload" as="style"><link href="js/app.1e81d417.js" rel="preload" as="script"><link href="js/chunk-vendors.dc4080e5.js" rel="preload" as="script"><link href="css/chunk-vendors.a6a7f90c.css" rel="stylesheet"><link href="css/app.62fa08a2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but erp doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.dc4080e5.js"></script><script src="js/app.1e81d417.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
public/dist/js/chunk-046929c6.45cea179.js
vendored
4
public/dist/js/chunk-046929c6.45cea179.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
public/dist/js/chunk-33e29a08.03cb9098.js.map
vendored
Normal file
1
public/dist/js/chunk-33e29a08.03cb9098.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
4
public/dist/js/chunk-49bc9534.d43fa97d.js
vendored
Normal file
4
public/dist/js/chunk-49bc9534.d43fa97d.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/dist/js/chunk-49bc9534.d43fa97d.js.map
vendored
Normal file
1
public/dist/js/chunk-49bc9534.d43fa97d.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
resources/frontend/src/api/rankingData.js
vendored
2
resources/frontend/src/api/rankingData.js
vendored
@ -79,7 +79,7 @@ export function Brand_goods_types(params) {
|
||||
return http({
|
||||
url: "/api/goods_brands",
|
||||
method: "get",
|
||||
params,
|
||||
params
|
||||
});
|
||||
}
|
||||
// 商品品牌列表删除
|
||||
|
||||
@ -4,19 +4,37 @@
|
||||
<el-card class="box-card">
|
||||
<div class="goods" style="margin: 20px">
|
||||
<el-form ref="form" :inline="true" :model="form">
|
||||
<el-form-item label="查询类别:">
|
||||
<el-select v-model="form.targetField" placeholder="全部">
|
||||
<el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
|
||||
<el-form-item label="模块:" style="margin-right: 40px">
|
||||
<el-select v-model="form.moudule">
|
||||
<el-option v-for="item in mouduleOptions" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="操作用户">
|
||||
<el-select v-model="form.userId" placeholder="输入操作用户">
|
||||
<el-option v-for="item in options1" :key="item.id" :label="item.name" :value="item.id">
|
||||
<el-form-item label="操作:" style="margin-right: 40px">
|
||||
<el-select v-model="form.action">
|
||||
<el-option v-for="item in actionOptions" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="操作时间:">
|
||||
<el-form-item label="目标类型:" style="margin-right: 40px">
|
||||
<el-select v-model="form.target_ype">
|
||||
<el-option v-for="item in target_ypeOptions" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="类别:" style="margin-right: 40px">
|
||||
<el-select v-model="form.targetField">
|
||||
<el-option v-for="item in target_fieldOptions" :key="item.value" :label="item.label" :value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="操作人:" style="margin-right: 40px">
|
||||
<el-select v-model="form.userId" placeholder="输入操作人">
|
||||
<el-option v-for="item in userOptions" :key="item.id" :label="item.name" :value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="时间:">
|
||||
<el-date-picker v-model="value1" type="datetimerange" range-separator="-" start-placeholder="起"
|
||||
end-placeholder="止" value-format="yyyy-MM-dd HH:mm:ss">
|
||||
</el-date-picker>
|
||||
@ -30,13 +48,18 @@
|
||||
|
||||
<!-- 表格 -->
|
||||
<el-card style="margin-top: 30px" class="box-card">
|
||||
<el-table :data="tableData" style="width: 100%">
|
||||
<el-table :data="tableData" border style="width: 100%">
|
||||
<el-table-column prop="id" label="序号"> </el-table-column>
|
||||
<el-table-column prop="created_at" label="时间"> </el-table-column>
|
||||
<el-table-column prop="module" label="模块"> </el-table-column>
|
||||
<el-table-column prop="action" label="操作"> </el-table-column>
|
||||
<el-table-column prop="target_type" label="目标类型"> </el-table-column>
|
||||
<el-table-column prop="target_id" label="目标ID"> </el-table-column>
|
||||
<el-table-column prop="target_field" label="类别"> </el-table-column>
|
||||
<el-table-column prop="before_update" label="操作前"> </el-table-column>
|
||||
<el-table-column prop="after_update" label="操作后"> </el-table-column>
|
||||
<el-table-column prop="message" label="信息"> </el-table-column>
|
||||
<el-table-column prop="user.name" label="操作人"> </el-table-column>
|
||||
<el-table-column prop="created_at" label="操作时间"> </el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
|
||||
@ -56,7 +79,35 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
options: [
|
||||
target_fieldOptions: [
|
||||
{
|
||||
value: "add",
|
||||
label: "创建",
|
||||
},
|
||||
{
|
||||
value: "status",
|
||||
label: "状态",
|
||||
},
|
||||
{
|
||||
value: "name",
|
||||
label: "名称",
|
||||
},
|
||||
{
|
||||
value: "title",
|
||||
label: "标题",
|
||||
},
|
||||
{
|
||||
value: "import",
|
||||
label: "导入",
|
||||
},
|
||||
{
|
||||
value: "export",
|
||||
label: "导出",
|
||||
},
|
||||
{
|
||||
value: "set",
|
||||
label: "设置",
|
||||
},
|
||||
{
|
||||
value: "cost",
|
||||
label: "成本",
|
||||
@ -70,18 +121,151 @@
|
||||
label: "库存盘点",
|
||||
},
|
||||
{
|
||||
value: "status",
|
||||
label: "状态",
|
||||
value: "reserve",
|
||||
label: "预留量",
|
||||
},
|
||||
{
|
||||
value: "set",
|
||||
label: "设置",
|
||||
value: "timingInventory",
|
||||
label: "7点盘点",
|
||||
},
|
||||
], //查询类别
|
||||
options1: [], //查询用户列表
|
||||
{
|
||||
value: "pdd.ktt.goods.query.list",
|
||||
label: "快团团下载绑定商品",
|
||||
},
|
||||
{
|
||||
value: "arrived_today_num",
|
||||
label: "今日到货",
|
||||
},
|
||||
{
|
||||
value: "loss_num",
|
||||
label: "损耗",
|
||||
},
|
||||
{
|
||||
value: "pdd.pop.auth.token.create",
|
||||
label: "快团团授权",
|
||||
},
|
||||
{
|
||||
value: "reference_price",
|
||||
label: "参考价格",
|
||||
},
|
||||
{
|
||||
value: "update",
|
||||
label: "更新",
|
||||
},
|
||||
{
|
||||
value: "pdd.ktt.goods.incr.quantity",
|
||||
label: "快团团库存同步",
|
||||
},
|
||||
{
|
||||
value: "pdd.ktt.order.list",
|
||||
label: "快团团下载订单",
|
||||
},
|
||||
{
|
||||
value: "pdd.ktt.increment.order.query",
|
||||
label: "快团团增量下载订单",
|
||||
},
|
||||
], //类别
|
||||
mouduleOptions:[
|
||||
{
|
||||
value: "menu",
|
||||
label: "菜单",
|
||||
},
|
||||
{
|
||||
value: "goods",
|
||||
label: "商品",
|
||||
},
|
||||
{
|
||||
value: "file",
|
||||
label: "文件",
|
||||
},
|
||||
{
|
||||
value: "permission",
|
||||
label: "权限",
|
||||
},
|
||||
{
|
||||
value: "role",
|
||||
label: "角色",
|
||||
},
|
||||
{
|
||||
value: "user",
|
||||
label: "用户",
|
||||
},
|
||||
{
|
||||
value: "plat",
|
||||
label: "平台",
|
||||
},
|
||||
],//模块
|
||||
actionOptions:[
|
||||
{
|
||||
value: "POST",
|
||||
label: "新增",
|
||||
},
|
||||
{
|
||||
value: "PATCH",
|
||||
label: "更新",
|
||||
},
|
||||
{
|
||||
value: "DELETE",
|
||||
label: "删除",
|
||||
},
|
||||
{
|
||||
value: "GET",
|
||||
label: "查看",
|
||||
},
|
||||
],//操作
|
||||
target_ypeOptions:[
|
||||
{
|
||||
value: "upload",
|
||||
label: "上传",
|
||||
},
|
||||
{
|
||||
value: "goods_sku",
|
||||
label: "商品规格",
|
||||
},
|
||||
{
|
||||
value: "goods_brand",
|
||||
label: "商品品牌",
|
||||
},
|
||||
{
|
||||
value: "goods_type",
|
||||
label: "种类",
|
||||
},
|
||||
{
|
||||
value: "menu",
|
||||
label: "菜单",
|
||||
},
|
||||
{
|
||||
value: "role",
|
||||
label: "角色",
|
||||
},
|
||||
{
|
||||
value: "permission",
|
||||
label: "权限",
|
||||
},
|
||||
{
|
||||
value: "user",
|
||||
label: "用户",
|
||||
},
|
||||
{
|
||||
value: "kuaituantuan",
|
||||
label: "快团团",
|
||||
},
|
||||
{
|
||||
value: "miaoxuan",
|
||||
label: "秒选",
|
||||
},
|
||||
{
|
||||
value: "goods",
|
||||
label: "商品",
|
||||
},
|
||||
],//目标类型
|
||||
userOptions: [], //查询用户列表
|
||||
form: {
|
||||
targetField: "",
|
||||
userId: "",
|
||||
moudule:'',//模块 goods-商品(单个商品记录必传),'menu' => '菜单',file-文件,permission-权限,role-角色,user-用户,plat-平台
|
||||
action:'',//操作 POST-新增,PATCH-更新,DELETE-删除,'GET' => '查看',
|
||||
target_ype:'',//目标类型 upload-上传,goods_sku商品规格,goods_brand-商品品牌,goods_type-商品种类,menu-菜单,permission-权限,role-角色,user-用户,kuaituantuan-快团团,miaoxuan-妙选,'goods' => '商品',
|
||||
targetField: "",//影响字段
|
||||
userId: "",//操作人id(用户列表)
|
||||
},
|
||||
value1: "", //筛选时间变量
|
||||
|
||||
@ -107,19 +291,21 @@
|
||||
// 获取用户列表
|
||||
getUser() {
|
||||
userList().then((res) => {
|
||||
this.options1 = res.data.data;
|
||||
this.userOptions = res.data.data;
|
||||
});
|
||||
},
|
||||
|
||||
// 查询
|
||||
query() {
|
||||
let queryData = {
|
||||
userId: this.form.userId,
|
||||
target_field: this.form.targetField,
|
||||
page: this.current_page,
|
||||
per_page: this.per_page,
|
||||
moudule: this.moudule,
|
||||
moudule: this.form.moudule,
|
||||
action:this.form.action,
|
||||
target_ype:this.form.target_ype,
|
||||
target_id: this.$route.query.id,
|
||||
target_field: this.form.targetField,
|
||||
user_id: this.form.userId,
|
||||
startTime: this.value1[0],
|
||||
endTime: this.value1[1],
|
||||
};
|
||||
|
||||
@ -869,14 +869,20 @@
|
||||
|
||||
// 获取商品种类
|
||||
getgoodsType() {
|
||||
goods_types().then((res) => {
|
||||
let param = {
|
||||
per_page:99999
|
||||
}
|
||||
goods_types(param).then((res) => {
|
||||
this.cate = res.data.data;
|
||||
});
|
||||
},
|
||||
|
||||
// 获取商品品牌
|
||||
getbrandType() {
|
||||
Brand_goods_types().then((res) => {
|
||||
let parsm = {
|
||||
per_page:99999
|
||||
}
|
||||
Brand_goods_types(parsm).then((res) => {
|
||||
this.brand = res.data.data;
|
||||
});
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user