|
@@ -43,7 +43,7 @@
|
|
|
<el-option v-for="item in roleList" :key="item.id" :label="item.rolename" :value="item.id" />
|
|
|
</el-select>
|
|
|
</div>
|
|
|
- <el-button type="primary" v-if="userInfo.userNameNeedTranslate == 1"
|
|
|
+ <!-- <el-button type="primary" v-if="userInfo.userNameNeedTranslate == 1"
|
|
|
@click="transitionOperation('exportUser', '')" v-permission="['teamExport']">导出人员</el-button>
|
|
|
<el-button type="primary" v-if="userInfo.userNameNeedTranslate == 1"
|
|
|
@click="dialogFrom.newSyncWithCorpWxDayloadVisable = true">同步企微通讯录</el-button>
|
|
@@ -71,6 +71,33 @@
|
|
|
</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
|
</template>
|
|
|
+ </el-dropdown> -->
|
|
|
+ <el-dropdown>
|
|
|
+ <el-button type="primary">
|
|
|
+ 更多操作<el-icon class="el-icon--right"><arrow-down /></el-icon>
|
|
|
+ </el-button>
|
|
|
+ <template #dropdown>
|
|
|
+ <el-dropdown-menu>
|
|
|
+ <template v-if="userInfo.userNameNeedTranslate != 1">
|
|
|
+ <el-dropdown-item @click="addPersone(false)" v-permission="['teamAdd']">添加人员</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="transitionOperation('exportUser', '')" v-permission="['teamExport']">导出人员</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="transitionOperation('importUser', '')" v-permission="['teamImport']">批量导入</el-dropdown-item>
|
|
|
+ </template>
|
|
|
+ <template v-if="userInfo.userNameNeedTranslate == 1">
|
|
|
+ <el-dropdown-item @click="transitionOperation('exportUser', '')" v-permission="['teamExport']">导出人员</el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="dialogFrom.newSyncWithCorpWxDayloadVisable = true" v-permission="['teamAdd']">同步企微通讯录</el-dropdown-item>
|
|
|
+ </template>
|
|
|
+ <el-dropdown-item @click="officialAccountSetting()">
|
|
|
+ {{ officialAccountInformation.id ? '修改公众号配置' : '配置公众号' }}
|
|
|
+ </el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="oneClickGenerationOfQrCode()" v-if="officialAccountInformation.id">
|
|
|
+ 一键生成员工二维码
|
|
|
+ </el-dropdown-item>
|
|
|
+ <el-dropdown-item @click="exportQrCode()" v-if="officialAccountInformation.id">
|
|
|
+ 导出员工二维码
|
|
|
+ </el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </template>
|
|
|
</el-dropdown>
|
|
|
</div>
|
|
|
</div>
|