mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 21:00:26 +08:00
add something
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</a-col>
|
||||
<a-col :span="6">
|
||||
<div style="min-height: 604px; background: white">
|
||||
<a-card title="上传结果">
|
||||
<a-card :title="$t('batch.uploadResult')">
|
||||
<upload-result v-if="beginLoad" :upLoadData="needDataList" :ciType="ciType" :unique-field="uniqueField"></upload-result>
|
||||
</a-card>
|
||||
</div>
|
||||
|
@@ -3,9 +3,9 @@
|
||||
<a-form :form="form" style="max-width: 500px; margin: 30px auto 0;">
|
||||
<a-row>
|
||||
<a-col :span="18">
|
||||
<a-form-item label="模板类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-form-item :label="$t('batch.modelType')" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||
<a-select
|
||||
placeholder="--请选择模板类型--"
|
||||
:placeholder="$t('batch.pleaseSelectModelType')"
|
||||
v-decorator="['ciTypes', { rules: [{required: true, message: '模板类型必须选择'}] }]"
|
||||
@change="selectCiType"
|
||||
>
|
||||
|
@@ -5,8 +5,8 @@
|
||||
<p class="ant-upload-drag-icon">
|
||||
<a-icon type="inbox" />
|
||||
</p>
|
||||
<p class="ant-upload-text">点击或拖拽文件至此上传!</p>
|
||||
<p class="ant-upload-hint">支持文件类型:xls</p>
|
||||
<p class="ant-upload-text">{{ $t('batch.dragFileHere') }}</p>
|
||||
<p class="ant-upload-hint">{{ $t('batch.suportFileType') }} : xls</p>
|
||||
</a-upload-dragger>
|
||||
</a-form>
|
||||
<a-divider>or</a-divider>
|
||||
|
@@ -23,7 +23,7 @@
|
||||
</a-menu-item>
|
||||
<a-menu-item key="batchDownload" @click="batchDownload">
|
||||
<json-excel :fetch="batchDownload" name="cmdb.xls">
|
||||
<a-icon type="download" /> {{ $t('tip.download') }}
|
||||
<a-icon type="download" /> 下载
|
||||
</json-excel>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="batchDelete" @click="batchDelete">
|
||||
@@ -31,7 +31,7 @@
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
<a-button style="margin-left: 8px">
|
||||
批量操作
|
||||
{{ $t('ci.batchOperate') }}
|
||||
<a-icon type="down" />
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
|
@@ -31,15 +31,15 @@
|
||||
<template>
|
||||
<div>
|
||||
<a-drawer
|
||||
:title="'订阅模型: ' + typeName"
|
||||
:title="$t('preference.subscribeModel') +':'+ typeName"
|
||||
:width="600"
|
||||
@close="onClose"
|
||||
:visible="visible"
|
||||
:wrapStyle="{height: 'calc(100% - 108px)', overflow: 'auto', paddingBottom: '108px'}"
|
||||
>
|
||||
<a-alert message="既可以定义树形视图, 也可以订阅资源视图, 资源视图会在SideBar单独呈现" type="info" showIcon />
|
||||
<a-alert :message="$t('preference.subFormTip')" type="info" showIcon />
|
||||
<a-divider>
|
||||
树形视图
|
||||
{{ $t('menu.treeViews') }}
|
||||
<span
|
||||
v-if="treeSubscribed"
|
||||
style="font-weight: 500; font-size: 12px; color: green"
|
||||
@@ -65,12 +65,12 @@
|
||||
<br />
|
||||
|
||||
<a-divider>
|
||||
资源视图
|
||||
{{ $t('preference.resourceView') }}
|
||||
<span
|
||||
v-if="instanceSubscribed"
|
||||
style="font-weight: 500; font-size: 12px; color: green"
|
||||
>已订阅</span>
|
||||
<span style="font-weight: 500; font-size: 12px; color: red" v-else>未订阅</span>
|
||||
>{{ $t('tip.subscribed') }}</span>
|
||||
<span style="font-weight: 500; font-size: 12px; color: red" v-else>{{ $t('tip.unsubscribed') }}</span>
|
||||
</a-divider>
|
||||
<template>
|
||||
<a-transfer
|
||||
|
Reference in New Issue
Block a user