|
@@ -100,7 +100,7 @@
|
|
:data="fmtableData"
|
|
:data="fmtableData"
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
:max-height="tableHeight"
|
|
:max-height="tableHeight"
|
|
- :highlight-current-row="currentrow"
|
|
|
|
|
|
+ :highlight-current-row="currentrow2"
|
|
:row-class-name="tableRowClassName"
|
|
:row-class-name="tableRowClassName"
|
|
@row-click="handlerow2($event)"
|
|
@row-click="handlerow2($event)"
|
|
:header-cell-style="{ background: 'rgba(13, 22, 57, 0) ' }"
|
|
:header-cell-style="{ background: 'rgba(13, 22, 57, 0) ' }"
|
|
@@ -246,7 +246,7 @@
|
|
<!-- 风机的添加 -->
|
|
<!-- 风机的添加 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
v-model="sdialog.fjdialog"
|
|
v-model="sdialog.fjdialog"
|
|
- width="400"
|
|
|
|
|
|
+ width="500"
|
|
align-center
|
|
align-center
|
|
:modal="false"
|
|
:modal="false"
|
|
:append-to-body="true"
|
|
:append-to-body="true"
|
|
@@ -432,7 +432,7 @@
|
|
<!-- 风门的添加 -->
|
|
<!-- 风门的添加 -->
|
|
<el-dialog
|
|
<el-dialog
|
|
v-model="sdialog.fmdialog"
|
|
v-model="sdialog.fmdialog"
|
|
- width="400"
|
|
|
|
|
|
+ width="500"
|
|
align-center
|
|
align-center
|
|
:modal="false"
|
|
:modal="false"
|
|
:append-to-body="true"
|
|
:append-to-body="true"
|
|
@@ -602,6 +602,7 @@
|
|
let tableHeight=ref(200);
|
|
let tableHeight=ref(200);
|
|
let dsite=ref();
|
|
let dsite=ref();
|
|
let currentrow=ref();
|
|
let currentrow=ref();
|
|
|
|
+ let currentrow2=ref();
|
|
let pipeline = ref();
|
|
let pipeline = ref();
|
|
let dialogtrue = ref();
|
|
let dialogtrue = ref();
|
|
let isSubmitting = false;
|
|
let isSubmitting = false;
|
|
@@ -669,7 +670,7 @@ let opendialogname = '';//用于区分风机风门打开的弹窗
|
|
};
|
|
};
|
|
const handlerow2 = (val) => {
|
|
const handlerow2 = (val) => {
|
|
vtkmodel.deldoor();
|
|
vtkmodel.deldoor();
|
|
- currentrow.value=true;
|
|
|
|
|
|
+ currentrow2.value=true;
|
|
handobjfm.value=val;
|
|
handobjfm.value=val;
|
|
vtkmodel.delAll();
|
|
vtkmodel.delAll();
|
|
vtkmodel.adddoor(val.pid,val.site);
|
|
vtkmodel.adddoor(val.pid,val.site);
|
|
@@ -1025,7 +1026,7 @@ const fmrequest=()=>{
|
|
.then((res) => {
|
|
.then((res) => {
|
|
vtkmodel.deldoor();
|
|
vtkmodel.deldoor();
|
|
fmtableData.value=res.rows;
|
|
fmtableData.value=res.rows;
|
|
- currentrow.value=false;
|
|
|
|
|
|
+ currentrow2.value=false;
|
|
})
|
|
})
|
|
.catch((err) => {
|
|
.catch((err) => {
|
|
message.error(err.returnMsg);
|
|
message.error(err.returnMsg);
|
|
@@ -1116,9 +1117,9 @@ const fmrequest=()=>{
|
|
//风门的添加
|
|
//风门的添加
|
|
const fmadd=()=>{
|
|
const fmadd=()=>{
|
|
zhtext.value='添加';
|
|
zhtext.value='添加';
|
|
- currentrow.value=false;
|
|
|
|
|
|
+ currentrow2.value=false;
|
|
tishi.value= zhtext.value;
|
|
tishi.value= zhtext.value;
|
|
- handobj.value={};
|
|
|
|
|
|
+ handobjfm.value={};
|
|
fmobj.value.doorid=null;
|
|
fmobj.value.doorid=null;
|
|
fmobj.value.doorcode='';
|
|
fmobj.value.doorcode='';
|
|
fmobj.value.doorname='';
|
|
fmobj.value.doorname='';
|
|
@@ -1136,7 +1137,7 @@ const fmrequest=()=>{
|
|
//风门的修改
|
|
//风门的修改
|
|
const fmxiugai=()=>{
|
|
const fmxiugai=()=>{
|
|
zhtext.value='修改';
|
|
zhtext.value='修改';
|
|
- if (JSON.stringify(handobjfm.value) == "{}"|| currentrow.value==false) {
|
|
|
|
|
|
+ if (JSON.stringify(handobjfm.value) == "{}"|| currentrow2.value==false) {
|
|
message.error("你还没有选中修改的项目");
|
|
message.error("你还没有选中修改的项目");
|
|
} else {
|
|
} else {
|
|
sdialog.value.fmdialog = true;
|
|
sdialog.value.fmdialog = true;
|
|
@@ -1163,7 +1164,7 @@ const fmrequest=()=>{
|
|
// 删除
|
|
// 删除
|
|
|
|
|
|
const fmdel=(val)=>{
|
|
const fmdel=(val)=>{
|
|
- if (JSON.stringify(handobjfm.value) == "{}"|| currentrow.value==false) {
|
|
|
|
|
|
+ if (JSON.stringify(handobjfm.value) == "{}"|| currentrow2.value==false) {
|
|
message.error("你还没有选中删除的项目");
|
|
message.error("你还没有选中删除的项目");
|
|
} else {
|
|
} else {
|
|
delte.value=val;
|
|
delte.value=val;
|