From a0d36d46fcc10b52408ecd12d0cb319b35d7bd03 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期三, 15 一月 2025 09:48:35 +0800
Subject: [PATCH] 调整按钮大小,修改流程模板页面

---
 Source/plt-web/plt-web-ui/src/views/processTemplate/customType/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/processTemplate/customType/index.vue b/Source/plt-web/plt-web-ui/src/views/processTemplate/customType/index.vue
index 7b0a155..dabb067 100644
--- a/Source/plt-web/plt-web-ui/src/views/processTemplate/customType/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/processTemplate/customType/index.vue
@@ -51,7 +51,7 @@
 <script>
 import {mapGetters} from "vuex";
 import basicOption from "@/util/basic-option";
-import {deletePvolume, getPvolumesPage, savePvolume, updatePvolume} from "@/api/system/fileCab/api";
+import {getTypeList, saveType, updateType, deleteType} from "@/api/processTemplate/type";
 import func from "@/util/func";
 
 export default {
@@ -112,7 +112,7 @@
     // 琛ㄦ牸璇锋眰
     getTableList() {
       this.tableLoading = true;
-      getPvolumesPage().then(res => {
+      getTypeList().then(res => {
         this.tableData = res.data.data;
         this.tableLoading = false;
       })
@@ -120,7 +120,7 @@
 
     // 鏂板
     rowSaveHandler(row, done, loading) {
-      savePvolume(row).then(res => {
+      saveType(row).then(res => {
         if (res.data.code === 200) {
           this.$message.success(res.data.obj);
           this.getTableList();
@@ -137,7 +137,7 @@
 
     // 缂栬緫
     rowUpdateHandler(row, index, done, loading) {
-      updatePvolume(row).then(res => {
+      updateType(row).then(res => {
         if (res.data.code === 200) {
           this.$message.success(res.data.obj);
           this.getTableList();
@@ -159,7 +159,7 @@
         cancelButtonText: '鍙栨秷',
         type: 'warning'
       }).then(() => {
-        deletePvolume(params).then(res => {
+        deleteType(params).then(res => {
           if (res.data.code === 200) {
             this.$message.success(res.data.obj);
             this.getTableList();

--
Gitblit v1.9.3