|
|
@ -37,9 +37,12 @@ |
|
|
</a-select> |
|
|
</a-select> |
|
|
</a-form-item> |
|
|
</a-form-item> |
|
|
|
|
|
|
|
|
<!--<a-form-item label="机构名称" :label-col="{ span: 4 }" :wrapper-col="{ span: 8 }"> |
|
|
<a-form-item label="机构名称" :label-col="{ span: 4 }" :wrapper-col="{ span: 8 }"> |
|
|
<a-input v-model:value="queryForm.firmName" placeholder="请输入机构名称(可选)" style="width: 300px" /> |
|
|
<!--<a-input v-model:value="queryForm.firmName" placeholder="请输入机构名称(可选)" style="width: 300px; margin-bottom: 8px;" />--> |
|
|
</a-form-item>--> |
|
|
<div class="department-selector"> |
|
|
|
|
|
<DepartmentTreeSelect v-model:value="queryForm.firmId" style="width: 300px;" /> |
|
|
|
|
|
</div> |
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
|
<a-form-item :wrapper-col="{ span: 8, offset: 4 }"> |
|
|
<a-form-item :wrapper-col="{ span: 8, offset: 4 }"> |
|
|
<a-button type="primary" @click="handleQuery" :loading="queryLoading" style="margin-right: 8px;"> |
|
|
<a-button type="primary" @click="handleQuery" :loading="queryLoading" style="margin-right: 8px;"> |
|
|
@ -88,6 +91,7 @@ import { ExportOutlined, SearchOutlined, ReloadOutlined, ArrowLeftOutlined } fro |
|
|
import { message } from 'ant-design-vue'; |
|
|
import { message } from 'ant-design-vue'; |
|
|
import QuarterStatistics from '/@/components/system/service-count/quarter-statistics.vue'; |
|
|
import QuarterStatistics from '/@/components/system/service-count/quarter-statistics.vue'; |
|
|
import FirmStatisticsDetail from '/@/components/system/service-count/firm-statistics-detail.vue'; |
|
|
import FirmStatisticsDetail from '/@/components/system/service-count/firm-statistics-detail.vue'; |
|
|
|
|
|
import DepartmentTreeSelect from '/@/components/system/department-tree-select/index.vue'; |
|
|
import { loginApi } from '/@/api/system/login-api'; |
|
|
import { loginApi } from '/@/api/system/login-api'; |
|
|
import { serviceApplicationsApi } from '/@/api/business/service-applications/service-applications-api'; |
|
|
import { serviceApplicationsApi } from '/@/api/business/service-applications/service-applications-api'; |
|
|
|
|
|
|
|
|
@ -100,7 +104,8 @@ const hasQueried = ref(false); |
|
|
const queryForm = reactive({ |
|
|
const queryForm = reactive({ |
|
|
quarter: null, |
|
|
quarter: null, |
|
|
year: new Date().getFullYear(), |
|
|
year: new Date().getFullYear(), |
|
|
//firmName: '' |
|
|
//firmName: '', |
|
|
|
|
|
firmId: null |
|
|
}); |
|
|
}); |
|
|
const tableData = ref([]); |
|
|
const tableData = ref([]); |
|
|
const summaryData = ref(null); |
|
|
const summaryData = ref(null); |
|
|
@ -158,6 +163,7 @@ async function handleQuery() { |
|
|
quarter: queryForm.quarter, |
|
|
quarter: queryForm.quarter, |
|
|
year: queryForm.year, |
|
|
year: queryForm.year, |
|
|
firmName: queryForm.firmName, |
|
|
firmName: queryForm.firmName, |
|
|
|
|
|
firmId: queryForm.firmId, |
|
|
// 管理员接口默认分页参数 |
|
|
// 管理员接口默认分页参数 |
|
|
pageNum: 1, |
|
|
pageNum: 1, |
|
|
pageSize: 500 |
|
|
pageSize: 500 |
|
|
@ -220,6 +226,7 @@ function handleReset() { |
|
|
queryForm.quarter = null; |
|
|
queryForm.quarter = null; |
|
|
queryForm.year = new Date().getFullYear(); |
|
|
queryForm.year = new Date().getFullYear(); |
|
|
queryForm.firmName = ''; |
|
|
queryForm.firmName = ''; |
|
|
|
|
|
queryForm.firmId = null; |
|
|
tableData.value = []; |
|
|
tableData.value = []; |
|
|
summaryData.value = null; |
|
|
summaryData.value = null; |
|
|
hasQueried.value = false; |
|
|
hasQueried.value = false; |
|
|
|