| | |
| | | v-if="refreshTable" |
| | | v-loading="loading" |
| | | :data="deptList" |
| | | row-key="deptId" |
| | | row-key="companyId" |
| | | :default-expand-all="isExpandAll" |
| | | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" |
| | | > |
| | | @select="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55" :reserve-selection="true"/> |
| | | <el-table-column prop="companyName" label="企业名称" minWidth="300"></el-table-column> |
| | | <!-- <el-table-column prop="companyName" label="企业类型" width="200"></el-table-column> --> |
| | | <el-table-column prop="companyUser" label="联系人" width="180"></el-table-column> |
| | |
| | | function createQrcodeHandler(row) { |
| | | createQrcodeRef.value.openDialog(row) |
| | | } |
| | | let valueArr = [] |
| | | function downLoadCode() { |
| | | download('/system/company/downloadQrcode', queryParams.value, "企业图片.zip") |
| | | download('/system/company/downloadQrcode', { |
| | | companyIds: valueArr.join() |
| | | }, "企业图片.zip") |
| | | } |
| | | function handleSelectionChange(e) { |
| | | valueArr = e.map(item => item.companyId) |
| | | } |
| | | getList(); |
| | | function selectableFun(e) { |