fix: 新增公众号管理相关页面,引入配置文件修改。
This commit is contained in:
134
src/const/crud/mall/goodscategory.js
Normal file
134
src/const/crud/mall/goodscategory.js
Normal file
@@ -0,0 +1,134 @@
|
||||
/**
|
||||
* Copyright (C) 2024
|
||||
* All rights reserved, Designed By www.joolun.com
|
||||
*/
|
||||
export const tableOption = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
searchShow: false,
|
||||
viewBtn: true,
|
||||
searchMenuSpan: 6,
|
||||
column: [
|
||||
{
|
||||
label: '父分类',
|
||||
prop: 'parentId',
|
||||
type: 'tree',
|
||||
hide: true,
|
||||
props: {
|
||||
label: 'name',
|
||||
value: 'id'
|
||||
},
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择父分类',
|
||||
trigger: 'change'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '名称',
|
||||
prop: 'name',
|
||||
align: 'left',
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请输入名称',
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
max: 16,
|
||||
message: '长度在不能超过16个字符'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '是否显示',
|
||||
prop: 'enable',
|
||||
type: 'radio',
|
||||
search: true,
|
||||
sortable: true,
|
||||
span: 24,
|
||||
slot: true,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择显示状态',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
dicData: [
|
||||
{
|
||||
label: '关闭',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '启用',
|
||||
value: '1'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '排序',
|
||||
type: 'number',
|
||||
prop: 'sort',
|
||||
sortable: true,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '排序不能为空',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '图片',
|
||||
prop: 'picUrl',
|
||||
type: 'upload',
|
||||
listType: 'picture-img',
|
||||
width: 250,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '图片不能为空',
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
canvasOption: {
|
||||
text: 'joolun',
|
||||
ratio: 0.1
|
||||
},
|
||||
oss: 'ali',
|
||||
loadText: '附件上传中,请稍等',
|
||||
span: 24,
|
||||
tip: '只能上传jpg/png文件,且不超过50kb'
|
||||
},
|
||||
{
|
||||
label: '描述',
|
||||
prop: 'description',
|
||||
hide: true,
|
||||
rules: [
|
||||
{
|
||||
max: 255,
|
||||
message: '长度在不能超过255个字符'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
editDisplay: false,
|
||||
addDisplay: false
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime',
|
||||
editDisplay: false,
|
||||
addDisplay: false
|
||||
}
|
||||
]
|
||||
}
|
||||
387
src/const/crud/mall/goodsspu.js
Normal file
387
src/const/crud/mall/goodsspu.js
Normal file
@@ -0,0 +1,387 @@
|
||||
/**
|
||||
* Copyright (C) 2024
|
||||
* All rights reserved, Designed By www.joolun.com
|
||||
* 注意:
|
||||
* 本软件为www.joolun.com开发研制,项目使用请保留此说明
|
||||
*/
|
||||
export const tableOption = {
|
||||
dialogType: 'drawer',
|
||||
border: true,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
searchShow: false,
|
||||
excelBtn: true,
|
||||
printBtn: true,
|
||||
selection: true,
|
||||
dialogWidth: '88%',
|
||||
searchMenuSpan: 6,
|
||||
column: [
|
||||
{
|
||||
label: '商品名称',
|
||||
prop: 'name',
|
||||
search: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '商品图片',
|
||||
prop: 'picUrls',
|
||||
width: 125,
|
||||
slot: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '类目',
|
||||
prop: 'categoryId',
|
||||
type: 'cascader',
|
||||
search: true,
|
||||
props: {
|
||||
label: 'name',
|
||||
value: 'id'
|
||||
},
|
||||
dicUrl: '/goodscategory/tree',
|
||||
checkStrictly: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '卖点',
|
||||
prop: 'sellPoint',
|
||||
display: false,
|
||||
overHidden: true,
|
||||
width: 120
|
||||
},
|
||||
{
|
||||
label: '销售价',
|
||||
prop: 'salesPrice',
|
||||
slot: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '市场价',
|
||||
prop: 'marketPrice',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '成本价',
|
||||
prop: 'costPrice',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '库存',
|
||||
prop: 'stock',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '商品编码',
|
||||
prop: 'spuCode',
|
||||
width: 110,
|
||||
search: true,
|
||||
sortable: true,
|
||||
display: false
|
||||
},
|
||||
|
||||
{
|
||||
label: '虚拟销量',
|
||||
prop: 'saleNum',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
sortable: 'custom',
|
||||
width: 110,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '是否上架',
|
||||
prop: 'shelf',
|
||||
type: 'radio',
|
||||
search: true,
|
||||
width: 110,
|
||||
sortable: 'custom',
|
||||
slot: true,
|
||||
display: false,
|
||||
dicData: [
|
||||
{
|
||||
label: '下架',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '上架',
|
||||
value: '1'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime',
|
||||
width: 110,
|
||||
display: false
|
||||
}
|
||||
],
|
||||
group: [
|
||||
{
|
||||
icon: 'el-icon-goods',
|
||||
label: '基本信息',
|
||||
prop: 'group1',
|
||||
column: [
|
||||
{
|
||||
label: '商品名称',
|
||||
prop: 'name',
|
||||
span: 24,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '商品名称不能为空',
|
||||
trigger: 'blur'
|
||||
},
|
||||
{
|
||||
max: 100,
|
||||
message: '长度在不能超过100个字符'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
label: '商品图片',
|
||||
prop: 'picUrls',
|
||||
listType: 'picture-card',
|
||||
dataType: 'array',
|
||||
type: 'upload',
|
||||
width: 250,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '图片不能为空',
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
canvasOption: {
|
||||
text: 'joolun',
|
||||
ratio: 0.1
|
||||
},
|
||||
oss: 'ali',
|
||||
loadText: '附件上传中,请稍等',
|
||||
span: 24,
|
||||
tip: '只能上传jpg/png文件,且不超过50kb'
|
||||
},
|
||||
|
||||
{
|
||||
label: '类目',
|
||||
prop: 'categoryId',
|
||||
type: 'cascader',
|
||||
props: {
|
||||
label: 'name',
|
||||
value: 'id'
|
||||
},
|
||||
dicUrl: '/goodscategory/tree',
|
||||
checkStrictly: true,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择类目',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '是否上架',
|
||||
prop: 'shelf',
|
||||
type: 'radio',
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请选择是否上架',
|
||||
trigger: 'blur'
|
||||
}
|
||||
],
|
||||
dicData: [
|
||||
{
|
||||
label: '下架',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '上架',
|
||||
value: '1'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '商品编码',
|
||||
prop: 'spuCode',
|
||||
rules: [
|
||||
{
|
||||
max: 32,
|
||||
message: '长度在不能超过32个字符'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '库存',
|
||||
prop: 'stock',
|
||||
type: 'number',
|
||||
precision: 0,
|
||||
min: 0,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '库存必须填写',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '销售价',
|
||||
prop: 'salesPrice',
|
||||
type: 'number',
|
||||
precision: 2,
|
||||
min: 0,
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '销售价必须填写',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '市场价',
|
||||
prop: 'marketPrice'
|
||||
},
|
||||
{
|
||||
label: '成本价',
|
||||
prop: 'costPrice'
|
||||
},
|
||||
{
|
||||
label: '虚拟销量',
|
||||
prop: 'saleNum',
|
||||
type: 'number',
|
||||
precision: 0,
|
||||
min: 0,
|
||||
tip: '可以按自己需求设置,系统会按销售情况自动累加'
|
||||
},
|
||||
{
|
||||
label: '卖点',
|
||||
prop: 'sellPoint',
|
||||
span: 24,
|
||||
rules: [
|
||||
{
|
||||
max: 500,
|
||||
message: '长度在不能超过500个字符'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
icon: 'el-icon-grape',
|
||||
label: '辅助信息',
|
||||
prop: 'group5',
|
||||
column: [
|
||||
{
|
||||
label: '描述',
|
||||
prop: 'description',
|
||||
formslot: true,
|
||||
span: 24
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export const tableOption2 = {
|
||||
dialogType: 'drawer',
|
||||
border: true,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
searchShow: false,
|
||||
dialogWidth: '88%',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
selection: true,
|
||||
menu: false,
|
||||
maxHeight: 450,
|
||||
column: [
|
||||
{
|
||||
label: '商品名称',
|
||||
prop: 'name',
|
||||
search: true
|
||||
},
|
||||
{
|
||||
label: '商品图片',
|
||||
prop: 'picUrls',
|
||||
width: 120,
|
||||
slot: true
|
||||
},
|
||||
{
|
||||
label: '类目',
|
||||
prop: 'categoryId',
|
||||
type: 'cascader',
|
||||
search: true,
|
||||
props: {
|
||||
label: 'name',
|
||||
value: 'id'
|
||||
},
|
||||
dicUrl: '/goodscategory/tree'
|
||||
},
|
||||
{
|
||||
label: '卖点',
|
||||
prop: 'sellPoint',
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '销售价',
|
||||
prop: 'salesPrice',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '市场价',
|
||||
prop: 'marketPrice',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '成本价',
|
||||
prop: 'costPrice',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '库存',
|
||||
prop: 'stock',
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '商品编码',
|
||||
prop: 'spuCode',
|
||||
search: true,
|
||||
sortable: true
|
||||
},
|
||||
|
||||
{
|
||||
label: '虚拟销量',
|
||||
prop: 'saleNum',
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime',
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '是否上架',
|
||||
prop: 'shelf',
|
||||
type: 'radio',
|
||||
search: true,
|
||||
sortable: true,
|
||||
slot: true
|
||||
}
|
||||
]
|
||||
}
|
||||
186
src/const/crud/mall/orderinfo.js
Normal file
186
src/const/crud/mall/orderinfo.js
Normal file
@@ -0,0 +1,186 @@
|
||||
/**
|
||||
* Copyright (C) 2024
|
||||
* All rights reserved, Designed By www.joolun.com
|
||||
* 注意:
|
||||
* 本软件为www.joolun.com开发研制,项目使用请保留此说明
|
||||
*/
|
||||
export const tableOption = {
|
||||
// dateBtn:true,
|
||||
dialogType: 'drawer',
|
||||
dialogWidth: '80%',
|
||||
border: true,
|
||||
index: false,
|
||||
indexLabel: '序号',
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuWidth: 150,
|
||||
menuType: 'text',
|
||||
searchShow: false,
|
||||
excelBtn: true,
|
||||
printBtn: true,
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
viewBtn: false,
|
||||
defaultExpandAll: true,
|
||||
searchMenuSpan: 6,
|
||||
dateBtn: true,
|
||||
column: [
|
||||
{
|
||||
label: '用户id',
|
||||
prop: 'userId',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '是否支付',
|
||||
prop: 'isPay',
|
||||
type: 'radio',
|
||||
hide: true,
|
||||
search: true,
|
||||
display: false,
|
||||
dicData: [
|
||||
{
|
||||
label: '是',
|
||||
value: '1'
|
||||
},
|
||||
{
|
||||
label: '否',
|
||||
value: '0'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '订单编号',
|
||||
prop: 'orderNo',
|
||||
search: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '商品信息',
|
||||
prop: 'name',
|
||||
width: 500,
|
||||
slot: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '时间/订单编号',
|
||||
prop: 'createTime',
|
||||
sortable: true,
|
||||
width: 250,
|
||||
slot: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '状态',
|
||||
prop: 'status',
|
||||
type: 'radio',
|
||||
sortable: true,
|
||||
slot: true,
|
||||
width: 170,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '订单金额(¥)',
|
||||
prop: 'salesPrice',
|
||||
sortable: true,
|
||||
slot: true,
|
||||
width: 180,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '付款时间',
|
||||
prop: 'paymentTime',
|
||||
sortable: 'custom',
|
||||
display: false,
|
||||
width: 130
|
||||
},
|
||||
{
|
||||
label: '发货时间',
|
||||
prop: 'deliveryTime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '收货时间',
|
||||
prop: 'receiverTime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '成交时间',
|
||||
prop: 'closingTime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '最后更新时间',
|
||||
prop: 'updateTime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
display: false
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
prop: 'remark',
|
||||
hide: true,
|
||||
display: false
|
||||
}
|
||||
],
|
||||
group: [
|
||||
{
|
||||
icon: 'el-icon-s-order',
|
||||
label: '基本信息',
|
||||
prop: 'group1',
|
||||
column: [
|
||||
{
|
||||
prop: 'orderNo',
|
||||
formslot: true,
|
||||
span: 24
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: 'el-icon-user',
|
||||
label: '用户详情',
|
||||
prop: 'group2',
|
||||
column: [
|
||||
{
|
||||
prop: 'userId',
|
||||
formslot: true,
|
||||
span: 24
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: 'el-icon-goods',
|
||||
label: '商品信息',
|
||||
prop: 'group3',
|
||||
column: [
|
||||
{
|
||||
prop: 'listOrderItem',
|
||||
formslot: true,
|
||||
span: 24
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
icon: 'el-icon-location-outline',
|
||||
label: '收货信息',
|
||||
prop: 'group4',
|
||||
column: [
|
||||
{
|
||||
prop: 'orderLogistics',
|
||||
formslot: true,
|
||||
span: 24
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
132
src/const/crud/wxma/wxuser.js
Normal file
132
src/const/crud/wxma/wxuser.js
Normal file
@@ -0,0 +1,132 @@
|
||||
/**
|
||||
* Copyright (C) 2024
|
||||
* All rights reserved, Designed By www.joolun.com
|
||||
* 注意:
|
||||
* 本软件为www.joolun.com开发研制,项目使用请保留此说明
|
||||
*/
|
||||
const dicDataSex = [
|
||||
{
|
||||
label: '未知',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '男',
|
||||
value: '1'
|
||||
},
|
||||
{
|
||||
label: '女',
|
||||
value: '2'
|
||||
}
|
||||
]
|
||||
|
||||
export const tableOption = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: false,
|
||||
indexLabel: '序号',
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
excelBtn: true,
|
||||
printBtn: true,
|
||||
viewBtn: true,
|
||||
searchShow: false,
|
||||
menuWidth: 150,
|
||||
menuType: 'text',
|
||||
searchMenuSpan: 6,
|
||||
defaultSort: {
|
||||
prop: 'createTime',
|
||||
order: 'descending'
|
||||
},
|
||||
column: [
|
||||
{
|
||||
label: '用户标识',
|
||||
prop: 'openId',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '头像',
|
||||
prop: 'headimgUrl',
|
||||
dataType: 'string',
|
||||
fileType: 'img',
|
||||
type: 'upload',
|
||||
minWidth: 83,
|
||||
listType: 'picture-img',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '昵称',
|
||||
prop: 'nickName',
|
||||
width: 100,
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '性别',
|
||||
prop: 'sex',
|
||||
width: 80,
|
||||
type: 'select',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
slot: true,
|
||||
dicData: dicDataSex
|
||||
},
|
||||
{
|
||||
label: '所在国家',
|
||||
prop: 'country',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '所在省份',
|
||||
prop: 'province',
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '所在城市',
|
||||
prop: 'city',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '用户语言',
|
||||
prop: 'language',
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '用户备注',
|
||||
prop: 'remark',
|
||||
hide: true
|
||||
},
|
||||
{
|
||||
label: 'union_id',
|
||||
prop: 'unionId',
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
type: 'datetime',
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime',
|
||||
type: 'datetime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
}
|
||||
]
|
||||
}
|
||||
197
src/const/crud/wxmp/wxautoreply.js
Normal file
197
src/const/crud/wxmp/wxautoreply.js
Normal file
@@ -0,0 +1,197 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 www.joolun.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
const dicDataRepType = [
|
||||
{
|
||||
label: '文本',
|
||||
value: 'text'
|
||||
},
|
||||
{
|
||||
label: '图片',
|
||||
value: 'image'
|
||||
},
|
||||
{
|
||||
label: '语音',
|
||||
value: 'voice'
|
||||
},
|
||||
{
|
||||
label: '视频',
|
||||
value: 'video'
|
||||
},
|
||||
{
|
||||
label: '音乐',
|
||||
value: 'music'
|
||||
},
|
||||
{
|
||||
label: '图文',
|
||||
value: 'news'
|
||||
}
|
||||
]
|
||||
export const tableOption1 = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: true,
|
||||
indexLabel: '序号',
|
||||
indexWidth: 70,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
editBtn: false,
|
||||
searchShow: false,
|
||||
searchMenuSpan: 6,
|
||||
// defaultSort:{
|
||||
// prop: 'id',
|
||||
// order: 'descending'
|
||||
// },
|
||||
column: [
|
||||
{
|
||||
label: '回复消息类型',
|
||||
prop: 'repType',
|
||||
type: 'select',
|
||||
dicData: dicDataRepType
|
||||
}
|
||||
]
|
||||
}
|
||||
export const tableOption2 = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: true,
|
||||
indexLabel: '序号',
|
||||
indexWidth: 70,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
searchShow: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
editBtn: false,
|
||||
searchMenuSpan: 6,
|
||||
// defaultSort:{
|
||||
// prop: 'id',
|
||||
// order: 'descending'
|
||||
// },
|
||||
column: [
|
||||
{
|
||||
label: '请求消息类型',
|
||||
prop: 'reqType',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{
|
||||
value: 'text',
|
||||
label: '文本'
|
||||
},
|
||||
{
|
||||
value: 'image',
|
||||
label: '图片'
|
||||
},
|
||||
{
|
||||
value: 'voice',
|
||||
label: '语音'
|
||||
},
|
||||
{
|
||||
value: 'video',
|
||||
label: '视频'
|
||||
},
|
||||
{
|
||||
value: 'shortvideo',
|
||||
label: '小视频'
|
||||
},
|
||||
{
|
||||
value: 'location',
|
||||
label: '地理位置'
|
||||
},
|
||||
{
|
||||
value: 'link',
|
||||
label: '链接消息'
|
||||
},
|
||||
{
|
||||
value: 'event',
|
||||
label: '事件推送'
|
||||
}
|
||||
],
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '回复消息类型',
|
||||
prop: 'repType',
|
||||
type: 'select',
|
||||
dicData: dicDataRepType,
|
||||
sortable: true
|
||||
}
|
||||
]
|
||||
}
|
||||
export const tableOption3 = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: true,
|
||||
indexLabel: '序号',
|
||||
indexWidth: 70,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
searchShow: false,
|
||||
addBtn: false,
|
||||
delBtn: false,
|
||||
editBtn: false,
|
||||
searchMenuSpan: 6,
|
||||
// defaultSort:{
|
||||
// prop: 'id',
|
||||
// order: 'descending'
|
||||
// },
|
||||
column: [
|
||||
{
|
||||
label: '关键词',
|
||||
prop: 'reqKey',
|
||||
search: true,
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '匹配类型',
|
||||
prop: 'repMate',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{
|
||||
value: '1',
|
||||
label: '全匹配'
|
||||
},
|
||||
{
|
||||
value: '2',
|
||||
label: '半匹配'
|
||||
}
|
||||
],
|
||||
sortable: true
|
||||
},
|
||||
{
|
||||
label: '回复消息类型',
|
||||
prop: 'repType',
|
||||
type: 'select',
|
||||
dicData: dicDataRepType,
|
||||
sortable: true
|
||||
}
|
||||
]
|
||||
}
|
||||
52
src/const/crud/wxmp/wxmaterial_video.js
Normal file
52
src/const/crud/wxmp/wxmaterial_video.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 www.joolun.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
export const tableOptionVideo = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: true,
|
||||
indexLabel: '序号',
|
||||
indexWidth: 70,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
viewBtn: true,
|
||||
searchMenuSpan: 6,
|
||||
column: [
|
||||
{
|
||||
label: 'media_id',
|
||||
prop: 'mediaId'
|
||||
},
|
||||
{
|
||||
label: '名称',
|
||||
prop: 'name'
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime'
|
||||
}
|
||||
]
|
||||
}
|
||||
52
src/const/crud/wxmp/wxmaterial_voice.js
Normal file
52
src/const/crud/wxmp/wxmaterial_voice.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 www.joolun.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
export const tableOptionVoice = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: true,
|
||||
indexLabel: '序号',
|
||||
indexWidth: 70,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
viewBtn: true,
|
||||
searchMenuSpan: 6,
|
||||
column: [
|
||||
{
|
||||
label: 'media_id',
|
||||
prop: 'mediaId'
|
||||
},
|
||||
{
|
||||
label: '名称',
|
||||
prop: 'name'
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime'
|
||||
}
|
||||
]
|
||||
}
|
||||
106
src/const/crud/wxmp/wxmsg.js
Normal file
106
src/const/crud/wxmp/wxmsg.js
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
Copyright (c) 2024 www.joolun.com
|
||||
*/
|
||||
export const tableOption = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
menuType: 'text',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
viewBtn: false,
|
||||
searchBtn: true,
|
||||
searchMenuSpan: 6,
|
||||
defaultSort: {
|
||||
prop: 'createTime',
|
||||
order: 'descending'
|
||||
},
|
||||
column: [
|
||||
{
|
||||
label: '消息类型',
|
||||
prop: 'repType',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{
|
||||
value: 'text',
|
||||
label: '文本'
|
||||
},
|
||||
{
|
||||
value: 'image',
|
||||
label: '图片'
|
||||
},
|
||||
{
|
||||
value: 'voice',
|
||||
label: '语音'
|
||||
},
|
||||
{
|
||||
value: 'video',
|
||||
label: '视频'
|
||||
},
|
||||
{
|
||||
value: 'shortvideo',
|
||||
label: '小视频'
|
||||
},
|
||||
{
|
||||
value: 'location',
|
||||
label: '地理位置'
|
||||
},
|
||||
{
|
||||
value: 'link',
|
||||
label: '链接消息'
|
||||
},
|
||||
{
|
||||
value: 'event',
|
||||
label: '事件推送'
|
||||
}
|
||||
],
|
||||
search: true,
|
||||
sortable: true,
|
||||
width: 120
|
||||
},
|
||||
{
|
||||
label: '用户',
|
||||
prop: 'nickName',
|
||||
overHidden: false,
|
||||
search: true,
|
||||
slot: true,
|
||||
width: 100
|
||||
},
|
||||
{
|
||||
label: '内容',
|
||||
prop: 'repContent',
|
||||
overHidden: true,
|
||||
align: 'left',
|
||||
slot: true
|
||||
},
|
||||
{
|
||||
label: '时间',
|
||||
type: 'date',
|
||||
prop: 'createTime',
|
||||
sortable: true,
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
label: '是否已读',
|
||||
prop: 'readFlag',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{
|
||||
value: '1',
|
||||
label: '是'
|
||||
},
|
||||
{
|
||||
value: '0',
|
||||
label: '否'
|
||||
}
|
||||
],
|
||||
search: true,
|
||||
sortable: true,
|
||||
slot: true,
|
||||
width: 150
|
||||
}
|
||||
]
|
||||
}
|
||||
379
src/const/crud/wxmp/wxuser.js
Normal file
379
src/const/crud/wxmp/wxuser.js
Normal file
@@ -0,0 +1,379 @@
|
||||
/*
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 www.joolun.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
const dicDataSubscribeScene = [
|
||||
{
|
||||
label: '公众号搜索',
|
||||
value: 'ADD_SCENE_SEARCH'
|
||||
},
|
||||
{
|
||||
label: '公众号迁移',
|
||||
value: 'ADD_SCENE_ACCOUNT_MIGRATION'
|
||||
},
|
||||
{
|
||||
label: '名片分享',
|
||||
value: 'ADD_SCENE_PROFILE_CARD'
|
||||
},
|
||||
{
|
||||
label: '扫描二维码',
|
||||
value: 'ADD_SCENE_QR_CODE'
|
||||
},
|
||||
{
|
||||
label: '图文页内名称点击',
|
||||
value: 'ADD_SCENE_PROFILE_LINK'
|
||||
},
|
||||
{
|
||||
label: '图文页右上角菜单',
|
||||
value: 'ADD_SCENE_PROFILE_ITEM'
|
||||
},
|
||||
{
|
||||
label: '支付后关注',
|
||||
value: 'ADD_SCENE_PAID'
|
||||
},
|
||||
{
|
||||
label: '其他',
|
||||
value: 'ADD_SCENE_OTHERS'
|
||||
}
|
||||
]
|
||||
|
||||
const dicDataSubscribe = [
|
||||
{
|
||||
label: '取消关注',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '已关注',
|
||||
value: '1'
|
||||
}
|
||||
]
|
||||
|
||||
const dicDataSex = [
|
||||
{
|
||||
label: '未知',
|
||||
value: '0'
|
||||
},
|
||||
{
|
||||
label: '男',
|
||||
value: '1'
|
||||
},
|
||||
{
|
||||
label: '女',
|
||||
value: '2'
|
||||
}
|
||||
]
|
||||
export const tableOption = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: false,
|
||||
indexLabel: '序号',
|
||||
stripe: true,
|
||||
selection: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
viewBtn: true,
|
||||
searchShow: false,
|
||||
menuWidth: 150,
|
||||
menuType: 'text',
|
||||
searchMenuSpan: 6,
|
||||
defaultSort: {
|
||||
prop: 'subscribeTime',
|
||||
order: 'descending'
|
||||
},
|
||||
column: [
|
||||
{
|
||||
label: '头像',
|
||||
prop: 'headimgUrl',
|
||||
dataType: 'string',
|
||||
fileType: 'img',
|
||||
type: 'upload',
|
||||
minWidth: 83,
|
||||
listType: 'picture-img',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '昵称',
|
||||
prop: 'nickName',
|
||||
width: 100,
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '是否订阅',
|
||||
prop: 'subscribe',
|
||||
width: 110,
|
||||
type: 'select',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
slot: true,
|
||||
dicData: dicDataSubscribe
|
||||
},
|
||||
{
|
||||
label: 'openId',
|
||||
prop: 'openId',
|
||||
search: true
|
||||
},
|
||||
{
|
||||
label: '关注渠道',
|
||||
prop: 'subscribeScene',
|
||||
width: 110,
|
||||
type: 'select',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
dicData: dicDataSubscribeScene
|
||||
},
|
||||
{
|
||||
label: '关注时间',
|
||||
prop: 'subscribeTime',
|
||||
type: 'datetime',
|
||||
width: 110,
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '性别',
|
||||
prop: 'sex',
|
||||
type: 'select',
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
slot: true,
|
||||
dicData: dicDataSex
|
||||
},
|
||||
{
|
||||
label: '国家',
|
||||
prop: 'country',
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '省份',
|
||||
prop: 'province',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '城市',
|
||||
prop: 'city',
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '语言',
|
||||
prop: 'language',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '标签',
|
||||
prop: 'tagidList',
|
||||
type: 'select',
|
||||
editDisplay: false,
|
||||
searchslot: true,
|
||||
search: true,
|
||||
props: {
|
||||
label: 'name',
|
||||
value: 'id'
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '备注',
|
||||
prop: 'remark'
|
||||
},
|
||||
{
|
||||
label: '二维码扫码场景',
|
||||
prop: 'qrSceneStr',
|
||||
sortable: true,
|
||||
minWidth: 90,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: 'union_id',
|
||||
prop: 'unionId',
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
// {
|
||||
// label: '手机号码',
|
||||
// prop: 'phone'
|
||||
// },
|
||||
{
|
||||
label: '关注次数',
|
||||
prop: 'subscribeNum',
|
||||
width: 110,
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '创建时间',
|
||||
prop: 'createTime',
|
||||
type: 'datetime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '更新时间',
|
||||
prop: 'updateTime',
|
||||
type: 'datetime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '取关时间',
|
||||
prop: 'cancelSubscribeTime',
|
||||
type: 'datetime',
|
||||
sortable: true,
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export const tableOption2 = {
|
||||
border: true,
|
||||
index: false,
|
||||
indexLabel: '序号',
|
||||
stripe: true,
|
||||
selection: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: false,
|
||||
excelBtn: false,
|
||||
printBtn: false,
|
||||
viewBtn: false,
|
||||
searchShow: true,
|
||||
menu: false,
|
||||
menuWidth: 150,
|
||||
menuType: 'text',
|
||||
searchMenuSpan: 6,
|
||||
defaultSort: {
|
||||
prop: 'subscribeTime',
|
||||
order: 'descending'
|
||||
},
|
||||
column: [
|
||||
{
|
||||
label: '头像',
|
||||
prop: 'headimgUrl',
|
||||
type: 'upload',
|
||||
imgWidth: 50,
|
||||
listType: 'picture-img',
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '昵称',
|
||||
prop: 'nickName',
|
||||
width: 100,
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '关注渠道',
|
||||
prop: 'subscribeScene',
|
||||
type: 'select',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
dicData: dicDataSubscribeScene
|
||||
},
|
||||
{
|
||||
label: '关注时间',
|
||||
prop: 'subscribeTime',
|
||||
type: 'datetime',
|
||||
width: 95,
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '性别',
|
||||
prop: 'sex',
|
||||
width: 60,
|
||||
type: 'select',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false,
|
||||
slot: true,
|
||||
dicUrl: dicDataSex
|
||||
},
|
||||
{
|
||||
label: '国家',
|
||||
prop: 'country',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '省份',
|
||||
prop: 'province',
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '城市',
|
||||
prop: 'city',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '语言',
|
||||
prop: 'language',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '二维码扫码场景',
|
||||
prop: 'qrSceneStr',
|
||||
sortable: true,
|
||||
search: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '用户标识',
|
||||
prop: 'openId',
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: 'union_id',
|
||||
prop: 'unionId',
|
||||
hide: true,
|
||||
editDisplay: false
|
||||
},
|
||||
{
|
||||
label: '关注次数',
|
||||
prop: 'subscribeNum',
|
||||
width: 50,
|
||||
sortable: true,
|
||||
editDisplay: false
|
||||
}
|
||||
]
|
||||
}
|
||||
30
src/const/crud/wxmp/wxusertags.js
Normal file
30
src/const/crud/wxmp/wxusertags.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
MIT License
|
||||
Copyright (c) 2024 www.joolun.com
|
||||
*/
|
||||
export const tableOption = {
|
||||
dialogDrag: true,
|
||||
border: true,
|
||||
index: false,
|
||||
stripe: true,
|
||||
menuAlign: 'center',
|
||||
align: 'center',
|
||||
viewBtn: true,
|
||||
searchShow: false,
|
||||
menuWidth: 350,
|
||||
menuType: 'text',
|
||||
searchMenuSpan: 6,
|
||||
column: [
|
||||
{
|
||||
label: '名称',
|
||||
prop: 'name',
|
||||
rules: [
|
||||
{
|
||||
required: true,
|
||||
message: '请输入名称',
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user