From a3c868db4d017961be2d394eadb7d428045d5adc Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期四, 13 七月 2023 11:13:16 +0800
Subject: [PATCH] 业务类型页面增加生命周期的处理

---
 Source/UBCS-WEB/dist/src/views/util/form-detail.vue |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/dist/src/views/util/form-detail.vue b/Source/UBCS-WEB/dist/src/views/util/form-detail.vue
new file mode 100644
index 0000000..e9ea21f
--- /dev/null
+++ b/Source/UBCS-WEB/dist/src/views/util/form-detail.vue
@@ -0,0 +1,40 @@
+<template>
+  <basic-container>
+    <h3>{{$route.query.id?'缂栬緫':'鏂板'}}</h3>
+    <avue-form :option="option"
+               v-model="form">
+      <template slot="menuForm">
+        <el-button icon="el-icon-back"
+                   @click="handleBack()">杩� 鍥�</el-button>
+      </template>
+    </avue-form>
+  </basic-container>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      form: {},
+      option: {
+        labelWidth: 110,
+        column: [
+          {
+            label: "濮撳悕",
+            prop: "name"
+          }
+        ]
+      }
+    };
+  },
+  methods: {
+    handleBack() {
+      this.$router.$avueRouter.closeTag();
+      this.$router.back();
+    }
+  }
+};
+</script>
+
+<style>
+</style>

--
Gitblit v1.9.3