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

fc

上级 1eef9bb6
...@@ -23,8 +23,8 @@ const env = { ...@@ -23,8 +23,8 @@ const env = {
// 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.53:6888', //赵璐
API_TEST_ORIGIN: 'http://192.168.102.238:6888', API_TEST_ORIGIN: 'http://192.168.102.53:6888',
}, },
development_ssj: { development_ssj: {
// API_BASE_ORIGIN: 'http://192.168.100.248:6888', // API_BASE_ORIGIN: 'http://192.168.100.248:6888',
......
...@@ -1661,7 +1661,27 @@ findUnitByCustomOrgId(data){ ...@@ -1661,7 +1661,27 @@ findUnitByCustomOrgId(data){
return axios('/conferenceProcess/rescheduleMeeting?processId='+data,{ return axios('/conferenceProcess/rescheduleMeeting?processId='+data,{
method:'get', method:'get',
}) })
} },
//会议配置-群发通知
massNotification(data){
return axios('/conferenceProcess/massNotification',{
method:'post',
data
})
},
//会议配置-查询群发通知记录
findMassNotification(data){
return axios('/conferenceProcess/findMassNotification?processId='+data,{
method:'get',
})
},
// 会议配置-查询通知结果
findNoticeResult(data){
return axios('/conferenceProcess/findNoticeResult?sendNoticeId=' + data,{
method:'get',
})
}
} }
export default server export default server
<template> <template>
<!-- 编辑|新增人员弹窗 --> <!-- 编辑|新增人员弹窗 -->
<el-dialog <el-dialog class="ty_dialog" :title="zhuangtai == 'update' ? '修改' : '新增'"
class="ty_dialog" :visible.sync="dialogVisible" :before-close="cancel" width="40%" v-loading="loading"
:title="zhuangtai == 'update' ? '修改' : '新增'" top="8vh">
:visible.sync="dialogVisible" <el-form ref="addUser" :rules="rules" :model="addFrom" label-width="150px"
:before-close="cancel" class="demo-ruleForm">
width="40%"
v-loading="loading"
top="8vh"
>
<el-form
ref="addUser"
:rules="rules"
:model="addFrom"
label-width="150px"
class="demo-ruleForm"
>
<el-form-item label="选择权限专用单位:" prop="unitName" class="ty_from_item_position"> <el-form-item label="选择权限专用单位:" prop="unitName" class="ty_from_item_position">
<el-select <el-select v-model="addFrom.unitName" filterable value-key="unitName" placeholder="全部"
v-model="addFrom.unitName" :disabled="isEdit">
filterable <el-option v-for="(item, index) in authorityUnitArr" :key="index" :value="item"
value-key="unitName" :label="item.unitName"></el-option>
placeholder="全部"
:disabled="isEdit"
>
<el-option
v-for="(item, index) in authorityUnitArr"
:key="index"
:value="item"
:label="item.unitName"
></el-option>
</el-select> </el-select>
<!-- <el-button <!-- <el-button
type="text" type="text"
...@@ -47,12 +27,8 @@ ...@@ -47,12 +27,8 @@
</el-form-item> </el-form-item>
<el-form-item label="角色:" prop="sysRoleId"> <el-form-item label="角色:" prop="sysRoleId">
<el-select v-model="addFrom.sysRoleId" clearable placeholder="请选择"> <el-select v-model="addFrom.sysRoleId" clearable placeholder="请选择">
<el-option <el-option v-for="item in jueseList" :label="item.label" :value="item.value"
v-for="item in jueseList" :key="item.key"></el-option>
:label="item.label"
:value="item.value"
:key="item.key"
></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="手机号:"> <el-form-item label="手机号:">
...@@ -127,6 +103,7 @@ export default { ...@@ -127,6 +103,7 @@ export default {
watch: { watch: {
//手机号 //手机号
'addFrom.phoneNum': function (curVal, oldVal) { 'addFrom.phoneNum': function (curVal, oldVal) {
console.log(curVal);
if (!curVal) { if (!curVal) {
this.addFrom.phoneNum = '' this.addFrom.phoneNum = ''
return false return false
...@@ -205,12 +182,14 @@ export default { ...@@ -205,12 +182,14 @@ export default {
// console.log('this.addFrom', JSON.stringify(this.upDataUser)) // console.log('this.addFrom', JSON.stringify(this.upDataUser))
if (JSON.stringify(this.upDataUser) != '{}') { if (JSON.stringify(this.upDataUser) != '{}') {
// this.addFrom = JSON.parse(JSON.stringify(this.upDataUser)) // this.addFrom = JSON.parse(JSON.stringify(this.upDataUser))
console.log('addform', this.addFrom);
this.addFrom.cnName = JSON.parse(JSON.stringify(this.upDataUser.cnName)) this.addFrom.cnName = JSON.parse(JSON.stringify(this.upDataUser.cnName))
this.addFrom.dingId = JSON.parse(JSON.stringify(this.upDataUser.dingId))
} else { } else {
if (this.zhuangtai == 'update') { if (this.zhuangtai == 'update') {
this.userFrom.password2 = '' this.userFrom.password2 = ''
this.addFrom = JSON.parse(JSON.stringify(this.userFrom)) this.addFrom = JSON.parse(JSON.stringify(this.userFrom))
console.log(this.addFrom) // console.log(this.addFrom)
} }
} }
...@@ -298,10 +277,12 @@ export default { ...@@ -298,10 +277,12 @@ export default {
}, },
//获取dingId //获取dingId
getding(e) { getding(e) {
console.log(123);
let params = { let params = {
phoneNum: this.addFrom.phoneNum, phoneNum: this.addFrom.phoneNum,
} }
this.$axios.findDingAndCasByPhone(params).then((res) => { this.$axios.findDingAndCasByPhone(params).then((res) => {
console.log(res);
this.addFrom.casId = res.data.data.casId this.addFrom.casId = res.data.data.casId
this.addFrom.dingId = res.data.data.dingId this.addFrom.dingId = res.data.data.dingId
}) })
......
...@@ -23,12 +23,8 @@ ...@@ -23,12 +23,8 @@
</el-form-item>--> </el-form-item>-->
<el-form-item label="状态:"> <el-form-item label="状态:">
<el-select v-model="formData.sysUserStatus" clearable placeholder="全部"> <el-select v-model="formData.sysUserStatus" clearable placeholder="全部">
<el-option <el-option v-for="item in options" :key="item.value" :label="item.label"
v-for="item in options" :value="item.value"></el-option>
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item class="button_wrap"> <el-form-item class="button_wrap">
...@@ -44,17 +40,9 @@ ...@@ -44,17 +40,9 @@
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div class="content"> <div class="content">
<el-table <el-table :data="tableData" stripe style="width: 100%" height="100%" class="template_table"
:data="tableData" @sort-change="sortChange" :header-cell-style="{ 'text-align': 'left' }"
stripe :cell-style="{ 'text-align': 'left' }" v-loading="loading">
style="width: 100%"
height="100%"
class="template_table"
@sort-change="sortChange"
:header-cell-style="{ 'text-align': 'left' }"
:cell-style="{ 'text-align': 'left' }"
v-loading="loading"
>
<el-table-column type="index" label="序号" width="80"></el-table-column> <el-table-column type="index" label="序号" width="80"></el-table-column>
<el-table-column prop="username" label="账号"></el-table-column> <el-table-column prop="username" label="账号"></el-table-column>
<el-table-column prop="cnName" label="姓名"></el-table-column> <el-table-column prop="cnName" label="姓名"></el-table-column>
...@@ -88,82 +76,47 @@ ...@@ -88,82 +76,47 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" width="200"> <el-table-column label="操作" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button type="text" v-if="scope.row.sysRoleId !== 1"
type="text" @click="handleEdit(scope.row)">编辑</el-button>
v-if="scope.row.sysRoleId !== 1" <el-popconfirm class="maring_left20" title="确定要启用该用户吗?" @confirm="upEdit(scope.row)"
@click="handleEdit(scope.row)" v-if="scope.row.sysRoleId !== 1 && scope.row.sysUserStatus == 2">
>编辑</el-button>
<el-popconfirm
class="maring_left20"
title="确定要启用该用户吗?"
@confirm="upEdit(scope.row)"
v-if="scope.row.sysRoleId !== 1 && scope.row.sysUserStatus == 2"
>
<el-button slot="reference" type="text">授权</el-button> <el-button slot="reference" type="text">授权</el-button>
</el-popconfirm> </el-popconfirm>
<el-popconfirm <el-popconfirm class="maring_left20" title="确定要取消授权吗?" cancel-button-text="不用了"
class="maring_left20" icon-color="red" @confirm="upEdit(scope.row)"
title="确定要取消授权吗?" v-if="scope.row.sysRoleId !== 1 && scope.row.sysUserStatus == 1">
cancel-button-text="不用了"
icon-color="red"
@confirm="upEdit(scope.row)"
v-if="scope.row.sysRoleId !== 1 && scope.row.sysUserStatus == 1"
>
<el-button slot="reference" type="text">取消授权</el-button> <el-button slot="reference" type="text">取消授权</el-button>
</el-popconfirm> </el-popconfirm>
<el-button type="text" v-if="!scope.row.operatingDate" @click="handleDel(scope.row)">删除</el-button> <el-button type="text" v-if="!scope.row.operatingDate"
@click="handleDel(scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="ty_pagination"> <div class="ty_pagination">
<el-pagination <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange"
@size-change="handleSizeChange" :page-sizes="[10, 20, 30, 40]" :page-size="10"
@current-change="handleCurrentChange" layout="total, sizes, prev, pager, next, jumper"
:page-sizes="[10, 20, 30, 40]" :total="total"></el-pagination>
:page-size="10"
layout="total, sizes, prev, pager, next, jumper"
:total="total"
></el-pagination>
</div> </div>
</div> </div>
<addForm <addForm :dialogVisible.sync="dialogVisible" :userFrom="userFrom" :zhuangtai="zhuangtai"
:dialogVisible.sync="dialogVisible" :upDataUser="upDataUser" :isEdit="isEdit" v-if="dialogVisible" @showLists="showLists"
:userFrom="userFrom" @clearData="clearData"></addForm>
:zhuangtai="zhuangtai" <batch-add-dialog :changeFlags="2" :batchAddFlag.sync="batchAddFlag"
:upDataUser="upDataUser" :selectPerson="selectPerson" @addBatchPeople="addBatchPeople"
:isEdit="isEdit" @sureChange="sureChange" @cancleFlag="cancleFlag"
v-if="dialogVisible" @getPerson="getPerson"></batch-add-dialog>
@showLists="showLists"
@clearData="clearData"
></addForm>
<batch-add-dialog
:changeFlags="2"
:batchAddFlag.sync="batchAddFlag"
:selectPerson="selectPerson"
@addBatchPeople="addBatchPeople"
@sureChange="sureChange"
@cancleFlag="cancleFlag"
@getPerson="getPerson"
></batch-add-dialog>
<!-- 权限专用单位管理 --> <!-- 权限专用单位管理 -->
<el-dialog <el-dialog title="单位授权" :visible.sync="dialogFormVisible" :close-on-click-modal="false"
title="单位授权" :before-close="handleClose" class="unitAutoDialog">
:visible.sync="dialogFormVisible"
:close-on-click-modal="false"
:before-close="handleClose"
class="unitAutoDialog"
>
<div slot="title" class="dialog-header"> <div slot="title" class="dialog-header">
<div>权限专用单位管理</div> <div>权限专用单位管理</div>
<el-button type="primary" class="btn" @click="addAuthorityUnit()">新增专用单位管理</el-button> <el-button type="primary" class="btn" @click="addAuthorityUnit()">新增专用单位管理</el-button>
</div> </div>
<div v-if="authorityUnitArr.length>0"> <div v-if="authorityUnitArr.length>0">
<div <div class="unit" v-for="(item,index) in authorityUnitArr"
class="unit" :key="authorityUnitArr.length + index">
v-for="(item,index) in authorityUnitArr"
:key="authorityUnitArr.length + index"
>
<div class="tips_num">权限专用单位:</div> <div class="tips_num">权限专用单位:</div>
<el-input v-model="item.unitName" /> <el-input v-model="item.unitName" />
<!-- <div>{{item.unitName}}</div> --> <!-- <div>{{item.unitName}}</div> -->
...@@ -177,13 +130,8 @@ ...@@ -177,13 +130,8 @@
</div> </div>
<!-- 内层dialog --> <!-- 内层dialog -->
<el-dialog <el-dialog width="30%" title="确认删除" :visible.sync="delVisible" append-to-body
width="30%" :before-close="delHandleClose">
title="确认删除"
:visible.sync="delVisible"
append-to-body
:before-close="delHandleClose"
>
<div>是否删除单位:{{delUnitObj.unitName}}</div> <div>是否删除单位:{{delUnitObj.unitName}}</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="delHandleClose()"> </el-button> <el-button @click="delHandleClose()"> </el-button>
...@@ -192,13 +140,8 @@ ...@@ -192,13 +140,8 @@
</el-dialog> </el-dialog>
</el-dialog> </el-dialog>
<!-- 取消授权 --> <!-- 取消授权 -->
<el-dialog <el-dialog title="删除账号" :visible.sync="delUserVisible" :close-on-click-modal="false"
title="删除账号" :before-close="delUserCloseFnc" class="delUserDialog">
:visible.sync="delUserVisible"
:close-on-click-modal="false"
:before-close="delUserCloseFnc"
class="delUserDialog"
>
<div>操作员账号:{{delUser.username}}</div> <div>操作员账号:{{delUser.username}}</div>
<div>确认删除?</div> <div>确认删除?</div>
<div class="tips">注:未使用过的账号,支持删除</div> <div class="tips">注:未使用过的账号,支持删除</div>
...@@ -274,8 +217,9 @@ export default { ...@@ -274,8 +217,9 @@ export default {
this.batchAddFlag = false this.batchAddFlag = false
this.dialogVisible = true this.dialogVisible = true
this.$set(this.upDataUser, 'cnName', val.employeeName) this.$set(this.upDataUser, 'cnName', val.employeeName)
this.$set(this.upDataUser, 'dingId', val.accountId)
// this.upDataUser.cnName = val.employeeName // this.upDataUser.cnName = val.employeeName
console.log(this.userFrom) // console.log(this.userFrom)
}, },
//二次确认删除权限单位 //二次确认删除权限单位
confirmDelUnit() { confirmDelUnit() {
...@@ -458,7 +402,7 @@ export default { ...@@ -458,7 +402,7 @@ export default {
this.batchAddFlag = false this.batchAddFlag = false
this.dialogVisible = true this.dialogVisible = true
}, },
sureChange() {}, sureChange() { },
showLists() { showLists() {
this.batchAddFlag = true this.batchAddFlag = true
this.dialogVisible = false this.dialogVisible = false
...@@ -565,13 +509,13 @@ export default { ...@@ -565,13 +509,13 @@ export default {
height: 28px; height: 28px;
display: flex; display: flex;
align-items: center; align-items: center;
background-image: url('../../assets/img/del.png'); background-image: url("../../assets/img/del.png");
background-size: 100% 100%; background-size: 100% 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
cursor: pointer; cursor: pointer;
} }
.del:hover { .del:hover {
background-image: url('../../assets/img/del_red.png'); background-image: url("../../assets/img/del_red.png");
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论