Эх сурвалжийг харах

优化界面
新增上传图片接口

范志成 4 сар өмнө
parent
commit
48436332c1

+ 2 - 1
smsb-admin/src/main/resources/application.yml

@@ -58,7 +58,8 @@ server:
     ip: 221.214.76.110
   # minio 访问IP
   minio:
-    ip: https://smsb4.snctv.net/
+    # ip: https://smsb4.snctv.net/
+    ip: http://117.73.3.135:9000/
     # 文件下载端口
     dPort: 83
     # 文件桶名称

+ 0 - 11
smsb-modules/smsb-device/src/main/java/com/inspur/device/controller/SmsbDeviceGroupRelController.java

@@ -46,17 +46,6 @@ public class SmsbDeviceGroupRelController extends BaseController {
         return smsbDeviceGroupRelService.queryPageList(bo, pageQuery);
     }
 
-    /**
-     * 查询设备组对应关系表列表
-     */
-//    @SaCheckPermission("digital:deviceGroupRel:list")
-    @SaIgnore
-    @PostMapping("/testList")
-    //test for fan 待删除
-    public List<SmsbDeviceGroupRelVo> testList() {
-        return smsbDeviceGroupRelService.testList("134");
-    }
-
     /**
      * 导出设备组对应关系表列表
      */

+ 14 - 2
smsb-modules/smsb-device/src/main/java/com/inspur/device/domain/vo/SmsbDifyDatasetsQuestionVo.java

@@ -53,9 +53,9 @@ public class SmsbDifyDatasetsQuestionVo implements Serializable {
     private Long sort;
 
     /**
-     * 上传
+     * 创建
      */
-    @ExcelProperty(value = "上传人")
+    @ExcelProperty(value = "创建人")
     private String createUser;
 
     /**
@@ -70,4 +70,16 @@ public class SmsbDifyDatasetsQuestionVo implements Serializable {
     @ExcelProperty(value = "创建时间")
     private Date createTime;
 
+    /**
+     * 更新人
+     */
+    @ExcelProperty(value = "更新人")
+    private String updateBy;
+
+    /**
+     * 更新时间
+     */
+    @ExcelProperty(value = "更新时间")
+    private Date updateTime;
+
 }

+ 6 - 3
smsb-modules/smsb-device/src/main/java/com/inspur/device/service/ISmsbDeviceGroupRelService.java

@@ -67,8 +67,11 @@ public interface ISmsbDeviceGroupRelService {
      */
     Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
 
-    // test for fan 待删除
-    List<SmsbDeviceGroupRelVo> testList(String number);
-
+    /**
+     * 校验并批量删除设备组对应关系表信息
+     *
+     * @param groupId   设备组id
+     * @return 设备组对应关系列表
+     */
     List<SmsbDeviceGroupRelVo> getGroupRelByGroupId(@NotNull(message = "主键不能为空") Long groupId);
 }

+ 0 - 5
smsb-modules/smsb-device/src/main/java/com/inspur/device/service/impl/SmsbDeviceGroupRelServiceImpl.java

@@ -137,11 +137,6 @@ public class SmsbDeviceGroupRelServiceImpl implements ISmsbDeviceGroupRelService
         return baseMapper.deleteByIds(ids) > 0;
     }
 
