@@ -113,6 +113,12 @@ | |||||
}, | }, | ||||
{ | { | ||||
"path": "pages/TalentDemand/list", | "path": "pages/TalentDemand/list", | ||||
"style": { | |||||
"navigationBarTitleText": "人才需求" | |||||
} | |||||
}, | |||||
{ | |||||
"path": "pages/TalentDemand/detail", | |||||
"style": { | "style": { | ||||
"navigationBarTitleText": "人才需求查看" | "navigationBarTitleText": "人才需求查看" | ||||
} | } | ||||
@@ -5,11 +5,11 @@ | |||||
您的成绩为: | 您的成绩为: | ||||
</view> | </view> | ||||
<view class="scope"> | <view class="scope"> | ||||
86分 | |||||
{{scope}}分 | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="footer"> | <view class="footer"> | ||||
<!-- <img src="../../static/image/bg3.png" alt="" /> --> | |||||
<img src="../../static/image/bg3.png" alt="" /> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
</template> | </template> | ||||
@@ -18,11 +18,18 @@ | |||||
export default { | export default { | ||||
data() { | data() { | ||||
return { | return { | ||||
scope: '' | |||||
} | } | ||||
}, | }, | ||||
async mounted() { | |||||
await this.init() | |||||
}, | |||||
methods: { | methods: { | ||||
async init() { | |||||
this.scope = await this.HTTP_GET( | |||||
'/api/ht/cj/show' | |||||
) | |||||
} | |||||
} | } | ||||
} | } | ||||
</script> | </script> | ||||
@@ -52,7 +59,7 @@ | |||||
} | } | ||||
.footer { | .footer { | ||||
width: 80%; | |||||
// width: 80%; | |||||
position: fixed; | position: fixed; | ||||
bottom: 0; | bottom: 0; | ||||
left: 0; | left: 0; | ||||
@@ -0,0 +1,64 @@ | |||||
<template> | |||||
<view class="meetingStyle"> | |||||
<u--form labelPosition="left" :model="userInfos" ref="uForm" labelWidth="100"> | |||||
<u-form-item label="应聘职位" prop="JobName" borderBottom> | |||||
<u--input v-model="userInfos.JobName" border="none" readonly></u--input> | |||||
</u-form-item> | |||||
<u-form-item label="学历要求" prop="EducationEquirement" borderBottom> | |||||
<u--input v-model="userInfos.EducationEquirement" border="none" readonly></u--input> | |||||
</u-form-item> | |||||
<u-form-item label="技能要求" prop="SkillDemand" borderBottom> | |||||
<u--input v-model="userInfos.SkillDemand" border="none" readonly></u--input> | |||||
</u-form-item> | |||||
<u-form-item label="单位名称" prop="UnitName" borderBottom> | |||||
<u--input v-model="userInfos.UnitName" border="none" readonly></u--input> | |||||
</u-form-item> | |||||
<u-form-item label="联系人" prop="Leader" borderBottom> | |||||
<u--input v-model="userInfos.Leader" border="none" readonly></u--input> | |||||
</u-form-item> | |||||
</u--form> | |||||
</view> | |||||
</template> | |||||
<script> | |||||
export default { | |||||
data() { | |||||
return { | |||||
contentId: '', | |||||
userInfos: { | |||||
JobName: '', | |||||
SkillDemand: '', | |||||
UnitName: '', | |||||
EducationEquirement: '', | |||||
Leader: '' | |||||
}, | |||||
} | |||||
}, | |||||
onLoad(options) { | |||||
this.contentId = options.id | |||||
if (this.contentId) { | |||||
this.getDetail() | |||||
} | |||||
}, | |||||
methods: { | |||||
async getDetail() { | |||||
let res = await this.HTTP_GET( | |||||
'/api/ht/rc/list', | |||||
this.contentId | |||||
) | |||||
if (res && res.length > 0) { | |||||
this.userInfos = JSON.parse(JSON.stringify(res[0])) | |||||
} | |||||
}, | |||||
} | |||||
} | |||||
</script> | |||||
<style lang="scss"> | |||||
.meetingStyle { | |||||
padding: 24rpx; | |||||
background-color: #fff; | |||||
box-sizing: border-box; | |||||
} | |||||
</style> |
@@ -1,6 +1,19 @@ | |||||
<template> | <template> | ||||
<view> | |||||
<view class="TalentDemandStyle" :class="{empitCenter:!list || list.length === 0}"> | |||||
<uni-list v-if="list.length>0"> | |||||
<uni-list-item ellipsis="1" v-for="item in list" :title="'职位:'+ item.JobName" | |||||
:note="item.UnitName + '(' + item.Leader + ')'" type="line" clickable @click="jump(item.ID)"> | |||||
<template v-slot:footer> | |||||
<view class="slot-tag"> | |||||
<u-tag :text="item.EducationEquirement" plain size="mini"></u-tag> | |||||
<u-tag :text="item.SkillDemand" plain size="mini" style="margin-left: 40rpx;"></u-tag> | |||||
</view> | |||||
</template> | |||||
</uni-list-item> | |||||
</uni-list> | |||||
<u-empty v-else mode="list" icon="../../static/image/data.jpg"> | |||||
</u-empty> | |||||
</view> | </view> | ||||
</template> | </template> | ||||
@@ -8,15 +21,46 @@ | |||||
export default { | export default { | ||||
data() { | data() { | ||||
return { | return { | ||||
list: [] | |||||
} | } | ||||
}, | }, | ||||
async mounted() { | |||||
await this.init() | |||||
}, | |||||
methods: { | methods: { | ||||
} | |||||
jump(data) { | |||||
uni.navigateTo({ | |||||
url: '/pages/TalentDemand/detail?id=' + data | |||||
}) | |||||
}, | |||||
async init() { | |||||
this.list = await this.HTTP_GET( | |||||
'/api/ht/rc/list' | |||||
) | |||||
} | |||||
}, | |||||
} | } | ||||
</script> | </script> | ||||
<style> | |||||
<style lang="less" scoped> | |||||
.TalentDemandStyle { | |||||
.slot-tag { | |||||
display: flex; | |||||
</style> | |||||
span { | |||||
display: flex; | |||||
} | |||||
} | |||||
&.empitCenter { | |||||
display: flex; | |||||
align-items: center; | |||||
justify-content: center; | |||||
width: 100%; | |||||
height: calc(100vh - 44px); | |||||
padding-bottom: 200rpx !important; | |||||
} | |||||
} | |||||
</style> |
@@ -154,7 +154,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} else { | } else { | ||||
alert('failed' + this.getStatus()); | |||||
// alert('failed' + this.getStatus()); | |||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
@@ -96,7 +96,7 @@ | |||||
<!--#endif --> | <!--#endif --> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<tabBar selectedIndex='/pages/home'></tabBar> | |||||
<!-- <tabBar selectedIndex='/pages/home'></tabBar> --> | |||||
</view> | </view> | ||||
</template> | </template> | ||||
@@ -1,16 +1,13 @@ | |||||
<template> | <template> | ||||
<view class="internshipReport"> | |||||
<uni-list> | |||||
<!-- <uni-list-item v-for="item in list" ellipsis="1" showArrow clickable title="供需见面会主题" note="北京全江科技责任有限公司" | |||||
rightText="2024-12-24 11:01" type="line" @click="jump(item)"> | |||||
</uni-list-item> --> | |||||
<view class="internshipReport" :class="{empitCenter:!list || list.length === 0}"> | |||||
<uni-list v-if="list.length>0"> | |||||
<uni-list-item v-for="item in list" ellipsis="1" showArrow clickable :title="item.UnitName" | <uni-list-item v-for="item in list" ellipsis="1" showArrow clickable :title="item.UnitName" | ||||
:note="`岗位:${item.PostName}`" type="line" @click="jump(item.ID)"> | :note="`岗位:${item.PostName}`" type="line" @click="jump(item.ID)"> | ||||
</uni-list-item> | </uni-list-item> | ||||
</uni-list> | </uni-list> | ||||
<u-empty v-else mode="list" icon="../../static/image/data.jpg"> | |||||
</u-empty> | |||||
<view class="addBTn" @click="jump('')"> | <view class="addBTn" @click="jump('')"> | ||||
<u-icon name="plus-circle-fill" color="#2979ff" size="58"></u-icon> | <u-icon name="plus-circle-fill" color="#2979ff" size="58"></u-icon> | ||||
</view> | </view> | ||||
@@ -39,7 +36,6 @@ | |||||
this.list = await this.HTTP_GET( | this.list = await this.HTTP_GET( | ||||
'/api/ht/sx/list' | '/api/ht/sx/list' | ||||
) | ) | ||||
console.log(this.list, "........"); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -53,5 +49,14 @@ | |||||
right: 50rpx; | right: 50rpx; | ||||
} | } | ||||
&.empitCenter { | |||||
display: flex; | |||||
align-items: center; | |||||
justify-content: center; | |||||
width: 100%; | |||||
height: calc(100vh - 44px); | |||||
padding-bottom: 200rpx !important; | |||||
} | |||||
} | } | ||||
</style> | </style> |
@@ -113,21 +113,20 @@ | |||||
}, | }, | ||||
methods: { | methods: { | ||||
async getCasLoginInfo() { | async getCasLoginInfo() { | ||||
let loginResult=null; | |||||
let loginResult = null; | |||||
const url = new URL(window.location.href); | const url = new URL(window.location.href); | ||||
const params = new URLSearchParams(url.search); | const params = new URLSearchParams(url.search); | ||||
const ticket = params.get('ticket'); | const ticket = params.get('ticket'); | ||||
// const ticket = "1" | |||||
if (ticket) { | if (ticket) { | ||||
console.log("1:",ticket); | |||||
let postResult = await this.POST('/api/ht/ticket', { | let postResult = await this.POST('/api/ht/ticket', { | ||||
ticket, | ticket, | ||||
}) | }) | ||||
console.log(postResult); | |||||
if (postResult[1].data.code == '200') { | if (postResult[1].data.code == '200') { | ||||
loginResult = postResult[1].data.data; | loginResult = postResult[1].data.data; | ||||
} else { | } else { | ||||
this.TOAST(postResult[1].data.info); | this.TOAST(postResult[1].data.info); | ||||
} | } | ||||
const { | const { | ||||
baseinfo, | baseinfo, | ||||
@@ -141,13 +140,13 @@ | |||||
role | role | ||||
} | } | ||||
const token = baseinfo.token | const token = baseinfo.token | ||||
this.SET_GLOBAL('token', token) | this.SET_GLOBAL('token', token) | ||||
this.SET_GLOBAL('loginUser', user) | this.SET_GLOBAL('loginUser', user) | ||||
this.SET_STORAGE('token', token) | this.SET_STORAGE('token', token) | ||||
this.HIDE_LOADING() | this.HIDE_LOADING() | ||||
this.TAB_TO('/pages/home') | this.TAB_TO('/pages/home') | ||||
@@ -1,23 +1,21 @@ | |||||
<template> | <template> | ||||
<view class="meetingStyle"> | <view class="meetingStyle"> | ||||
<u--form labelPosition="left" :model="userInfos" :rules="rules" ref="uForm" labelWidth="100"> | |||||
<u-form-item label="主题" prop="name" borderBottom ref="item1"> | |||||
<u--input v-model="userInfos.name" border="none" readonly></u--input> | |||||
<u--form labelPosition="left" :model="userInfos" ref="uForm" labelWidth="100"> | |||||
<u-form-item label="主题" prop="Title" borderBottom> | |||||
<u--input v-model="userInfos.Title" border="none" readonly></u--input> | |||||
</u-form-item> | </u-form-item> | ||||
<u-form-item label="场地" prop="phone" borderBottom ref="item2"> | |||||
<u--input v-model="userInfos.phone" border="none" readonly></u--input> | |||||
<u-form-item label="场地" prop="SField" borderBottom> | |||||
<u--input v-model="userInfos.SField" border="none" readonly></u--input> | |||||
</u-form-item> | </u-form-item> | ||||
<u-form-item label="时间" prop="phone" borderBottom ref="item2"> | |||||
<u--input v-model="userInfos.phone" border="none" readonly></u--input> | |||||
<u-form-item label="时间" prop="SDate" borderBottom> | |||||
<u--input v-model="userInfos.SDate" border="none" readonly></u--input> | |||||
</u-form-item> | </u-form-item> | ||||
<u-form-item label="单位名称" prop="title" borderBottom ref="item2"> | |||||
<u--input v-model="userInfos.phone" border="none" readonly></u--input> | |||||
<u-form-item label="单位名称" prop="UnitName" borderBottom> | |||||
<u--input v-model="userInfos.UnitName" border="none" readonly></u--input> | |||||
</u-form-item> | </u-form-item> | ||||
<u-form-item label="参与人员" prop="content" borderBottom ref="item3"> | |||||
<u--textarea v-model="userInfos.content" placeholder="请输入内容" autoHeight disabled | |||||
border="none"></u--textarea> | |||||
<u-form-item label="参与人员" prop="Participants" borderBottom> | |||||
<u--textarea v-model="userInfos.Participants" autoHeight disabled border="none"></u--textarea> | |||||
</u-form-item> | </u-form-item> | ||||
</u--form> | </u--form> | ||||
</view> | </view> | ||||
@@ -27,46 +25,32 @@ | |||||
export default { | export default { | ||||
data() { | data() { | ||||
return { | return { | ||||
showSex: false, | |||||
contentId: '', | |||||
userInfos: { | userInfos: { | ||||
name: 'uView UI', | |||||
sex: '', | |||||
title: '实行报告', | |||||
phone: '15535656589', | |||||
content: '' | |||||
}, | |||||
actions: [{ | |||||
name: '男', | |||||
}, | |||||
{ | |||||
name: '女', | |||||
}, | |||||
{ | |||||
name: '保密', | |||||
}, | |||||
], | |||||
rules: { | |||||
'name': { | |||||
type: 'string', | |||||
required: true, | |||||
message: '请填写姓名', | |||||
trigger: ['blur', 'change'] | |||||
}, | |||||
'sex': { | |||||
type: 'string', | |||||
max: 1, | |||||
required: true, | |||||
message: '请选择男或女', | |||||
trigger: ['blur', 'change'] | |||||
}, | |||||
Title: '', | |||||
SDate: '', | |||||
UnitName: '', | |||||
SField: '', | |||||
Participants: '' | |||||
}, | }, | ||||
radio: '', | |||||
switchVal: false | |||||
} | |||||
}, | |||||
onLoad(options) { | |||||
this.contentId = options.id | |||||
if (this.contentId) { | |||||
this.getDetail() | |||||
} | } | ||||
}, | }, | ||||
methods: { | methods: { | ||||
async getDetail() { | |||||
let res = await this.HTTP_GET( | |||||
'/api/ht/gx/list', | |||||
this.contentId | |||||
) | |||||
if (res && res.length > 0) { | |||||
this.userInfos = JSON.parse(JSON.stringify(res[0])) | |||||
} | |||||
}, | |||||
} | } | ||||
} | } | ||||
</script> | </script> | ||||
@@ -1,13 +1,13 @@ | |||||
<template> | <template> | ||||
<view> | |||||
<uni-list> | |||||
<uni-list-item v-for="item in 100" ellipsis="1" showArrow clickable | |||||
thumb="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png" thumb-size="lg" | |||||
title="供需见面会主题" note="北京全江科技责任有限公司" rightText="2024-12-24 11:01" type="line" @click="jump"> | |||||
<view :class="{empitCenter:!list || list.length === 0}"> | |||||
<uni-list v-if="list.length>0"> | |||||
<uni-list-item v-for="item in list" ellipsis="1" showArrow clickable :title="item.Title" | |||||
:note="`${item.UnitName}(${item.SField})`" :rightText="item.SDate" type="line" @click="jump(item.ID)"> | |||||
</uni-list-item> | </uni-list-item> | ||||
</uni-list> | </uni-list> | ||||
<u-empty v-else mode="list" icon="../../static/image/data.jpg"> | |||||
</u-empty> | |||||
</view> | </view> | ||||
</template> | </template> | ||||
@@ -18,16 +18,30 @@ | |||||
list: [] | list: [] | ||||
} | } | ||||
}, | }, | ||||
async mounted() { | |||||
await this.init() | |||||
}, | |||||
methods: { | methods: { | ||||
jump() { | |||||
jump(data) { | |||||
uni.navigateTo({ | uni.navigateTo({ | ||||
url: '/pages/meeting/detail' | |||||
url: '/pages/meeting/detail?id=' + data | |||||
}) | }) | ||||
}, | |||||
async init() { | |||||
this.list = await this.HTTP_GET( | |||||
'/api/ht/gx/list' | |||||
) | |||||
} | } | ||||
} | |||||
}, | |||||
} | } | ||||
</script> | </script> | ||||
<style> | |||||
<style lang="scss" scoped> | |||||
.empitCenter { | |||||
display: flex; | |||||
align-items: center; | |||||
justify-content: center; | |||||
width: 100%; | |||||
height: calc(100vh - 44px); | |||||
padding-bottom: 200rpx !important; | |||||
} | |||||
</style> | </style> |