From 9bf2a515f5ede3acd76ac9312132d49b2e97a44c Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 01 四月 2025 16:30:37 +0800
Subject: [PATCH] 可靠性计划详情页编写
---
src/views/business/reliabilityPlan/index.vue | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 50 insertions(+), 1 deletions(-)
diff --git a/src/views/business/reliabilityPlan/index.vue b/src/views/business/reliabilityPlan/index.vue
index a9c2486..020e451 100644
--- a/src/views/business/reliabilityPlan/index.vue
+++ b/src/views/business/reliabilityPlan/index.vue
@@ -169,7 +169,33 @@
type: 'text',
clickFun: (row) => {
this.openAddDia('edit', row);
- }
+ },
+ disabled: (row) => {
+ return row.state == 1
+ },
+ },
+ {
+ name: '璁″垝',
+ type: 'text',
+ clickFun: (row) => {
+ this.$router.push({
+ path: "/reliabilityPlan/plan", query: {
+ id: row.id,
+ type: '鎴愬搧',
+ state: row.state
+ }
+ });
+ },
+ },
+ {
+ name: '鎻愪氦',
+ type: 'text',
+ clickFun: (row) => {
+ this.openAddDia('submit', row);
+ },
+ disabled: (row) => {
+ return row.state == 1
+ },
},
{
name: '瀹℃牳',
@@ -239,6 +265,29 @@
}
},
{
+ name: '璁″垝',
+ type: 'text',
+ clickFun: (row) => {
+ this.$router.push({
+ path: "/reliabilityPlan/plan", query: {
+ id: row.id,
+ type: '鍘熻緟鏉�',
+ state: row.state
+ }
+ });
+ },
+ },
+ {
+ name: '鎻愪氦',
+ type: 'text',
+ clickFun: (row) => {
+ this.openAddDia('submit', row);
+ },
+ disabled: (row) => {
+ return row.state == 1
+ },
+ },
+ {
name: '瀹℃牳',
type: 'text',
clickFun: (row) => {
--
Gitblit v1.9.3