diff --git a/src/components/DetailComponent/FileComponent.vue b/src/components/DetailComponent/FileComponent.vue index 330bb56..3c38026 100644 --- a/src/components/DetailComponent/FileComponent.vue +++ b/src/components/DetailComponent/FileComponent.vue @@ -162,3 +162,8 @@ watch(() => props.processViewer, (newVal) => { }, {deep: true}) + diff --git a/src/views/plan/detail.vue b/src/views/plan/detail.vue index 7596225..6557742 100644 --- a/src/views/plan/detail.vue +++ b/src/views/plan/detail.vue @@ -21,9 +21,20 @@
导出 - 编辑 - + +

点击编辑可以修改年度计划名称!

+
+ + 确认 + +
+ +
+
@@ -148,6 +159,8 @@ const formData = ref({}) const table = ref() const route = useRoute() const isEdit = ref(false) +const editVisible = ref(true) + const exportTable = () => { const $e = table.value.$el let $table = $e.querySelector('.el-table__fixed') @@ -202,14 +215,15 @@ const filterDict = (data, value) => { const getDetailInfo = () => { loading.value = true getPlan(route.query.annualPlanId).then(res => { - ElNotification({ - title: '提示', - message: res.msg, - type: res.code === 1000 ? 'success' : 'error' - }) if (res.code === 1000) { formData.value = res.data loading.value = false + }else{ + ElNotification({ + title: '提示', + message: res.msg, + type:'error' + }) } }) }