|
@@ -3,24 +3,40 @@
|
|
|
<a-form ref="formRef" name="advanced_search" class="ant-advanced-search-form" :model="searchParams" >
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="计划名称" :label-col="{span:6}" name="CompanyName">
|
|
|
+ <a-form-item label="企业名称" :label-col="{span:6}" name="CompanyName">
|
|
|
<a-input v-model:value="searchParams.companyName" placeholder=""/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="7">
|
|
|
- <a-form-item label="计划所属学年" :label-col="{span:7}" name="CompanyAddress">
|
|
|
- <a-input v-model:value="searchParams.companyAddress" placeholder=""/>
|
|
|
+ <a-form-item label="统一信用代码" :label-col="{span:7}" name="CompanyCode">
|
|
|
+ <a-input v-model:value="searchParams.companyCode" placeholder=""/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="6">
|
|
|
- <a-form-item label="参与实习的专业" :label-col="{span:6}" name="DutyUserName">
|
|
|
- <a-input v-model:value="searchParams.dutyUserName" placeholder=""/>
|
|
|
+ <a-form-item label="企业状态" :label-col="{span:6}" name="RecordStatus">
|
|
|
+ <a-input v-model:value="searchParams.recordStatus" placeholder=""/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="5" style="text-align: right">
|
|
|
<a-button type="primary" html-type="submit" @click="onSearch">查询</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item label="所属县区" :label-col="{span:6}" name="RegionCode">
|
|
|
+ <a-input v-model:value="searchParams.regionCode" placeholder=""/>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="7">
|
|
|
+ <a-form-item label="所属街道" :label-col="{span:7}" name="StreetCode">
|
|
|
+ <a-input v-model:value="searchParams.streetCode" placeholder=""/>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="5">
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
<a-row class="edit-operation">
|
|
|
<a-col :span="24" style="text-align: right">
|
|
|
<a-button type="primary" html-type="submit" @click='onOperates(null,"新增",false)' >新增</a-button>
|
|
@@ -34,12 +50,12 @@
|
|
|
:loading="formState.loading"
|
|
|
@change="handleTableChange"
|
|
|
:row-selection="{ selectedRowKeys: formState.selectedRowKeys, onChange: onSelectChange}"
|
|
|
- :row-key="record=>record.institutionID"
|
|
|
+ :row-key="record=>record.companyID"
|
|
|
bordered>
|
|
|
<template #bodyCell="{ column, text, record }">
|
|
|
<template v-if="column.key === 'operation'">
|
|
|
<div class="table-operation">
|
|
|
- <a-button type="link" size="small" @click='onOperates(record.institutionID,"修改",false)' >编辑</a-button>
|
|
|
+ <a-button type="link" size="small" @click='onOperates(record.companyID,"修改",false)' >编辑</a-button>
|
|
|
<a-button type="link" size="small" @click="onDel(record)" >删除</a-button>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -55,7 +71,7 @@ import {reactive, ref, computed, defineComponent, createVNode} from 'vue';
|
|
|
import {DownOutlined, ExclamationCircleOutlined, UpOutlined} from '@ant-design/icons-vue';
|
|
|
import type {FormInstance} from 'ant-design-vue';
|
|
|
import type {TableColumnsType, TableProps} from 'ant-design-vue';
|
|
|
-import {getList, del} from '@/api/baseSettings/institution';
|
|
|
+import {getList, del} from '@/api/companyService/company';
|
|
|
import InstitutionEditForm from "@/views/baseSettings/institution/edit.vue";
|
|
|
import BExportExcel from "@/components/basic/excel/exportExcel/exportExcel.vue";
|
|
|
import {getPaginationTotalTitle} from "@/utils/common";
|
|
@@ -71,8 +87,10 @@ export default defineComponent({
|
|
|
pageSize: 20,
|
|
|
primaryKey:'',
|
|
|
companyName: '',
|
|
|
- companyAddress: '',
|
|
|
- dutyUserName:''
|
|
|
+ companyCode: '',
|
|
|
+ recordStatus:'',
|
|
|
+ regionCode:'',
|
|
|
+ streetCode:''
|
|
|
});
|
|
|
const formState = reactive({
|
|
|
total: 0,
|
|
@@ -80,14 +98,17 @@ export default defineComponent({
|
|
|
loading: false
|
|
|
});
|
|
|
const columns: TableColumnsType = [
|
|
|
- {title: '序号', align: "center",key: 'institutionID',customRender: item => `${searchParams.pageSize * (searchParams.pageIndex - 1) + item.index + 1}`},
|
|
|
+ {title: '序号', align: "center",key: 'companyID',customRender: item => `${searchParams.pageSize * (searchParams.pageIndex - 1) + item.index + 1}`},
|
|
|
{title: '企业名称', dataIndex: 'companyName', key: 'companyName', align: "center"},
|
|
|
- {title: '所属县区', dataIndex: 'companyAddress', key: 'companyAddress',width:120, align: "center"},
|
|
|
- {title: '所属街道', dataIndex: 'fzrName', key: 'fzrName', align: "center"},
|
|
|
- {title: '参与实习的专业', dataIndex: 'fzrMobile', key: 'fzrMobile', align: "center"},
|
|
|
- {title: '实习开始时间', dataIndex: 'frName', key: 'frName', align: "center"},
|
|
|
- {title: '实习结束时间', dataIndex: 'frMobile', key: 'frMobile', align: "center"},
|
|
|
- {title: '上传计划文档', dataIndex: 'companyCode', key: 'companyCode', align: "center"},
|
|
|
+ {title: '所属县区', dataIndex: 'regionCode', key: 'regionCode',width:120, align: "center"},
|
|
|
+ {title: '所属街道', dataIndex: 'streetCode', key: 'streetCode', align: "center"},
|
|
|
+ {title: '统一信用代码', dataIndex: 'companyCode', key: 'companyCode', align: "center"},
|
|
|
+ {title: '企业状态', dataIndex: 'recordStatus', key: 'recordStatus', align: "center"},
|
|
|
+ {title: '参保人数', dataIndex: 'peopleCount', key: 'peopleCount', align: "center"},
|
|
|
+ {title: '企业规模', dataIndex: 'companyModel', key: 'companyModel', align: "center"},
|
|
|
+ {title: '当前岗位数量', dataIndex: 'positionCount', key: 'positionCount', align: "center"},
|
|
|
+ {title: '录入人', dataIndex: 'createUser', key: 'createUser', align: "center"},
|
|
|
+ {title: '录入时间 ', dataIndex: 'createTime', key: 'createTime', align: "center"},
|
|
|
{title: '操作', key: 'operation', fixed: 'right',width:170, align: "center"},
|
|
|
];
|
|
|
const pagination = computed(() => ({
|
|
@@ -136,7 +157,7 @@ export default defineComponent({
|
|
|
}
|
|
|
|
|
|
Modal.confirm({
|
|
|
- title: '确认删除选中的运营机构?',
|
|
|
+ title: '确认删除选中的公司信息?',
|
|
|
icon: createVNode(ExclamationCircleOutlined),
|
|
|
content: '',
|
|
|
okText: '确认删除',
|