|
|
|
@ -14,44 +14,51 @@ |
|
|
|
<a-form-item label="执业机构" v-if="isAssociationRole || isCeo" class="smart-query-form-item"> |
|
|
|
<DepartmentTreeSelect style="width: 250px" v-model:value="queryForm.firmId" placeholder="请选择执业机构" /> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="律师名称" v-if="isAssociationRole || isFirmRole || isCeo" class="smart-query-form-item"> |
|
|
|
<a-form-item label="律师名称" v-if="isCtoRole || isCeo" class="smart-query-form-item"> |
|
|
|
<a-select |
|
|
|
v-model:value="queryForm.userId" |
|
|
|
style="width: 150px" |
|
|
|
style="width: 200px" |
|
|
|
placeholder="请选择律师" |
|
|
|
:showSearch="true" |
|
|
|
:allowClear="true" |
|
|
|
:filterOption="filterLawyerOption" |
|
|
|
optionFilterProp="children" |
|
|
|
@focus="loadAllEmployees" |
|
|
|
> |
|
|
|
<a-select-option v-for="item in employeeList" :key="item.employeeId" :value="item.employeeId"> |
|
|
|
{{ item.actualName }} |
|
|
|
<template v-if="item.departmentName"> ({{ item.departmentName }}) </template> |
|
|
|
<template v-if="item.departmentName">({{ item.departmentName }})</template> |
|
|
|
<template v-if="item.positionName"> - {{ item.positionName }}</template> |
|
|
|
</a-select-option> |
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="服务开始时间" class="smart-query-form-item"> |
|
|
|
<a-date-picker style="width: 150px" v-model:value="queryForm.serviceStart" placeholder="开始时间" /> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="服务结束时间" class="smart-query-form-item"> |
|
|
|
<a-date-picker style="width: 150px" v-model:value="queryForm.serviceEnd" placeholder="结束时间" /> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="组织单位名称" class="smart-query-form-item"> |
|
|
|
<a-input style="width: 150px" v-model:value="queryForm.organizerName" placeholder="组织单位名称" /> |
|
|
|
<a-form-item label="职务" v-if="isCtoRole || isCeo" class="smart-query-form-item"> |
|
|
|
<PositionSelect |
|
|
|
v-model:value="queryForm.positionId" |
|
|
|
placeholder="请选择职务" |
|
|
|
style="width: 250px" |
|
|
|
/> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="执业机构审核状态" v-if="isCtoRole" class="smart-query-form-item"> |
|
|
|
<a-select style="width: 150px" v-model:value="queryForm.firmAuditStatus" placeholder="请选择审核状态"> |
|
|
|
<a-select-option v-for="status in Object.values(REVIEW_ENUM)" :key="status.value" :value="status.value"> |
|
|
|
{{ status.desc }} |
|
|
|
</a-select-option> |
|
|
|
<a-form-item label="执业机构审核状态" v-if="isCtoRole || isFirmRole" class="smart-query-form-item"> |
|
|
|
<a-select style="width: 160px" v-model:value="queryForm.firmAuditStatus" placeholder="请选择审核状态"> |
|
|
|
<a-select-option value="">全部</a-select-option> |
|
|
|
<a-select-option value="3">已审核</a-select-option> |
|
|
|
<a-select-option value="1">未审核</a-select-option> |
|
|
|
|
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="协会审核状态" v-if="isCeo" class="smart-query-form-item"> |
|
|
|
<a-select style="width: 150px" v-model:value="queryForm.associationAuditStatus" placeholder="请选择审核状态"> |
|
|
|
<a-select-option v-for="status in Object.values(REVIEW_ENUM)" :key="status.value" :value="status.value"> |
|
|
|
{{ status.desc }} |
|
|
|
</a-select-option> |
|
|
|
|
|
|
|
<a-form-item label="协会审核状态" class="smart-query-form-item"> |
|
|
|
<a-select style="width: 160px" v-model:value="queryForm.associationAuditStatus" placeholder="请选择审核状态"> |
|
|
|
<a-select-option value="">全部</a-select-option> |
|
|
|
<a-select-option value="3">已审核</a-select-option> |
|
|
|
<a-select-option value="1">未审核</a-select-option> |
|
|
|
|
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item label="执业机构审核时间" v-if="isCtoRole || isFirmRole" class="smart-query-form-item"> |
|
|
|
<a-range-picker style="width: 240px" v-model:value="queryForm.firmAuditTimeRange" placeholder="" /> |
|
|
|
</a-form-item> |
|
|
|
<a-form-item class="smart-query-form-item smart-margin-left10"> |
|
|
|
<a-button v-privilege="'serviceApplications:query'" type="primary" @click="onSearch"> |
|
|
|
<template #icon> |
|
|
|
@ -301,8 +308,9 @@ import { smartSentry } from '/@/lib/smart-sentry'; |
|
|
|
import TableOperator from '/@/components/support/table-operator/index.vue'; |
|
|
|
import ServiceApplicationsForm from './service-applications-form.vue'; |
|
|
|
import DepartmentTreeSelect from '/@/components/system/department-tree-select/index.vue'; |
|
|
|
import PositionSelect from '/@/components/system/position-select/index.vue'; |
|
|
|
import { employeeApi } from '/@/api/system/employee-api'; |
|
|
|
import { REVIEW_ENUM } from '/@/constants/system/review-const'; |
|
|
|
import { REVIEW_ENUM, SERVICEC_REVIEW_ENUM} from '/@/constants/system/review-const'; |
|
|
|
import { PlusOutlined, DeleteOutlined, SendOutlined, ImportOutlined, ExportOutlined, DownloadOutlined, UploadOutlined, CheckCircleOutlined } from '@ant-design/icons-vue'; |
|
|
|
import { loginApi } from '/@/api/system/login-api'; |
|
|
|
import AgreementModal from '/@/views/system/home/components/agreement-modal.vue'; |
|
|
|
@ -369,7 +377,7 @@ import AgreementModal from '/@/views/system/home/components/agreement-modal.vue' |
|
|
|
dataIndex: 'firmAuditStatus', |
|
|
|
ellipsis: true, |
|
|
|
customRender: ({ text }) => { |
|
|
|
const status = Object.values(REVIEW_ENUM).find(item => item.value === text); |
|
|
|
const status = Object.values(SERVICEC_REVIEW_ENUM).find(item => item.value === text); |
|
|
|
return status ? status.desc : text; |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -388,7 +396,7 @@ import AgreementModal from '/@/views/system/home/components/agreement-modal.vue' |
|
|
|
dataIndex: 'associationAuditStatus', |
|
|
|
ellipsis: true, |
|
|
|
customRender: ({ text }) => { |
|
|
|
const status = Object.values(REVIEW_ENUM).find(item => item.value === text); |
|
|
|
const status = Object.values(SERVICEC_REVIEW_ENUM).find(item => item.value === text); |
|
|
|
return status ? status.desc : text; |
|
|
|
}, |
|
|
|
}, |
|
|
|
@ -418,11 +426,11 @@ import AgreementModal from '/@/views/system/home/components/agreement-modal.vue' |
|
|
|
pageSize: 10, |
|
|
|
firmId: undefined, // 执业机构ID |
|
|
|
userId: undefined, // 律师ID |
|
|
|
serviceStart: undefined, // 服务开始时间 |
|
|
|
serviceEnd: undefined, // 服务结束时间 |
|
|
|
positionId: undefined, // 职务ID |
|
|
|
organizerName: undefined, // 组织单位名称 |
|
|
|
managerName: undefined, // 负责人姓名 |
|
|
|
firmAuditStatus: undefined, // 执业机构审核状态 |
|
|
|
firmAuditTimeRange: undefined, // 执业机构审核时间范围 |
|
|
|
associationAuditStatus: undefined, // 协会审核状态 |
|
|
|
selfFirmFilter: undefined, // 本人本所筛选条件 |
|
|
|
}; |
|
|
|
@ -569,6 +577,14 @@ import AgreementModal from '/@/views/system/home/components/agreement-modal.vue' |
|
|
|
return false; |
|
|
|
} |
|
|
|
|
|
|
|
// 律师筛选过滤函数 |
|
|
|
function filterLawyerOption(input, option) { |
|
|
|
const optionText = option.children.join('').toLowerCase(); |
|
|
|
return optionText.includes(input.toLowerCase()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 批量审核确认 |
|
|
|
async function handleBatchAudit() { |
|
|
|
if (!batchAuditForm.auditResult) { |
|
|
|
|