会议室全部修改为会客厅

This commit is contained in:
unknown 2022-11-11 10:33:16 +08:00
parent 872227b425
commit 79357c6e9a
8 changed files with 37 additions and 37 deletions

View File

@ -73,7 +73,7 @@ export default {
// 西 v2 v3 // 西 v2 v3
children.total = returnLocationStr() == 'qingdao' ? Number(this.numObject.abilityprocess_v3) : Number(this.numObject.abilityprocess_v2) children.total = returnLocationStr() == 'qingdao' ? Number(this.numObject.abilityprocess_v3) : Number(this.numObject.abilityprocess_v2)
daibanNum = Number(daibanNum) + Number(children.total) daibanNum = Number(daibanNum) + Number(children.total)
} if (children.id == '1559376285703081986') { // } if (children.id == '1559376285703081986') { //
children.total = Number(this.numObject.meetingroom_book) children.total = Number(this.numObject.meetingroom_book)
daibanNum = Number(daibanNum) + Number(children.total) daibanNum = Number(daibanNum) + Number(children.total)
} if (children.id == '1545292602084827138') { // } if (children.id == '1545292602084827138') { //
@ -88,7 +88,7 @@ export default {
} if (children.id == '1545313754106699777') { // } if (children.id == '1545313754106699777') { //
children.total = Number(this.numObject.comment_review) children.total = Number(this.numObject.comment_review)
daibanNum = Number(daibanNum) + Number(children.total) daibanNum = Number(daibanNum) + Number(children.total)
} if (children.id == '1554294862931562498') { // } if (children.id == '1554294862931562498') { //
children.total = 0 children.total = 0
daibanNum = Number(daibanNum) + Number(children.total) daibanNum = Number(daibanNum) + Number(children.total)
} }

View File

@ -4,7 +4,7 @@
<el-input <el-input
v-model="roomNameA" v-model="roomNameA"
style="width: 160px" style="width: 160px"
placeholder="请输入会议室名称" placeholder="请输入会客厅名称"
></el-input> ></el-input>
<el-select <el-select
v-model="value" v-model="value"
@ -39,7 +39,7 @@
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="申请会议室" label="申请会客厅"
prop="roomName" prop="roomName"
header-align="center" header-align="center"
align="center" align="center"

View File

