| | |
| | | <div |
| | | class="groupList" |
| | | :class="{ |
| | | groupActive: keyBg == '1', |
| | | groupNoActive: keyBg != '1', |
| | | groupActive: keyBg == index, |
| | | groupNoActive: keyBg != index, |
| | | }" |
| | | v-for="(item, index) in listData" |
| | | :key="index" |
| | |
| | | <a-checkbox :value="item.chunk_id"></a-checkbox> |
| | | <div |
| | | class="groupList-content emphaRed" |
| | | @click="groupListContentClick('1')" |
| | | @dblclick="contentClick(1)" |
| | | @click="groupListContentClick(index)" |
| | | @dblclick="contentClick(item)" |
| | | v-html="item.content_with_weight" |
| | | > |
| | | </div> |
| | |
| | | </a-spin> |
| | | </div> |
| | | </div> |
| | | <eidtDetails ref="eidtDil"></eidtDetails> |
| | | <eidtDetails |
| | | ref="eidtDil" |
| | | :item="eidtDilinfo" |
| | | v-model:eidtDilVisible="eidtDilVisible" |
| | | @canplaythrough="canplaythrough" |
| | | ></eidtDetails> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-modal> |
| | |
| | | const radio = ref('1'); |
| | | const keyBg = ref(''); |
| | | const eidtDil = ref(); |
| | | const eidtDilVisible = ref(false); |
| | | const eidtDilinfo = reactive({}); |
| | | |
| | | const props = defineProps(['kbtenantInfo', 'item', 'kbdetail']); |
| | | // const emit = defineEmits(['upTabdateItem']) |
| | |
| | | visible.value = false; |
| | | }; |
| | | |
| | | const contentClick = (done) => { |
| | | eidtDil.value.handleClick(); |
| | | const contentClick = (item) => { |
| | | Object.assign(eidtDilinfo, item); |
| | | eidtDilVisible.value = true; |
| | | }; |
| | | const handleOpened = (el) => { |
| | | // console.log('props',props.kbtenantInfo); |
| | |
| | | // 自定义加载提示文本 |
| | | const tip = '加载中,请稍候...'; |
| | | //获取列表 |
| | | const getList = () => { |
| | | const getList = async () => { |
| | | let params = { |
| | | doc_id: props.item.id, |
| | | keywords: form.keywords, |
| | |
| | | if (available_int.value !== '') { |
| | | params.available_int = available_int.value; |
| | | } |
| | | queryChunkList(params).then((res) => { |
| | | await queryChunkList(params).then((res) => { |
| | | if (res.code == 0) { |
| | | listData.value = res.data.chunks; |
| | | isLoading.value = false; |
| | |
| | | //color: #2a2a2b!important; |
| | | } |
| | | } |
| | | ::-webkit-scrollbar { |
| | | display: none; |
| | | } |
| | | .groupMain { |
| | | width: 100%; |
| | | height: 500px; |