Commit f02548fc authored by CenXinYi's avatar CenXinYi

fixed: 添加提示权限密码字段

Signed-off-by: 's avatarCenXinYi <2810162984@qq.com>
parent 1f7befc3
...@@ -320,11 +320,14 @@ ...@@ -320,11 +320,14 @@
</div> </div>
</el-dialog> </el-dialog>
<!-- 登录验证--> <!-- 权限验证-->
<el-dialog :title="title" :visible.sync="openLogin" width="500px" append-to-body :close-on-click-modal="false"> <el-dialog :title="title" :visible.sync="openLogin" width="500px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="loginform" label-width="80px"> <el-form ref="form" :model="loginform" label-width="80px">
<el-form-item class="premissVerificationTitle" style="margin: 0;">
当前选择跨越设备需要权限密码
</el-form-item>
<el-form-item label="密码"> <el-form-item label="密码">
<el-input v-model="loginform.password" type="password" placeholder="请输入权限菜单密码" /> <el-input v-model="loginform.password" type="password" placeholder="请输入密码" />
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="handleConfirm">确定</el-button> <el-button type="primary" @click="handleConfirm">确定</el-button>
...@@ -525,6 +528,7 @@ export default { ...@@ -525,6 +528,7 @@ export default {
// 处理弹窗里的勾选确定 // 处理弹窗里的勾选确定
handleCance() { handleCance() {
this.loadingDetail = true this.loadingDetail = true
this.title = '权限菜单'
if (this.multipleSelection.length === 0) { if (this.multipleSelection.length === 0) {
this.$message.warning('请至少选择一个要处理的设备') this.$message.warning('请至少选择一个要处理的设备')
} else { } else {
...@@ -779,4 +783,13 @@ export default { ...@@ -779,4 +783,13 @@ export default {
height: 12em; height: 12em;
width: 4px; width: 4px;
} }
.premissVerificationTitle{
/deep/ .el-form-item__content {
text-align: center;
margin-right: 80px;
font-weight: 600;
}
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment