| | |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" plain icon="Plus" @click="exportExcel" v-hasPermi="['system:dept:add']">导入</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <!-- <el-col :span="1.5"> |
| | | <el-button type="primary" plain icon="Plus" @click="exportRecordComOpen" v-hasPermi="['system:dept:add']">导入记录</el-button> |
| | | </el-col> |
| | | </el-col> --> |
| | | <!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> --> |
| | | </el-row> |
| | | |
| | |
| | | </div> |
| | | </template> |
| | | </el-dialog> |
| | | <exportExcelCom ref="exporttem"></exportExcelCom> |
| | | <exportRecord ref="exportRecordCom"></exportRecord> |
| | | <exportExcelCom ref="exporttem" @resList="resList"></exportExcelCom> |
| | | <exportRecord ref="exportRecordCom" :recordRow="recordRow"></exportRecord> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | // const dispDeptType = computed(() => (e) => { |
| | | // return dept_type.value.find((f) => f.value == e).label; |
| | | // }); |
| | | |
| | | const recordRow = ref([]) |
| | | /** 查询企业列表 */ |
| | | function getList() { |
| | | loading.value = true; |
| | |
| | | function exportRecordComOpen() { |
| | | exportRecordCom.value.openDialog() |
| | | } |
| | | function resList(row) { |
| | | recordRow.value = row |
| | | exportRecordCom.value.openDialog() |
| | | } |
| | | getList(); |
| | | </script> |