@@ -113,6 +113,12 @@ | |||
}, | |||
{ | |||
"path": "pages/TalentDemand/list", | |||
"style": { | |||
"navigationBarTitleText": "人才需求" | |||
} | |||
}, | |||
{ | |||
"path": "pages/TalentDemand/detail", | |||
"style": { | |||
"navigationBarTitleText": "人才需求查看" | |||
} | |||
@@ -5,7 +5,7 @@ | |||
您的成绩为: | |||
</view> | |||
<view class="scope"> | |||
86分 | |||
{{scope}}分 | |||
</view> | |||
</view> | |||
<view class="footer"> | |||
@@ -18,11 +18,18 @@ | |||
export default { | |||
data() { | |||
return { | |||
scope: '' | |||
} | |||
}, | |||
async mounted() { | |||
await this.init() | |||
}, | |||
methods: { | |||
async init() { | |||
this.scope = await this.HTTP_GET( | |||
'/api/ht/cj/show' | |||
) | |||
} | |||
} | |||
} | |||
</script> | |||
@@ -52,7 +59,7 @@ | |||
} | |||
.footer { | |||
width: 80%; | |||
// width: 80%; | |||
position: fixed; | |||
bottom: 0; | |||
left: 0; | |||
@@ -1,6 +1,19 @@ | |||
<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> | |||
</template> | |||
@@ -8,15 +21,46 @@ | |||
export default { | |||
data() { | |||
return { | |||
list: [] | |||
} | |||
}, | |||
async mounted() { | |||
await this.init() | |||
}, | |||
methods: { | |||
} | |||
jump(data) { | |||
uni.navigateTo({ | |||
url: '/pages/TalentDemand/detail?id=' + data | |||
}) | |||
}, | |||
async init() { | |||
this.list = await this.HTTP_GET( | |||
'/api/ht/rc/list' | |||
) | |||
} | |||
}, | |||
} | |||
</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> |
@@ -1,16 +1,13 @@ | |||
<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" | |||
:note="`岗位:${item.PostName}`" type="line" @click="jump(item.ID)"> | |||
</uni-list-item> | |||
</uni-list> | |||
<u-empty v-else mode="list" icon="../../static/image/data.jpg"> | |||
</u-empty> | |||
<view class="addBTn" @click="jump('')"> | |||
<u-icon name="plus-circle-fill" color="#2979ff" size="58"></u-icon> | |||
</view> | |||
@@ -39,7 +36,6 @@ | |||
this.list = await this.HTTP_GET( | |||
'/api/ht/sx/list' | |||
) | |||
console.log(this.list, "........"); | |||
} | |||
} | |||
} | |||
@@ -53,5 +49,14 @@ | |||
right: 50rpx; | |||
} | |||
&.empitCenter { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
width: 100%; | |||
height: calc(100vh - 44px); | |||
padding-bottom: 200rpx !important; | |||
} | |||
} | |||
</style> |
@@ -1,23 +1,21 @@ | |||
<template> | |||
<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 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 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 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 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> | |||
</view> | |||
@@ -27,46 +25,32 @@ | |||
export default { | |||
data() { | |||
return { | |||
showSex: false, | |||
contentId: '', | |||
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: { | |||
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> | |||
@@ -1,13 +1,13 @@ | |||
<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> | |||
<u-empty v-else mode="list" icon="../../static/image/data.jpg"> | |||
</u-empty> | |||
</view> | |||
</template> | |||
@@ -18,16 +18,30 @@ | |||
list: [] | |||
} | |||
}, | |||
async mounted() { | |||
await this.init() | |||
}, | |||
methods: { | |||
jump() { | |||
jump(data) { | |||
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> | |||
<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> |