mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
细节调整
This commit is contained in:
@@ -91,7 +91,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card shadow="none" style="margin-top:22px;">
|
<el-card shadow="none" style="margin-top:22px;height:302px;">
|
||||||
<h3 style="font-weight:bold;margin-bottom:10px;"><i class="el-icon-s-order"></i> 信息栏</h3>
|
<h3 style="font-weight:bold;margin-bottom:10px;"><i class="el-icon-s-order"></i> 信息栏</h3>
|
||||||
<div style="cursor:pointer;display:table;width:100%;line-height:36px;" @click="openDetail(item.noticeId)" v-for="item in noticeList" :key="item.noticeId">
|
<div style="cursor:pointer;display:table;width:100%;line-height:36px;" @click="openDetail(item.noticeId)" v-for="item in noticeList" :key="item.noticeId">
|
||||||
<div style="display:table-cell;padding-right:10px;">
|
<div style="display:table-cell;padding-right:10px;">
|
||||||
@@ -419,7 +419,7 @@ export default {
|
|||||||
pageSize: 6,
|
pageSize: 6,
|
||||||
};
|
};
|
||||||
listNotice(queryParams).then(response => {
|
listNotice(queryParams).then(response => {
|
||||||
this.noticeList = response.rows;
|
this.noticeList = response.rows.splice(0, 6);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 打开信息详情
|
// 打开信息详情
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
<el-table-column label="手机号码" align="center" prop="phonenumber" width="150" />
|
<el-table-column label="手机号码" align="center" prop="phonenumber" width="150" />
|
||||||
<el-table-column label="用户类型" align="center" prop="isOwner" width="150">
|
<el-table-column label="用户类型" align="center" prop="isOwner" width="150">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag type="primary" v-if="scope.row.isOwner">设备主人</el-tag>
|
<el-tag type="primary" v-if="scope.row.isOwner">主人</el-tag>
|
||||||
<el-tag type="success" v-else>分享用户</el-tag>
|
<el-tag type="success" v-else>分享</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="分享时间" align="center" prop="createTime" width="150">
|
<el-table-column label="分享时间" align="center" prop="createTime" width="150">
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<el-option v-for="dict in dict.type.iot_network_method" :key="dict.value" :label="dict.label" :value="parseInt(dict.value)"></el-option>
|
<el-option v-for="dict in dict.type.iot_network_method" :key="dict.value" :label="dict.label" :value="parseInt(dict.value)"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="设备授权" prop="networkMethod">
|
<el-form-item label="启用授权" prop="networkMethod">
|
||||||
<el-switch v-model="form.isAuthorize" @change="changeIsAuthorize(form.isAuthorize)" :active-value="1" :inactive-value="0" :disabled="form.status==2" />
|
<el-switch v-model="form.isAuthorize" @change="changeIsAuthorize(form.isAuthorize)" :active-value="1" :inactive-value="0" :disabled="form.status==2" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="备注信息" prop="remark">
|
<el-form-item label="备注信息" prop="remark">
|
||||||
|
|||||||
Reference in New Issue
Block a user