liudong
2024-08-13 ffdde4d7d6a1bfc071816e358942370bdfafbb9a
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>
@@ -78,12 +78,11 @@
                  form.parser_id === 'book'
                "
              >
                <a-space direction="vertical" size="large">
                  <a-switch
                    v-model="form.use_raptor"
                    @change="onChangeRAPTOR"
                  />
                </a-space>
                <a-switch
                  v-model="form.use_raptor"
                  @change="onChangeRAPTOR"
                  size="small"
                />
              </a-form-item>
              <div v-if="form.use_raptor">
                <a-form-item field="prompt" label="提示词">
@@ -328,6 +327,7 @@
                      :checked-value="1"
                      :unchecked-value="0"
                      @change="handleChangeStatus(item)"
                      size="small"
                    />
                  </div>
                </div>