Commit df53c830 authored by 纪泽龙's avatar 纪泽龙

样式调整

parent 41696f61
......@@ -272,3 +272,23 @@
display: none;
}
}
// 所有的提示框标题
.el-dialog__header{
padding-bottom:0;
padding:0px;
height: 51px;
line-height: 50px;
background-color: #053b6a;
.el-dialog__title{
display: inline-block;
margin-left:22px;
color:#fff;
}
.el-dialog__headerbtn{
i{
color: #fff;
}
}
// background-color: ;
}
\ No newline at end of file
......@@ -2,7 +2,6 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
width="80%"
:before-close="handleClose"
>
<el-row>
......
<template>
<el-dialog
title="新增"
:title="myTitle"
:visible.sync="dialogVisible"
:before-close="handleClose"
>
......@@ -9,8 +9,8 @@
:rules="rules"
ref="editForm"
:model="editForm"
label-width="120px"
size="mini"
label-width="135px"
>
<el-col>
<el-form-item v-show="false" label="管道id" prop="pipeId">
......@@ -224,6 +224,15 @@ export default {
},
};
},
computed:{
myTitle(){
if(this.editForm.pipeId){
return `修改管道信息`
}else{
return `新增管道信息`
}
}
},
created() {
console.log("lineData", this.lineData, this.lnglatsArr, this.pipeLength);
if (this.lineData?.pipeId) {
......
......@@ -2,7 +2,6 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
width="80%"
:before-close="handleClose"
>
<el-row>
......
......@@ -2,7 +2,6 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
width="80%"
:before-close="handleClose">
<el-row>
<el-form ref="form" :model="form" :rules="rules" label-width="135px">
......
......@@ -2,7 +2,6 @@
<el-dialog
:title="title"
:visible.sync="dialogVisible"
width="80%"
:before-close="handleClose">
<el-row>
<el-form ref="form" :model="form" :rules="rules" label-width="135px">
......
......@@ -601,7 +601,7 @@ class gaodeMap {
lineData: { pipeName }
} = obj.getExtData();
vue
.$confirm(`是否删除${pipeName}`, "提示", {
.$confirm(`是否删除名称为${pipeName}的管道`, "提示", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
type: "warning"
......
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