-    @Override
-    public List<SmsbDeviceGroupRelVo> testList(String number) {
-        return baseMapper.queryGroupRelVoListByIdentifier(number);
-    }
-
     @Override
     public List<SmsbDeviceGroupRelVo> getGroupRelByGroupId(Long groupId) {
         return baseMapper.queryGroupRelVoListByGoupId(groupId);

+ 48 - 0
smsb-modules/smsb-digital-promotion/src/main/java/com/inspur/digital/controller/FileUploadController.java

@@ -0,0 +1,48 @@
+package com.inspur.digital.controller;
+
+import cn.dev33.satoken.annotation.SaIgnore;
+import com.inspur.device.domain.constants.ResultCodeEnum;
+import com.inspur.device.domain.vo.SmsbDeviceVo;
+import lombok.RequiredArgsConstructor;
+import org.dromara.common.core.domain.R;
+import org.dromara.common.core.utils.StringUtils;
+import org.dromara.common.oss.core.OssClient;
+import org.dromara.common.oss.entity.UploadResult;
+import org.dromara.common.oss.factory.OssFactory;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.http.ResponseEntity;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
+
+import java.io.IOException;
+
+@Validated
+@RequiredArgsConstructor
+@RestController
+@RequestMapping("/digital")
+public class FileUploadController {
+
+    @Value("${server.minio.ip}")
+    private String minioServerIp;
+
+    @SaIgnore
+    @PostMapping("/uploadImage")
+    public R<Void> uploadImage(@RequestBody MultipartFile file) {
+        // 文件上传
+        String originalfileName = file.getOriginalFilename();
+        String suffix = StringUtils.substring(originalfileName, originalfileName.lastIndexOf("."), originalfileName.length());
+        OssClient storage = OssFactory.instance();
+        UploadResult uploadResult;
+        try {
+            uploadResult = storage.uploadSuffix(file.getBytes(), suffix, file.getContentType());
+        } catch (IOException e) {
+            return R.fail(Integer.parseInt(ResultCodeEnum.UPLOAD_FAIL.getValue()), ResultCodeEnum.UPLOAD_FAIL.getMessage());
+        }
+        String imageUrl = uploadResult.getUrl().replace("http://127.0.0.1:20002/", minioServerIp);
+        return R.ok(imageUrl);
+    }
+}

+ 10 - 0
smsb-plus-ui/src/api/smsb/device/difyDatasetsQuestion_types.ts

@@ -29,6 +29,16 @@ export interface DifyDatasetsQuestionVO {
    */
   property: number;
 
+  /**
+   * 更新人
+   */
+  updateBy: string;
+
+  /**
+   * 更新时间
+   */
+  updateTime: number;
+
 }
 
 export interface DifyDatasetsQuestionForm extends BaseEntity {

+ 8 - 8
smsb-plus-ui/src/views/smsb/chatKey/index.vue

@@ -30,15 +30,15 @@
         <el-table v-loading="loading" :data="deviceChatKeyList" @selection-change="handleSelectionChange">
 <!--          <el-table-column label="ID" align="left" prop="id" v-if="true" width="170" :show-overflow-tooltip="true"/>-->
           <el-table-column label="" align="left" prop="" width="8"/>
-          <el-table-column label="名称" align="left" prop="apiName"/>
-          <el-table-column label="KEY" align="left" prop="apiKey" :show-overflow-tooltip="true" width="220"/>
-          <el-table-column label="URL" align="left" prop="apiUrl" :show-overflow-tooltip="true" width="220"/>
-          <el-table-column label="关联设备" align="left" prop="deviceName" :show-overflow-tooltip="true" width="220"/>
+          <el-table-column label="名称" align="left" prop="apiName" width="130"/>
+          <el-table-column label="KEY" align="left" prop="apiKey" width="250"/>
+          <el-table-column label="URL" align="left" prop="apiUrl" width="300"/>
+          <el-table-column label="关联设备" align="left" prop="deviceName" :show-overflow-tooltip="true" width="130"/>
           <el-table-column label="创建时间" align="left" prop="createTime" width="160"/>
           <el-table-column label="创建人" align="left" prop="createUser" width="100" />
           <el-table-column label="更新时间" align="left" prop="updateTime" width="160"/>
           <el-table-column label="更新人" align="left" prop="updateUser" width="100"/>
-          <el-table-column label="备注" align="left" prop="remark" :show-overflow-tooltip="true" width="180"/>
+          <el-table-column label="备注" align="left" prop="remark" :show-overflow-tooltip="true" />
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
             <template #default="scope">
               <el-tooltip content="分配设备" placement="top">
@@ -61,7 +61,7 @@
       <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
     </el-card>
     <!-- 添加或修改chat API KEY管理对话框 -->
-    <el-dialog :title="dialog.title" v-model="dialog.visible" width="700px" append-to-body>
+    <el-dialog :title="dialog.title" v-model="dialog.visible" width="1000px" append-to-body>
       <el-form ref="deviceChatKeyFormRef" :model="form" :rules="rules" label-width="55px">
         <el-form-item label="名称" prop="apiName">
           <el-input v-model="form.apiName" placeholder="请输入名称" />
@@ -79,7 +79,7 @@
           </el-col>
         </el-row>
         <el-form-item label="备注" prop="remark">
-          <el-input type="textarea" :rows="3" v-model="form.remark" placeholder="请输入备注" />
+          <el-input type="textarea" :rows="4" v-model="form.remark" placeholder="请输入备注" />
         </el-form-item>
       </el-form>
       <template #footer>
@@ -175,7 +175,7 @@ const data = reactive<PageData<DeviceChatKeyForm, DeviceChatKeyQuery>>({
   },
   rules: {
     apiName: [
-      { required: true, message: "名称不能为空", trigger: "blur" }
+      { required: true, message: "22222222222222222222222222不能为空", trigger: "blur" }
     ],
     apiKey: [
       { required: true, message: "key不能为空", trigger: "blur" }

+ 4 - 4
smsb-plus-ui/src/views/smsb/datasets/product.vue

@@ -31,9 +31,8 @@
         <el-table v-loading="loading" :data="difyDatasetsList" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="55" align="center"/>
 <!--          <el-table-column label="ID" align="left" prop="id" v-if="true" width="175"/>-->
-          <el-table-column label="产品库ID" align="left" prop="difyId" width="180" :show-overflow-tooltip = "true"/>
-          <el-table-column label="产品库" align="left" prop="name" width="200" :show-overflow-tooltip="true"/>
-          <el-table-column label="描述" align="left" prop="description" :show-overflow-tooltip="true"/>
+          <el-table-column label="产品库ID" align="left" prop="difyId" width="300" :show-overflow-tooltip = "true"/>
+          <el-table-column label="产品库" align="left" prop="name" width="160" :show-overflow-tooltip="true"/>
           <el-table-column label="索引模式" align="center" prop="indexingTechnique" width="80">
             <template #default="scope">
               <span>{{ scope.row.indexingTechnique === 'high_quality' ? '高质量' : '经济' }}</span>
@@ -51,6 +50,7 @@
           <el-table-column label="APP数量" align="center" prop="appCount" width="80"/>
           <el-table-column label="创建时间" align="left" prop="createTime" width="160"/>
           <el-table-column label="更新时间" align="left" prop="updateTime" width="160"/>
+          <el-table-column label="备注" align="left" prop="description" :show-overflow-tooltip="true"/>
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
             <template #default="scope">
               <!--              <el-tooltip content="文件列表" placement="top">
@@ -125,7 +125,7 @@
     <el-dialog :title="viewDialog.title" v-model="viewDialog.visible" width="1200px" append-to-body>
       <div class="table-content">
         <el-table v-loading="entryLoading" :data="productList">
-          <el-table-column label="产品名称" align="left" prop="name" width="250" :show-overflow-tooltip="true"/>
+          <el-table-column label="产品名称" align="left" prop="name" width="150" :show-overflow-tooltip="true"/>
           <el-table-column label="产品简介" align="left" prop="note" :show-overflow-tooltip="true"/>
           <el-table-column label="产品图片" align="left" width="100">
             <template #default="scope">

+ 4 - 4
smsb-plus-ui/src/views/smsb/datasets/question.vue

@@ -31,9 +31,8 @@
         <el-table v-loading="loading" :data="difyDatasetsList" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="55" align="center"/>
           <!--          <el-table-column label="ID" align="left" prop="id" v-if="true" width="175"/>-->
-          <el-table-column label="问答库ID" align="left" prop="difyId" width="180" :show-overflow-tooltip="true"/>
-          <el-table-column label="问答库" align="left" prop="name" width="200" :show-overflow-tooltip="true"/>
-          <el-table-column label="描述" align="left" prop="description" :show-overflow-tooltip="true"/>
+          <el-table-column label="问答库ID" align="left" prop="difyId" width="300" :show-overflow-tooltip="true"/>
+          <el-table-column label="问答库" align="left" prop="name" width="150" :show-overflow-tooltip="true"/>
           <el-table-column label="索引模式" align="center" prop="indexingTechnique" width="80">
             <template #default="scope">
               <span>{{ scope.row.indexingTechnique === 'high_quality' ? '高质量' : '经济' }}</span>
@@ -45,12 +44,13 @@
               <span>{{ scope.row.provider === 'vendor' ? '上传文件' : ' 外部问答库' }}</span>
             </template>
           </el-table-column>
-          <el-table-column label="数据源" align="center" prop="dataSourceType" width="120"/>
+          <el-table-column label="数据源" align="center" prop="dataSourceType" width="100"/>
           <el-table-column label="文字数量" align="center" prop="wordCount" width="80"/>
           <el-table-column label="文档数量" align="center" prop="documentCount" width="80"/>
           <el-table-column label="APP数量" align="center" prop="appCount" width="80"/>
           <el-table-column label="创建时间" align="left" prop="createTime" width="160"/>
           <el-table-column label="更新时间" align="left" prop="updateTime" width="160"/>
+          <el-table-column label="备注" align="left" prop="description" :show-overflow-tooltip="true"/>
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150">
             <template #default="scope">
               <el-tooltip content="下发" placement="top">

+ 3 - 2
smsb-plus-ui/src/views/smsb/datasetsPushRecord/product.vue

@@ -43,11 +43,12 @@
           <el-table-column label="" align="left" prop="" width="10"/>
           <el-table-column label="ID" align="left" prop="id" v-if="true" width="180"/>
           <el-table-column label="产品库 ID" align="left" prop="datasetsId" width="180"/>
-          <el-table-column label="产品库名称" align="left" prop="datasetsName"/>
+          <el-table-column label="产品库名称" align="left" prop="datasetsName" width="200"/>
           <el-table-column label="条目数量" align="center" prop="entryNum" width="120"/>
-          <el-table-column label="创建人名称" align="center" prop="createUser" width="120"/>
           <el-table-column label="创建时间" align="left" prop="createTime" width="180">
           </el-table-column>
+          <el-table-column label="创建人" align="center" prop="createUser" width="120"/>
+          <el-table-column label="备注" align="left"/>
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="100">
             <template #default="scope">
               <el-tooltip content="产品条目" placement="top">

+ 6 - 6
smsb-plus-ui/src/views/smsb/datasetsPushRecord/question.vue

@@ -41,13 +41,13 @@
       <div class="table-content">
         <el-table v-loading="loading" :data="datasetsPushRecordList" @selection-change="handleSelectionChange">
           <el-table-column label="" align="left" prop="" width="10"/>
-          <el-table-column label="ID" align="left" prop="id" v-if="true" width="180"/>
-          <el-table-column label="知识库 ID" align="left" prop="datasetsId" width="180"/>
-          <el-table-column label="知识库名称" align="left" prop="datasetsName"/>
+          <el-table-column label="ID" align="left" prop="id" v-if="true" width="200"/>
+          <el-table-column label="知识库ID" align="left" prop="datasetsId" width="200"/>
+          <el-table-column label="知识库名称" align="left" prop="datasetsName" width="200"/>
           <el-table-column label="条目数量" align="center" prop="entryNum" width="120"/>
-          <el-table-column label="创建人名称" align="center" prop="createUser" width="120"/>
-          <el-table-column label="创建时间" align="left" prop="createTime" width="180">
-          </el-table-column>
+          <el-table-column label="创建时间" align="left" prop="createTime" width="200"/>
+          <el-table-column label="创建人" align="center" prop="createUser" width="120"/>
+          <el-table-column label="备注" align="center" />
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="100">
             <template #default="scope">
               <el-tooltip content="知识条目" placement="top">

+ 1 - 1
smsb-plus-ui/src/views/smsb/deviceGroup/index.vue

@@ -60,7 +60,7 @@
               </el-tooltip>
               <el-tooltip content="详情" placement="top">
                 <el-button link type="primary" icon="View" @click="handleDevicesInfo(scope.row)"
-                           v-hasPermi="['digital:deviceGroup:query']"></el-button>
+                           v-hasPermi="['digital:deviceGroupRel:query']"></el-button>
               </el-tooltip>
               <el-tooltip content="删除" placement="top">
                 <el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)"

+ 3 - 2
smsb-plus-ui/src/views/smsb/difyDatasetsProduct/index.vue

@@ -43,8 +43,8 @@
 <!--        <el-table-column type="selection" width="55" align="left"/>-->
         <el-table-column label="" align="left" prop="" width="10"/>
         <el-table-column label="产品ID" align="left" prop="id" v-if="true" width="180"/>
-        <el-table-column label="产品名称" align="left" prop="name"/>
-        <el-table-column label="产品简介" align="left" prop="note"/>
+        <el-table-column label="产品名称" align="left" prop="name" width="120"/>
+        <el-table-column label="产品简介" align="left" prop="note" width="350"/>
         <el-table-column label="产品属性" align="center" width="100">
           <template #default="scope">
             <dict-tag :options="smsb_product_properties" :value="scope.row.property" />
@@ -63,6 +63,7 @@
         </el-table-column>
         <el-table-column label="产品视频" align="left" prop="videoUrl" width="150" :show-overflow-tooltip="true"/>
         <el-table-column label="创建人" align="left" prop="createUser" width="120" :show-overflow-tooltip="true"/>
+        <el-table-column label="备注" align="left" prop="remark" :show-overflow-tooltip="true"/>
         <el-table-column label="操作" align="left" class-name="small-padding fixed-width" width="100">
           <template #default="scope">
             <el-tooltip content="修改" placement="top">

+ 51 - 7
smsb-plus-ui/src/views/smsb/difyDatasetsQuestion/index.vue

@@ -1,3 +1,14 @@
+<style >
+.showOverTooltip{
+  overflow: hidden;
+  -webkit-line-clamp: 2;
+  text-overflow: ellipsis;
+  display: -webkit-box;
+  -webkit-box-orient: vertical;
+  show-overflow-tooltip:"false"
+}
+</style>
+
 <template>
   <div class="p-2">
     <transition :enter-active-class="proxy?.animate.searchAnimate.enter"
@@ -41,16 +52,42 @@
 <!--        <el-table-column type="selection" width="55" align="left"/>-->
         <el-table-column label="" align="left" prop="" width="10"/>
         <el-table-column label="ID" align="left" prop="id" v-if="true" width="180"/>
-        <el-table-column label="问题" align="left" prop="question"/>
-        <el-table-column label="回答" align="left" prop="answer"/>
-        <el-table-column label="排序" align="center" prop="sort" width="100"/>
-        <el-table-column label="属性" align="center" width="120">
+        <el-table-column label="问题" align="left" prop="question" width="150">
+          <template #default="{ row }">
+            <div @click="toggleExpand(row)" style="cursor: pointer">
+            <div v-if="row.expanded">
+              {{ row.question }}
+            </div>
+            <div v-else>
+              {{ row.question.substring(0, 20) + (row.question.length > 20 ? '...' : '') }}
+            </div>
+            </div>
+          </template>
+        </el-table-column>
+<!--        :show-overflow-tooltip="true"-->
+        <el-table-column label="回答" align="left" prop="answer" width="500">
+          <template #default="{ row }">
+            <div @click="toggleExpand(row)" style="cursor: pointer">
+              <div v-if="row.expanded">
+                {{ row.answer }}
+              </div>
+              <div v-else>
+                {{ row.answer.substring(0, 60) + (row.answer.length > 20 ? '...' : '') }}
+              </div>
+            </div>
+          </template>
+        </el-table-column>
+        <el-table-column label="排序" align="center" prop="sort" width="50"/>
+        <el-table-column label="属性" align="center" width="80">
           <template #default="scope">
             <dict-tag :options="smsb_question_properties" :value="scope.row.property" />
           </template>
         </el-table-column>
-        <el-table-column label="创建人" align="left" prop="createUser" width="150" :show-overflow-tooltip="true"/>
         <el-table-column label="创建时间" align="left" prop="createTime" width="160"/>
+        <el-table-column label="创建人" align="left" prop="createUser" width="120" :show-overflow-tooltip="true"/>
+        <el-table-column label="更新时间" align="left" prop="updateTime" width="160"/>
+        <el-table-column label="更新人" align="left" prop="updateBy" width="120" :show-overflow-tooltip="true"/>
+        <el-table-column label="备注" align="left" :show-overflow-tooltip="true"/>
         <el-table-column label="操作" align="left" width="120" class-name="small-padding fixed-width">
           <template #default="scope">
             <el-tooltip content="修改" placement="top">
@@ -69,13 +106,13 @@
                   v-model:limit="queryParams.pageSize" @pagination="getList"/>
     </el-card>
     <!-- 添加或修改Dify知识问答对话框 -->
-    <el-dialog :title="dialog.title" v-model="dialog.visible" width="700px" append-to-body>
+    <el-dialog :title="dialog.title" v-model="dialog.visible" width="1000px" append-to-body>
       <el-form ref="difyDatasetsQuestionFormRef" :model="form" :rules="rules" label-width="50px">
         <el-row :gutter="20">
           <el-col :span="12">
             <el-form-item label="序号" prop="sort">
               <el-input-number v-model="form.sort" controls-position="right" placeholder="请输入序号" :min="1" :max="100000"
-                               style="width: 180px" :maxlength="6"/>
+                               style="width: 300px" :maxlength="6"/>
             </el-form-item>
           </el-col>
           <el-col :span="12">
@@ -93,6 +130,9 @@
         <el-form-item label="回答" prop="answer">
           <el-input v-model="form.answer" type="textarea" placeholder="请输入内容" :rows="5"/>
         </el-form-item>
+        <el-form-item label="备注">
+          <el-input type="textarea" placeholder="请输入内容" :rows="3"/>
+        </el-form-item>
       </el-form>
       <template #footer>
         <div class="dialog-footer">
@@ -279,6 +319,10 @@ const handleExport = () => {
   }, `difyDatasetsQuestion_${new Date().getTime()}.xlsx`)
 }
 
+const toggleExpand = (row) => {
+  row.expanded = !row.expanded;
+};
+
 onMounted(() => {
   getList();
 });

+ 8 - 4
smsb-plus-ui/src/views/smsb/xfApi/index.vue

@@ -33,13 +33,13 @@
       <div class="table-content">
         <el-table v-loading="loading" :data="deviceXfApiList" @selection-change="handleSelectionChange">
           <el-table-column type="selection" width="55" align="center"/>
-          <el-table-column label="ID" align="left" prop="id" v-if="true" width="175"/>
-          <el-table-column label="API名称" align="left" prop="name"/>
+          <el-table-column label="ID" align="left" prop="id" v-if="true" width="120" :show-overflow-tooltip="true"/>
+          <el-table-column label="API名称" align="left" prop="name" width="150"/>
           <el-table-column label="APP ID" align="left" prop="appId" width="90" :show-overflow-tooltip="true"/>
           <el-table-column label="API SECRET" align="left" prop="apiSecret" width="150" :show-overflow-tooltip="true"/>
           <el-table-column label="API KEY" align="left" prop="apiKey" width="150" :show-overflow-tooltip="true"/>
           <el-table-column label="RAASRAPIKEY" align="left" prop="raasrApiKey" width="150" :show-overflow-tooltip="true"/>
-          <el-table-column label="RTASRAPIKEY" align="left" prop="rtasrApiKey" width="150" :show-overflow-tooltip="true"/>
+          <el-table-column label="RTASRAPIKEY" align="left" prop="rtasrApiKey" :show-overflow-tooltip="true"/>
           <el-table-column label="状态" align="center" prop="status" width="65">
             <template #default="scope">
               <el-switch v-model="scope.row.status" :active-value="1" :inactive-value="0"></el-switch>
@@ -49,6 +49,7 @@
           <el-table-column label="创建人" align="left" prop="createUser" width="100" :show-overflow-tooltip="true"/>
           <el-table-column label="更新时间" align="left" prop="updateTime" width="155"/>
           <el-table-column label="更新人" align="left" prop="updateUser" width="100" :show-overflow-tooltip="true"/>
+<!--          <el-table-column label="备注" align="left" :show-overflow-tooltip="true"/>-->
           <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="100">
             <template #default="scope">
               <el-tooltip content="修改" placement="top">
@@ -68,7 +69,7 @@
                   v-model:limit="queryParams.pageSize" @pagination="getList"/>
     </el-card>
     <!-- 添加或修改讯飞API对话框 -->
-    <el-dialog :title="dialog.title" v-model="dialog.visible" width="900px" append-to-body>
+    <el-dialog :title="dialog.title" v-model="dialog.visible" width="1000px" append-to-body>
       <el-form ref="deviceXfApiFormRef" :model="form" :rules="rules" label-width="120px">
         <el-row :gutter="20">
           <el-col :span="12">
@@ -106,6 +107,9 @@
             </el-form-item>
           </el-col>
         </el-row>
+        <el-form-item label="备注">
+          <el-input type="textarea" placeholder="请输入内容" :rows="3"/>
+        </el-form-item>
       </el-form>
       <template #footer>
         <div class="dialog-footer">