|  |  |  | 
|---|
|  |  |  | <div class="card_content"> | 
|---|
|  |  |  | <div class="content_top"> | 
|---|
|  |  |  | <div class="card_wrap_box"> | 
|---|
|  |  |  | <div class="wrap_box_add"> | 
|---|
|  |  |  | <!-- <div class="wrap_box_add"> | 
|---|
|  |  |  | <a-button | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | @click="handleAddModel" | 
|---|
|  |  |  | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | 添加 | 
|---|
|  |  |  | </a-button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> --> | 
|---|
|  |  |  | <div class="box_user_content"> | 
|---|
|  |  |  | <div class="box_usr_img"> | 
|---|
|  |  |  | <div class="card_wrap_box_img"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <div class="box_user_btn"> | 
|---|
|  |  |  | <a-space class="btn-group"> | 
|---|
|  |  |  | <!-- <editModel></editModel> --> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <a-button | 
|---|
|  |  |  | type="primary" | 
|---|
|  |  |  | @click="handleAddModel" | 
|---|
|  |  |  | :disabled="addBtn" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <template #icon> | 
|---|
|  |  |  | <icon-plus /> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | 添加 | 
|---|
|  |  |  | </a-button> | 
|---|
|  |  |  | <a-button | 
|---|
|  |  |  | type="outline" | 
|---|
|  |  |  | @click="handleEditModel(item, 1)" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | 编辑 | 
|---|
|  |  |  | 
|---|
|  |  |  | const res = await deleteLlmFactory(tabKey.value); | 
|---|
|  |  |  | if ((res as any).code == 200) { | 
|---|
|  |  |  | // Reflect.deleteProperty(tabData.value, tabKey.value); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | queryModel(); | 
|---|
|  |  |  | console.log(tabKey.value, 99998); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Message.success('删除成功'); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | addBtn.value = false; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | tabKey.value = Object.keys(tabData.value)[0]; | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | .box_usr_img { | 
|---|
|  |  |  | display: flex; | 
|---|
|  |  |  | align-items: center; | 
|---|
|  |  |  | margin-left: 100px; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | .arco-content-title { | 
|---|
|  |  |  | line-height: 34px; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | .box_user_btn { | 
|---|
|  |  |  | text-align: right; | 
|---|
|  |  |  | .btn_delete { | 
|---|
|  |  |  | margin-left: 10px; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // .btn_delete { | 
|---|
|  |  |  | //   margin-left: 10px; | 
|---|
|  |  |  | // } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|