From 2f1d2636adbd763d729c5836aa720fe8844ba9f3 Mon Sep 17 00:00:00 2001
From: wang1 <844966816@qq.com>
Date: 星期五, 14 七月 2023 18:01:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/components/work/BusinessWork.vue |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/work/BusinessWork.vue b/Source/UBCS-WEB/src/components/work/BusinessWork.vue
index 3597bfa..783f534 100644
--- a/Source/UBCS-WEB/src/components/work/BusinessWork.vue
+++ b/Source/UBCS-WEB/src/components/work/BusinessWork.vue
@@ -53,16 +53,22 @@
       tableData:[],
       editingRow: null,
       editShow: "",
-      editAttr: ""
+      editAttr: "",
+      columnType: {
+        text: "input",
+        combox: "select",
+        truefalse: "switch",
+        number: "number",
+        datetime: "datetime",
+      }
     }
   },
   watch:{
     ids:{
       handler(newval,oldval){
         this.BuinessOids=newval;
+        this.CrudHeaderRend()
         this.BuinseseRend()
-        console.log(newval)
-        console.log(this.BuinessOids)
       },
       deep:true
     }
@@ -78,11 +84,16 @@
     //琛ㄦ牸澶存覆鏌�
     CrudHeaderRend() {
       if (this.codeClassifyOid != "") {
+        var data=new FormData()
+        data.append('templateId', this.templateId)
+        data.append('taskId', this.taskId)
+        data.append('modelKey', this.modelKey)
+        data.append('codeClassifyOid', this.codeClassifyOid)
         FlowTable({
-          templateId: this.templateId,
-          taskId	: this.taskId	,
-          modelKey: this.modelKey,
-          codeClassifyOid: this.codeClassifyOid
+          'templateId': this.templateId,
+          'taskId': this.taskId,
+          'modelKey': this.modelKey,
+          'codeClassifyOid': this.codeClassifyOid
         }).then((res) => {
           this.options = res.data.tableDefineVO.seniorQueryColumns;
           this.List = res.data.tableDefineVO.cols[0];

--
Gitblit v1.9.3