@ -2,7 +2,7 @@
<el-card shadow="never" class="roomBox"> <el-card shadow="never" class="roomBox">
<div> <div>
<div slot="header" class="roomHeadSpan"> <div slot="header" class="roomHeadSpan">
<span>议室管理</span> <span>客厅管理</span>
<el-button <el-button
style="float: right; padding: 5px 5px" style="float: right; padding: 5px 5px"
type="primary" type="primary"
@ -13,7 +13,7 @@
</div> </div>
<el-table border style="width: 100%" :data="tableData"> <el-table border style="width: 100%" :data="tableData">
<el-table-column <el-table-column
label="会议室名称" label="会客厅名称"
prop="name" prop="name"
header-align="center" header-align="center"
align="center" align="center"
@ -70,10 +70,10 @@
@close="outDialog" @close="outDialog"
:title=" :title="
flge === 'add' flge === 'add'
? '会议室新增' ? '会客厅新增'
: flge === 'look' : flge === 'look'
? '会议室详情' ? '会客厅详情'
: '会议室修改' : '会客厅修改'
" "
:visible.sync="dialogFormVisible" :visible.sync="dialogFormVisible"
> >
@ -88,7 +88,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="会议室名称" label="会客厅名称"
prop="name" prop="name"
:label-width="formLabelWidth" :label-width="formLabelWidth"
> >
@ -106,7 +106,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="会议室面积(m²)" label="会客厅面积(m²)"
prop="area" prop="area"
:label-width="formLabelWidth" :label-width="formLabelWidth"
> >
@ -143,7 +143,7 @@
</el-col> </el-col>
<el-col> <el-col>
<el-form-item <el-form-item
label="会议室图片" label="会客厅图片"
prop="pic" prop="pic"
:label-width="formLabelWidth" :label-width="formLabelWidth"
> >
@ -241,11 +241,11 @@ export default {
fileList: [], fileList: [],
rules: { rules: {
name: [ name: [
{ required: true, message: '请输入会议室名称', trigger: 'blur' }, { required: true, message: '请输入会客厅名称', trigger: 'blur' },
{ min: 1, trigger: 'blur' } { min: 1, trigger: 'blur' }
], ],
area: [ area: [
{ required: true, message: '请输入会议室面积', trigger: 'blur' } { required: true, message: '请输入会客厅面积', trigger: 'blur' }
// { min: 1, message: '', type: 'number', trigger: 'blur' } // { min: 1, message: '', type: 'number', trigger: 'blur' }
], ],
description: [ description: [
@ -381,7 +381,7 @@ export default {
}, },
// //
taskDelete (row) { taskDelete (row) {
this.$confirm('此操作将永久删除该会议室, 是否继续?', '提示', { this.$confirm('此操作将永久删除该会客厅, 是否继续?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'

View File

@ -11,12 +11,12 @@
<el-form-item> <el-form-item>
<ren-select v-model="dataForm.gender" dict-type="gender" :placeholder="$t('user.gender')"></ren-select> <ren-select v-model="dataForm.gender" dict-type="gender" :placeholder="$t('user.gender')"></ren-select>
</el-form-item> </el-form-item>
<el-form-item> <!-- <el-form-item>
<el-select v-model="dataForm.postId" :placeholder="$t('user.postIdList')" clearable> <el-select v-model="dataForm.postId" :placeholder="$t('user.postIdList')" clearable>
<el-option :label="data.postName" v-for="data in postList" :key="data.id" :value="data.id">{{ data.postName <el-option :label="data.postName" v-for="data in postList" :key="data.id" :value="data.id">{{ data.postName
}}</el-option> }}</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item> -->
<el-form-item> <el-form-item>
<ren-dept-tree v-model="dataForm.deptId" :placeholder="$t('dept.title')" :query="true" ref="renDeptTree"> <ren-dept-tree v-model="dataForm.deptId" :placeholder="$t('dept.title')" :query="true" ref="renDeptTree">
</ren-dept-tree> </ren-dept-tree>

View File

@ -454,7 +454,7 @@ export function getDevelopDocTree(params) {
}) })
} }
// //
export function getRoomSearch(params) { export function getRoomSearch(params) {
return request({ return request({
url: '/bookMeeting/list', url: '/bookMeeting/list',

View File

@ -763,7 +763,7 @@
next() next()
}, },
setup() { setup() {
//6 //6
const flag = ref('') const flag = ref('')
let componentTypeArray = ['组件类型', '应用领域'] let componentTypeArray = ['组件类型', '应用领域']
const handleAdd = (value) => { const handleAdd = (value) => {

View File

@ -35,7 +35,7 @@
@click="roomResults" @click="roomResults"
:class="roomYuyue ? 'roomBackground' : 'nullBackground'" :class="roomYuyue ? 'roomBackground' : 'nullBackground'"
> >
议室预约 客厅预约
</div> </div>
<div <div
class="leftBottom" class="leftBottom"
@ -46,7 +46,7 @@
</div> </div>
</div> </div>
<div class="roomSearch"> <div class="roomSearch">
<span>议室搜索</span> <span>客厅搜索</span>
<div class="searchInput"> <div class="searchInput">
<a-input-search <a-input-search
v-model:value="roomInput" v-model:value="roomInput"
@ -65,7 +65,7 @@
</div> </div>
<div v-if="roomYuyue"> <div v-if="roomYuyue">
<div class="roomTableList"> <div class="roomTableList">
<span>议室列表</span> <span>客厅列表</span>
<div class="roomTime"> <div class="roomTime">
<span>可用时间查询</span> <span>可用时间查询</span>
<a-space direction="vertical" class="roomSpace"> <a-space direction="vertical" class="roomSpace">
@ -251,7 +251,7 @@
</a-modal> </a-modal>
<a-modal <a-modal
v-model:visible="appointmentRoom" v-model:visible="appointmentRoom"
title="会议室预约" title="会客厅预约"
width="10rem" width="10rem"
@ok="handleOk" @ok="handleOk"
:body-style="bodystyle" :body-style="bodystyle"
@ -289,7 +289,7 @@
> >
<div class="imgJinggao"></div> <div class="imgJinggao"></div>
<span style="color: #da2a13; font-size: 0.12rem"> <span style="color: #da2a13; font-size: 0.12rem">
当日会议室可用时段{{ roomDateList[0] }} 当日会客厅可用时段{{ roomDateList[0] }}
</span> </span>
</div> </div>
</a-col> </a-col>
@ -922,7 +922,7 @@
showSizeChanger: true, showSizeChanger: true,
pageSizeOptions: ['10', '30', '50', '100', '1000'], // pageSizeOptions: ['10', '30', '50', '100', '1000'], //
}) })
//======= //=======
const paginationRoom = ref({ const paginationRoom = ref({
total: 0, total: 0,
current: 1, current: 1,
@ -1217,7 +1217,7 @@
} }
init() init()
// //
const result = () => { const result = () => {
roomYuyue.value = false roomYuyue.value = false
roomResult.value = true roomResult.value = true
@ -1348,7 +1348,7 @@
return seconds return seconds
} }
} }
// ---- // ----
// //
const disabledTimeHours = () => { const disabledTimeHours = () => {
if (formState.endTime) { if (formState.endTime) {
@ -1457,7 +1457,7 @@
const handleChange = (i) => { const handleChange = (i) => {
let query = { let query = {
date: i, //riqi date: i, //riqi
roomId: dateId.value, // roomId: dateId.value, //
} }
getDate(query).then(({ data: res }) => { getDate(query).then(({ data: res }) => {
roomDateList.value = res.data roomDateList.value = res.data
@ -1466,7 +1466,7 @@
const columnsRomm = [ const columnsRomm = [
{ {
title: '会议室名称', title: '会客厅名称',
dataIndex: 'roomName', dataIndex: 'roomName',
align: 'center', align: 'center',
}, },
@ -1530,13 +1530,13 @@
console.log('error', err) console.log('error', err)
}) })
} }
// //
const searchData = () => { const searchData = () => {
let query = { let query = {
bookDate: roomCerateDate.value, // bookDate: roomCerateDate.value, //
startTime: roomCreateTime.value, // startTime: roomCreateTime.value, //
endTime: roomEndTime.value, // endTime: roomEndTime.value, //
name: roomInput.value, // name: roomInput.value, //
page: roomPage.value, // page: roomPage.value, //
limit: roomLimit.value, // limit: roomLimit.value, //
} }

View File

@ -187,8 +187,8 @@ let typeObj = {
7: '需求后台', 7: '需求后台',
8: '评论前台', 8: '评论前台',
9: '评论后台', 9: '评论后台',
10: '会议室前台', 10: '会客厅前台',
11: '会议室后台', 11: '会客厅后台',
12: '其他' 12: '其他'
} }
@ -214,7 +214,7 @@ let pageObj = {
0: 'myAgent-CommentModeration', 0: 'myAgent-CommentModeration',
1: 'hasToDoTasks-CommentModeration', 1: 'hasToDoTasks-CommentModeration',
}, },
'会议室后台': { '会客厅后台': {
0: 'activiti-RoomExamineAdmin', 0: 'activiti-RoomExamineAdmin',
1: 'activiti-RoomExamineAdmin', 1: 'activiti-RoomExamineAdmin',
}, },
@ -227,10 +227,10 @@ const tabTypeObj = {
'下架前台': '能力下架', '下架前台': '能力下架',
'需求前台': '需求评论', '需求前台': '需求评论',
'评论前台': '需求评论', '评论前台': '需求评论',
'会议室前台': '会议室前台' '会客厅前台': '会客厅前台'
} }
// //
const goPage = (item) => { const goPage = (item) => {
if (item.jumpUrl && item.type !== 12) { if (item.jumpUrl && item.type !== 12) {
let typeText = typeObj[item.type]; let typeText = typeObj[item.type];
@ -259,7 +259,7 @@ const goPage = (item) => {
// let _page = pageObj[typeText][_applyState] // let _page = pageObj[typeText][_applyState]
// window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`) // window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`)
// } else if (typeText.indexOf('') !== -1) { // } else if (typeText.indexOf('') !== -1) {
// if (typeText == '') { // if (typeText == '') {
// router.push({ // router.push({
// path: '/DetailsPageconetent', // path: '/DetailsPageconetent',
// query: { // query: {