|
@@ -7,6 +7,11 @@
|
|
|
<a-input v-model:value="searchParams.siteUserName" placeholder="" :allow-clear="true"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :span="6">
|
|
|
+ <a-form-item label="工号" :label-col="{span:8}" name="userNo">
|
|
|
+ <a-input v-model:value="searchParams.userNo" placeholder="" :allow-clear="true"/>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
<a-col :span="6">
|
|
|
<a-form-item label="所属驿站" :label-col="{span:8}" name="siteID">
|
|
|
<a-select
|
|
@@ -20,9 +25,6 @@
|
|
|
</a-select>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :span="6">
|
|
|
-
|
|
|
- </a-col>
|
|
|
<a-col :span="6" style="text-align: left">
|
|
|
<a-button type="primary" html-type="submit" @click="onSearch">查询</a-button>
|
|
|
<a-button
|
|
@@ -64,15 +66,14 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import {reactive, ref, computed, defineComponent, createVNode} from 'vue';
|
|
|
+import {computed, createVNode, defineComponent, reactive, ref} from 'vue';
|
|
|
import {useTabsViewStore} from "@/store/modules/tabsView";
|
|
|
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 {getSiteUserList,delSiteUser} from '@/api/baseSettings/userInfo';
|
|
|
+import type {FormInstance, TableColumnsType, TableProps} from 'ant-design-vue';
|
|
|
+import {message, Modal} from "ant-design-vue";
|
|
|
+import {delSiteUser, getSiteUserList} from '@/api/baseSettings/userInfo';
|
|
|
import BExportExcel from "@/components/basic/excel/exportExcel/exportExcel.vue";
|
|
|
import {getPaginationTotalTitle} from "@/utils/common";
|
|
|
-import {message, Modal} from "ant-design-vue";
|
|
|
import {getSiteList} from "@/api/baseSettings/siteInfo";
|
|
|
|
|
|
export default defineComponent({
|
|
@@ -86,7 +87,8 @@ export default defineComponent({
|
|
|
pageIndex: 1,
|
|
|
pageSize: 20,
|
|
|
siteUserName: '',
|
|
|
- siteID:''
|
|
|
+ siteID: '',
|
|
|
+ userNo: ""
|
|
|
});
|
|
|
const formState = reactive({
|
|
|
total: 0,
|
|
@@ -95,10 +97,12 @@ export default defineComponent({
|
|
|
});
|
|
|
const columns: TableColumnsType = [
|
|
|
{title: '序号', align: "center",key: 'siteUserID',customRender: item => `${searchParams.pageSize * (searchParams.pageIndex - 1) + item.index + 1}`},
|
|
|
+ {title: '工号', dataIndex: 'userNo', key: 'userNo', align: "center"},
|
|
|
{title: '人员名称', dataIndex: 'siteUserName', key: 'siteUserName', align: "center"},
|
|
|
{title: '用户类型', dataIndex: 'roleName', key: 'roleName',width:120, align: "center"},
|
|
|
{title: '性别', dataIndex: 'genderName', key: 'genderName', align: "center"},
|
|
|
{title: '联系电话', dataIndex: 'mobile', key: 'mobile', align: "center"},
|
|
|
+ {title: '身份证号', dataIndex: 'idCard', key: 'idCard', align: "center"},
|
|
|
{title: '所属驿站', dataIndex: 'siteName', key: 'siteName', align: "center"},
|
|
|
{title: '操作', key: 'operation', fixed: 'right',width:100, align: "center"},
|
|
|
];
|