|  |  | 
 |  |  |         <!-- 表格和分页 --> | 
 |  |  |         <template v-slot:table-wrap> | 
 |  |  |             <ul class="toolbar"> | 
 |  |  |                 <li><el-button type="primary" @click="synchronousData">同步</el-button></li> | 
 |  |  |                 <li><el-button type="primary"  v-permissions="['business:hksync:privilege']" @click="synchronousData">同步</el-button></li> | 
 |  |  |             </ul> | 
 |  |  |             <el-table | 
 |  |  |                 v-loading="isWorking.search" | 
 |  |  | 
 |  |  |                         <span v-if="row.type === '2'">内部人员</span> | 
 |  |  |                     </template> | 
 |  |  |                 </el-table-column> | 
 |  |  |                 <el-table-column prop="memberNum" label="使用人数" min-width="100px"></el-table-column> | 
 |  |  |                 <el-table-column prop="isDefault" label="是否默认" min-width="100px"> | 
 |  |  |                     <template slot-scope="{row}"> | 
 |  |  |                         <span v-if="row.isDefault === 0">是</span> | 
 |  |  | 
 |  |  |       }).then(() => { | 
 |  |  |         syncPrivilege({}) | 
 |  |  |           .then(res => { | 
 |  |  |             this.$message({ type: 'success', message: '同步成功' }) | 
 |  |  |             this.$message({ type: 'success', message:res || '同步成功' }) | 
 |  |  |             this.search() | 
 |  |  |           }) | 
 |  |  |       }).catch(() => { |