feat : 修改 报警界面
This commit is contained in:
parent
1ef6ad95a0
commit
918d45503e
|
|
@ -84,6 +84,7 @@
|
||||||
placeholder="名称/代号"
|
placeholder="名称/代号"
|
||||||
style="width: 200px"
|
style="width: 200px"
|
||||||
clearable
|
clearable
|
||||||
|
@keyup.enter="handleQuery"
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,7 @@
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
@clear="() => { form.material=null } "
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in materials"
|
v-for="item in materials"
|
||||||
|
|
|
||||||
|
|
@ -93,8 +93,8 @@
|
||||||
<th rowspan="2">车间用水(t)</th>
|
<th rowspan="2">车间用水(t)</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="deptName=='烧成车间'">
|
<tr v-if="deptName=='烧成车间'">
|
||||||
<th colspan="11">回转窑</th>
|
<th colspan="10">回转窑</th>
|
||||||
<th colspan="3">煤磨</th>
|
<th colspan="4">煤磨</th>
|
||||||
<th rowspan="2">压缩空气(m3)</th>
|
<th rowspan="2">压缩空气(m3)</th>
|
||||||
<th rowspan="2">车间用水(t)</th>
|
<th rowspan="2">车间用水(t)</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
|
|
@ -286,9 +286,9 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
getTableData(){
|
getTableData(){
|
||||||
for(let i=0;i<39;i++){
|
// for(let i=0;i<39;i++){
|
||||||
this.tableDatas[i][3] = '';
|
// this.tableDatas[i][3] = '';
|
||||||
}
|
// }
|
||||||
this.getData();
|
this.getData();
|
||||||
},
|
},
|
||||||
handlePrint() {
|
handlePrint() {
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :md="12" :sm="24" v-if="form.shift_name == '白班' && mgroupId == '3347217246321065984'">
|
<el-col :md="12" :sm="24" v-if="form.shift_name == '白班' && mgroupId == '3347217246321065984'">
|
||||||
<el-form-item label="煤粉热值">
|
<el-form-item label="煤粉热值(大卡)">
|
||||||
<el-input-number v-model="form.pcoal_heat" controls-position="right" placeholder="煤粉热值" />
|
<el-input-number v-model="form.pcoal_heat" controls-position="right" placeholder="煤粉热值" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
|
||||||
|
|
@ -113,9 +113,9 @@
|
||||||
<el-col
|
<el-col
|
||||||
:md="12"
|
:md="12"
|
||||||
:sm="24"
|
:sm="24"
|
||||||
v-if="form.mgroup_name == '回转窑'"
|
v-if="form.mgroup_name == '回转窑' && (form.shift_name == '白班' || form.shift_name == '早班')"
|
||||||
>
|
>
|
||||||
<el-form-item label="煤粉热值">
|
<el-form-item label="煤粉热值(大卡)">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.pcoal_heat"
|
v-model="form.pcoal_heat"
|
||||||
controls-position="right"
|
controls-position="right"
|
||||||
|
|
@ -461,8 +461,8 @@
|
||||||
prop="measure"
|
prop="measure"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="停机时长"
|
label="停机时长(s)"
|
||||||
prop="duration"
|
prop="duration_sec"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
|
|
@ -810,6 +810,7 @@ export default {
|
||||||
})
|
})
|
||||||
.catch((res) => {
|
.catch((res) => {
|
||||||
that.isSaveing = false;
|
that.isSaveing = false;
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
v-model="query.mpoint"
|
v-model="query.mpoint"
|
||||||
placeholder="测点"
|
placeholder="测点"
|
||||||
clearable
|
clearable
|
||||||
|
filterable
|
||||||
style="margin: 0 6px; width: 300px"
|
style="margin: 0 6px; width: 300px"
|
||||||
@change="handleQuery"
|
@change="handleQuery"
|
||||||
>
|
>
|
||||||
|
|
@ -73,7 +74,7 @@
|
||||||
label="原始计算值"
|
label="原始计算值"
|
||||||
prop="val_origin"
|
prop="val_origin"
|
||||||
></el-table-column>
|
></el-table-column>
|
||||||
<!-- <el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
fixed="right"
|
fixed="right"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
@ -83,12 +84,13 @@
|
||||||
<el-button
|
<el-button
|
||||||
link
|
link
|
||||||
size="small"
|
size="small"
|
||||||
|
v-if="scope.row.type == 'year_s' || scope.row.type == 'month_s' || scope.row.type == 'day_s'"
|
||||||
@click="handle_edit(scope.row)"
|
@click="handle_edit(scope.row)"
|
||||||
type="primary"
|
type="primary"
|
||||||
>校正</el-button
|
>校正</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column> -->
|
</el-table-column>
|
||||||
</scTable>
|
</scTable>
|
||||||
</el-main>
|
</el-main>
|
||||||
<el-dialog title="校正" v-model="visible">
|
<el-dialog title="校正" v-model="visible">
|
||||||
|
|
@ -101,17 +103,27 @@
|
||||||
style="padding: 0 10px"
|
style="padding: 0 10px"
|
||||||
>
|
>
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="8" :sm="24">
|
||||||
<el-form-item label="所属部门">
|
<el-form-item label="所属部门">
|
||||||
<span>{{ form.belong_dept_name }}</span>
|
<span>{{ form.belong_dept_name }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="8" :sm="24">
|
||||||
<el-form-item label="工段名称">
|
<el-form-item label="工段名称">
|
||||||
<span>{{ form.mgroup_name }}</span>
|
<span>{{ form.mgroup_name }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="8" :sm="24">
|
||||||
|
<el-form-item label="测点名">
|
||||||
|
<span>{{ form.mpoint_name }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :md="8" :sm="24">
|
||||||
|
<el-form-item label="时间范围">
|
||||||
|
<span>{{ form.year_s }}/{{ form.month_s }}/{{ form.day_s }}</span>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :md="8" :sm="24">
|
||||||
<el-form-item label="校正值">
|
<el-form-item label="校正值">
|
||||||
<el-input-number
|
<el-input-number
|
||||||
v-model="form.val_correct"
|
v-model="form.val_correct"
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,13 @@
|
||||||
<scTable ref="table" :apiObj="apiObj" row-key="id" :params="query" fit stripe
|
<scTable ref="table" :apiObj="apiObj" row-key="id" :params="query" fit stripe
|
||||||
@selection-change="handleSelectionChange" @resetQuery="resetQuery">
|
@selection-change="handleSelectionChange" @resetQuery="resetQuery">
|
||||||
<el-table-column type="selection" width="55" />
|
<el-table-column type="selection" width="55" />
|
||||||
<el-table-column label="发生类型" prop="buy_date">
|
<el-table-column label="发生类型">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tag v-for="item in scope.row.cates_" :key="item.id" type="warning" effect="plain">{{ item.name
|
||||||
|
}}</el-tag>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="事件信息" prop="voice_msg" show-overflow-tooltip>
|
<el-table-column label="事件信息" prop="voice_msg" width="300" show-overflow-tooltip>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="所属工段" prop="mgroupName">
|
<el-table-column label="所属工段" prop="mgroupName">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
|
|
|
||||||
|
|
@ -151,8 +151,9 @@ export default {
|
||||||
addMenu() {
|
addMenu() {
|
||||||
this.type = "add";
|
this.type = "add";
|
||||||
this.limitedVisible = true;
|
this.limitedVisible = true;
|
||||||
|
this.addForm = Object.assign({}, dForm);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.addForm = Object.assign({}, dForm);
|
// this.addForm = Object.assign({}, dForm);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//编辑
|
//编辑
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue