feat:
This commit is contained in:
@ -44,4 +44,4 @@
|
||||
},
|
||||
"appid": "wxf0724a83f8e377d2",
|
||||
"simulatorPluginLibVersion": {}
|
||||
}
|
||||
}
|
||||
|
@ -46,8 +46,8 @@ function JobRecommendList(props: IJobListProps) {
|
||||
setDataList([]);
|
||||
setLoading(true);
|
||||
setLoadError(false);
|
||||
const { jobResults = [] } = await requestMyRecommendJobList({ ...requestProps.current });
|
||||
setDataList(jobResults);
|
||||
const { jobResults } = await requestMyRecommendJobList({ ...requestProps.current });
|
||||
setDataList(jobResults || []);
|
||||
} catch (e) {
|
||||
setDataList([]);
|
||||
setLoadError(true);
|
||||
|
@ -124,10 +124,14 @@ export default function PartnerKanban({ simple }: PartnerKanbanProps) {
|
||||
setStats(data);
|
||||
}, []);
|
||||
const handleViewWithdraw = useCallback(() => {
|
||||
if (stats.availableBalance < 10 * 1000) {
|
||||
Toast.error('提现金额需大于等于10元');
|
||||
if (stats.availableBalance < 0) {
|
||||
Toast.info('提现金额需大于等于0元');
|
||||
return;
|
||||
}
|
||||
// if (stats.availableBalance < 10 * 1000) {
|
||||
// Toast.error('提现金额需大于等于10元');
|
||||
// return;
|
||||
// }
|
||||
setWithdrawOpen(true);
|
||||
}, [stats.availableBalance]);
|
||||
const handleWithdrawClose = useCallback(() => {
|
||||
|
@ -5861,6 +5861,16 @@ export const CITY_INDEXES_LIST = [
|
||||
];
|
||||
|
||||
export const GROUP_CITY_INDEXES_LIST = [
|
||||
{
|
||||
letter: 'B',
|
||||
data: [
|
||||
{
|
||||
cityCode: '110100',
|
||||
cityName: '北京',
|
||||
keyword: 'BEIJING北京',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
letter: 'C',
|
||||
data: [
|
||||
@ -5874,6 +5884,11 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
cityName: '成都',
|
||||
keyword: 'CHENGDOU成都',
|
||||
},
|
||||
{
|
||||
cityCode: '430100',
|
||||
cityName: '长沙',
|
||||
keyword: 'CHANGSHA长沙',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -5914,6 +5929,11 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
{
|
||||
letter: 'H',
|
||||
data: [
|
||||
{
|
||||
cityCode: '330100',
|
||||
cityName: '杭州',
|
||||
keyword: 'HANGZHOU杭州',
|
||||
},
|
||||
{
|
||||
cityCode: '340100',
|
||||
cityName: '合肥',
|
||||
@ -5921,6 +5941,16 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
letter: 'K',
|
||||
data: [
|
||||
{
|
||||
cityCode: '530100',
|
||||
cityName: '昆明',
|
||||
keyword: 'KUNMING昆明',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
letter: 'N',
|
||||
data: [
|
||||
@ -5939,6 +5969,11 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
cityName: '青岛',
|
||||
keyword: 'QINGDAO青岛',
|
||||
},
|
||||
{
|
||||
cityCode: '350500',
|
||||
cityName: '泉州',
|
||||
keyword: 'QUANZHOU泉州',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -5959,11 +5994,6 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
cityName: '苏州',
|
||||
keyword: 'SUZHOU苏州',
|
||||
},
|
||||
{
|
||||
cityCode: '330300',
|
||||
cityName: '温州',
|
||||
keyword: 'WENZHOU温州',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -5979,6 +6009,11 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
{
|
||||
letter: 'W',
|
||||
data: [
|
||||
{
|
||||
cityCode: '330300',
|
||||
cityName: '温州',
|
||||
keyword: 'WENZHOU温州',
|
||||
},
|
||||
{
|
||||
cityCode: '420100',
|
||||
cityName: '武汉',
|
||||
@ -5994,6 +6029,11 @@ export const GROUP_CITY_INDEXES_LIST = [
|
||||
cityName: '西安',
|
||||
keyword: 'XIAN西安',
|
||||
},
|
||||
{
|
||||
cityCode: '350200',
|
||||
cityName: '厦门',
|
||||
keyword: 'XIAMEN厦门',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -41,6 +41,8 @@ export const switchRoleType = async (appMode?: RoleType) => {
|
||||
const curMode = getRoleType();
|
||||
appMode = curMode === RoleType.Anchor ? RoleType.Company : RoleType.Anchor;
|
||||
}
|
||||
|
||||
console.log('switchRoleType', appMode);
|
||||
try {
|
||||
await postSwitchRoleType(appMode);
|
||||
store.dispatch(changeRoleType(appMode));
|
||||
|
Reference in New Issue
Block a user