liudong
2024-08-02 99ae26e615613073f5faeef67a54b98934da85dd
src/views/dmx/knowledgeLib/tool.vue
@@ -143,7 +143,7 @@
                    </a-radio-group>
                  </template>
                </a-popover>
                <addDetails></addDetails>
                <addDetails :item="item"></addDetails>
              </div>
            </div>
            <a-divider style="margin-top: 10px" />
@@ -151,7 +151,7 @@
              <a-checkbox-group v-model="data" @change="handleChange" >
                <div class="groupList" :style="{background:keyBg=='1'?'#eff8ff':'white'}">
                  <a-checkbox  value="1"></a-checkbox>
                  <div class="groupList-content" @click="groupListContentClick('1')">
                  <div class="groupList-content" @click="groupListContentClick('1')" @dblclick="contentClick(1)">
                    而 stable version 是最新稳定版,经过充分测试和验证,bug 较少,
                    适合用于生产环境。其版本号通常为双数,如 1.26。legacy versions
                    则是之前发布的稳定版,对于需要
@@ -166,7 +166,7 @@
                <div class="groupList" :style="{background:keyBg=='2'?'#eff8ff':'white'}">
                  <a-checkbox  value="1"></a-checkbox>
                  <div class="groupList-content" @click="groupListContentClick('2')">
                  <div class="groupList-content" @click="groupListContentClick('2')" @dblclick="contentClick(1)">
                    而 stable version 是最新稳定版,经过充分测试和验证,bug 较少,
                    适合用于生产环境。其版本号通常为双数,如 1.26。legacy versions
                    则是之前发布的稳定版,对于需要
@@ -179,11 +179,9 @@
              </a-checkbox-group>
            </div>
          </div>
          <eidtDetails ref="eidtDil"></eidtDetails>
        </a-tab-pane>
      </a-tabs>
  </a-modal>
</template>
@@ -192,10 +190,12 @@
import { Message } from "@arco-design/web-vue";
import {kbdocumentchangeparser} from "@/api/kbList";
import addDetails from '@/views/dmx/knowledgeLib/addDetails.vue'
import eidtDetails from '@/views/dmx/knowledgeLib/eidtDetails.vue'
const visible = ref(false);
const loading = ref(false);
const radio = ref('1');
const keyBg = ref('');
const eidtDil = ref();
const props =  defineProps(['kbtenantInfo','item','kbdetail'])
// const emit =  defineEmits(['upTabdateItem'])
@@ -229,7 +229,6 @@
    '以上就是你需要总结的内容。',
});
const formRef = ref(null);
const rules = {
  prompt: [
    {
@@ -284,6 +283,9 @@
  visible.value = false;
}
const contentClick = (done) => {
  eidtDil.value.handleClick();
}
const handleOpened =(el) => {
  // console.log('props',props.kbtenantInfo);
  // console.log('props',props.item);
@@ -296,6 +298,7 @@
  //   txt: '',// 备注
  // });
  // formRef.value.resetFields();
  console.log(props.item.id);
}