| | |
| | | import { useFBS_CusExtendApi } from '/@/api/Customer/fBS_CusExtend'; |
| | | import editDialog from '/@/views/Customer/fBS_CusExtend/component/editDialog.vue' |
| | | import userManagement from '/@/views/Customer/fBS_CusExtend/component/fBS_Customer/editDialog.vue' |
| | | import editDialogRefApply from '/@/views/Customer/fBS_CusExtend/component/fBS_Customer/roles.vue' |
| | | import printDialog from '/@/views/system/print/component/hiprint/preview.vue' |
| | | import ModifyRecord from '/@/components/table/modifyRecord.vue'; |
| | | import ImportData from "/@/components/table/importData.vue"; |
| | | import { useFBS_ExRoleApi } from '/@/api/Customer/fBS_ExRole'; |
| | | import { formatDate } from '/@/utils/formatTime'; |
| | | |
| | | |
| | | const fBS_CusExtendApi = useFBS_CusExtendApi(); |
| | | const fBS_ExRoleApi = useFBS_ExRoleApi(); |
| | | const printDialogRef = ref(); |
| | | const editDialogRef = ref(); |
| | | const userManagementRef = ref(); |
| | | const editDialogRefApplyRef = ref(); |
| | | const dialogVisible = ref(false); |
| | | const importDataRef = ref(); |
| | | const state = reactive({ |
| | |
| | | </el-table-column> |
| | | <el-table-column prop='enterpriseName' label='企业名称' show-overflow-tooltip width="180"/> |
| | | <el-table-column prop='unifiedSocialCreditCode' label='统一社会信用代码' show-overflow-tooltip width="150"/> |
| | | <el-table-column prop='exRoles' label='角色' show-overflow-tooltip width="180"> |
| | | <el-table-column prop='exRoles' label='交易主体' show-overflow-tooltip width="180"> |
| | | <template #default="scope"> |
| | | {{ changeExroles(scope.row.exRoles) }} |
| | | </template> |
| | |
| | | <ModifyRecord :data="scope.row" /> |
| | | </template> |
| | | </el-table-column> --> |
| | | <el-table-column label="操作" width="100" align="center" fixed="right" show-overflow-tooltip v-if="auth('fBS_CusExtend:update') || auth('fBS_CusExtend:delete')"> |
| | | <el-table-column label="操作" width="120" align="center" fixed="right" show-overflow-tooltip v-if="auth('fBS_CusExtend:update') || auth('fBS_CusExtend:delete')"> |
| | | <template #default="scope"> |
| | | <el-button icon="ele-Edit" size="small" text type="primary" @click="editDialogRef.openDialog(scope.row, '编辑企业资料', state.qiyeList,state.roleList)" v-auth="'fBS_CusExtend:update'"> </el-button> |
| | | <!-- <el-button icon="ele-Check" size="small" text type="primary" @click="editDialogRefApplyRef.openDialog(scope.row, '审核企业资料', state.qiyeList,state.roleList,state.shenheList)" v-auth="'fBS_CusExtend:update'"> </el-button> --> |
| | | <el-button icon="ele-List" size="small" text type="primary" @click="editDialogRefApplyRef.openDialog(scope.row, '审核企业资料')" v-auth="'fBS_CusExtend:update'"> </el-button> |
| | | <el-button icon="ele-User" size="small" text type="primary" @click="userManagementRef.openDialog(scope.row, '管理企业用户', state.qiyeList,state.roleList,state.shenheList)" v-auth="'fBS_CusExtend:update'"> </el-button> |
| | | <el-button icon="ele-Delete" size="small" text type="primary" @click="delFBS_CusExtend(scope.row)" v-auth="'fBS_CusExtend:delete'"> </el-button> |
| | | </template> |
| | |
| | | <printDialog ref="printDialogRef" :title="'打印企业资料'" @reloadTable="handleQuery" /> |
| | | <editDialog ref="editDialogRef" @reloadTable="handleQuery" /> |
| | | <userManagement ref="userManagementRef" @reloadTable="handleQuery"/> |
| | | <editDialogRefApply ref="editDialogRefApplyRef" @reloadTable="handleQuery"> </editDialogRefApply> |
| | | |
| | | </el-card> |
| | | <el-dialog title="管理企业用户" :visible.sync="dialogVisible" width="width"> |