cyl/dev
parent
6a7ee9735a
commit
911d91240f
@ -1,97 +1,106 @@
|
||||
import request from "../utils/request";
|
||||
import qs from "qs";
|
||||
let setqs = function (data) {
|
||||
return qs.stringify(data);
|
||||
};
|
||||
// 获取职位列表
|
||||
export function JobListApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/store/job/list",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/store/job/list",
|
||||
method: "post",
|
||||
// data: setqs(data),
|
||||
// headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
||||
data: setqs(data),
|
||||
});
|
||||
}
|
||||
// 获取职位详情
|
||||
export function getJobDetailApi(data) {
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getStoreJobDetailById?storeJobId=${data}`,
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getStoreJobDetailById?storeJobId=${data}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取职位特色
|
||||
export function getJobSpecialApi() {
|
||||
return request({
|
||||
url: `/yishoudan/labels/getListByTypeAndIndustry?type=90&industry=2`,
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/labels/getListByTypeAndIndustry?type=90&industry=2`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取省份
|
||||
export function getProvinceApi() {
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityTree`,
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityTree`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 获取市县
|
||||
export function getCityApi(id) {
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityByPid?pid=${id}`,
|
||||
method: "get",
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityByPid?pid=${id}`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
// 录单报名
|
||||
export function recordBillApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/addByAgency",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
console.log(data);
|
||||
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/addByAgency",
|
||||
method: "post",
|
||||
data,
|
||||
headers: { "Content-Type": "application/x-www-form-urlencoded" },
|
||||
});
|
||||
}
|
||||
// 报名上传识别身份证信息
|
||||
export function getIdCardInfoApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/commons/idCardOcrRecognize",
|
||||
method: "post",
|
||||
data: data,
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/commons/idCardOcrRecognize",
|
||||
method: "post",
|
||||
data,
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
});
|
||||
}
|
||||
// 获取渠道经理对应代理id
|
||||
export function getProxyInfoApi(data) {
|
||||
return request({
|
||||
url: `/yishoudan/agency/getByPmdUserId?pmdUserId=${data}`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/agency/getByPmdUserId?pmdUserId=${data}`,
|
||||
});
|
||||
}
|
||||
// 根据关键字获取企业的列表
|
||||
export function getStoreAliasApi(data) {
|
||||
return request({
|
||||
url: `/yishoudan/store/getAllStoreAliasName?keys=${data}`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/store/getAllStoreAliasName?keys=${data}`,
|
||||
});
|
||||
}
|
||||
// 根据关键字获取企业的列表
|
||||
export function getStoreJobApi(data) {
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getJobNameByStoreId?storeId=${data}`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getJobNameByStoreId?storeId=${data}`,
|
||||
});
|
||||
}
|
||||
// 根据岗位id获取政策
|
||||
export function getPolicyByJobIdApi(data) {
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getPolicyByStoreJobId?storeJobId=${data}`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/store/job/getPolicyByStoreJobId?storeJobId=${data}`,
|
||||
});
|
||||
}
|
||||
// 获取热门职位城市
|
||||
export function getHotCityApi() {
|
||||
return request({
|
||||
url: `/yishoudan/city/getHotCity`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/city/getHotCity`,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取热门职位城市
|
||||
export function getCityWhichHasJobApi() {
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityHasOnlineJob`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/city/getCityHasOnlineJob`,
|
||||
});
|
||||
}
|
||||
// 获取热门企业
|
||||
export function getHotStoreApi() {
|
||||
return request({
|
||||
url: `/yishoudan/store/getHotStore`,
|
||||
});
|
||||
return request({
|
||||
url: `/yishoudan/store/getHotStore`,
|
||||
});
|
||||
}
|
||||
|
||||
@ -1,179 +1,211 @@
|
||||
import request from "../utils/request";
|
||||
import qs from "qs";
|
||||
let setqs = function (data) {
|
||||
return qs.stringify(data);
|
||||
};
|
||||
// 获取卡券信息
|
||||
export function userCardApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/usercoupon/list",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/usercoupon/list",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取用户余额信息
|
||||
export function userBalanceApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/wallet/info",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/wallet/info",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 获取用户提现详情
|
||||
export function userDetailApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/wallet/withdrawal/list",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/wallet/withdrawal/list",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// // 获取我的老乡信息
|
||||
// export function userTownsmanApi(data) {
|
||||
// return request({
|
||||
// url: "/yishoudan/workorder/getLaoXiangList",
|
||||
// // method: "post",
|
||||
// params: data,
|
||||
// data: data,
|
||||
// });
|
||||
// }
|
||||
// 获取我的报名信息
|
||||
export function userBillApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/list",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/list",
|
||||
method: "post",
|
||||
data: setqs(data),
|
||||
});
|
||||
}
|
||||
// 获取我的报名状态数量
|
||||
export function userBillNumberApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/listStatisticsNum",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/listStatisticsNum",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取跟进记录详情
|
||||
export function userBillDetailApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/details?orderId=" + data,
|
||||
// method: "post",
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/apply/order/details?orderId=" + data,
|
||||
// method: "post",
|
||||
});
|
||||
}
|
||||
// 获取用户信息
|
||||
export function userBaseInfoApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/getUserInfo",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/getUserInfo",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取用户积分信息
|
||||
|
||||
export function getPointApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/wallet/getPoint",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/wallet/getPoint",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取用户积分使用信息
|
||||
|
||||
export function getPointDetailApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/pointUseRecord/list",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/pointUseRecord/list",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 登录状态账号设置修改密码
|
||||
|
||||
export function setUserPswApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/changePassword",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/changePassword",
|
||||
method: "post",
|
||||
data: setqs(data),
|
||||
});
|
||||
}
|
||||
// 登录状态账号修改绑定手机号
|
||||
|
||||
export function setUserTelApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/changeTel",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/changeTel",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 账号修改绑定银行卡
|
||||
|
||||
export function getUserBankListApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/bank/getUserBankList",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/bank/getUserBankList",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 实名认证
|
||||
|
||||
export function setUserRealNameApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/realNameAuth",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/realNameAuth",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 获取用户微信绑定的二维码
|
||||
export function getUserWxApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/getMiniAppQrCodeOfBindUser",
|
||||
// method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/getMiniAppQrCodeOfBindUser",
|
||||
// method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 上传用户头像
|
||||
export function uploadUserAvatarApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/changeUserImgsrc",
|
||||
method: "post",
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
data: data,
|
||||
// data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/changeUserImgsrc",
|
||||
method: "post",
|
||||
headers: { "Content-Type": "multipart/form-data" },
|
||||
data: data,
|
||||
// data,
|
||||
});
|
||||
}
|
||||
// 获取我的老乡
|
||||
export function userTownsmanApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/agency/user/list",
|
||||
method: "post",
|
||||
params: data,
|
||||
// data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/agency/user/list",
|
||||
method: "post",
|
||||
data: setqs(data),
|
||||
// data,
|
||||
});
|
||||
}
|
||||
// 获取点击的老乡详情
|
||||
export function townsmanDetailApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/agency/user/details/" + data,
|
||||
// data,
|
||||
});
|
||||
}
|
||||
// 获取点击的老乡图片
|
||||
export function townsmanDetailImgsApi(data) {
|
||||
return request({
|
||||
url: "/imgs/list/" + data + "?type=20",
|
||||
// data,
|
||||
});
|
||||
}
|
||||
// 删除图片
|
||||
export function delTowmsmanDetailImgApi(data) {
|
||||
return request({
|
||||
url: "/imgs/del/" + data,
|
||||
});
|
||||
}
|
||||
// 提交老乡的信息
|
||||
export function updateTownsmanInfoApi(data) {
|
||||
return request({
|
||||
url: "/user/updateInfo",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 我的老乡各个状态统计
|
||||
export function gettownsManCountApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/agency/user/listStatistics",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/agency/user/listStatistics",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 成员管理:获取成员列表
|
||||
export function getMemberListApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/getAgencyCorpUsers",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/getAgencyCorpUsers",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
// 成员管理:删除成员
|
||||
export function deleteMemberApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/delAgencyCorpUser",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/delAgencyCorpUser",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
// 成员管理:添加成员
|
||||
export function addMemberApi(data) {
|
||||
return request({
|
||||
url: "/yishoudan/user/addAgencyUser",
|
||||
method: "post",
|
||||
params: data,
|
||||
});
|
||||
return request({
|
||||
url: "/yishoudan/user/addAgencyUser",
|
||||
method: "post",
|
||||
data: data,
|
||||
});
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,234 +1,234 @@
|
||||
export let nationlist = [
|
||||
{
|
||||
id: "01",
|
||||
name: "汉族",
|
||||
},
|
||||
{
|
||||
id: "02",
|
||||
name: "蒙古族",
|
||||
},
|
||||
{
|
||||
id: "03",
|
||||
name: "回族",
|
||||
},
|
||||
{
|
||||
id: "04",
|
||||
name: "藏族",
|
||||
},
|
||||
{
|
||||
id: "05",
|
||||
name: "维吾尔族",
|
||||
},
|
||||
{
|
||||
id: "06",
|
||||
name: "苗族",
|
||||
},
|
||||
{
|
||||
id: "07",
|
||||
name: "彝族",
|
||||
},
|
||||
{
|
||||
id: "08",
|
||||
name: "壮族",
|
||||
},
|
||||
{
|
||||
id: "09",
|
||||
name: "布依族",
|
||||
},
|
||||
{
|
||||
id: "10",
|
||||
name: "朝鲜族",
|
||||
},
|
||||
{
|
||||
id: "11",
|
||||
name: "满族",
|
||||
},
|
||||
{
|
||||
id: "12",
|
||||
name: "侗族",
|
||||
},
|
||||
{
|
||||
id: "13",
|
||||
name: "瑶族",
|
||||
},
|
||||
{
|
||||
id: "14",
|
||||
name: "白族",
|
||||
},
|
||||
{
|
||||
id: "15",
|
||||
name: "土家族",
|
||||
},
|
||||
{
|
||||
id: "16",
|
||||
name: "哈尼族",
|
||||
},
|
||||
{
|
||||
id: "17",
|
||||
name: "哈萨克族",
|
||||
},
|
||||
{
|
||||
id: "18",
|
||||
name: "傣族",
|
||||
},
|
||||
{
|
||||
id: "19",
|
||||
name: "黎族",
|
||||
},
|
||||
{
|
||||
id: "20",
|
||||
name: "傈僳族",
|
||||
},
|
||||
{
|
||||
id: "21",
|
||||
name: "佤族",
|
||||
},
|
||||
{
|
||||
id: "22",
|
||||
name: "畲族",
|
||||
},
|
||||
{
|
||||
id: "23",
|
||||
name: "高山族",
|
||||
},
|
||||
{
|
||||
id: "24",
|
||||
name: "拉祜族",
|
||||
},
|
||||
{
|
||||
id: "25",
|
||||
name: "水族",
|
||||
},
|
||||
{
|
||||
id: "26",
|
||||
name: "东乡族",
|
||||
},
|
||||
{
|
||||
id: "27",
|
||||
name: "纳西族",
|
||||
},
|
||||
{
|
||||
id: "28",
|
||||
name: "景颇族",
|
||||
},
|
||||
{
|
||||
id: "29",
|
||||
name: "柯尔克孜族",
|
||||
},
|
||||
{
|
||||
id: "30",
|
||||
name: "土族",
|
||||
},
|
||||
{
|
||||
id: "31",
|
||||
name: "达斡尔族",
|
||||
},
|
||||
{
|
||||
id: "32",
|
||||
name: "仫佬族",
|
||||
},
|
||||
{
|
||||
id: "33",
|
||||
name: "羌族",
|
||||
},
|
||||
{
|
||||
id: "34",
|
||||
name: "布朗族",
|
||||
},
|
||||
{
|
||||
id: "35",
|
||||
name: "撒拉族",
|
||||
},
|
||||
{
|
||||
id: "36",
|
||||
name: "毛难族",
|
||||
},
|
||||
{
|
||||
id: "37",
|
||||
name: "仡佬族",
|
||||
},
|
||||
{
|
||||
id: "38",
|
||||
name: "锡伯族",
|
||||
},
|
||||
{
|
||||
id: "39",
|
||||
name: "阿昌族",
|
||||
},
|
||||
{
|
||||
id: "40",
|
||||
name: "普米族",
|
||||
},
|
||||
{
|
||||
id: "41",
|
||||
name: "塔吉克族",
|
||||
},
|
||||
{
|
||||
id: "42",
|
||||
name: "怒族",
|
||||
},
|
||||
{
|
||||
id: "43",
|
||||
name: "乌孜别克族",
|
||||
},
|
||||
{
|
||||
id: "44",
|
||||
name: "俄罗斯族",
|
||||
},
|
||||
{
|
||||
id: "45",
|
||||
name: "鄂温克族",
|
||||
},
|
||||
{
|
||||
id: "46",
|
||||
name: "崩龙族",
|
||||
},
|
||||
{
|
||||
id: "47",
|
||||
name: "保安族",
|
||||
},
|
||||
{
|
||||
id: "48",
|
||||
name: "裕固族",
|
||||
},
|
||||
{
|
||||
id: "49",
|
||||
name: "京族",
|
||||
},
|
||||
{
|
||||
id: "50",
|
||||
name: "塔塔尔族",
|
||||
},
|
||||
{
|
||||
id: "51",
|
||||
name: "独龙族",
|
||||
},
|
||||
{
|
||||
id: "52",
|
||||
name: "鄂伦春族",
|
||||
},
|
||||
{
|
||||
id: "53",
|
||||
name: "赫哲族",
|
||||
},
|
||||
{
|
||||
id: "54",
|
||||
name: "门巴族",
|
||||
},
|
||||
{
|
||||
id: "55",
|
||||
name: "珞巴族",
|
||||
},
|
||||
{
|
||||
id: "56",
|
||||
name: "基诺族",
|
||||
},
|
||||
{
|
||||
id: "57",
|
||||
name: "其他",
|
||||
},
|
||||
{
|
||||
id: "58",
|
||||
name: "外国血统中国人士",
|
||||
},
|
||||
{
|
||||
id: "01",
|
||||
name: "汉族",
|
||||
},
|
||||
{
|
||||
id: "02",
|
||||
name: "蒙古族",
|
||||
},
|
||||
{
|
||||
id: "03",
|
||||
name: "回族",
|
||||
},
|
||||
{
|
||||
id: "04",
|
||||
name: "藏族",
|
||||
},
|
||||
{
|
||||
id: "05",
|
||||
name: "维吾尔族",
|
||||
},
|
||||
{
|
||||
id: "06",
|
||||
name: "苗族",
|
||||
},
|
||||
{
|
||||
id: "07",
|
||||
name: "彝族",
|
||||
},
|
||||
{
|
||||
id: "08",
|
||||
name: "壮族",
|
||||
},
|
||||
{
|
||||
id: "09",
|
||||
name: "布依族",
|
||||
},
|
||||
{
|
||||
id: "10",
|
||||
name: "朝鲜族",
|
||||
},
|
||||
{
|
||||
id: "11",
|
||||
name: "满族",
|
||||
},
|
||||
{
|
||||
id: "12",
|
||||
name: "侗族",
|
||||
},
|
||||
{
|
||||
id: "13",
|
||||
name: "瑶族",
|
||||
},
|
||||
{
|
||||
id: "14",
|
||||
name: "白族",
|
||||
},
|
||||
{
|
||||
id: "15",
|
||||
name: "土家族",
|
||||
},
|
||||
{
|
||||
id: "16",
|
||||
name: "哈尼族",
|
||||
},
|
||||
{
|
||||
id: "17",
|
||||
name: "哈萨克族",
|
||||
},
|
||||
{
|
||||
id: "18",
|
||||
name: "傣族",
|
||||
},
|
||||
{
|
||||
id: "19",
|
||||
name: "黎族",
|
||||
},
|
||||
{
|
||||
id: "20",
|
||||
name: "傈僳族",
|
||||
},
|
||||
{
|
||||
id: "21",
|
||||
name: "佤族",
|
||||
},
|
||||
{
|
||||
id: "22",
|
||||
name: "畲族",
|
||||
},
|
||||
{
|
||||
id: "23",
|
||||
name: "高山族",
|
||||
},
|
||||
{
|
||||
id: "24",
|
||||
name: "拉祜族",
|
||||
},
|
||||
{
|
||||
id: "25",
|
||||
name: "水族",
|
||||
},
|
||||
{
|
||||
id: "26",
|
||||
name: "东乡族",
|
||||
},
|
||||
{
|
||||
id: "27",
|
||||
name: "纳西族",
|
||||
},
|
||||
{
|
||||
id: "28",
|
||||
name: "景颇族",
|
||||
},
|
||||
{
|
||||
id: "29",
|
||||
name: "柯尔克孜族",
|
||||
},
|
||||
{
|
||||
id: "30",
|
||||
name: "土族",
|
||||
},
|
||||
{
|
||||
id: "31",
|
||||
name: "达斡尔族",
|
||||
},
|
||||
{
|
||||
id: "32",
|
||||
name: "仫佬族",
|
||||
},
|
||||
{
|
||||
id: "33",
|
||||
name: "羌族",
|
||||
},
|
||||
{
|
||||
id: "34",
|
||||
name: "布朗族",
|
||||
},
|
||||
{
|
||||
id: "35",
|
||||
name: "撒拉族",
|
||||
},
|
||||
{
|
||||
id: "36",
|
||||
name: "毛难族",
|
||||
},
|
||||
{
|
||||
id: "37",
|
||||
name: "仡佬族",
|
||||
},
|
||||
{
|
||||
id: "38",
|
||||
name: "锡伯族",
|
||||
},
|
||||
{
|
||||
id: "39",
|
||||
name: "阿昌族",
|
||||
},
|
||||
{
|
||||
id: "40",
|
||||
name: "普米族",
|
||||
},
|
||||
{
|
||||
id: "41",
|
||||
name: "塔吉克族",
|
||||
},
|
||||
{
|
||||
id: "42",
|
||||
name: "怒族",
|
||||
},
|
||||
{
|
||||
id: "43",
|
||||
name: "乌孜别克族",
|
||||
},
|
||||
{
|
||||
id: "44",
|
||||
name: "俄罗斯族",
|
||||
},
|
||||
{
|
||||
id: "45",
|
||||
name: "鄂温克族",
|
||||
},
|
||||
{
|
||||
id: "46",
|
||||
name: "崩龙族",
|
||||
},
|
||||
{
|
||||
id: "47",
|
||||
name: "保安族",
|
||||
},
|
||||
{
|
||||
id: "48",
|
||||
name: "裕固族",
|
||||
},
|
||||
{
|
||||
id: "49",
|
||||
name: "京族",
|
||||
},
|
||||
{
|
||||
id: "50",
|
||||
name: "塔塔尔族",
|
||||
},
|
||||
{
|
||||
id: "51",
|
||||
name: "独龙族",
|
||||
},
|
||||
{
|
||||
id: "52",
|
||||
name: "鄂伦春族",
|
||||
},
|
||||
{
|
||||
id: "53",
|
||||
name: "赫哲族",
|
||||
},
|
||||
{
|
||||
id: "54",
|
||||
name: "门巴族",
|
||||
},
|
||||
{
|
||||
id: "55",
|
||||
name: "珞巴族",
|
||||
},
|
||||
{
|
||||
id: "56",
|
||||
name: "基诺族",
|
||||
},
|
||||
{
|
||||
id: "57",
|
||||
name: "其他",
|
||||
},
|
||||
{
|
||||
id: "58",
|
||||
name: "外国血统中国人士",
|
||||
},
|
||||
];
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
let current = 4;
|
||||
let mounthList = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
||||
let newlist = mounthList.slice(mounthList.indexOf(current)).concat(mounthList.slice(0,current - 1));
|
||||
console.log(newlist);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue