Browse Source

Merge branch '和田中职' of http://8.141.155.183:3000/bjquanjiang/DigitalScholl into 和田中职

和田中职
dao 1 week ago
parent
commit
676c061dfd
11 changed files with 213 additions and 90 deletions
  1. +6
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json
  2. +12
    -5
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue
  3. +64
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/detail.vue
  4. +51
    -7
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/list.vue
  5. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/clockIn/list.vue
  6. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue
  7. +13
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/internshipReport/list.vue
  8. +7
    -8
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue
  9. +32
    -48
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/detail.vue
  10. +26
    -12
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/list.vue
  11. BIN
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/image/data.jpg

+ 6
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages.json View File

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


+ 12
- 5
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/InternshipResults/list.vue View File

@@ -5,11 +5,11 @@
您的成绩为:
</view>
<view class="scope">
86
{{scope}}
</view>
</view>
<view class="footer">
<!-- <img src="../../static/image/bg3.png" alt="" /> -->
<img src="../../static/image/bg3.png" alt="" />
</view>
</view>
</template>
@@ -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;


+ 64
- 0
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/detail.vue View File

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

+ 51
- 7
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/TalentDemand/list.vue View File

@@ -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
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/clockIn/list.vue View File

@@ -154,7 +154,7 @@
}
});
} else {
alert('failed' + this.getStatus());
// alert('failed' + this.getStatus());
}
});
},


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/home.vue View File

@@ -96,7 +96,7 @@
<!--#endif -->
</view>
</view>
<tabBar selectedIndex='/pages/home'></tabBar>
<!-- <tabBar selectedIndex='/pages/home'></tabBar> -->
</view>
</template>



+ 13
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/internshipReport/list.vue View File

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

+ 7
- 8
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/login.vue View File

@@ -113,21 +113,20 @@
},
methods: {
async getCasLoginInfo() {
let loginResult=null;
let loginResult = null;
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
const ticket = params.get('ticket');
// const ticket = "1"
if (ticket) {
console.log("1:",ticket);
let postResult = await this.POST('/api/ht/ticket', {
ticket,
})
console.log(postResult);
if (postResult[1].data.code == '200') {
loginResult = postResult[1].data.data;
} else {
this.TOAST(postResult[1].data.info);
}
const {
baseinfo,
@@ -141,13 +140,13 @@
role
}
const token = baseinfo.token
this.SET_GLOBAL('token', token)
this.SET_GLOBAL('loginUser', user)
this.SET_STORAGE('token', token)
this.HIDE_LOADING()
this.TAB_TO('/pages/home')



+ 32
- 48
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/meeting/detail.vue View File

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

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

BIN
Learun.Framework.Ultimate V7/LearunApp-2.2.0/static/image/data.jpg View File

Before After
Width: 300  |  Height: 300  |  Size: 17 KiB

Loading…
Cancel
Save