diff --git a/src/components/DetailComponent/ApprovalDetail.vue b/src/components/DetailComponent/ApprovalDetail.vue
new file mode 100644
index 0000000..4748b36
--- /dev/null
+++ b/src/components/DetailComponent/ApprovalDetail.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/DetailComponent/Opinion.vue b/src/components/DetailComponent/Opinion.vue
new file mode 100644
index 0000000..9f6a03e
--- /dev/null
+++ b/src/components/DetailComponent/Opinion.vue
@@ -0,0 +1,80 @@
+
+ form = e">
+
+ 驳回
+ 同意
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue
index df22e3b..80a3a76 100644
--- a/src/components/steps/index.vue
+++ b/src/components/steps/index.vue
@@ -39,7 +39,7 @@ const props = defineProps({
// 当前显示步骤
active: {
type: Number,
- default: 0
+ default: '0'
},
// 已完成的工作流步骤
stepSuccess: {
@@ -168,18 +168,23 @@ const formatReProcedure = (data) => {
const formatActive = (val) => {
console.log(val, 'val');
let active = ''
- switch(val) {
- case '0' || 0 : active = '00'
- break
- case '1' || 1 : active = '10'
- break
- case '2' || 2 : active = '20'
- break
- case '3' || 3 : active = '30'
- break
- case '4' || 4 : active = '40'
- break
- }
+ // switch(val) {
+ // case '0' : active = '00'
+ // break
+ // case '1' : active = '10'
+ // break
+ // case '2' : active = '20'
+ // break
+ // case '3' : active = '30'
+ // break
+ // case '4' : active = '40'
+ // break
+ // }
+ val == 0 && (active = '00')
+ val == 1 && (active = '10')
+ val == 2 && (active = '20')
+ val == 3 && (active = '30')
+ val == 4 && (active = '40')
console.log(active, 'active--');
return active
}
diff --git a/src/views/project-management/initiation/detail.vue b/src/views/project-management/initiation/detail.vue
index 20174a7..19bc487 100644
--- a/src/views/project-management/initiation/detail.vue
+++ b/src/views/project-management/initiation/detail.vue
@@ -1,5 +1,5 @@
-