liudong
2024-08-13 59f3a0a8d8b6d221949a4e74e005ebfd7242aaf7
知识库列表解析逻辑修改
3个文件已修改
12 ■■■■ 已修改文件
src/views/dmx/knowledgeLib/edit.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/knowledgeLib/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/knowledgeLib/tool.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dmx/knowledgeLib/edit.vue
@@ -1,6 +1,6 @@
<template>
  <a-button type="text" @click="handleClick" size="small">
  <a-button type="text"  :disabled="props.item.run == '1'" @click="handleClick" size="small">
    <template #icon>
      <icon-edit />
    </template>
src/views/dmx/knowledgeLib/index.vue
@@ -228,22 +228,22 @@
                    </div>
                  </template>
                  <template #action="{ record }" >
                    <tool :kbtenantInfo="kbtenantInfo" :item="record" :kbdetail="kbdetail" />
                    <tool :kbtenantInfo="kbtenantInfo" :item="record" :kbdetail="kbdetail"  />
                    <edit :item="record" @upTabdateItem="upTabdateItem"/>
                    <a-popconfirm :content="'确定删除吗'" type="warning" @ok="deleteItem(record)">
                      <a-button  type="text" size="small">
                      <a-button  type="text" size="small" :disabled="record.run == '1'">
                        <template #icon>
                          <icon-delete />
                        </template>
                      </a-button>
                    </a-popconfirm>
                    <a-button type="text" size="small" @click="onDownloadDocument(record)">
                    <a-button type="text" size="small" :disabled="record.run == '1'" @click="onDownloadDocument(record)">
                      <template #icon>
                        <icon-download />
                      </template>
                    </a-button>
                    <a-button type="text" size="small"  @click="previewArea(record)">
                    <a-button type="text" size="small" :disabled="record.run == '1'"  @click="previewArea(record)">
                      <template #icon>
                        <icon-eye />
                      </template>
src/views/dmx/knowledgeLib/tool.vue
@@ -1,5 +1,5 @@
<template>
  <a-button type="text" @click="handleClick" size="small">
  <a-button type="text"  :disabled="props.item.run == '1'" @click="handleClick" size="small">
    <template #icon>
      <icon-tool />
    </template>