|
|
|
@ -63,9 +63,9 @@
|
|
|
|
<!-- <div class="bb1 ml12 mr12 mt4 mb4" style="wdith:calc(100% - 24px)"></div> -->
|
|
|
|
<!-- <div class="bb1 ml12 mr12 mt4 mb4" style="wdith:calc(100% - 24px)"></div> -->
|
|
|
|
<a-menu :selectedKeys="selectedKeys" class="bgf" mode="inline" :class="'leftMenu'" style="overflow-y:scroll;height:calc(100%);overflow-x:hidden;">
|
|
|
|
<a-menu :selectedKeys="selectedKeys" class="bgf" mode="inline" :class="'leftMenu'" style="overflow-y:scroll;height:calc(100%);overflow-x:hidden;">
|
|
|
|
<template v-for="(item, index) in groupList">
|
|
|
|
<template v-for="(item, index) in groupList">
|
|
|
|
<a-menu-item :key="item.teamName" class="fsa showdot" @click="selectGroup(item)">
|
|
|
|
<a-menu-item :key="item.teamName" class="fsa" :class="item.id != -1 ? 'showdot' : ''" @click="selectGroup(item)">
|
|
|
|
{{item.teamName}}
|
|
|
|
{{item.teamName}}
|
|
|
|
<a-dropdown overlayClassName="groupdropdown" :trigger="['click']" placement="bottomRight">
|
|
|
|
<a-dropdown overlayClassName="groupdropdown" v-if="item.id != -1" :trigger="['click']" placement="bottomRight">
|
|
|
|
<i class="iconfont icon-gengduo3 thedot f14" @click.stop></i>
|
|
|
|
<i class="iconfont icon-gengduo3 thedot f14" @click.stop></i>
|
|
|
|
<div class="groupdropdownbox backTable" slot="overlay">
|
|
|
|
<div class="groupdropdownbox backTable" slot="overlay">
|
|
|
|
<div @click="[addGroupShow = true,isEdit = true,recordId = item.id,groupName=item.teamName]">修改名称</div>
|
|
|
|
<div @click="[addGroupShow = true,isEdit = true,recordId = item.id,groupName=item.teamName]">修改名称</div>
|
|
|
|
@ -98,7 +98,7 @@
|
|
|
|
<!-- :expanded-row-keys.sync="expandedRowKeys" -->
|
|
|
|
<!-- :expanded-row-keys.sync="expandedRowKeys" -->
|
|
|
|
<!-- v-if="modalTitle == ''" -->
|
|
|
|
<!-- v-if="modalTitle == ''" -->
|
|
|
|
<div class>
|
|
|
|
<div class>
|
|
|
|
<a-table :columns="columns" :scroll="{x:currWidth}" :data-source="memberList" :pagination="false" @change="onChange" :loading="{spinning: isspinning,tip: '加载中',wrapperClassName: 'spinstyle'}" :rowKey="(record) => record.id">
|
|
|
|
<a-table :columns="columns" :scroll="{x:currWidth,scrollToFirstRowOnChange:false}" :data-source="memberList" :pagination="false" @change="onChange" :loading="{spinning: isspinning,tip: '加载中',wrapperClassName: 'spinstyle'}" :rowKey="(record) => record.id">
|
|
|
|
<!-- <a slot="index" slot-scope="record, text, index">{{ index + 1 }}</a> -->
|
|
|
|
<!-- <a slot="index" slot-scope="record, text, index">{{ index + 1 }}</a> -->
|
|
|
|
<span slot="nickName" slot-scope="text, record">{{ record.aliasName || record.userName }}</span>
|
|
|
|
<span slot="nickName" slot-scope="text, record">{{ record.aliasName || record.userName }}</span>
|
|
|
|
<div slot="inAgencyStatistics" slot-scope="text, record">
|
|
|
|
<div slot="inAgencyStatistics" slot-scope="text, record">
|
|
|
|
@ -190,7 +190,7 @@
|
|
|
|
</div>-->
|
|
|
|
</div>-->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a-modal :title="modalTitle" v-model="visible" centered id="demo" @cancel="modalCancel" width="640px" destroyOnClose class="detailWindow">
|
|
|
|
<a-modal :title="modalTitle" v-model="visible" centered id="demo" @cancel="modalCancel" width="640px" :destroyOnClose="true" class="detailWindow">
|
|
|
|
<template slot="footer" v-if="this.modalTitle != '成员详情'">
|
|
|
|
<template slot="footer" v-if="this.modalTitle != '成员详情'">
|
|
|
|
<a-button key="back" @click="modalCancel">取消</a-button>
|
|
|
|
<a-button key="back" @click="modalCancel">取消</a-button>
|
|
|
|
<a-button key="submit" class="ml16" type="primary" :loading="loading" @click="handleSubmit">确定</a-button>
|
|
|
|
<a-button key="submit" class="ml16" type="primary" :loading="loading" @click="handleSubmit">确定</a-button>
|
|
|
|
@ -776,13 +776,13 @@ export default {
|
|
|
|
this.visible = true
|
|
|
|
this.visible = true
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.modalTitle = '添加成员'
|
|
|
|
this.modalTitle = '添加成员'
|
|
|
|
let agencyTeamId
|
|
|
|
let agencyTeamId = -1
|
|
|
|
this.groupList.forEach((item) => {
|
|
|
|
this.groupList.forEach((item) => {
|
|
|
|
if (item.teamName == this.selectedKeys[0]) {
|
|
|
|
if (item.teamName == this.selectedKeys[0]) {
|
|
|
|
agencyTeamId = item.id
|
|
|
|
agencyTeamId = item.id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
console.log(agencyTeamId);
|
|
|
|
console.log(agencyTeamId)
|
|
|
|
this.visible = true
|
|
|
|
this.visible = true
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
console.log(123)
|
|
|
|
console.log(123)
|
|
|
|
|