This commit is contained in:
shijing 2025-11-21 14:38:01 +08:00
commit e92d35ee52
12 changed files with 39 additions and 33 deletions

View File

@ -6,7 +6,7 @@ NODE_ENV = development
# VUE_APP_TITLE = '托克逊能源管理平台' # VUE_APP_TITLE = '托克逊能源管理平台'
VUE_APP_TITLE = '中建材光子科技有限公司' VUE_APP_TITLE = '中建材光子科技有限公司'
# VUE_APP_TITLE = '超低排放系统' # VUE_APP_TITLE = '超低排放系统'
VUE_APP_PJ = '' VUE_APP_PJ = 'gx'
# 接口地址 # 接口地址
#VUE_APP_API_BASEURL = http://1.203.161.103:2800/api #VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
@ -17,7 +17,7 @@ VUE_APP_PJ = ''
#测试环境 #测试环境
# VUE_APP_API_BASEURL = http://10.50.211.228:2250/api # VUE_APP_API_BASEURL = http://10.50.211.228:2250/api
# VUE_APP_API_BASEURL = http://127.0.0.1:226/api # VUE_APP_BASEURL = http://10.50.211.228:2250
# VUE_APP_BASEURL = http://10.50.211.228:2250/ # VUE_APP_BASEURL = http://10.50.211.228:2250/
@ -25,12 +25,16 @@ VUE_APP_PJ = ''
# VUE_APP_BASEURL = http://127.0.0.1:226 # VUE_APP_BASEURL = http://127.0.0.1:226
# #光子 # #光子
VUE_APP_API_BASEURL = http://tkx.xxhhcty.xyz:8080/api # VUE_APP_API_BASEURL = http://tkx.xxhhcty.xyz:8080/api
VUE_APP_BASEURL = http://tkx.xxhhcty.xyz:8080 # VUE_APP_BASEURL = http://tkx.xxhhcty.xyz:8080
# VUE_APP_API_BASEURL = http://49.232.14.174:2250/api # 光芯
# VUE_APP_BASEURL = http://49.232.14.174:2250 VUE_APP_API_BASEURL = http://49.232.14.174:2226/api
# VUE_APP_BASEURL = http://49.232.14.174:2226
# # 凌源 bh
# VUE_APP_API_BASEURL = http://lybh.xxhhcty.xyz:8080/api
# VUE_APP_BASEURL = http://lybh.xxhhcty.xyz:8080/
# 本地端口 # 本地端口
VUE_APP_PORT = 2800 VUE_APP_PORT = 2800

View File

