From ffe22320da42b1a3f4a0aaf81cb31578ef205d38 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 10 九月 2025 14:52:47 +0800
Subject: [PATCH] 改bug

---
 frontWuhu/src/views/business/applicationInfo.vue |   31 ++++++++++++-------------------
 1 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/frontWuhu/src/views/business/applicationInfo.vue b/frontWuhu/src/views/business/applicationInfo.vue
index 93d8bf0..f5fc3c1 100644
--- a/frontWuhu/src/views/business/applicationInfo.vue
+++ b/frontWuhu/src/views/business/applicationInfo.vue
@@ -5,12 +5,11 @@
       <el-form-item label="搴旂敤鍚嶇О" prop="name">
         <el-input v-model="searchForm.name" placeholder="璇疯緭鍏ュ簲鐢ㄥ悕绉�" @keypress.enter.native="search"></el-input>
       </el-form-item>
-      <el-form-item label="鏈嶅姟鍟嗗悕绉�" prop="serverId">
-        <el-input v-model="searchForm.serverId" placeholder="璇疯緭鍏ユ湇鍔″晢鍚嶇О" @keypress.enter.native="search"></el-input>
+      <el-form-item label="鏈嶅姟鍟嗗悕绉�" prop="serverName">
+        <el-input v-model="searchForm.serverName" placeholder="璇疯緭鍏ユ湇鍔″晢鍚嶇О" @keypress.enter.native="search"></el-input>
       </el-form-item>
       <section>
         <el-button type="primary" @click="search">鎼滅储</el-button>
-        <el-button type="primary" :loading="isWorking.export" v-permissions="['business:applicationinfo:exportExcel']" @click="exportExcel">瀵煎嚭</el-button>
         <el-button @click="reset">閲嶇疆</el-button>
       </section>
     </el-form>
@@ -38,7 +37,11 @@
         <el-table-column prop="serverName" label="鏈嶅姟鍟�" min-width="100px"></el-table-column>
         <el-table-column prop="lables" label="鏍囩" min-width="100px"></el-table-column>
         <el-table-column prop="introduction" label="绠�浠�" min-width="100px"></el-table-column>
-        <el-table-column prop="details" label="璇︽儏" min-width="100px"></el-table-column>
+        <el-table-column prop="details" label="璇︽儏" min-width="100px">
+          <template slot-scope="{row}">
+            <el-button type="text" @click="$refs.protocol.open('璇︽儏', row.details || '<p></p>')">鐐瑰嚮鏌ョ湅</el-button>
+          </template>
+        </el-table-column>
         <el-table-column label="鐘舵��" min-width="100px">
           <template slot-scope="{row}">
             <el-switch
@@ -72,6 +75,7 @@
     </template>
     <!-- 鏂板缓/淇敼 -->
     <OperaApplicationInfoWindow ref="operaApplicationInfoWindow" @success="handlePageChange"/>
+    <Protocol ref="protocol"/>
   </TableLayout>
 </template>
 
@@ -81,28 +85,17 @@
 import Pagination from '@/components/common/Pagination'
 import OperaApplicationInfoWindow from '@/components/business/OperaApplicationInfoWindow'
 import { updateStatus } from '@/api/business/applicationInfo'
+import Protocol from "@/components/Protocol.vue";
 export default {
   name: 'ApplicationInfo',
   extends: BaseTable,
-  components: { TableLayout, Pagination, OperaApplicationInfoWindow },
+  components: { TableLayout, Pagination, OperaApplicationInfoWindow, Protocol },
   data () {
     return {
       // 鎼滅储
       searchForm: {
-        id: '',
-        creator: '',
-        createDate: '',
-        editor: '',
-        editDate: '',
-        isdeleted: '',
-        status: '',
-        remark: '',
-        serverId: '',
-        name: '',
-        logo: '',
-        lables: '',
-        introduction: '',
-        details: ''
+        serverName: '',
+        name: ''
       }
     }
   },

--
Gitblit v1.9.3