소스 검색

接口对接

和田中职
suyanyan 1 주 전
부모
커밋
cf1483cd85
6개의 변경된 파일139개의 추가작업 그리고 79개의 파일을 삭제
  1. +6
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json
  2. +11
    -4
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue
  3. +51
    -7
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/list.vue
  4. +13
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/internshipReport/list.vue
  5. +32
    -48
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/detail.vue
  6. +26
    -12
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/list.vue

+ 6
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json 파일 보기

@@ -113,6 +113,12 @@
},
{
"path": "pages/TalentDemand/list",
"style": {
"navigationBarTitleText": "人才需求"
}
},
{
"path": "pages/TalentDemand/detail",
"style": {
"navigationBarTitleText": "人才需求查看"
}


+ 11
- 4
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue 파일 보기

@@ -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;


+ 51
- 7
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/list.vue 파일 보기

@@ -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>

+ 13
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/internshipReport/list.vue 파일 보기

@@ -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>

+ 32
- 48
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/detail.vue 파일 보기

@@ -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>


+ 26
- 12
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/list.vue 파일 보기

@@ -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>

불러오는 중...
취소
저장