@ -212,7 +212,7 @@
<div class="itemBody" style="padding: 5%"> <div class="itemBody" style="padding: 5%">
<div class="elecItem"> <div class="elecItem">
<div class="elecItem_wrap"> <div class="elecItem_wrap">
<span>本月熟料综合电耗</span> <span>本月氧化钙综合电耗</span>
<p class="elec_number"> <p class="elec_number">
{{ (Number(hotData.celec_consume_unit)+Number(dicData.elec_month)).toFixed(2) }} {{ (Number(hotData.celec_consume_unit)+Number(dicData.elec_month)).toFixed(2) }}
<span class="elec_unit">kW·h</span> <span class="elec_unit">kW·h</span>
@ -221,7 +221,7 @@
</div> </div>
<div class="elecItem"> <div class="elecItem">
<div class="elecItem_wrap"> <div class="elecItem_wrap">
<span>本月熟料综合煤耗</span> <span>本月氧化钙综合煤耗</span>
<p class="elec_number"> <p class="elec_number">
{{ (Number(hotData.coal_consume_unit)*1000+Number(dicData.elec_year)*1000).toFixed(2) }} {{ (Number(hotData.coal_consume_unit)*1000+Number(dicData.elec_year)*1000).toFixed(2) }}
<span class="elec_unit">kgce/t</span> <span class="elec_unit">kgce/t</span>
@ -230,7 +230,7 @@
</div> </div>
<div class="elecItem"> <div class="elecItem">
<div class="elecItem_wrap"> <div class="elecItem_wrap">
<span>本月熟料综合能耗</span> <span>本月氧化钙综合能耗</span>
<p class="elec_number"> <p class="elec_number">
{{ (Number(hotData.cen_consume_unit)).toFixed(2)}} {{ (Number(hotData.cen_consume_unit)).toFixed(2)}}
<span class="elec_unit">kgce/t</span> <span class="elec_unit">kgce/t</span>
@ -781,7 +781,7 @@ export default {
option1.color = ['#FFFF00','#CC00FF', '#FFBF00'] option1.color = ['#FFFF00','#CC00FF', '#FFBF00']
option1.legend.data = [ option1.legend.data = [
{ {
name: "石灰(t)", name: "氧化钙(t)",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
}, },
@ -813,7 +813,7 @@ export default {
]; ];
option1.series = [ option1.series = [
{ {
name: "石灰(t)", name: "氧化钙(t)",
type: "line", type: "line",
smooth: true, smooth: true,
lineStyle: { lineStyle: {

View File

@ -162,9 +162,9 @@ export default {
let randomRate1; let randomRate1;
if (endDate <= limitDate) { if (endDate <= limitDate) {
randomRate1 = this.getRandomRate(seed, 80, 85 ) randomRate1 = this.getRandomRate(seed, 80, 83 )
} else { } else {
randomRate1 = this.getRandomRate(seed, 95, 100 ) randomRate1 = this.getRandomRate(seed, 95, 97 )
} }
const startDateStr = this.dateRange[0]; const startDateStr = this.dateRange[0];
const endDateStr = this.dateRange[1]; const endDateStr = this.dateRange[1];
@ -233,9 +233,9 @@ export default {
const endDateStr = new Date(this.dateRange3[1]); const endDateStr = new Date(this.dateRange3[1]);
const limitDate1 = new Date('2024-12-31'); const limitDate1 = new Date('2024-12-31');
if (endDateStr<=limitDate1) { if (endDateStr<=limitDate1) {
randomRate = this.getRandomRate(seed, 80, 85); randomRate = this.getRandomRate(seed, 80, 83);
}else{ }else{
randomRate = this.getRandomRate(seed, 95, 100); randomRate = this.getRandomRate(seed, 95, 97);
} }
this.$alert( this.$alert(
`<div> `<div>

View File

@ -92,7 +92,7 @@
.total_production .total_production
}} }}
</div> </div>
<div class="item-name">熟料产量</div> <div class="item-name">氧化钙产量</div>
<el-progress <el-progress
:percentage=" :percentage="
monthData.回转窑.run_rate monthData.回转窑.run_rate
@ -258,7 +258,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
本年累计熟料产量 本年累计氧化钙产量
</div> </div>
<el-progress <el-progress
:percentage=" :percentage="
@ -388,7 +388,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
熟料分布电耗 氧化钙分布电耗
</div> </div>
</div> </div>
<div class="items" v-if="monthData.回转窑"> <div class="items" v-if="monthData.回转窑">
@ -399,7 +399,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
熟料单位标煤耗 氧化钙单位标煤耗
</div> </div>
</div> </div>
<div style="display: inline-block"> <div style="display: inline-block">
@ -414,7 +414,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
熟料月综合电耗 氧化钙月综合电耗
</div> </div>
</div> </div>
<div <div
@ -428,7 +428,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
熟料月综合能耗 氧化钙月综合能耗
</div> </div>
</div> </div>
<div <div
@ -534,7 +534,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
本年度熟料分布电耗 本年度氧化钙分布电耗
</div> </div>
</div> </div>
<div class="items" v-if="yearData.回转窑"> <div class="items" v-if="yearData.回转窑">
@ -545,7 +545,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
本年度熟料单位标煤耗 本年度氧化钙单位标煤耗
</div> </div>
</div> </div>
<div style="display: inline-block"> <div style="display: inline-block">
@ -560,7 +560,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
本年度熟料综合电耗 本年度氧化钙综合电耗
</div> </div>
</div> </div>
<div <div
@ -574,7 +574,7 @@
}} }}
</div> </div>
<div class="item-name"> <div class="item-name">
本年度熟料综合能耗 本年度氧化钙综合能耗
</div> </div>
</div> </div>
<div <div
@ -670,7 +670,7 @@
.production_cost_unit .production_cost_unit
}} }}
</div> </div>
<div class="item-name">熟料成本</div> <div class="item-name">氧化钙成本</div>
</div> </div>
<div class="items" v-if="monthData.水泥磨"> <div class="items" v-if="monthData.水泥磨">
<div class="item-number"> <div class="item-number">

View File

@ -78,7 +78,7 @@
</template> </template>
<script> <script>
import bookingDialog from "./booking_form.vue"; import bookingDialog from "./mroombooking_form.vue";
import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js"; import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js";
export default { export default {
name: "index", name: "index",

View File

@ -121,7 +121,7 @@
</el-drawer> </el-drawer>
</template> </template>
<script> <script>
import publicity from "./publicityForm.vue"; import publicity from "./publicity_form.vue";
import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js"; import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js";
export default { export default {
components: {publicity}, components: {publicity},

View File

@ -137,7 +137,7 @@
</el-drawer> </el-drawer>
</template> </template>
<script> <script>
import SealForm from "./sealForm.vue"; import SealForm from "./seal_form.vue";
import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js"; import { actStateEnum, interveneTypeEnum } from "@/utils/enum.js";
export default { export default {
components: { SealForm}, components: { SealForm},

View File

@ -39,7 +39,7 @@
unlink-panels unlink-panels
range-separator="至" range-separator="至"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="归还日期"
:disabled="localMode ==='show'" :disabled="localMode ==='show'"
@change="handleDateChange"> @change="handleDateChange">
</el-date-picker> </el-date-picker>

View File

@ -65,7 +65,9 @@
<el-input v-model="form.plate"></el-input> <el-input v-model="form.plate"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="行驶里程" prop="km"> <el-form-item label="行驶里程" prop="km">
<el-input v-model="form.km" type="number"></el-input> <el-input v-model="form.km" type="number">
<template #append>km</template>
</el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<template #footer> <template #footer>

View File

@ -72,7 +72,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="使用日期" prop="vdate"> <el-form-item label="使用日期" prop="vdate">
<el-date-picker v-model="form.vdate" type="date" value-format="YYYY-MM-DD" style="width: 100%;" placeholder="请选择会议日期" :readonly="localMode === 'show'" @change="mdateChange"></el-date-picker> <el-date-picker v-model="form.vdate" type="date" value-format="YYYY-MM-DD" style="width: 100%;" placeholder="请选择使用日期" :readonly="localMode === 'show'" @change="mdateChange"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>