inl-ui 0.0.16 → 0.0.17
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 +15 -22
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/pageComponent/views/video/sbgl/nvr.tsx +5 -7
package/dist/index.js
CHANGED
|
@@ -1099,7 +1099,7 @@ serverName:String,// 接口文件名
|
|
|
1099
1099
|
timeout:Number// 接口请求超时时长
|
|
1100
1100
|
},setup(){const form=reactive({systemYieldData:[],coalRankYieldData:[]});const getData=async()=>{const{data}=await instance$1$1.post("/getCardData",{card:"productionStatistics"});form.systemYieldData=data.systemYieldData;form.coalRankYieldData=data.coalRankYieldData;};const stopInterval=useInterval(getData,5000);onBeforeUnmount(stopInterval);return ()=>createVNode("div",{"class":"production-statistics"},[createVNode(SystemYield,{"data":form.systemYieldData},null),createVNode(CoalRankYield,{"data":form.coalRankYieldData},null)]);}});const mock={systemYieldData:[{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:[{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$d,remoteSwitchhouse:mock$y,substation:mock$x,electricMonitor:mock$m,rawCoalSendIn2:mock$9,productionPlan2:mock$e,productionStatistics:mock,mechineTimeDayStatistics:mock$8,drySeparationPlant:mock$6,luLingDayStatistics:mock$5,humanResources:mock$4,energyConsumptionInfo:mock$3,logisticsInfo:mock$k,commodityConsume:mock$j,deviceOverview:mock$2,overhaulPlan:mock$7,smartInspection:mock$n,remoteElectricity:mock$u,alarmFaultDanger:mock$l,productionPlan:mock$i,washingRawCoalQuantity:mock$h,washingSystemHandleQuantity:mock$q,systemRunStatus:mock$p,realTimeAshWater:mock$b,consumeAnalysis:mock$a,alarmInfo:mock$w,keyEquipmentTesting:mock$s,opsInfo:mock$r,hiddenTrouble:mock$v,faultJudgment:mock$t,rawCoalSendIn:mock$g,warehouseStorage:mock$f,sendInOutCoalList:mock$o,outTransportStatistics:mock$c,videos:mock$1};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};
|
|
1101
1101
|
|
|
1102
|
-
var version = "0.0.
|
|
1102
|
+
var version = "0.0.17";
|
|
1103
1103
|
|
|
1104
1104
|
const config$1 = {
|
|
1105
1105
|
prefix: "inl"
|
|
@@ -34033,27 +34033,20 @@ const com$i = defineComponent({
|
|
|
34033
34033
|
}, [createTextVNode("\u79BB\u7EBF")]);
|
|
34034
34034
|
}
|
|
34035
34035
|
if (param.column.dataIndex === "operation") {
|
|
34036
|
-
return createVNode(
|
|
34037
|
-
|
|
34038
|
-
|
|
34039
|
-
|
|
34040
|
-
|
|
34041
|
-
|
|
34042
|
-
|
|
34043
|
-
|
|
34044
|
-
|
|
34045
|
-
|
|
34046
|
-
|
|
34047
|
-
|
|
34048
|
-
|
|
34049
|
-
|
|
34050
|
-
default: () => [createVNode(resolveComponent("a-button"), {
|
|
34051
|
-
"type": "link"
|
|
34052
|
-
}, {
|
|
34053
|
-
default: () => [createTextVNode("\u5220\u9664")]
|
|
34054
|
-
})]
|
|
34055
|
-
})]
|
|
34056
|
-
});
|
|
34036
|
+
return createVNode("div", {
|
|
34037
|
+
"class": "flex tableOpera"
|
|
34038
|
+
}, [createVNode("a", {
|
|
34039
|
+
"onClick": () => {
|
|
34040
|
+
editAlarm(param);
|
|
34041
|
+
}
|
|
34042
|
+
}, [createTextVNode("\u7F16\u8F91")]), createVNode(resolveComponent("a-popconfirm"), {
|
|
34043
|
+
"title": "确定删除?",
|
|
34044
|
+
"onConfirm": () => {
|
|
34045
|
+
deleteAlarm(param);
|
|
34046
|
+
}
|
|
34047
|
+
}, {
|
|
34048
|
+
default: () => [createVNode("a", null, [createTextVNode("\u5220\u9664")])]
|
|
34049
|
+
})]);
|
|
34057
34050
|
}
|
|
34058
34051
|
return true;
|
|
34059
34052
|
};
|