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

合并分支 'fc' 到 'master'

Fc 查看合并请求 !9
...@@ -19,11 +19,11 @@ const env = { ...@@ -19,11 +19,11 @@ const env = {
// API_TEST_ORIGIN: 'http://192.168.102.110:6888' // API_TEST_ORIGIN: 'http://192.168.102.110:6888'
// API_BASE_ORIGIN: 'http://192.168.1.104:6888',//越越 // API_BASE_ORIGIN: 'http://192.168.1.104:6888',//越越
// API_TEST_ORIGIN: 'http://192.168.1.104:6888' // API_TEST_ORIGIN: 'http://192.168.1.104:6888'
// API_BASE_ORIGIN: 'http://172.18.27.190:8080/confhd', //赵璐 // API_BASE_ORIGIN: 'http://172.18.27.190:8080/confhd', //
// API_TEST_ORIGIN: 'http://172.18.27.190:8080/confhd', // API_TEST_ORIGIN: 'http://172.18.27.190:8080/confhd',
// API_BASE_ORIGIN: 'http://192.168.102.146:6888', //越越 // API_BASE_ORIGIN: 'http://192.168.102.146:6888', //越越
// API_TEST_ORIGIN: 'http://192.168.102.146:6888', // API_TEST_ORIGIN: 'http://192.168.102.146:6888',
API_BASE_ORIGIN: 'http://192.168.102.238:6888', //越越 API_BASE_ORIGIN: 'http://192.168.102.238:6888', //赵璐
API_TEST_ORIGIN: 'http://192.168.102.238:6888', API_TEST_ORIGIN: 'http://192.168.102.238:6888',
}, },
development_ssj: { development_ssj: {
......
...@@ -115,7 +115,11 @@ ...@@ -115,7 +115,11 @@
></div> ></div>
</div> </div>
</div>--> </div>-->
<div class="box" v-if="trueList.length==0"></div>
<time-list <time-list
class="time_list"
v-if="trueList.length>0"
ref="timeList" ref="timeList"
:canClick="canClick" :canClick="canClick"
:conferenceProcessReservationRecordList="conferenceProcessReservationRecordList" :conferenceProcessReservationRecordList="conferenceProcessReservationRecordList"
...@@ -233,7 +237,7 @@ export default { ...@@ -233,7 +237,7 @@ export default {
}, },
options: [ options: [
{ label: '大于', value: 1 }, { label: '大于', value: 1 },
{ label: '小于', vallue: 2 }, { label: '小于', value: 2 },
], ],
hours: [ hours: [
'07:00', '07:00',
...@@ -391,6 +395,7 @@ export default { ...@@ -391,6 +395,7 @@ export default {
} }
}, },
selectConfence() { selectConfence() {
console.log('ruleFom', this.ruleForm)
this.getConferenceList(this.ruleForm) this.getConferenceList(this.ruleForm)
}, },
//获取布局 //获取布局
...@@ -484,16 +489,17 @@ export default { ...@@ -484,16 +489,17 @@ export default {
this.confList = this.dataLists.conferenceAndUseInfoVoList this.confList = this.dataLists.conferenceAndUseInfoVoList
console.log('confList', this.confList) console.log('confList', this.confList)
// this.conferenceId = this.confList[0]?.conferenceId
this.conferenceId = this.confList[0].conferenceId
// this.confList[]
let obj = [...this.confList[0].conferenceProcessReservationRecordList]
this.conferenceProcessReservationRecordList = this.confList[0].conferenceProcessReservationRecordList
// this.moduleId = this.confList[0]?.confLayoutVoList[0]?.conferenceId
this.moduleId = this.confList[0].conferenceId
this.currentConfenrence = this.confList[0] // let obj = [...this.confList[0].conferenceProcessReservationRecordList]
// this.moduleList = this.confList[0]?.confLayoutTempChildVos;
if (this.confList.length > 0) {
this.conferenceProcessReservationRecordList = this.confList[0].conferenceProcessReservationRecordList
this.conferenceId = this.confList[0].conferenceId
this.moduleId = this.confList[0].conferenceId
this.currentConfenrence = this.confList[0]
} else {
this.currentConfenrence = {}
}
if (this.confList.length > 7) { if (this.confList.length > 7) {
this.trueList = this.confList.slice(this.listIndex, 7) this.trueList = this.confList.slice(this.listIndex, 7)
this.originModuleList = this.trueList[0].confLayoutVoList this.originModuleList = this.trueList[0].confLayoutVoList
...@@ -739,6 +745,7 @@ export default { ...@@ -739,6 +745,7 @@ export default {
text-align: center; text-align: center;
line-height: 40px; line-height: 40px;
margin-left: 48px; margin-left: 48px;
cursor: pointer;
} }
.demo-ruleForm { .demo-ruleForm {
.sort { .sort {
...@@ -1089,6 +1096,13 @@ export default { ...@@ -1089,6 +1096,13 @@ export default {
.time_module { .time_module {
width: 88%; width: 88%;
margin: 0 auto; margin: 0 auto;
height: 380px;
.time_list {
}
.box {
width: 100%;
height: 100%;
}
.time_bottom { .time_bottom {
position: relative; position: relative;
.time_tips { .time_tips {
......
...@@ -167,6 +167,7 @@ ...@@ -167,6 +167,7 @@
v-if="!allPersonFlag && $store.state.rcSendStatus == 2" v-if="!allPersonFlag && $store.state.rcSendStatus == 2"
v-model="checkAll" v-model="checkAll"
@change="handleCheckAllChange" @change="handleCheckAllChange"
:disabled="noticeStatus==1"
>全选</el-checkbox> >全选</el-checkbox>
</div> </div>
...@@ -190,6 +191,7 @@ ...@@ -190,6 +191,7 @@
v-model="infoSelect" v-model="infoSelect"
clearable clearable
placeholder="请选标签" placeholder="请选标签"
:disabled="noticeStatus==1"
@change="selectAreaChange()" @change="selectAreaChange()"
> >
<el-option <el-option
...@@ -778,10 +780,10 @@ export default { ...@@ -778,10 +780,10 @@ export default {
}, },
methods: { methods: {
selectAreaChange() { selectAreaChange() {
console.log() // console.log()
console.log(this.infoSelect) // console.log(this.infoSelect)
console.log(this.activeIndex) // console.log(this.activeIndex)
console.log(this.confData.confPersonAreaVos[this.activeIndex]) // console.log(this.confData.confPersonAreaVos[this.activeIndex])
// console.log(this.); // console.log(this.);
let params = { let params = {
areaId: this.confData.confPersonAreaVos[this.activeIndex].id, areaId: this.confData.confPersonAreaVos[this.activeIndex].id,
...@@ -791,7 +793,7 @@ export default { ...@@ -791,7 +793,7 @@ export default {
this.$axios.personnelSortByCustomIdAndAreaId(params).then((res) => { this.$axios.personnelSortByCustomIdAndAreaId(params).then((res) => {
console.log(res) console.log(res)
if (res.data.code == 200) { if (res.data.code == 200) {
this.init() this.init(this.activeIndex)
} }
}) })
}, },
...@@ -1709,7 +1711,8 @@ export default { ...@@ -1709,7 +1711,8 @@ export default {
message: res.data.data, message: res.data.data,
type: 'success', type: 'success',
}) })
this.init() this.init(this.activeIndex)
this.checkList = []
} }
}) })
.catch((err) => {}) .catch((err) => {})
...@@ -1844,7 +1847,7 @@ export default { ...@@ -1844,7 +1847,7 @@ export default {
}) })
}, //保存并离开 }, //保存并离开
saveArea() { saveArea() {
console.log(123) // console.log(123)
if (this.disableFlag) { if (this.disableFlag) {
return false return false
} }
......
...@@ -134,10 +134,10 @@ ...@@ -134,10 +134,10 @@
class="but_2" class="but_2"
size="medium" size="medium"
type="primary" type="primary"
:disabled="multipleSelection.length == 0" :disabled=" noticeStatus==2"
>发送通知</el-button> >发送通知</el-button>
<el-button <el-button
:disabled="multipleSelection.length == 0" :disabled="multipleSelection.length == 0 || noticeStatus == 1"
class="but_2" class="but_2"
size="medium" size="medium"
type="primary" type="primary"
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
class="but_2" class="but_2"
size="medium" size="medium"
type="primary" type="primary"
:disabled="multipleSelection.length == 0" :disabled=" noticeStatus==2"
>批量催阅</el-button> >批量催阅</el-button>
</div> </div>
<!-- <div> <!-- <div>
...@@ -436,12 +436,12 @@ ...@@ -436,12 +436,12 @@
> >
<div class="noticeVisileForm"> <div class="noticeVisileForm">
<el-form ref="form" :model="sendNoticePartForm" label-width="80px"> <el-form ref="form" :model="sendNoticePartForm" label-width="80px">
<el-form-item label="已选单位">{{multipleSelection.length}}</el-form-item> <el-form-item label="已选单位:">{{multipleSelection.length}}</el-form-item>
<el-form-item label="通知内容" class="content"> <el-form-item label="通知内容:" class="content">
<quill-editor v-model="sendNoticePartForm.noticeContent" :options="quillOption" /> <quill-editor v-model="sendNoticePartForm.noticeContent" :options="quillOption" />
</el-form-item> </el-form-item>
<el-form-item label="附件"> <el-form-item label="附件:">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
action action
...@@ -1149,6 +1149,7 @@ export default { ...@@ -1149,6 +1149,7 @@ export default {
} }
data.sendNoticePart.processId = this.$route.query.processId data.sendNoticePart.processId = this.$route.query.processId
this.noticeVisileLoading = true this.noticeVisileLoading = true
// console.log(data)
this.$axios.sendNotification(data).then((res) => { this.$axios.sendNotification(data).then((res) => {
console.log(res) console.log(res)
if (res.data.code == 200) { if (res.data.code == 200) {
...@@ -1157,6 +1158,7 @@ export default { ...@@ -1157,6 +1158,7 @@ export default {
this.$message.success('发送通知成功') this.$message.success('发送通知成功')
this.init(this.activeIndex) this.init(this.activeIndex)
} else { } else {
this.noticeVisileLoading = false
this.$message.error(`${res.data.data}`) this.$message.error(`${res.data.data}`)
} }
}) })
......
...@@ -10,6 +10,16 @@ ...@@ -10,6 +10,16 @@
<span class="num">{{ overviewData.noRowSeatNum }}</span> <span class="num">{{ overviewData.noRowSeatNum }}</span>
<el-button type="primary" class="toongzhi" @click="noticeAdmin()">地址通知管理员</el-button> <el-button type="primary" class="toongzhi" @click="noticeAdmin()">地址通知管理员</el-button>
<el-button type="primary" class="daping" @click="checkScreen()">查看大屏</el-button> <el-button type="primary" class="daping" @click="checkScreen()">查看大屏</el-button>
<el-dropdown class="tongzhi">
<el-button class="but_2" size="medium" type="primary">
群发通知
<i class="arrow-down-icon"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item @click.native="massNotification()">群发会议通知</el-dropdown-item>
<el-dropdown-item @click.native="notificationRecord()">通知记录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div> </div>
<div class="module_title">-会议授权-</div> <div class="module_title">-会议授权-</div>
<div class="overview_model_1"> <div class="overview_model_1">
...@@ -381,6 +391,92 @@ ...@@ -381,6 +391,92 @@
<el-button type="primary" @click="sureSend()">确 定</el-button> <el-button type="primary" @click="sureSend()">确 定</el-button>
</span> </span>
</el-dialog> </el-dialog>
<!-- 群发会议通知 -->
<el-dialog
title="群发会议通知"
:visible.sync="notification"
width="40%"
append-to-body
:before-close="notificationHandleClosed"
>
<el-form
style="width:80%"
:model="notificationForm"
ref="notificationForm"
label-width="100px"
:rules="notificationFormRules"
>
<el-form-item label="接收人员:" prop="person">
<div>{{notificationForm.person}}</div>
</el-form-item>
<el-form-item label="通知内容:" prop="content">
<el-input type="textarea" rows="9" v-model="notificationForm.content"></el-input>
</el-form-item>
<el-form-item>
<el-button @click="notificationHandleClosed('notificationForm')">取 消</el-button>
<el-button type="primary" @click="sureNotification('notificationForm')">确 定</el-button>
</el-form-item>
</el-form>
</el-dialog>
<!-- 通知记录弹框 -->
<el-dialog
title="通知记录"
:visible.sync="noteListDialogVisible"
append-to-body
:before-close="noteClose"
class="noteListDialog"
>
<div class="listMain">
<el-table height="100%" :data="noteTableData" stripe style="width: 100%">
<el-table-column prop="createTime" label="序号" width="80"></el-table-column>
<el-table-column prop="sendMsg" label="发送内容"></el-table-column>
<el-table-column prop="successNum" label="发送结果" width="200"></el-table-column>
<el-table-column prop="errorNum" label="发送时间" width="150"></el-table-column>
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<el-button type="text" size="small" @click="showResult(scope.row)">通知结果</el-button>
</template>
</el-table-column>
</el-table>
</div>
</el-dialog>
<!-- 通知结果 -->
<el-dialog
title="通知结果"
:visible.sync="notifyResultsDialogVisible"
append-to-body
:before-close="notifyResultsDialogVisibleClose"
class="notifyResultsDialog"
>
<div class="top">
<div class="title">
<div>标题:</div>
<div>XXX</div>
</div>
<div class="content">
<div>内容:</div>
<div>xxxx</div>
</div>
<div>发送时间:ccccc</div>
</div>
<div class="button">
<div>发送成功/10</div>
<div>发送失败/5</div>
</div>
<!-- <div class="listMain"> -->
<el-table height="100%" :data="noteTableData" stripe style="width: 100%">
<el-table-column prop="createTime" label="序号" width="80"></el-table-column>
<el-table-column prop="sendMsg" label="发送内容"></el-table-column>
<el-table-column prop="successNum" label="发送结果" width="200"></el-table-column>
<el-table-column prop="errorNum" label="发送时间" width="150"></el-table-column>
<el-table-column label="操作" width="100">
<template slot-scope="scope">
<el-button type="text" size="small" @click="showResult(scope.row)">通知结果</el-button>
</template>
</el-table-column>
</el-table>
<!-- </div> -->
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -436,6 +532,20 @@ export default { ...@@ -436,6 +532,20 @@ export default {
}, },
], //手机端的参数设置 ], //手机端的参数设置
schedulePath: '', schedulePath: '',
notification: false,
notificationForm: {
person: '全部参会人员',
content: '',
},
notificationFormRules: {
person: [{ required: true, message: '请填写通知内容', trigger: 'blur' }],
content: [{ required: true, message: '请填写通知内容', trigger: 'blur' }],
},
noteListDialogVisible: false,
noteTableData: [],
//通知结果
notifyResultsDialogVisible: false,
} }
}, },
computed: { computed: {
...@@ -465,6 +575,40 @@ export default { ...@@ -465,6 +575,40 @@ export default {
}, },
}, },
methods: { methods: {
//群发通知
massNotification() {
this.notification = true
},
sureNotification(formName) {
this.$refs[formName].validate((valid) => {
console.log(valid)
if (valid) {
} else {
}
})
},
notificationHandleClosed() {
this.notification = false
this.notificationForm.content = ''
},
//查看通知
notificationRecord() {
this.noteListDialogVisible = true
// this.notifyResultsDialogVisible = true
},
noteClose() {
this.noteListDialogVisible = false
this.noteTableData = []
},
//通知结果
showResult(row) {
console.log(row)
this.notifyResultsDialogVisible = true
},
notifyResultsDialogVisibleClose() {
this.notifyResultsDialogVisible = false
},
yulan() { yulan() {
console.log(this.schedulePath) console.log(this.schedulePath)
if (this.schedulePath) { if (this.schedulePath) {
...@@ -916,6 +1060,11 @@ export default { ...@@ -916,6 +1060,11 @@ export default {
position: absolute; position: absolute;
right: 200px; right: 200px;
} }
.tongzhi {
height: 100%;
position: absolute;
right: 350px;
}
} }
.module_title { .module_title {
height: 20px; height: 20px;
...@@ -1433,6 +1582,66 @@ export default { ...@@ -1433,6 +1582,66 @@ export default {
} }
} }
.noteListDialog {
width: 100%;
height: 100%;
/deep/.el-dialog {
width: 50%;
// height: 100%;
// background-color: red;
.el-dialog__body {
width: 100%;
height: 100%;
.listMain {
width: 98%;
height: 500px;
.el-table {
width: 100%;
height: 100%;
}
/deep/.el-table__cell {
padding: 5px;
}
}
}
}
}
.notifyResultsDialog {
width: 100%;
height: 100%;
/deep/.el-dialog {
width: 50%;
// height: 80%;
.el-dialog__body {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
// width: 100%;
.top {
width: 100%;
text-align: left;
.title,
.content {
display: flex;
}
.content {
// max-height: ;
}
}
.button {
width: 100%;
display: flex;
}
.el-table {
width: 100%;
height: 80%;
}
}
}
}
/**/ /**/
.title_wrap { .title_wrap {
margin-bottom: 8px; margin-bottom: 8px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
</div> </div>
</div> </div>
<div class="wai"> <div class="wai">
<div class="notConference" v-if="allConfenceList.length==0">当天无会议</div>
<div class="confenceArea"> <div class="confenceArea">
<div class="confenceOnce" v-for="(item,index) in allConfenceList" :key="index"> <div class="confenceOnce" v-for="(item,index) in allConfenceList" :key="index">
<div class="confence_title"> <div class="confence_title">
...@@ -57,12 +58,17 @@ export default { ...@@ -57,12 +58,17 @@ export default {
props: { dateList: Array, checkDate: String, allConfenceList: Array }, props: { dateList: Array, checkDate: String, allConfenceList: Array },
components: { itmeList }, components: { itmeList },
watch: { watch: {
// dateList: { allConfenceList: {
// handler(newVal, oldVal) { handler(newVal, oldVal) {
// console.log(newVal) console.log(newVal)
// }, for (let i in newVal) {
// deep: true, if (newVal[i].conferenceProcessReservationRecordList.length == 0) {
// }, newVal.splice(i, 1)
}
}
},
deep: true,
},
}, },
data() { data() {
...@@ -128,7 +134,7 @@ export default { ...@@ -128,7 +134,7 @@ export default {
}, },
}, },
created() { created() {
// console.log(this.weekArr) console.log(this.weekArr)
}, },
} }
</script> </script>
...@@ -211,7 +217,17 @@ export default { ...@@ -211,7 +217,17 @@ export default {
// width: 100%; // width: 100%;
height: calc(100% - 74px); height: calc(100% - 74px);
overflow-x: hidden; overflow-x: hidden;
position: relative;
// padding-left: -200px; // padding-left: -200px;
.notConference {
width: 100px;
position: absolute;
right: calc(50% - 50px);
top: 50%;
color: #a6b5c6;
// top: t;
// transform: translate(50%);
}
.confenceArea { .confenceArea {
width: 100%; width: 100%;
// height: calc(100% - 74px); // height: calc(100% - 74px);
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
pic2: 'system_icon5', pic2: 'system_icon5',
children: [ children: [
{ {
name: '操作管理员-超管', name: '操作管理员',
path: '/system/power/jurisdiction', path: '/system/power/jurisdiction',
Rindex: 1 - 1, Rindex: 1 - 1,
}, },
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="yyyy-MM-dd " value-format="yyyy-MM-dd"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
<el-table-column prop="customUserUnit" label="单位(浙政钉)"></el-table-column> <el-table-column prop="customUserUnit" label="单位(浙政钉)"></el-table-column>
<el-table-column prop="customUserDingId" label="浙政钉ID"></el-table-column> <el-table-column prop="customUserDingId" label="浙政钉ID"></el-table-column>
<el-table-column prop="sysUnitName" label="参会单位"></el-table-column> <el-table-column prop="sysUnitName" label="参会单位"></el-table-column>
<el-table-column prop="updateTime" sortable label="更新时间"></el-table-column>
<el-table-column prop="address" label="操作"> <el-table-column prop="address" label="操作">
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
...@@ -94,7 +95,7 @@ ...@@ -94,7 +95,7 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
v-if="scope.row.customUserNum!==tableData.length" v-if="scope.row.customUserNum!==overall.personNum"
@click="moverUpOrDown(scope.row,2)" @click="moverUpOrDown(scope.row,2)"
>下移</el-button> >下移</el-button>
</div> </div>
...@@ -315,18 +316,22 @@ export default { ...@@ -315,18 +316,22 @@ export default {
timeData(newVal, oldVal) { timeData(newVal, oldVal) {
console.log(newVal, oldVal) console.log(newVal, oldVal)
if (newVal) { if (newVal) {
// console.log(new Date);
this.formData.startDate = newVal[0] this.formData.startDate = newVal[0]
this.formData.endDate = newVal[1] this.formData.endDate = newVal[1]
} else { } else {
this.formData.startDate = '' this.formData.startDate = ''
this.formData.endDate = '' this.formData.endDate = ''
} }
console.log(this.formData) console.log(this.formData)
console.log(typeof this.formData.startDate)
console.log(typeof this.formData.endDate)
// this.getDataList(this.formData) // this.getDataList(this.formData)
}, },
formData: { formData: {
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log('new', newVal, 'oldVal', oldVal) // console.log('new', newVal, 'oldVal', oldVal)
// this. // this.
this.dataObj.customOrgId = newVal.customOrgId this.dataObj.customOrgId = newVal.customOrgId
// consolg.log() // consolg.log()
...@@ -394,6 +399,21 @@ export default { ...@@ -394,6 +399,21 @@ export default {
} }
}, },
methods: { methods: {
reset() {
this.formData = {
customOrgName: this.formData.customOrgName, //自定义人员所属分类名
customOrgId: this.formData.customOrgId, //自定义人员所属分类编号
customUserName: '', //姓名
customUserUnit: '', //自定义人员单位
endDate: '', //结束时间
pageNum: 1, //当前页
pageSize: 10, //每页条数
startDate: '', //开始时间
}
this.timeData = ''
this.getDataList(this.formData)
},
importHandleClose() { importHandleClose() {
this.importVisible = false this.importVisible = false
this.fileList = [] this.fileList = []
...@@ -672,6 +692,7 @@ export default { ...@@ -672,6 +692,7 @@ export default {
}, },
getDataList(val) { getDataList(val) {
console.log(val) console.log(val)
console.log(typeof val.endDate)
// personOrUnit==1:人员 2:单位 // personOrUnit==1:人员 2:单位
if (this.personOrUnit == 1) { if (this.personOrUnit == 1) {
this.findLabelIdPerson(this.formData) this.findLabelIdPerson(this.formData)
...@@ -731,8 +752,12 @@ export default { ...@@ -731,8 +752,12 @@ export default {
// 根据自定义分类编号查询按参会人员展示自定义人员(ly) // 根据自定义分类编号查询按参会人员展示自定义人员(ly)
findLabelIdPerson(params) { findLabelIdPerson(params) {
this.$axios.baseCustomOrgIdPerson(params).then((res) => { this.$axios.baseCustomOrgIdPerson(params).then((res) => {
// console.log('按参会人员', res) console.log('按参会人员', res)
this.tableData = res.data.data.customUserShowVoList if (res.data.data.customUserShowVoList) {
this.tableData = res.data.data.customUserShowVoList
} else {
this.tableData = []
}
this.overall.personNum = res.data.data.personNum this.overall.personNum = res.data.data.personNum
this.overall.unitNum = res.data.data.unitNum this.overall.unitNum = res.data.data.unitNum
}) })
...@@ -753,12 +778,24 @@ export default { ...@@ -753,12 +778,24 @@ export default {
}, },
//切换按单位还是按人员展示 //切换按单位还是按人员展示
selectPersonOrUnit(val) { selectPersonOrUnit(val) {
let obj = {
customOrgName: '', //自定义人员所属分类名
customOrgId: '', //自定义人员所属分类编号
customUserName: '', //姓名
customUserUnit: '', //自定义人员单位
endDate: '', //结束时间
pageNum: 1, //当前页
pageSize: 10, //每页条数
startDate: '', //开始时间
}
obj.customOrgName = this.formData.customOrgName
obj.customOrgId = this.formData.customOrgId
if (val == 1) { if (val == 1) {
this.personOrUnit = 1 this.personOrUnit = 1
this.findLabelIdPerson(this.formData) this.findLabelIdPerson(obj)
} else { } else {
this.personOrUnit = 2 this.personOrUnit = 2
this.findLabelUnit(this.formData) this.findLabelUnit(obj)
} }
}, },
}, },
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<!-- </el-select> --> <!-- </el-select> -->
</el-form-item> </el-form-item>
<el-form-item label="联系人浙政钉:" class="dingId"> <el-form-item label="联系人浙政钉:" class="dingId">
<el-input v-model="addForm.dingId" ></el-input> <el-input v-model="addForm.dingId"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="单位联系电话:" filterable class="unitTel" prop="unitTel"> <el-form-item label="单位联系电话:" filterable class="unitTel" prop="unitTel">
<el-input v-model="addForm.unitTel" /> <el-input v-model="addForm.unitTel" />
...@@ -188,6 +188,8 @@ export default { ...@@ -188,6 +188,8 @@ export default {
this.formData.endDate = '' this.formData.endDate = ''
} }
console.log(this.formData) console.log(this.formData)
console.log(typeof this.formData.startDate)
console.log(typeof this.formData.endDate)
// this.getDataList(this.formData) // this.getDataList(this.formData)
}, },
}, },
...@@ -413,6 +415,7 @@ export default { ...@@ -413,6 +415,7 @@ export default {
endDate: '', //结束时间 endDate: '', //结束时间
unitName: '', //单位名称 unitName: '', //单位名称
} }
this.timeData = ''
this.getDataList(this.formData) this.getDataList(this.formData)
}, },
handleClose() { handleClose() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论