| | |
| | | :placeholder="$t('cardList.searchInput.placeholder')" |
| | | style="width: 130px;" |
| | | /> |
| | | <a-button type="primary" @click="add" style="margin-left: 10px"> |
| | | <template #icon> |
| | | <icon-plus /> |
| | | </template> |
| | | </a-button> |
| | | <addKnow></addKnow> |
| | | </div> |
| | | <div class="lf-container-down"> |
| | | <div class="tabs"> |
| | |
| | | style="width: 200px;margin-right: 10px" |
| | | /> |
| | | <!-- 新建--> |
| | | <add edit="add" /> |
| | | <add /> |
| | | </a-col> |
| | | <!-- <a-col :span="8">--> |
| | | <!-- <a-form-item field="name" :label="$t('searchTable.form.name')">--> |
| | |
| | | {{ $t(`searchTable.form.status.${record.status}`) }} |
| | | </template> |
| | | <template #operations="{ record }"> |
| | | <add edit="edit" :record = 'record' /> |
| | | |
| | | <a-popconfirm content="确定删除吗?" type="warning" @ok="deleteItem(record)"> |
| | | <a-button v-permission="['admin']" type="text" size="small"> |
| | | {{ $t('删除') }} |
| | |
| | | import cloneDeep from 'lodash/cloneDeep'; |
| | | import Sortable from 'sortablejs'; |
| | | import add from '@/views/dmx/knowledgeLib/add.vue' |
| | | import addKnow from '@/views/dmx/knowledgeLib/addKnow.vue' |
| | | import config from '@/views/dmx/knowledgeLib/config.vue' |
| | | import test from '@/views/dmx/knowledgeLib/test.vue' |
| | | import { deleteAccount } from "@/api/account"; |
| | |
| | | const size = ref<SizeProps>('medium'); |
| | | let visible = ref(false) |
| | | let selectedTab = ref(0) |
| | | let tabs = reactive(['Tab 1', 'Tab 2', 'Tab 3']) |
| | | let tabs = reactive(['法律知识库', '政务知识库', '医学知识库', '其他知识库']) |
| | | |
| | | const selectTab = (index) => { |
| | | selectedTab.value= index; |