修改页面样式等
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!--
|
||||
* @Date: 2025-10-16 15:15:47
|
||||
* @LastEditors: shirlwang
|
||||
* @LastEditTime: 2025-10-31 14:56:32
|
||||
* @LastEditTime: 2025-11-03 17:41:33
|
||||
-->
|
||||
<template>
|
||||
<view>
|
||||
@@ -51,13 +51,13 @@
|
||||
<view>共 {{jobList1count}}条信息</view>
|
||||
</view>
|
||||
<view v-for="(item, index) in jobList1" :key="index" class="job-list">
|
||||
<view class="title">销售顾问</view>
|
||||
<view class="title">{{ item.personName }} {{ item.deptName }}</view>
|
||||
<view class="info">
|
||||
待办内容文字示例待办内容文字示例待办内容文字示例待办内容文字示例
|
||||
{{getDictLabel(item.demandType, qcjy_xqlx)}}_{{ item.jobDescription }}
|
||||
</view>
|
||||
<view class="bottom-line">
|
||||
<view>发起时间:2025-09-24 15:02</view>
|
||||
<view style="color: #EF7325;">青岛xx公司</view>
|
||||
<view>发起时间:{{item.createTime}}</view>
|
||||
<view style="color: #EF7325;">{{getDictLabel(item.currentStatus, qcjy_xqlc)}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="titles">
|
||||
@@ -70,22 +70,26 @@
|
||||
<image v-else src="../../../packageRc/static/personIconFe.png"/>
|
||||
<view class="top-right">
|
||||
<view class="name-line">
|
||||
<view class="name">姓名<view class="tag">{{item.name}}</view></view>
|
||||
<view class="service-status">·未服务</view>
|
||||
<view class="name">{{item.name}}<view class="tag">{{item.zy}}</view></view>
|
||||
<view class="service-status" v-if="item.fwzt == 0">•未服务</view>
|
||||
<view class="service-status" v-if="item.fwzt == 1">•已服务</view>
|
||||
<view class="service-status" v-if="item.fwzt == 2">•联系不上</view>
|
||||
<view class="service-status" v-if="item.fwzt == 3">•拒绝服务</view>
|
||||
<view class="service-status" v-if="item.isReturn == 1">•被退回</view>
|
||||
</view>
|
||||
<view class="info-line" style="display: flex;">
|
||||
<view style="margin-right: 24rpx;"><text>年龄:</text>27岁</view>
|
||||
<view><text>服务次数:</text>1次</view>
|
||||
<view style="margin-right: 24rpx;"><text>年龄:</text>{{item.age}}岁</view>
|
||||
<view><text>服务次数:</text>{{item.operateNum}}次</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info-line">
|
||||
<view><text>联系电话:</text>152****5488</view>
|
||||
<view><text>联系电话:</text>{{item.phone || '--'}}</view>
|
||||
<view><text>详细地址:</text>{{item.xxdz}}</view>
|
||||
</view>
|
||||
<view class="services">
|
||||
<view @click="showReturnReasonPopup(item.id)">退回</view>
|
||||
<view @click="tiao(item.id,item.name)">服务</view>
|
||||
<view @click="tiao(item)">服务</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -139,11 +143,23 @@ function back() {
|
||||
});
|
||||
|
||||
};
|
||||
let qcjy_xqlx = ref([])
|
||||
let qcjy_xqlc = ref([])
|
||||
import {getDicts} from '@/apiRc/system/dict'
|
||||
onMounted(() => {
|
||||
getlist();
|
||||
getlistyujing();
|
||||
getDicts('qcjy_xqlx').then(res => {
|
||||
qcjy_xqlx.value = res.data
|
||||
});
|
||||
getDicts('qcjy_xqlc').then(res => {
|
||||
qcjy_xqlc.value = res.data
|
||||
});
|
||||
});
|
||||
|
||||
function getDictLabel(value, list) {
|
||||
const item = list.find(item => item.dictValue === value);
|
||||
return item ? item.dictLabel : '';
|
||||
}
|
||||
async function getlist(){
|
||||
|
||||
try {
|
||||
@@ -180,11 +196,11 @@ function showReturnReasonPopup(dd) {
|
||||
}
|
||||
}
|
||||
|
||||
function tiao(id,name){
|
||||
console.log('尝试导航到待办详情页面,ID:', id);
|
||||
function tiao(item){
|
||||
console.log('尝试导航到待办详情页面,ID:', item.id, item.userId);
|
||||
// 尝试直接使用uni.navigateTo,使用正确的格式并传递id参数
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/daiban/daibandetail?id=${id}&name=${name}`,
|
||||
url: `/packageRc/pages/daiban/daibandetail?id=${item.id}&name=${item.name}&userId=${item.userId}`,
|
||||
success: function() {
|
||||
console.log('导航成功');
|
||||
},
|
||||
@@ -555,12 +571,14 @@ view{box-sizing: border-box;display: block;}
|
||||
border-radius: 4rpx;
|
||||
background: #4D89E3;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
.service-status{
|
||||
color: #E0A61F;
|
||||
font-weight: bold;
|
||||
font-size: 26rpx;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
.info-line{
|
||||
|
||||
@@ -1,34 +1,10 @@
|
||||
<template>
|
||||
<view class="job-list">
|
||||
<view class="top_box_bg">
|
||||
<u-image src="@/packageRc/static/images/top.png" width="750rpx" height="496rpx" />
|
||||
</view>
|
||||
<view class="job-list__navbar">
|
||||
<div class="navbar">
|
||||
<view class="navbar-left" @click="goBack">
|
||||
<uni-icons name="back" color="#fff" size="36"></uni-icons>
|
||||
</view>
|
||||
<view class="navbar-title" style="color: #fff">服务详情</view>
|
||||
<view class="navbar-right">
|
||||
<!-- 注释掉store相关引用,避免getters错误 -->
|
||||
<!--
|
||||
<uni-icons
|
||||
v-show="false"
|
||||
@tap=""
|
||||
name="list"
|
||||
size="44rpx"
|
||||
color="#fff"
|
||||
></uni-icons>
|
||||
-->
|
||||
</view>
|
||||
</div>
|
||||
</view>
|
||||
<view class="job-list" style="background-image: url('../../../packageRc/static/pageBg.png');">
|
||||
<view class="job-list__content">
|
||||
<img
|
||||
<image
|
||||
class="top_box_bg_service"
|
||||
src=""
|
||||
width="360rpx"
|
||||
height="50rpx"
|
||||
src="/packageRc/static/images/serviceFrequency.png"
|
||||
style="width:calc(100vw - 64rpx);height:80rpx;display: block;"
|
||||
alt=""
|
||||
/>
|
||||
<view class="serviceFrequency" @tap="
|
||||
@@ -40,7 +16,7 @@
|
||||
<view
|
||||
|
||||
style="font-size: 28rpx; font-weight: normal"
|
||||
>查看></view
|
||||
>{{'查看>'}}</view
|
||||
>
|
||||
</view>
|
||||
<view class="content">
|
||||
@@ -81,10 +57,9 @@
|
||||
</view>
|
||||
<view class="visitAndInvestigate" @click="goAddServices">
|
||||
<view class="text">服务</view>
|
||||
<img
|
||||
<image
|
||||
src="/packageRc/static/images/person/fillInRecords.png"
|
||||
width="60rpx"
|
||||
height="40rpx"
|
||||
style="width:220rpx;height:60rpx;"
|
||||
alt=""
|
||||
srcset=""
|
||||
/>
|
||||
@@ -128,66 +103,68 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 1">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 1">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
class="jobSearchListview"
|
||||
v-for="item in jobSearchList"
|
||||
:key="item.id"
|
||||
@click="removeRowData(item)"
|
||||
>
|
||||
<view style="padding: 30rpx;" @click="goNeedsDetail(item, 1)">
|
||||
<view class="jobSearchListview_name">{{
|
||||
getJobWorkTypeName(item.jobWorkType)
|
||||
}}</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">期望薪资:</text>
|
||||
<view class="salary">
|
||||
{{ item.minRecruitmentSalary}}-
|
||||
{{ item.highRecruitmentSalary}}
|
||||
/月
|
||||
<view>
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx;" @click="goNeedsDetail(item, 1)">
|
||||
<view class="jobSearchListview_name">{{
|
||||
getJobWorkTypeName(item.jobWorkType)
|
||||
}}</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">期望薪资:</text>
|
||||
<view class="salary">
|
||||
{{ item.minRecruitmentSalary}}-
|
||||
{{ item.highRecruitmentSalary}}
|
||||
/月
|
||||
</view>
|
||||
</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">希望工作地点:</text>
|
||||
<text>{{ item.addressDesc }}</text>
|
||||
</view>
|
||||
<view class="jobSearchListview_currentStatus">
|
||||
<text style="color: #e0a61f" v-if="item.currentStatus == 1"
|
||||
>待处理</text
|
||||
>
|
||||
<text style="color: #288ae6" v-if="item.currentStatus == 2"
|
||||
>处理中</text
|
||||
>
|
||||
<text style="color: #1ac88b" v-if="item.currentStatus == 3"
|
||||
>已完成</text
|
||||
>
|
||||
</view>
|
||||
<view v-if="item.currentStatus == 3" class="job-list__item-btn">
|
||||
<u-button
|
||||
type="primary"
|
||||
:plain="true"
|
||||
color="#1A62CE"
|
||||
text="服务追溯"
|
||||
@click.native.stop="serviceTraceButton(item, 1)"
|
||||
:customStyle="{ border: 'none' }"
|
||||
></u-button>
|
||||
</view>
|
||||
<view class="job-list__item-btn" v-else>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementTraining(item, 1)"
|
||||
>推荐</view
|
||||
>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementHandling(item, 1)"
|
||||
>办结</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">希望工作地点:</text>
|
||||
<text>{{ item.addressDesc }}</text>
|
||||
</view>
|
||||
<view class="jobSearchListview_currentStatus">
|
||||
<text style="color: #e0a61f" v-if="item.currentStatus == 1"
|
||||
>待处理</text
|
||||
>
|
||||
<text style="color: #288ae6" v-if="item.currentStatus == 2"
|
||||
>处理中</text
|
||||
>
|
||||
<text style="color: #1ac88b" v-if="item.currentStatus == 3"
|
||||
>已完成</text
|
||||
>
|
||||
</view>
|
||||
<view v-if="item.currentStatus == 3" class="job-list__item-btn">
|
||||
<u-button
|
||||
type="primary"
|
||||
:plain="true"
|
||||
color="#1A62CE"
|
||||
text="服务追溯"
|
||||
@click.native.stop="serviceTraceButton(item, 1)"
|
||||
:customStyle="{ border: 'none' }"
|
||||
></u-button>
|
||||
</view>
|
||||
<view class="job-list__item-btn" v-else>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementTraining(item, 1)"
|
||||
>推荐</view
|
||||
>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementHandling(item, 1)"
|
||||
>办结</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>创业需求</text>
|
||||
<text class="text"
|
||||
@@ -197,15 +174,15 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 2">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 2">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in listOfEntrepreneurialNeeds"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 3)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 3)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的创业需求
|
||||
</view>
|
||||
@@ -251,8 +228,8 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>培训需求</text>
|
||||
<text class="text"
|
||||
@@ -260,15 +237,15 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 3">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 3">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in trainingList"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 4)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 4)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的培训需求
|
||||
</view>
|
||||
@@ -316,8 +293,8 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>其他需求</text>
|
||||
<text class="text"
|
||||
@@ -325,15 +302,15 @@
|
||||
>条其他需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 4">
|
||||
<u-swipe-action-item
|
||||
<uni-swipe-action v-show="activeType == 4">
|
||||
<uni-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in otherList"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 5)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 5)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的其他需求
|
||||
</view>
|
||||
@@ -378,15 +355,15 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
</view>
|
||||
</view>
|
||||
<view class="addNeeds" @click="goAddNeeds">
|
||||
<img src="/packageRc/static/images/person/addNeeds.png" />
|
||||
</view>
|
||||
|
||||
<u-popup :show="show" @close="close" @open="open">
|
||||
<!-- <uni-popup ref="show" @close="close" @open="open">
|
||||
<view class="dialog_div">
|
||||
<view class="dialog_div_item" @click="goAddNeeds(1)">
|
||||
<img
|
||||
@@ -428,10 +405,10 @@
|
||||
/>
|
||||
其他需求
|
||||
</view>
|
||||
<view class="dialog_div_btn" @click="show = false"> 取 消 </view>
|
||||
<view class="dialog_div_btn" @click="closeShow"> 取 消 </view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<u-datetime-picker
|
||||
</uni-popup> -->
|
||||
<!-- <u-datetime-picker
|
||||
style="position: relative; z-index: 100"
|
||||
:show="showTime"
|
||||
v-model="hopeSolveDate"
|
||||
@@ -440,7 +417,7 @@
|
||||
@confirm="confirmDate"
|
||||
@cancel="showTime = false"
|
||||
@close="showTime = false"
|
||||
></u-datetime-picker>
|
||||
></u-datetime-picker> -->
|
||||
<!-- 社区端 - 显示隐藏退出组件 -->
|
||||
<exitPopup />
|
||||
</view>
|
||||
@@ -528,7 +505,7 @@ export default {
|
||||
onLoad(options) {
|
||||
this.form.id = options.id;
|
||||
this.form.userId = options.name
|
||||
this.form.userId = options.id; // 确保userId被正确赋值
|
||||
this.form.userId = options.userId; // 确保userId被正确赋值
|
||||
console.log("options", options);
|
||||
this.getPersonInfo11();
|
||||
|
||||
@@ -622,8 +599,8 @@ export default {
|
||||
open() {
|
||||
// console.log('open');
|
||||
},
|
||||
close() {
|
||||
this.show = false;
|
||||
closeShow() {
|
||||
this.$refs.show.close();
|
||||
// console.log('close');
|
||||
},
|
||||
|
||||
@@ -731,22 +708,17 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
goAddNeeds(needsType) {
|
||||
console.log("this.form.userId",this.form);
|
||||
|
||||
uni.navigateTo({
|
||||
|
||||
url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`,
|
||||
success: function() {
|
||||
console.log('导航成功')
|
||||
|
||||
},
|
||||
fail: function(err) {
|
||||
console.error('导航失败:', err);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
goAddNeeds() {
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`,
|
||||
success: function() {
|
||||
console.log('导航成功')
|
||||
|
||||
},
|
||||
fail: function(err) {
|
||||
console.error('导航失败:', err);
|
||||
}
|
||||
});
|
||||
},
|
||||
getDictLabel(value, list) {
|
||||
if (list) {
|
||||
@@ -814,13 +786,13 @@ export default {
|
||||
// 需求推荐/培训
|
||||
requirementTraining(item, index) {
|
||||
if (index == 1) {
|
||||
this.$tab.navigateTo(
|
||||
`/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&jobDemandInfoId=${item.id}&jobWorkType=${item.jobWorkType}&type=3&showTab=1`
|
||||
);
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&jobDemandInfoId=${item.id}&jobWorkType=${item.jobWorkType}&type=3&showTab=1`
|
||||
});
|
||||
} else {
|
||||
this.$tab.navigateTo(
|
||||
`/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&skillTrainingId=${item.id}&personStatus=${item.personStatus}&type=4&showTab=1`
|
||||
);
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&skillTrainingId=${item.id}&personStatus=${item.personStatus}&type=4&showTab=1`
|
||||
});
|
||||
}
|
||||
},
|
||||
changeFile(e) {
|
||||
@@ -1013,15 +985,15 @@ export default {
|
||||
}
|
||||
|
||||
.job-list {
|
||||
&__navbar {
|
||||
height: 80rpx;
|
||||
}
|
||||
height: 100%;;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #F4F4F4;
|
||||
|
||||
&__content {
|
||||
position: relative;
|
||||
padding: 32rpx;
|
||||
z-index: 10;
|
||||
background-color: #d0dcee;
|
||||
background-color: #F4F4F4;
|
||||
border-radius: 32rpx 32rpx 0 0;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
@@ -1108,18 +1080,17 @@ export default {
|
||||
position: relative;
|
||||
padding: 1rpx;
|
||||
.content {
|
||||
padding: 17px;
|
||||
margin-top: 110rpx;
|
||||
height: calc(100vh - 264rpx);
|
||||
padding: 0 32rpx;
|
||||
margin-top: 100rpx;
|
||||
height: calc(100vh - 64rpx);
|
||||
overflow: auto;
|
||||
z-index: 10;
|
||||
background-color: #d0dcee;
|
||||
border-radius: 17px 17px 0 0;
|
||||
border: 3px solid #fff !important;
|
||||
// background-color: #d0dcee;
|
||||
// border-radius: 17px 17px 0 0;
|
||||
// border: 3px solid #fff !important;
|
||||
}
|
||||
}
|
||||
.top_box_bg_service {
|
||||
display:none;
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 40rpx;
|
||||
@@ -1212,6 +1183,7 @@ export default {
|
||||
width: 100%;
|
||||
height: 205rpx;
|
||||
border-radius: 8px;
|
||||
border-top-right-radius: 0;
|
||||
background: #ffffff;
|
||||
padding: 30rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user