| | |
| | | <div style="display: flex; align-items: center"> |
| | | <div style="width: 100px"> |
| | | <a-popover title="" v-if="record.run == '4'"> |
| | | <a-tag |
| | | :loading="record.loading" |
| | | :color="'blue'" |
| | | border |
| | | >{{ $t('dmx.list.complete') }}</a-tag |
| | | <a-tag :loading="record.loading" :color="'red'" border |
| | | >失败</a-tag |
| | | > |
| | | <template #content> |
| | | <p>流程开始于:{{ record.process_begin_at }}</p> |
| | |
| | | </div> |
| | | </template> |
| | | <template #action="{ record }"> |
| | | <a-button |
| | | type="text" |
| | | :disabled="record.run == '1'" |
| | | @click="handleClick(record)" |
| | | v-hasPermi="'/kb/data_update'" |
| | | size="small" |
| | | > |
| | | <template #icon> |
| | | <icon-tool /> |
| | | </template> |
| | | </a-button> |
| | | <a-tooltip content="解析方法"> |
| | | <a-button |
| | | type="text" |
| | | :disabled="record.run == '1'" |
| | | @click="handleClick(record)" |
| | | v-hasPermi="'/kb/data_update'" |
| | | size="small" |
| | | > |
| | | <template #icon> |
| | | <icon-tool /> |
| | | </template> |
| | | </a-button> |
| | | </a-tooltip> |
| | | <edit |
| | | :item="record" |
| | | v-hasPermi="'/kb/rename'" |
| | |
| | | type="warning" |
| | | @ok="deleteItem(record)" |
| | | > |
| | | <a-tooltip content="删除"> |
| | | <a-button |
| | | type="text" |
| | | size="small" |
| | | :disabled="record.run == '1'" |
| | | v-hasPermi="'/kb/data_delete'" |
| | | > |
| | | <template #icon> |
| | | <icon-delete /> |
| | | </template> |
| | | </a-button> |
| | | </a-tooltip> |
| | | </a-popconfirm> |
| | | <a-tooltip content="下载"> |
| | | <a-button |
| | | type="text" |
| | | size="small" |
| | | v-hasPermi="'/kb/data_download'" |
| | | :disabled="record.run == '1'" |
| | | v-hasPermi="'/kb/data_delete'" |
| | | @click="onDownloadDocument(record)" |
| | | > |
| | | <template #icon> |
| | | <icon-delete /> |
| | | <icon-download /> |
| | | </template> |
| | | </a-button> |
| | | </a-popconfirm> |
| | | <a-button |
| | | type="text" |
| | | size="small" |
| | | v-hasPermi="'/kb/data_download'" |
| | | :disabled="record.run == '1'" |
| | | @click="onDownloadDocument(record)" |
| | | > |
| | | <template #icon> |
| | | <icon-download /> |
| | | </template> |
| | | </a-button> |
| | | </a-tooltip> |
| | | |
| | | <!-- <a-button |
| | | type="text" |