提交 e5e17a90 authored 作者: FC's avatar FC

合并分支 'fc' 到 'master'

Fc 查看合并请求 !8
...@@ -1364,12 +1364,12 @@ saveScheduleAddress(data){ ...@@ -1364,12 +1364,12 @@ saveScheduleAddress(data){
data data
}) })
}, },
exportCustomUser(params) { // exportCustomUser(params) {
return axios('/person/exportCustomUser', { // return axios('/person/exportCustomUser', {
method: 'get', // method: 'get',
params // params
}) // })
}, // },
postImportPerson(data, params) {//导入人员信息 postImportPerson(data, params) {//导入人员信息
return axios('/person/importCustomUser', { return axios('/person/importCustomUser', {
method: 'post', method: 'post',
...@@ -1655,6 +1655,12 @@ findUnitByCustomOrgId(data){ ...@@ -1655,6 +1655,12 @@ findUnitByCustomOrgId(data){
return axios('/ConferenceProcessNoticePart/findSendNoticePartByProcessId?processId=' + data,{ return axios('/ConferenceProcessNoticePart/findSendNoticePartByProcessId?processId=' + data,{
method:'get' method:'get'
}) })
},
//主页面-重新预定会议时间
rescheduleMeeting(data){
return axios('/conferenceProcess/rescheduleMeeting?processId='+data,{
method:'get',
})
} }
} }
......
...@@ -121,33 +121,15 @@ export default { ...@@ -121,33 +121,15 @@ export default {
methods: { methods: {
modifyDate(e, val) { modifyDate(e, val) {
this.flash = false this.flash = false
console.log(val)
let data = {
id: val.id,
startDate: e,
}
this.$axios
.postDelayConf(data)
.then((res) => {
if (res.data.code == 200) {
this.$message({
type: 'success',
message: '修改成功',
})
val.processDate = e
this.$emit('getData') this.$emit('getData')
setTimeout(() => { setTimeout(() => {
this.flash = true this.flash = true
}, 500) }, 500)
} else {
this.$message({ this.$message({
type: 'error', type: 'error',
message: res.data.data, message: res.data.data,
}) })
this.flash = true this.flash = true
}
})
.catch((err) => {})
}, },
openAddDialog() { openAddDialog() {
this.$emit('newConference') this.$emit('newConference')
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
@change="pickerChange()"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="容纳人数:" class="sort"> <el-form-item label="容纳人数:" class="sort">
...@@ -115,6 +116,7 @@ ...@@ -115,6 +116,7 @@
</div> </div>
</div>--> </div>-->
<time-list <time-list
ref="timeList"
:canClick="canClick" :canClick="canClick"
:conferenceProcessReservationRecordList="conferenceProcessReservationRecordList" :conferenceProcessReservationRecordList="conferenceProcessReservationRecordList"
:isHover="false :isHover="false
...@@ -123,7 +125,7 @@ ...@@ -123,7 +125,7 @@
></time-list> ></time-list>
<div class="time_bottom"> <div class="time_bottom">
<div class="time_tips">注:更换时间不换会议室,不影响已排座数据;同一时间段重复预定的,遇此情况请线下协商会议改期。</div> <div class="time_tips">注:更换时间不换会议室,不影响已排座数据;同一时间段重复预定的,遇此情况请线下协商会议改期。</div>
<div class="yuding" @click="yuding()">下一步</div> <!-- <div class="yuding" @click="yuding()">下一步</div> -->
</div> </div>
</div> </div>
<div v-if="isActive==2"> <div v-if="isActive==2">
...@@ -340,36 +342,21 @@ export default { ...@@ -340,36 +342,21 @@ export default {
}, },
methods: { methods: {
selectConfence() { pickerChange() {
this.getConferenceList(this.ruleForm) this.currentConfenrence.reservationStartTime =
this.ruleForm.reservationStartTime + ' ' + this.currentConfenrence.reservationStartTime.split(' ')[1]
this.currentConfenrence.reservationEndTime =
this.ruleForm.reservationStartTime + ' ' + this.currentConfenrence.reservationEndTime.split(' ')[1]
}, },
//获取布局 // 上一步
getCvans(data) { lastSet() {
this.$axios.findConferenceLayOut(data).then((res) => { this.isActive = 1
console.log(res) this.$emit('getPredetermine', this.isActive)
if (res.data.code == 200) { this.getConferenceList(this.ruleForm)
this.moduleList = res.data.data.confLayoutList
this.moduleId = res.data.data.confLayoutList[0].id
this.confenceObj = {
conferenceAddress: res.data.data.conferenceAddress,
time: res.data.data.reservationStartTime + '-' + res.data.data.reservationEndTime.split(' ')[1],
}
}
})
},
getDate() {
let y = new Date().getFullYear()
let m = new Date().getMonth() + 1
let d = new Date().getDate()
if (m < 10) {
m = '0' + m
}
console.log(y + '-' + m + '-' + d)
return y + '-' + m + '-' + d
}, },
//预定会议室 //下一步
yuding() { nextSet() {
// console.log(333333)
this.currentConfenrence.processId = this.$route.query.processId this.currentConfenrence.processId = this.$route.query.processId
console.log(this.ruleForm) console.log(this.ruleForm)
...@@ -385,7 +372,7 @@ export default { ...@@ -385,7 +372,7 @@ export default {
this.$axios.reservationConference(this.currentConfenrence).then((res) => { this.$axios.reservationConference(this.currentConfenrence).then((res) => {
console.log(res) console.log(res)
if (res.data.code == 200) { if (res.data.code == 200) {
this.$message.success('会议预定成功') this.$message.success('预定成功')
this.isActive = 2 this.isActive = 2
this.getCvans(this.currentConfenrence) this.getCvans(this.currentConfenrence)
// this.predetermine = // this.predetermine =
...@@ -403,17 +390,59 @@ export default { ...@@ -403,17 +390,59 @@ export default {
this.$message.error('请选择会议室具体使用时间') this.$message.error('请选择会议室具体使用时间')
} }
}, },
selectConfence() {
this.getConferenceList(this.ruleForm)
},
//获取布局
getCvans(data) {
this.$axios.findConferenceLayOut(data).then((res) => {
console.log(res)
if (res.data.code == 200) {
this.moduleList = res.data.data.confLayoutList
this.moduleId = res.data.data.confLayoutList[0].id
this.confenceObj = {
conferenceAddress: res.data.data.conferenceAddress,
time: res.data.data.reservationStartTime + '-' + res.data.data.reservationEndTime.split(' ')[1],
}
}
})
},
getDate() {
let y = new Date().getFullYear()
let m = new Date().getMonth() + 1
let d = new Date().getDate()
if (m < 10) {
m = '0' + m
}
if (d < 10) {
d = '0' + d
}
console.log(y + '-' + m + '-' + d)
return y + '-' + m + '-' + d
},
//查询会议室 //查询会议室
getConferenceList(data) { getConferenceList(data) {
this.$axios.findReservationConference(data).then((res) => { this.$axios.findReservationConference(data).then((res) => {
if (res.data.code == 200) { if (res.data.code == 200) {
console.log('resresresres', res) console.log('resresresres', res)
this.trueList = res.data.data.conferenceAndUseInfoVoList this.trueList = res.data.data.conferenceAndUseInfoVoList
console.log(this.trueList) console.log(this.trueList)
this.dataLists = res.data.data this.dataLists = res.data.data
if (res.data.data.conferenceName) {
for (let i in this.trueList) {
if (res.data.data.conferenceName == this.trueList[i].conferenceName) {
this.chooseConfs(this.trueList[i])
this.$refs.timeList.selectRange(res.data.data.reservationStartTime.split(' ')[1])
this.$refs.timeList.selectRange(res.data.data.reservationEndTime.split(' ')[1])
}
}
} else {
this.choosePei(this.radio) this.choosePei(this.radio)
} }
}
}) })
// this.$forceUpdate() // this.$forceUpdate()
}, },
...@@ -426,12 +455,18 @@ export default { ...@@ -426,12 +455,18 @@ export default {
console.log(this.currentConfenrence) console.log(this.currentConfenrence)
}, },
switchOperation(val) { switchOperation(val) {
console.log(val)
console.log('currentConfenrence', this.currentConfenrence)
if (val === 1) { if (val === 1) {
this.isActive = 1 this.isActive = 1
this.getConferenceList(this.ruleForm) this.getConferenceList(this.ruleForm)
} else { } else {
this.isActive = 2 this.$message.error('进入下一步请点击屏幕下方"下一步"按钮!')
this.getCvans(this.currentConfenrence) // if (!this.currentConfenrence.reservationStartTime) {
// this.$message.error('请先选择会议使用时间')
// } else {
// }
} }
}, },
checkImg(item) { checkImg(item) {
...@@ -564,7 +599,7 @@ export default { ...@@ -564,7 +599,7 @@ export default {
this.$message.success('保存成功!') this.$message.success('保存成功!')
loading.close() loading.close()
this.$router.push({ this.$router.push({
path: '/operation/divideArea', path: '/operation/noticeMeeting',
query: { query: {
processId: this.$route.query.processId, processId: this.$route.query.processId,
isProcess: this.$route.query.isProcess, isProcess: this.$route.query.isProcess,
...@@ -655,7 +690,7 @@ export default { ...@@ -655,7 +690,7 @@ export default {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
font-size: 18px; font-size: 18px;
cursor: pointer; // cursor: pointer;
.line { .line {
width: 120%; width: 120%;
height: 4px; height: 4px;
...@@ -1001,7 +1036,27 @@ export default { ...@@ -1001,7 +1036,27 @@ export default {
// font-family: "PangMenZhengDao"; // font-family: "PangMenZhengDao";
margin-right: 36px; margin-right: 36px;
cursor: pointer; cursor: pointer;
} overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.confItemHover {
display: none;
}
}
// .confItem:hover {
// position: relative;
// // overflow: visible;
// // text-overflow: ellipsis;
// // white-space: nowrap;
// .confItemHover {
// display: inline-block;
// position: absolute;
// top: -20px;
// right: 0;
// // transform: translate(-50%);
// z-index: 15000;
// }
// }
.choose { .choose {
background-image: url('../../../../assets/meetingPalce/paiwei/conf.png') !important; background-image: url('../../../../assets/meetingPalce/paiwei/conf.png') !important;
background-repeat: no-repeat; background-repeat: no-repeat;
......
...@@ -157,6 +157,7 @@ export default { ...@@ -157,6 +157,7 @@ export default {
}, },
//选中的时间区间 //选中的时间区间
selectRange(item, index) { selectRange(item, index) {
console.log('item', item)
if (this.timeSelectObj.reservationStartTime && this.timeSelectObj.reservationEndTime) { if (this.timeSelectObj.reservationStartTime && this.timeSelectObj.reservationEndTime) {
this.timeSelectObj.reservationStartTime = item this.timeSelectObj.reservationStartTime = item
this.timeSelectObj.reservationEndTime = '' this.timeSelectObj.reservationEndTime = ''
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
</div> </div>
<div class="header"> <div class="header">
<div> <div>
<el-dropdown v-show="$store.state.rcSendStatus == 2"> <el-dropdown v-show="$store.state.rcSendStatus == 2 " :disabled="noticeStatus == 1">
<el-button class="but_2" size="medium" type="primary" :disabled="noticeStatus == 1"> <el-button class="but_2" size="medium" type="primary" :disabled="noticeStatus == 1">
新增人员 新增人员
<i class="arrow-down-icon"></i> <i class="arrow-down-icon"></i>
...@@ -136,13 +136,7 @@ ...@@ -136,13 +136,7 @@
type="primary" type="primary"
@click="rcSendFlag = true" @click="rcSendFlag = true"
>{{ rcName }}</el-button> >{{ rcName }}</el-button>
<div class="all_choose_box">
<el-checkbox
v-if="!allPersonFlag && $store.state.rcSendStatus == 2"
v-model="checkAll"
@change="handleCheckAllChange"
>全选</el-checkbox>
</div>
<!-- <el-button v-if="checkList.length" size="medium" @click="batchChange()">批量换区</el-button>--> <!-- <el-button v-if="checkList.length" size="medium" @click="batchChange()">批量换区</el-button>-->
<!-- <el-button <!-- <el-button
v-if="allPersonFlag && $store.state.rcSendStatus == 2" v-if="allPersonFlag && $store.state.rcSendStatus == 2"
...@@ -168,6 +162,13 @@ ...@@ -168,6 +162,13 @@
:disabled="checkList.length == 0" :disabled="checkList.length == 0"
@click="batchDel()" @click="batchDel()"
>批量删除</el-button> >批量删除</el-button>
<div class="all_choose_box">
<el-checkbox
v-if="!allPersonFlag && $store.state.rcSendStatus == 2"
v-model="checkAll"
@change="handleCheckAllChange"
>全选</el-checkbox>
</div>
<!-- <el-button @click="saveArea()" :class="disableFlag ? 'not_allowed_but' : ''">保存排序</el-button>--> <!-- <el-button @click="saveArea()" :class="disableFlag ? 'not_allowed_but' : ''">保存排序</el-button>-->
</div> </div>
...@@ -175,15 +176,22 @@ ...@@ -175,15 +176,22 @@
<div> <div>
<div class="select_text">查询:</div> <div class="select_text">查询:</div>
<el-input <el-input
class="select_input"
placeholder="请输入姓名、单位、职务" placeholder="请输入姓名、单位、职务"
v-model="info" v-model="info"
clearable clearable
@clear="clearSearch()" @clear="clearSearch()"
@change="search()" @change="search()"
@keyup.enter.native="search()"
></el-input> ></el-input>
<!-- <el-button type="primary" size="medium" @click="search()">查询</el-button> --> <!-- <el-button type="primary" size="medium" @click="search()">查询</el-button> -->
<div class="select_text">排序:</div> <div class="select_text">排序:</div>
<el-select v-model="infoSelect" placeholder="请选标签" @change="selectAreaChange()"> <el-select
v-model="infoSelect"
clearable
placeholder="请选标签"
@change="selectAreaChange()"
>
<el-option <el-option
v-for="item in customOrgList" v-for="item in customOrgList"
:label="item.customOrgName" :label="item.customOrgName"
...@@ -640,7 +648,7 @@ export default { ...@@ -640,7 +648,7 @@ export default {
background: 'rgba(0, 0, 0, 0.7)', background: 'rgba(0, 0, 0, 0.7)',
}, },
colorLists: [ colorLists: [
'#a50fbd', '#247AEF',
'#36BEAC', '#36BEAC',
'#F28A68', '#F28A68',
'#9398F7', '#9398F7',
...@@ -2272,6 +2280,7 @@ export default { ...@@ -2272,6 +2280,7 @@ export default {
div { div {
display: flex; display: flex;
align-items: center; align-items: center;
width: 500px;
.el-button { .el-button {
margin-left: 10px; margin-left: 10px;
} }
...@@ -2280,6 +2289,12 @@ export default { ...@@ -2280,6 +2289,12 @@ export default {
width: 80px; width: 80px;
margin-left: 15px; margin-left: 15px;
} }
.el-select {
width: 200px;
}
.select_input {
width: 300px;
}
.all_choose_box { .all_choose_box {
line-height: 77px; line-height: 77px;
/deep/.el-checkbox { /deep/.el-checkbox {
......
...@@ -1153,7 +1153,7 @@ export default { ...@@ -1153,7 +1153,7 @@ export default {
console.log(res) console.log(res)
if (res.data.code == 200) { if (res.data.code == 200) {
this.noticeHandleClose() this.noticeHandleClose()
this.noticeVisileLoading = true this.noticeVisileLoading = false
this.$message.success('发送通知成功') this.$message.success('发送通知成功')
this.init(this.activeIndex) this.init(this.activeIndex)
} else { } else {
......
...@@ -143,9 +143,9 @@ ...@@ -143,9 +143,9 @@
v-for="(item, index) of meetingForm" v-for="(item, index) of meetingForm"
:key="index" :key="index"
> >
<span class="row_item_label">{{ item.key }}</span> <span class="row_item_label" v-if="item.key !=='倒计时' ">{{ item.key }}</span>
<span class="row_item_text" v-if="item.key === '倒计时'"> <span class="row_item_text" v-if="item.key === '倒计时' ">
<time-count-down :endTime="item.value"></time-count-down> <time-count-down :endTime="item.value"></time-count-down>
</span> </span>
<span class="row_item_text" v-else>{{ item.value }}</span> <span class="row_item_text" v-else>{{ item.value }}</span>
...@@ -240,11 +240,22 @@ ...@@ -240,11 +240,22 @@
<!-- >--> <!-- >-->
<!-- 返回--> <!-- 返回-->
<!-- </div>--> <!-- </div>-->
<div
v-if="$route.meta.title === 'chooseModule' && yuding==1"
class="but normal_but"
@click="nextSet()"
>下一步</div>
<div
v-if="$route.meta.title === 'chooseModule' && yuding==2"
class="but normal_but"
@click="lastSet()"
>上一步</div>
<div <div
v-if="$route.meta.title === 'chooseModule' && yuding==2" v-if="$route.meta.title === 'chooseModule' && yuding==2"
class="but normal_but" class="but normal_but"
@click="nextStep()" @click="nextStep()"
>确定</div> >保存</div>
<div class="but quit_but" @click="quit">回首页</div> <div class="but quit_but" @click="quit">回首页</div>
</div> </div>
...@@ -563,6 +574,14 @@ export default { ...@@ -563,6 +574,14 @@ export default {
nextStep() { nextStep() {
this.$refs['select_wrap'].toSortSeat() this.$refs['select_wrap'].toSortSeat()
}, },
nextSet() {
console.log('下一步')
this.$refs['select_wrap'].nextSet()
},
lastSet() {
console.log('上一步')
this.$refs['select_wrap'].lastSet()
},
addDialogClose() { addDialogClose() {
this.dialogVisible = false this.dialogVisible = false
}, },
...@@ -620,6 +639,20 @@ export default { ...@@ -620,6 +639,20 @@ export default {
// console.log('333333') // console.log('333333')
this.$store.commit('changeRcSendStatus', res.data.data.rcSendStatus) this.$store.commit('changeRcSendStatus', res.data.data.rcSendStatus)
this.meetingData = res.data.data this.meetingData = res.data.data
if (this.$route.path == '/operation/chooseModule') {
this.meetingForm = [
{
key: '单位',
value: this.meetingData.unitName ? this.meetingData.unitName : '暂无信息',
},
{
key: '联系人',
value: this.meetingData.processPerson
? this.meetingData.processPerson + (this.meetingData.processPhone ? '(' + this.meetingData.processPhone + ')' : '')
: '暂无信息',
},
]
} else {
this.meetingForm = [ this.meetingForm = [
{ {
key: '时间', key: '时间',
...@@ -644,6 +677,8 @@ export default { ...@@ -644,6 +677,8 @@ export default {
: '暂无信息', : '暂无信息',
}, },
] ]
}
this.countFlag = true this.countFlag = true
this.status = this.meetingData.processStatus this.status = this.meetingData.processStatus
// console.log(this.meetingData) // console.log(this.meetingData)
......
...@@ -109,7 +109,12 @@ export default { ...@@ -109,7 +109,12 @@ export default {
if (month + 1 < 10) { if (month + 1 < 10) {
month = '0' + (month + 1) month = '0' + (month + 1)
} }
let date = new Date().getFullYear() + '-' + month + '-' + new Date().getDate() let day = new Date().getDate()
if (day < 10) {
day = '0' + day
}
let date = new Date().getFullYear() + '-' + month + '-' + day
// let date = new Date().getFullYear() + '-' + month + '-' + new Date().getDate()
if (new Date(item.date).getTime() == new Date(date).getTime()) { if (new Date(item.date).getTime() == new Date(date).getTime()) {
// console.log('等于') // console.log('等于')
return 'blue' return 'blue'
......
...@@ -245,7 +245,7 @@ export default { ...@@ -245,7 +245,7 @@ export default {
} }
let day = new Date().getDate() let day = new Date().getDate()
if (day < 10) { if (day < 10) {
day = '0' + (day + 1) day = '0' + day
} }
let date = new Date().getFullYear() + '-' + month + '-' + day let date = new Date().getFullYear() + '-' + month + '-' + day
console.log('data', date) console.log('data', date)
......
...@@ -142,11 +142,11 @@ export default { ...@@ -142,11 +142,11 @@ export default {
// path: "/system/bankMangager/range", // path: "/system/bankMangager/range",
// Rindex: 4 - 3, // Rindex: 4 - 3,
// }, // },
// { {
// name: '模板库管理', name: '模板库管理',
// path: '/system/bankMangager/templateLibrary', path: '/system/bankMangager/templateLibrary',
// Rindex: 4 - 4, Rindex: 4 - 4,
// }, },
// { // {
// name: '单位库管理', // name: '单位库管理',
// path: '/system/bankMangager/unitLibrary', // path: '/system/bankMangager/unitLibrary',
......
...@@ -243,7 +243,7 @@ ...@@ -243,7 +243,7 @@
<div>{{editPersonObj.customUserUnit}}</div> <div>{{editPersonObj.customUserUnit}}</div>
</el-form-item> </el-form-item>
<el-form-item label="浙政钉ID:"> <el-form-item label="浙政钉ID:">
<div>{{editPersonObj.id}}</div> <div>{{editPersonObj.customUserDingId}}</div>
</el-form-item> </el-form-item>
<el-form-item label="参会单位(平台):" prop="sysUnitId"> <el-form-item label="参会单位(平台):" prop="sysUnitId">
<!-- <el-input v-model="editPersonObj.sysUnitName" ></el-input> <!-- <el-input v-model="editPersonObj.sysUnitName" ></el-input>
...@@ -702,6 +702,7 @@ export default { ...@@ -702,6 +702,7 @@ export default {
//导出 //导出
exportLabel() { exportLabel() {
console.log('exportLabel') console.log('exportLabel')
console.log(this.formData)
this.$axios.exportCustomUser(this.formData.customOrgId).then((res) => { this.$axios.exportCustomUser(this.formData.customOrgId).then((res) => {
console.log(res) console.log(res)
if (res.data.code == 200) { if (res.data.code == 200) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论