修改页面样式等
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{
|
||||
|
||||
Reference in New Issue
Block a user