first commit

This commit is contained in:
2026-09-09 09:14:28 +08:00
commit 5343198112
5199 changed files with 1052895 additions and 0 deletions
@@ -0,0 +1,44 @@
let physicalsCommonUrl = "/platform/physicals/common";
const sexOptions = ['男', '女']
let exportPhysicalsList = (projectId) => {
location.href = physicalsCommonUrl + "/exportPhysicalsList?projectId=" + projectId
}
let getWelfareUnitPhysicals = async () => {
const {code, data} = await $.get(physicalsCommonUrl + "/welfareUnit")
if (!code) {
return data
}
return []
}
let getComponentUnitPhysicals = async (unitId) => {
const {code, data} = await $.get(physicalsCommonUrl + "/componentUnit", {unitId})
if (!code) {
return data
}
return []
}
let getPhysicalsProjects = async () => {
const {code, data} = await $.get(physicalsCommonUrl + "/physicalsProjects")
if (!code) {
return data
}
return []
}
let physicalsCommonColumns = [
{prop: 'loginname', label: '工号'},
{prop: 'username', label: '姓名'},
{prop: 'sex', label: '性别', sortable: true, width: '100px'},
{prop: 'marriage', label: '结婚状态', sortable: true},
{prop: 'mobile', label: '手机号'},
{prop: 'idcard', label: '身份证号', width: '180px'},
{prop: 'personType', label: '人员类型', sortable: true},
{prop: 'userState', label: '在职状态', sortable: true},
{prop: 'unitname', label: '所在单位', sortable: true},
{prop: 'unionname', label: '所属工会', sortable: true},
{prop: 'campusName', label: '所属校区', sortable: true}]