From 4cf67af090dbed353f1ddf3bd3ba5e0f854c0020 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 28 十一月 2024 12:09:05 +0800
Subject: [PATCH] 业务类型、状态池添加图标,数据授权页面

---
 Source/plt-web/plt-web-ui/src/views/authority/ui/dataAuthorization/index.vue |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/authority/ui/dataAuthorization/index.vue b/Source/plt-web/plt-web-ui/src/views/authority/ui/dataAuthorization/index.vue
index 1412b4f..9334a69 100644
--- a/Source/plt-web/plt-web-ui/src/views/authority/ui/dataAuthorization/index.vue
+++ b/Source/plt-web/plt-web-ui/src/views/authority/ui/dataAuthorization/index.vue
@@ -19,7 +19,7 @@
     </el-aside>
 
     <el-main>
-      <basic-container>
+      <basic-container cardBodyStyle="padding-bottom:0;">
         <avue-crud
           ref="crud"
           :data="data"
@@ -34,8 +34,8 @@
             <el-button icon="el-icon-view" plain size="small" type="primary" @click="chekView">鏌ョ湅鎺堟潈缁撴灉</el-button>
           </template>
         </avue-crud>
-        <div>
-          <data-view key="dataView" :btmNode="nodeRow" :data="viewData" :readOnly="true" height="400px"></data-view>
+        <div style="margin-top: 15px;">
+          <data-view key="dataView" :btmNode="nodeRow" :data="viewData" :readOnly="true" :height="clientHeight-260-220"></data-view>
         </div>
         <!-- 鏂板 && 缂栬緫 -->
         <el-dialog
@@ -44,10 +44,10 @@
           :visible.sync="visible"
           append-to-body="true"
           class="avue-dialog"
-          width="75%"
+          width="70%"
           @close="addDialogClose">
             <div>
-              <data-view key="editView" :btmNode="nodeRow" :data="viewData" :readOnly="false" height="60vh"></data-view>
+              <data-view key="editView" :btmNode="nodeRow" :data="viewData" :readOnly="false" :height="clientHeight-340"></data-view>
             </div>
             <span slot="footer" class="dialog-footer">
                <el-button size="small" type="primary" @click="addDialogSavaHandler">纭� 瀹�</el-button>
@@ -93,6 +93,7 @@
   components:{dataView},
   data:function (){
     return{
+      clientHeight:Math.max(document.body.clientHeight,700),
       treeOption: {
         height: 'auto',
         defaultExpandAll: true,
@@ -110,7 +111,7 @@
       selectList: [],
       option: {
         ...basicOption,
-        height:260,
+        height:280,
         addBtn: false,
         editBtn: false,
         delBtn: false,
@@ -194,7 +195,9 @@
     },
     //鑾峰彇涓嬫柟鏁版嵁
     getViewData(row){
-      this.viewData={};
+      this.viewData={
+        oid:row.plOId
+      };
     },
     // 鏌ョ湅鎺堟潈缁撴灉
     chekView() {

--
Gitblit v1.9.3