inl-ui 0.0.79 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +35 -23
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/api/pss.ts +2 -0
- package/src/pageComponent/views/alarms/alarmDetail/index.tsx +12 -11
- package/src/pageComponent/views/pss/assets/less/cus-table.less +48 -60
- package/src/pageComponent/views/pss/assets/less/index.less +65 -69
- package/src/pageComponent/views/pss/components/Info.tsx +1 -0
- package/src/pageComponent/views/pss/components/NewOrder/SelectDevice.tsx +0 -1
- package/src/pageComponent/views/pss/components/NewOrder/SelectRelevance.tsx +0 -1
- package/src/pageComponent/views/pss/components/table.tsx +0 -1
- package/src/pageComponent/views/pss/index.tsx +55 -6
- package/src/pageComponent/views/pssRecord/components/Info.tsx +17 -0
- package/src/pageComponent/views/pssRecord/index.tsx +6 -1
- package/src/pageComponent/views/pss/list.tsx +0 -65
package/dist/index.js
CHANGED
|
@@ -1067,7 +1067,7 @@ serverName:String,// 接口文件名
|
|
|
1067
1067
|
timeout:Number,// 接口请求超时时长
|
|
1068
1068
|
isInterval:Boolean,tabId:String},setup(_props,_ctx){const form=reactive({systemYieldData:[],coalRankYieldData:[]});const getData=async()=>{const{data}=await instance$1$1.post("/getCardData?cardType=productionStatistics",{});form.systemYieldData=data.systemYieldData;form.coalRankYieldData=data.coalRankYieldData;};let stopInterval=useInterval$1(getData,5000,_props.isInterval);watch(()=>_props.isInterval,e=>{if(e){stopInterval=useInterval$1(getData,5000,_props.isInterval);}else {stopInterval();}},{immediate:true});onBeforeUnmount(stopInterval);onMounted(()=>{_ctx.emit("getTabs",tabsList);});return ()=>createVNode("div",{"class":"production-statistics"},[createVNode(SystemYield,{"data":form.systemYieldData[_props.tabId||""]},null),createVNode(CoalRankYield,{"data":form.coalRankYieldData[_props.tabId||""]},null)]);}});const mock={systemYieldData:{day:[{name:"东区1#","value|0-20000":1},{name:"东区1#","percent|0-100":1,type:"产率"},{name:"东区2#","value|0-20000":1},{name:"东区2#","percent|0-100":1,type:"产率"},{name:"西区1#","value|0-20000":1},{name:"西区1#","percent|0-100":1,type:"产率"},{name:"西区2#","value|0-20000":1},{name:"西区2#","percent|0-100":1,type:"产率"},{name:"西区3#","value|0-20000":1},{name:"西区3#","percent|0-100":1,type:"产率"}],month:[{name:"东区1#","value|0-20000":1},{name:"东区1#","percent|0-100":1,type:"产率"},{name:"东区2#","value|0-20000":1},{name:"东区2#","percent|0-100":1,type:"产率"},{name:"西区1#","value|0-20000":1},{name:"西区1#","percent|0-100":1,type:"产率"},{name:"西区2#","value|0-20000":1},{name:"西区2#","percent|0-100":1,type:"产率"},{name:"西区3#","value|0-20000":1},{name:"西区3#","percent|0-100":1,type:"产率"}]},coalRankYieldData:{day:[{name:"肥","value|1000-20000":1},{name:"焦","value|1000-20000":1},{name:"1/3焦","value|1000-20000":1},{name:"中","value|1000-20000":1},{name:"煤泥","value|1000-20000":1},{name:"矸石","value|1000-20000":1}],month:[{name:"肥","value|1000-20000":1},{name:"焦","value|1000-20000":1},{name:"1/3焦","value|1000-20000":1},{name:"中","value|1000-20000":1},{name:"煤泥","value|1000-20000":1},{name:"矸石","value|1000-20000":1}]}};var mockData={storageInfo:mock$f,remoteSwitchhouse:mock$A,substation:mock$z,electricMonitor:mock$o,rawCoalSendIn2:mock$9,productionPlan2:mock$g,productionStatistics:mock,mechineTimeDayStatistics:mock$8,drySeparationPlant:mock$6,luLingDayStatistics:mock$5,humanResources:mock$4,energyConsumptionInfo:mock$3,logisticsInfo:mock$m,commodityConsume:mock$l,deviceOverview:mock$2,overhaulPlan:mock$7,smartInspection:mock$p,remoteElectricity:mock$w,alarmFaultDanger:mock$n,productionPlan:mock$k,washingRawCoalQuantity:mock$j,washingSystemHandleQuantity:mock$s,systemRunStatus:mock$r,realTimeAshWater:mock$b,consumeAnalysis:mock$a,alarmInfo:mock$y,keyEquipmentTesting:mock$u,opsInfo:mock$t,hiddenTrouble:mock$x,faultJudgment:mock$v,rawCoalSendIn:mock$i,warehouseStorage:mock$h,sendInOutCoalList:mock$q,outTransportStatistics:mock$c,videos:mock$1,storageDia:mock$d,storageDiaSimple:mock$e};const cardList=[];const coms=[];const createComp=()=>{coms.push(installCom(Layout,"layout"));coms.push(installCom(CardBox,"box"));coms.push(installCom(layoutEditor,"layout-editor"));for(let i of cards){const com=installCom(i,i.name);coms.push(com);cardList.push({name:i.name,cname:i.cname,developer:i.developer,equipment:i.equipment,version: version$1});}};createComp();var index$1={install(app){for(let i of coms){app.use(i);}},cards:cardList,mockData:mockData,version: version$1};
|
|
1069
1069
|
|
|
1070
|
-
var version = "0.0.
|
|
1070
|
+
var version = "0.0.81";
|
|
1071
1071
|
|
|
1072
1072
|
const config$1 = {
|
|
1073
1073
|
prefix: "inl"
|
|
@@ -35826,10 +35826,9 @@ const AlarmDetail = defineComponent({
|
|
|
35826
35826
|
videoList.value = Object.values(data).map(item => item.relatedPath);
|
|
35827
35827
|
};
|
|
35828
35828
|
// 图片
|
|
35829
|
-
const imageUrlList =
|
|
35830
|
-
|
|
35831
|
-
|
|
35832
|
-
}
|
|
35829
|
+
const imageUrlList = computed(() => {
|
|
35830
|
+
return alarmDetail.value.imageUrlList || [];
|
|
35831
|
+
});
|
|
35833
35832
|
// 图表
|
|
35834
35833
|
const chartData = ref([]);
|
|
35835
35834
|
const chartRef = ref();
|
|
@@ -35892,7 +35891,7 @@ const AlarmDetail = defineComponent({
|
|
|
35892
35891
|
await getAlarmDetail$1();
|
|
35893
35892
|
getAlarmVideo();
|
|
35894
35893
|
if (alarmDetail.value.alarmLifecycleList && alarmDetail.value.alarmLifecycleList.length) {
|
|
35895
|
-
renderChart();
|
|
35894
|
+
nextTick(() => renderChart());
|
|
35896
35895
|
}
|
|
35897
35896
|
});
|
|
35898
35897
|
// 报警类型
|
|
@@ -40046,7 +40045,8 @@ api$9.byAllProcess = async data => {
|
|
|
40046
40045
|
headers: {
|
|
40047
40046
|
// "Content-Disposition": "attachment",
|
|
40048
40047
|
// "Content-Type": "text/html;charset=UTF-8",
|
|
40049
|
-
}
|
|
40048
|
+
},
|
|
40049
|
+
timeout: 30 * 1000
|
|
40050
40050
|
});
|
|
40051
40051
|
};
|
|
40052
40052
|
// 记录表 详情导出
|
|
@@ -40056,7 +40056,8 @@ api$9.excelDetail = async data => {
|
|
|
40056
40056
|
headers: {
|
|
40057
40057
|
// "Content-Disposition": "attachment",
|
|
40058
40058
|
// "Content-Type": "text/html;charset=UTF-8",
|
|
40059
|
-
}
|
|
40059
|
+
},
|
|
40060
|
+
timeout: 30 * 1000
|
|
40060
40061
|
});
|
|
40061
40062
|
};
|
|
40062
40063
|
/**
|
|
@@ -41448,6 +41449,7 @@ var Info$1 = defineComponent({
|
|
|
41448
41449
|
y: "100%"
|
|
41449
41450
|
},
|
|
41450
41451
|
"dataSource": loopVo.loop.list,
|
|
41452
|
+
"size": "small",
|
|
41451
41453
|
"style": "width: 100%"
|
|
41452
41454
|
}, {
|
|
41453
41455
|
bodyCell: ({
|
|
@@ -42325,7 +42327,7 @@ var Tables = defineComponent({
|
|
|
42325
42327
|
function _isSlot$F(s) {
|
|
42326
42328
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
|
|
42327
42329
|
}
|
|
42328
|
-
|
|
42330
|
+
const com$e = defineComponent({
|
|
42329
42331
|
components: {
|
|
42330
42332
|
Tables
|
|
42331
42333
|
},
|
|
@@ -42378,18 +42380,6 @@ var List = defineComponent({
|
|
|
42378
42380
|
};
|
|
42379
42381
|
}
|
|
42380
42382
|
});
|
|
42381
|
-
|
|
42382
|
-
const com$e = defineComponent({
|
|
42383
|
-
components: {
|
|
42384
|
-
List
|
|
42385
|
-
},
|
|
42386
|
-
setup() {
|
|
42387
|
-
onMounted(() => {});
|
|
42388
|
-
return () => createVNode("div", {
|
|
42389
|
-
"class": "pssIndex"
|
|
42390
|
-
}, [createVNode(List, null, null)]);
|
|
42391
|
-
}
|
|
42392
|
-
});
|
|
42393
42383
|
var PssList = utils.installComponent(com$e, "pss-list");
|
|
42394
42384
|
|
|
42395
42385
|
const Format$5 = "YYYY-MM-DD HH:mm";
|
|
@@ -42605,6 +42595,22 @@ var Info = defineComponent({
|
|
|
42605
42595
|
}, [createTextVNode("\u8BA1\u5212\u9001\u7535\u65F6\u95F4:")]), createVNode("div", {
|
|
42606
42596
|
"class": "value"
|
|
42607
42597
|
}, [dayjs(dataObj.value.planSupplyPowerDt).format(Format$5)])])]
|
|
42598
|
+
}), createVNode(Col, {
|
|
42599
|
+
"span": 8
|
|
42600
|
+
}, {
|
|
42601
|
+
default: () => [createVNode("div", {
|
|
42602
|
+
"class": "label"
|
|
42603
|
+
}, [createTextVNode("\u8BD5\u8F66\u6D41\u7A0B:")]), createVNode("div", {
|
|
42604
|
+
"class": "value"
|
|
42605
|
+
}, [dataObj.value?.attempt === "1" ? "有" : "无"])]
|
|
42606
|
+
}), createVNode(Col, {
|
|
42607
|
+
"span": 8
|
|
42608
|
+
}, {
|
|
42609
|
+
default: () => [createVNode("div", {
|
|
42610
|
+
"class": "label"
|
|
42611
|
+
}, [createTextVNode("\u8FD0\u884C\u4FE1\u53F7:")]), createVNode("div", {
|
|
42612
|
+
"class": "value"
|
|
42613
|
+
}, [getStatus(dataObj.value?.runStatus)])]
|
|
42608
42614
|
})]
|
|
42609
42615
|
})]), createVNode("div", {
|
|
42610
42616
|
"class": "content_title",
|
|
@@ -42645,6 +42651,7 @@ var Info = defineComponent({
|
|
|
42645
42651
|
y: "100%"
|
|
42646
42652
|
},
|
|
42647
42653
|
"dataSource": loopVo.loop.list,
|
|
42654
|
+
"size": "small",
|
|
42648
42655
|
"style": "width: 100%"
|
|
42649
42656
|
}, {
|
|
42650
42657
|
bodyCell: ({
|
|
@@ -42853,9 +42860,14 @@ const com$d = defineComponent({
|
|
|
42853
42860
|
}, {
|
|
42854
42861
|
default: () => [createTextVNode("\u5BFC\u51FA\u5168\u90E8")]
|
|
42855
42862
|
})]), createVNode(Form, {
|
|
42863
|
+
"model": searchFormState.value,
|
|
42856
42864
|
"ref": formRef,
|
|
42857
|
-
"
|
|
42858
|
-
"
|
|
42865
|
+
"class": "table-query-form",
|
|
42866
|
+
"labelCol": {
|
|
42867
|
+
style: {
|
|
42868
|
+
width: "9em"
|
|
42869
|
+
}
|
|
42870
|
+
}
|
|
42859
42871
|
}, {
|
|
42860
42872
|
default: () => [createVNode(FormItem, {
|
|
42861
42873
|
"label": "申请开始时间"
|