添加页面

This commit is contained in:
2025-11-05 17:07:17 +08:00
parent 328721e6e9
commit 886b27218c
29 changed files with 1691 additions and 829 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2025-10-16 15:15:47
* @LastEditors: shirlwang
* @LastEditTime: 2025-11-03 17:41:33
* @LastEditTime: 2025-11-04 16:34:54
-->
<template>
<view>
@@ -50,7 +50,7 @@
<view class="title-item active"><view>待办需求预警列表</view></view>
<view> {{jobList1count}}条信息</view>
</view>
<view v-for="(item, index) in jobList1" :key="index" class="job-list">
<view v-for="(item, index) in jobList1" :key="index" class="job-list" @click="toNeedDetail(item)">
<view class="title">{{ item.personName }} {{ item.deptName }}</view>
<view class="info">
{{getDictLabel(item.demandType, qcjy_xqlx)}}_{{ item.jobDescription }}
@@ -137,6 +137,14 @@ function goPersonalList() {
url: '/packageRc/pages/personalList/personalList'
});
}
function toNeedDetail(item) {
let demandType = item.demandType == 1 ? 1 : item.demandType == 2 ? 3 :item.demandType == 3 ? 4 :item.demandType == 9 ? 5 : '';
console.log('toNeedDetail', demandType)
uni.navigateTo({
url: `/packageRc/pages/needs/needDetail?showTab=1&type=${demandType}&id=${item.id}&name=${item.personName}`
// url: `/packageRc/pages/demand/demandail?showTab=1&type=${demandType}&id=${item.id}&name=${item.personName}`
});
};
function back() {
uni.navigateBack({
delta: 1