| | |
| | | :tree-props="{ children: 'children', hasChildren: 'hasChildren' }" |
| | | > |
| | | <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="companyName" label="企业类型" width="200"></el-table-column> --> |
| | | <el-table-column prop="companyUser" label="联系人" width="180"></el-table-column> |
| | | <el-table-column prop="companyCode" label="统一社会信用代码" width="180"></el-table-column> |
| | | <el-table-column prop="companyPhone" label="手机号码" width="120"></el-table-column> |
| | |
| | | <el-table-column prop="companyStatus" label="状态" width="100"> |
| | | <template #default="scope"> |
| | | <!-- {{ companyStatus[scope.row.companyStatus] }} --> |
| | | <el-switch v-if="scope.row.companyId" v-model="scope.row.companyStatus" @change="changeCompanyNews(scope.row, $event)" :active-value="1" :inactive-value="0"></el-switch> |
| | | <el-switch v-if="scope.row.companyId" v-model="scope.row.companyStatus" @change="changeCompanyNews(scope.row, $event)" :active-value="0" :inactive-value="1"></el-switch> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width" width="240"> |
| | |
| | | import exportRecord from './components/exportRecord' |
| | | import createQrcode from './components/createQrcode' |
| | | import judgeCom from './components/judge' |
| | | import { listCompany,addCompany, updStatus, delCompany } from "@/api/system/company/company"; |
| | | import { listCompany,addCompany, updStatus, delCompany, updateCompany } from "@/api/system/company/company"; |
| | | import exportExcelCom from './components/export' |
| | | import { computed } from "vue"; |
| | | import { judgeStatus, companyStatus, scopeList } from '@/utils/mapList/index.ts' |
| | |
| | | function cancel() { |
| | | open.value = false; |
| | | reset(); |
| | | getList(); |
| | | } |
| | | /** 表单重置 */ |
| | | function reset() { |