| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="12" v-if="parentId!='-1'"> |
| | | <a-col |
| | | :span="12" |
| | | v-if="parentId!='-1'" |
| | | > |
| | | <a-form-item |
| | | label="设备分类名称" |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="12" v-if="parentId=='-1'"> |
| | | <a-col |
| | | :span="12" |
| | | v-if="parentId=='-1'" |
| | | > |
| | | <a-form-item |
| | | label="设备分类名称" |
| | | :labelCol="labelCol" |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <!-- <a-row |
| | | hidden |
| | | :gutter="24" |
| | | > |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | :labelCol="labelCol" |
| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-row> --> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | <a-divider v-if="title!='新增'" orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 选择子设备分类使其跟随父设备分类属性 </a-divider> |
| | | <a-divider |
| | | v-if="title!='新增'" |
| | | orientation="center" |
| | | style="font-size: large;font-style: italic;color: #66aeed;" |
| | | > 选择子设备分类使其跟随父设备分类属性 </a-divider> |
| | | <a-tabs |
| | | type="card" |
| | | defaultActiveKey="1" |
| | |
| | | <a-tab-pane |
| | | tab='子设备分类' |
| | | key='1' |
| | | |
| | | > |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <div |
| | | class="ant-alert ant-alert-info" |
| | | style="margin-bottom: 16px;" |
| | | > |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onClearSelected">清空</a> |
| | | <a |
| | | style="margin-left: 24px" |
| | | @click="onClearSelected" |
| | | >清空</a> |
| | | </div> |
| | | <a-table |
| | | ref="table" |
| | |
| | | @change="handleTableChange" |
| | | :scroll="{ x: true}" |
| | | > |
| | | <template slot="num" slot-scope="text" > |
| | | <a-tooltip placement="top" :title="text" trigger="hover"> |
| | | <template |
| | | slot="num" |
| | | slot-scope="text" |
| | | > |
| | | <a-tooltip |
| | | placement="top" |
| | | :title="text" |
| | | trigger="hover" |
| | | > |
| | | <div> |
| | | <template slot="title"> </template> |
| | | <p style="cusor:pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; width: 130px;">{{ text }}</p> |
| | |
| | | </template> |
| | | |
| | | </a-table> |
| | | |
| | | |
| | | </a-tab-pane> |
| | | </a-tabs> |