From 623a254885121a4e80b48ef8a5767439609a7a66 Mon Sep 17 00:00:00 2001
From: "1378012178@qq.com" <1378012178@qq.com>
Date: Mon, 9 Mar 2026 14:58:31 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E6=9E=84=E5=8A=A0=E7=9B=9F=E6=B5=81?=
=?UTF-8?q?=E7=A8=8B=E5=8F=98=E6=9B=B4=EF=BC=9A=E6=9C=BA=E6=9E=84=E5=8A=A0?=
=?UTF-8?q?=E7=9B=9F=E5=85=A5=E9=A9=BB=E5=AE=A1=E6=A0=B8-=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=B9=B3=E5=8F=B0=E5=AE=A1=E6=A0=B8=E9=80=9A=E8=BF=87?=
=?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=AE=A1=E7=90=86=E5=B9=B3=E5=8F=B0=E7=9B=B4?=
=?UTF-8?q?=E6=8E=A5=E8=BF=9B=E5=85=A5=E8=BF=90=E7=BB=B4=E5=B9=B3=E5=8F=B0?=
=?UTF-8?q?=E6=90=AD=E5=BB=BA=E7=8E=AF=E8=8A=82=EF=BC=8C=E8=BF=90=E7=BB=B4?=
=?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=88=86=E4=B8=BA=E5=8A=A0=E7=9B=9F=E7=A1=AE?=
=?UTF-8?q?=E8=AE=A4=E3=80=81=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E3=80=81?=
=?UTF-8?q?=E5=8F=8D=E9=A6=88=E4=B8=89=E4=B8=AA=E7=8E=AF=E8=8A=82=EF=BC=8C?=
=?UTF-8?q?=E5=85=B6=E4=B8=AD=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE=E7=8E=AF?=
=?UTF-8?q?=E8=8A=82=E9=9C=80=E8=A6=81=E5=A1=AB=E5=86=99=E5=90=84=E7=B1=BB?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=8C=E5=85=B6=E4=BD=99=E4=B8=A4=E4=B8=AA?=
=?UTF-8?q?=E7=8E=AF=E8=8A=82=E9=83=BD=E6=98=AF=E7=8A=B6=E6=80=81=E5=8F=98?=
=?UTF-8?q?=E6=9B=B4=EF=BC=8C=E8=BF=90=E7=BB=B4=E5=B9=B3=E5=8F=B0=E5=8F=8D?=
=?UTF-8?q?=E9=A6=88=E5=90=8E=EF=BC=8C=E4=BB=A3=E8=A1=A8=E5=8A=A0=E7=9B=9F?=
=?UTF-8?q?=E5=8F=8A=E5=B9=B3=E5=8F=B0=E6=90=AD=E5=BB=BA=E5=AE=8C=E6=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../admin/orgapplyinfo/OrgApplyInfo.data.ts | 30 ++++----
.../admin/orgapplyinfo/OrgInfoAuditList.vue | 12 ++--
.../components/OrgApplyInfoForm.vue | 71 +++++++++++--------
3 files changed, 62 insertions(+), 51 deletions(-)
diff --git a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts
index a6e6174..3c9cacd 100644
--- a/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts
+++ b/src/views/admin/orgapplyinfo/OrgApplyInfo.data.ts
@@ -46,26 +46,26 @@ export const columns: BasicColumn[] = [
dataIndex: 'status_dictText',
width: '8%',
},
+ // {
+ // title: '工单类型',
+ // align: 'center',
+ // dataIndex: 'orgStatus_dictText',
+ // width: 100,
+ // },
{
- title: '工单类型',
+ title: '运维状态',
align: 'center',
- dataIndex: 'orgStatus_dictText',
- width: 100,
- },
- {
- title: '工单状态',
- align: 'center',
- dataIndex: 'workOrderStatus_dictText',
+ dataIndex: 'orgStatus',
width: 100,
customRender: ({ record }) => {
- if (record.workOrderStatus == '0') {
- return '';
- } else if (record.workOrderStatus == '1') {
- return '待回执';
- } else if (record.workOrderStatus == '2') {
- return '已回执';
+ if (record.orgStatus == '3') {
+ return '待确认';
+ } else if (record.orgStatus == '4') {
+ return '平台搭建中';
+ } else if (record.orgStatus == '5') {
+ return '搭建完成';
} else {
- return '';
+ return '-';
}
},
},
diff --git a/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue b/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue
index b7b0b3d..b356eaa 100644
--- a/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue
+++ b/src/views/admin/orgapplyinfo/OrgInfoAuditList.vue
@@ -290,12 +290,12 @@ function getTableAction(record) {
onClick: handleUpAudit.bind(null, record),
ifShow: record.status == '1' && record.optType == 'bg'
},
- {
- label: '上传合同',
- onClick: handleUpContract.bind(null, record),
- auth: 'orgapplyinfo:nu_org_apply_info:edit',
- ifShow: record.orgStatus == '3'
- },
+ // {
+ // label: '上传合同',
+ // onClick: handleUpContract.bind(null, record),
+ // auth: 'orgapplyinfo:nu_org_apply_info:edit',
+ // ifShow: record.orgStatus == '3'
+ // },
// {
// label: '运维平台进行搭建',
// onClick: handleBuildPlat.bind(null, record),
diff --git a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue
index 6af72bf..3b4ee50 100644
--- a/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue
+++ b/src/views/admin/orgapplyinfo/components/OrgApplyInfoForm.vue
@@ -276,35 +276,35 @@
-
+
-
-
+
+
-
+
-
+
+ placeholder="" allow-clear />
-
+
@@ -464,6 +464,17 @@ const disabled = computed(() => {
return props.formDisabled;
});
+const orgStatusMap = {
+ '3': '待确认',
+ '4': '平台搭建中',
+ '5': '搭建完成',
+};
+
+// 计算属性转换状态值
+const orgStatusText = computed(() => {
+ const status = formData.orgStatus?.toString();
+ return orgStatusMap[status] || status || '-';
+});
/**
* 预览
@@ -614,20 +625,21 @@ defineExpose({
font-size: 14px;
height: 32px;
color: #fff !important;
-
+
/* 【关键修复】建立定位上下文,防止伪元素错位导致上方空白 */
- position: relative;
-
+ position: relative;
+
/* 【关键修复】隐藏溢出部分,防止动画撑大组件宽度 */
- overflow: hidden;
-
+ overflow: hidden;
+
/* 确保显示模式正确,避免行高问题 */
- display: inline-block;
- line-height: 24px; /* 根据高度微调,让文字垂直居中 */
+ display: inline-block;
+ line-height: 24px;
+ /* 根据高度微调,让文字垂直居中 */
text-decoration: none;
border: none;
cursor: pointer;
-
+
/* 可选:防止点击时的默认高亮背景干扰 */
-webkit-tap-highlight-color: transparent;
}
@@ -637,26 +649,25 @@ defineExpose({
content: '';
position: absolute;
top: 0;
- left: -100%; /* 初始状态:藏在按钮左侧外面 */
-
+ left: -100%;
+ /* 初始状态:藏在按钮左侧外面 */
+
/* 光带宽度:设为 50%~100% 均可,这里用 100% 配合动画终点 */
- width: 100%;
+ width: 100%;
height: 100%;
-
+
/* 渐变效果:中间亮,两头透明 */
- background: linear-gradient(
- 90deg,
- transparent 0%,
- rgba(255, 255, 255, 0.4) 50%,
- transparent 100%
- );
-
+ background: linear-gradient(90deg,
+ transparent 0%,
+ rgba(255, 255, 255, 0.4) 50%,
+ transparent 100%);
+
/* 倾斜角度:-25deg 会让光看起来更有速度感,如果不想要倾斜改为 0deg */
transform: skewX(0deg);
-
+
/* 确保光在文字下面,虽然背景是透明的,但这是个好习惯 */
z-index: 1;
-
+
/* 初始不执行动画,等待 hover */
}