From 0f8dc2f32547caa547dea9a7c06edac0192437d5 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 26 六月 2024 17:57:14 +0800
Subject: [PATCH] 成员管理 搜索 分页 表格请求 启用停用

---
 Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue b/Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue
index ea93acf..65e9ee6 100644
--- a/Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue
+++ b/Source/plt-web/plt-web-ui/src/components/actions/base/startWorkFlow.vue
@@ -48,7 +48,7 @@
 
 <script>
 import {validatenull} from "@/util/validate";
-
+import {getTemplateByType} from "@/api/base/startWork/index"
 export default {
   name: "startWorkFlow",
   props: {
@@ -119,10 +119,23 @@
       }
     },
   },
-  mounted() {
+  created() {
     this.modelNameChange();
+    this.getWorkByType();
+  },
+  mounted() {
   },
   methods: {
+    // 鑾峰彇娴佺▼妯℃澘淇℃伅
+    getWorkByType(){
+      let params = {
+        type:'鏂囨。瀹$娴佺▼',
+        filterTemplate:""
+      }
+      getTemplateByType(params).then(res => {
+        console.log(res)
+      })
+    },
     // 鍏抽棴寮圭獥
     dialogClose() {
       this.visible = false;
@@ -151,7 +164,7 @@
       if (this.paramVOS && this.paramVOS.modelName) {
         this.saveParam.modelName = this.paramVOS.modelName;
       } else if (userInfo.content && userInfo.content.userName) {
-        this.saveParam.modelName = userInfo.content.userName + '[鍚姩娴佺▼]';
+        this.saveParam.modelName = userInfo.content.userName + '鍚姩娴佺▼';
       } else {
         this.saveParam.modelName = '';
       }

--
Gitblit v1.9.3