From 98c5d7f9798e72d9227eb6bf37c87865a136c29d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?=
<7507756+jiang_yuqi@user.noreply.gitee.com>
Date: Tue, 19 Mar 2024 23:24:31 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../project/surProjectInsurance/index.vue | 14 ++++++++---
.../surProjectInsurance/insuranceDrawer.vue | 14 ++++++++---
.../trouble/pshProblemmodifyDraft/index.vue | 8 ++++++-
.../trouble/sspProblemmodifyDraft/index.vue | 8 ++++++-
.../views/work/workFile/indexViewDrawer.vue | 23 +++++++++----------
5 files changed, 47 insertions(+), 20 deletions(-)
diff --git a/ruoyi-ui/src/views/project/surProjectInsurance/index.vue b/ruoyi-ui/src/views/project/surProjectInsurance/index.vue
index 7b3107ad..98f56a96 100644
--- a/ruoyi-ui/src/views/project/surProjectInsurance/index.vue
+++ b/ruoyi-ui/src/views/project/surProjectInsurance/index.vue
@@ -129,7 +129,8 @@
@@ -249,7 +250,14 @@
/>
-
+
@@ -106,7 +107,14 @@
/>
-
+
{
this.projectOptions = response.rows;
- if (response.rows.length > 1) {
+ if(response.rows.length == 1){
+ //默认初始化当前项目人员信息
+ this.$api.publics.selectProjectAllUnitUser({projectId: response.rows[0].id})
+ .then((d) => {
+ this.projectUnitUsers.push({projectId:response.rows[0].id,data:d.data});
+ });
+ }else if (response.rows.length > 1) {
this.showPro = true;
}
});
diff --git a/ruoyi-ui/src/views/trouble/sspProblemmodifyDraft/index.vue b/ruoyi-ui/src/views/trouble/sspProblemmodifyDraft/index.vue
index f642e8af..45b3a57e 100644
--- a/ruoyi-ui/src/views/trouble/sspProblemmodifyDraft/index.vue
+++ b/ruoyi-ui/src/views/trouble/sspProblemmodifyDraft/index.vue
@@ -359,7 +359,13 @@ export default {
// 获取项目列表的接口
this.$api.publics.getMyProjectList({}).then((response) => {
this.projectOptions = response.rows;
- if (response.rows.length > 1) {
+ if(response.rows.length == 1){
+ //默认初始化当前项目人员信息
+ this.$api.publics.selectProjectAllUnitUser({projectId: response.rows[0].id})
+ .then((d) => {
+ this.projectUnitUsers.push({projectId:response.rows[0].id,data:d.data});
+ });
+ }else if (response.rows.length > 1) {
this.showPro = true;
}
});
diff --git a/ruoyi-ui/src/views/work/workFile/indexViewDrawer.vue b/ruoyi-ui/src/views/work/workFile/indexViewDrawer.vue
index b4b4d303..a0ef12f4 100644
--- a/ruoyi-ui/src/views/work/workFile/indexViewDrawer.vue
+++ b/ruoyi-ui/src/views/work/workFile/indexViewDrawer.vue
@@ -21,7 +21,7 @@
-
+
{{ scope.row.deptName }}
- 发展集团
+ 产发集团
{{getDeptName(scope.row.ancestors)}}
-
+
@@ -72,7 +72,7 @@
-
+
-
+
-
\ No newline at end of file