generated from Leo_Ding/web-template
推送
This commit is contained in:
parent
ef675c136e
commit
1f6fb8db7a
@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "7414004",
|
"icon_id": "7414004",
|
||||||
"name": "会议室",
|
"name": "会客厅",
|
||||||
"font_class": "huiyishi1",
|
"font_class": "huiyishi1",
|
||||||
"unicode": "e60a",
|
"unicode": "e60a",
|
||||||
"unicode_decimal": 58890
|
"unicode_decimal": 58890
|
||||||
@ -35,7 +35,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "4942645",
|
"icon_id": "4942645",
|
||||||
"name": "会议室",
|
"name": "会客厅",
|
||||||
"font_class": "huiyishi",
|
"font_class": "huiyishi",
|
||||||
"unicode": "e614",
|
"unicode": "e614",
|
||||||
"unicode_decimal": 58900
|
"unicode_decimal": 58900
|
||||||
|
|||||||
@ -42,7 +42,7 @@ const workTypeStatus = new EnumManager([
|
|||||||
{ value: 98, name: '禁用', color: '#bfbfbf' }, // 灰色(失效色)
|
{ value: 98, name: '禁用', color: '#bfbfbf' }, // 灰色(失效色)
|
||||||
{ value: 99, name: '审核不通过', color: '#ff4d4f' } // 红色(错误色)
|
{ value: 99, name: '审核不通过', color: '#ff4d4f' } // 红色(错误色)
|
||||||
])
|
])
|
||||||
//会议室类型状态
|
//会客厅类型状态
|
||||||
const mettingStatus = new EnumManager([
|
const mettingStatus = new EnumManager([
|
||||||
{ value: 1, name: '待审核', color: '#faad14' }, // 黄色(警告色)
|
{ value: 1, name: '待审核', color: '#faad14' }, // 黄色(警告色)
|
||||||
{ value: 2, name: '启用中', color: '#52c41a' }, // 绿色(进行中)
|
{ value: 2, name: '启用中', color: '#52c41a' }, // 绿色(进行中)
|
||||||
|
|||||||
@ -45,8 +45,8 @@ export default {
|
|||||||
server:'周边服务',
|
server:'周边服务',
|
||||||
serverList: '门店列表',
|
serverList: '门店列表',
|
||||||
serverType: '门店分类',
|
serverType: '门店分类',
|
||||||
mettingMgt:'会议室管理',
|
mettingMgt:'城市会客厅管理',
|
||||||
mettingRoom:'会议室列表',
|
mettingRoom:'城市会客厅',
|
||||||
mettingYuYue:'预约记录',
|
mettingYuYue:'预约记录',
|
||||||
customer:'用户管理',
|
customer:'用户管理',
|
||||||
aiHelper:'AI助手'
|
aiHelper:'AI助手'
|
||||||
|
|||||||
@ -181,7 +181,7 @@ export default [
|
|||||||
component: 'RouteViewLayout',
|
component: 'RouteViewLayout',
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'icon-huiyishi1',
|
icon: 'icon-huiyishi1',
|
||||||
title: '会议室管理',
|
title: '会客厅管理',
|
||||||
isMenu: true,
|
isMenu: true,
|
||||||
keepAlive: true,
|
keepAlive: true,
|
||||||
permission: '*',
|
permission: '*',
|
||||||
@ -193,7 +193,7 @@ export default [
|
|||||||
component: 'pages/mettingMgt/mettingList/index.vue',
|
component: 'pages/mettingMgt/mettingList/index.vue',
|
||||||
meta: {
|
meta: {
|
||||||
icon: '',
|
icon: '',
|
||||||
title: '会议室',
|
title: '会客厅',
|
||||||
isMenu: true,
|
isMenu: true,
|
||||||
keepAlive: true,
|
keepAlive: true,
|
||||||
permission: '*',
|
permission: '*',
|
||||||
@ -205,7 +205,7 @@ export default [
|
|||||||
component: 'pages/mettingMgt/mettingYuYue/index.vue',
|
component: 'pages/mettingMgt/mettingYuYue/index.vue',
|
||||||
meta: {
|
meta: {
|
||||||
icon: '',
|
icon: '',
|
||||||
title: '会议室预约',
|
title: '会客厅预约',
|
||||||
isMenu: true,
|
isMenu: true,
|
||||||
keepAlive: true,
|
keepAlive: true,
|
||||||
permission: '*',
|
permission: '*',
|
||||||
|
|||||||
@ -6,12 +6,12 @@
|
|||||||
<a-card class="mb-8-2">
|
<a-card class="mb-8-2">
|
||||||
<a-row :gutter="12">
|
<a-row :gutter="12">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item :label="'会议室名称'" name="title">
|
<a-form-item :label="'会客厅名称'" name="title">
|
||||||
<a-input :placeholder="'请输入会议室名称'" v-model:value="formData.title"></a-input>
|
<a-input :placeholder="'请输入会客厅名称'" v-model:value="formData.title"></a-input>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item :label="'会议室人数'" name="maxNum">
|
<a-form-item :label="'会客厅人数'" name="maxNum">
|
||||||
<a-input-number :placeholder="'请输入排序'" v-model:value="formData.maxNum"
|
<a-input-number :placeholder="'请输入排序'" v-model:value="formData.maxNum"
|
||||||
style="width: 100%;">
|
style="width: 100%;">
|
||||||
<template #addonAfter>
|
<template #addonAfter>
|
||||||
@ -21,12 +21,12 @@
|
|||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item :label="'会议室描述'" name="content">
|
<a-form-item :label="'会客厅描述'" name="content">
|
||||||
<x-editor v-model="formData.content"></x-editor>
|
<x-editor v-model="formData.content"></x-editor>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item :label="'会议室图片'" name="imgs">
|
<a-form-item :label="'会客厅图片'" name="imgs">
|
||||||
<gx-upload v-model="formData.imgs" accept-types=".jpg,.png,.webp" :fileNumber="10" />
|
<gx-upload v-model="formData.imgs" accept-types=".jpg,.png,.webp" :fileNumber="10" />
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
@ -65,9 +65,9 @@ const cancelText = ref(t('button.cancel'))
|
|||||||
const okText = ref(t('button.confirm'))
|
const okText = ref(t('button.confirm'))
|
||||||
const treeData = ref([])
|
const treeData = ref([])
|
||||||
formRules.value = {
|
formRules.value = {
|
||||||
title: { required: true, message: '请输入会议室名称' },
|
title: { required: true, message: '请输入会客厅名称' },
|
||||||
maxNum: { required: true, message: '请输入人数' },
|
maxNum: { required: true, message: '请输入人数' },
|
||||||
content: { required: true, message: '请输入会议室描述' },
|
content: { required: true, message: '请输入会客厅描述' },
|
||||||
status: { required: true, message: '请选择状态', trigger: 'change' },
|
status: { required: true, message: '请选择状态', trigger: 'change' },
|
||||||
imgs: { required: true, message: '请选择状态', trigger: 'change' }
|
imgs: { required: true, message: '请选择状态', trigger: 'change' }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<template #icon>
|
<template #icon>
|
||||||
<plus-outlined></plus-outlined>
|
<plus-outlined></plus-outlined>
|
||||||
</template>
|
</template>
|
||||||
新增会议室
|
新增会客厅
|
||||||
</a-button>
|
</a-button>
|
||||||
</x-action-bar>
|
</x-action-bar>
|
||||||
<a-table :columns="columns" :data-source="listData" bordered="true" :loading="loading"
|
<a-table :columns="columns" :data-source="listData" bordered="true" :loading="loading"
|
||||||
@ -81,9 +81,9 @@ const { t } = useI18n() // 解构出t方法
|
|||||||
const content=ref('')
|
const content=ref('')
|
||||||
const contentView=ref(false)
|
const contentView=ref(false)
|
||||||
const columns = [
|
const columns = [
|
||||||
{ title: '会议室名称', dataIndex: 'title' },
|
{ title: '会客厅名称', dataIndex: 'title' },
|
||||||
{ title: '会议室描述', dataIndex: 'content',align:'center' },
|
{ title: '会客厅描述', dataIndex: 'content',align:'center' },
|
||||||
{ title: '会议室人数', dataIndex: 'maxNum' },
|
{ title: '会客厅人数', dataIndex: 'maxNum' },
|
||||||
{ title: '状态', dataIndex: 'status', width: 120, align: 'center' },
|
{ title: '状态', dataIndex: 'status', width: 120, align: 'center' },
|
||||||
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
||||||
]
|
]
|
||||||
|
|||||||
@ -55,7 +55,7 @@ const { t } = useI18n() // 解构出t方法
|
|||||||
const columns = [
|
const columns = [
|
||||||
{ title: '用户', dataIndex: 'concatName' },
|
{ title: '用户', dataIndex: 'concatName' },
|
||||||
{ title: '手机号', dataIndex: 'concatPhone' },
|
{ title: '手机号', dataIndex: 'concatPhone' },
|
||||||
{ title: '会议室', dataIndex: 'roomName' },
|
{ title: '会客厅', dataIndex: 'roomName' },
|
||||||
{ title: '时间段', dataIndex: 'startAt', width: 300, align: 'center' },
|
{ title: '时间段', dataIndex: 'startAt', width: 300, align: 'center' },
|
||||||
{ title: '备注', dataIndex: 'remark' },
|
{ title: '备注', dataIndex: 'remark' },
|
||||||
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
{ title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user