inl-ui 0.0.78 → 0.0.80

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 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.77";
1070
+ var version = "0.0.80";
1071
1071
 
1072
1072
  const config$1 = {
1073
1073
  prefix: "inl"
@@ -40046,7 +40046,8 @@ api$9.byAllProcess = async data => {
40046
40046
  headers: {
40047
40047
  // "Content-Disposition": "attachment",
40048
40048
  // "Content-Type": "text/html;charset=UTF-8",
40049
- }
40049
+ },
40050
+ timeout: 30 * 1000
40050
40051
  });
40051
40052
  };
40052
40053
  // 记录表 详情导出
@@ -40056,7 +40057,8 @@ api$9.excelDetail = async data => {
40056
40057
  headers: {
40057
40058
  // "Content-Disposition": "attachment",
40058
40059
  // "Content-Type": "text/html;charset=UTF-8",
40059
- }
40060
+ },
40061
+ timeout: 30 * 1000
40060
40062
  });
40061
40063
  };
40062
40064
  /**
@@ -41448,6 +41450,7 @@ var Info$1 = defineComponent({
41448
41450
  y: "100%"
41449
41451
  },
41450
41452
  "dataSource": loopVo.loop.list,
41453
+ "size": "small",
41451
41454
  "style": "width: 100%"
41452
41455
  }, {
41453
41456
  bodyCell: ({
@@ -42325,7 +42328,7 @@ var Tables = defineComponent({
42325
42328
  function _isSlot$F(s) {
42326
42329
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
42327
42330
  }
42328
- var List = defineComponent({
42331
+ const com$e = defineComponent({
42329
42332
  components: {
42330
42333
  Tables
42331
42334
  },
@@ -42378,18 +42381,6 @@ var List = defineComponent({
42378
42381
  };
42379
42382
  }
42380
42383
  });
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
42384
  var PssList = utils.installComponent(com$e, "pss-list");
42394
42385
 
42395
42386
  const Format$5 = "YYYY-MM-DD HH:mm";
@@ -42605,6 +42596,22 @@ var Info = defineComponent({
42605
42596
  }, [createTextVNode("\u8BA1\u5212\u9001\u7535\u65F6\u95F4:")]), createVNode("div", {
42606
42597
  "class": "value"
42607
42598
  }, [dayjs(dataObj.value.planSupplyPowerDt).format(Format$5)])])]
42599
+ }), createVNode(Col, {
42600
+ "span": 8
42601
+ }, {
42602
+ default: () => [createVNode("div", {
42603
+ "class": "label"
42604
+ }, [createTextVNode("\u8BD5\u8F66\u6D41\u7A0B:")]), createVNode("div", {
42605
+ "class": "value"
42606
+ }, [dataObj.value?.attempt === "1" ? "有" : "无"])]
42607
+ }), createVNode(Col, {
42608
+ "span": 8
42609
+ }, {
42610
+ default: () => [createVNode("div", {
42611
+ "class": "label"
42612
+ }, [createTextVNode("\u8FD0\u884C\u4FE1\u53F7:")]), createVNode("div", {
42613
+ "class": "value"
42614
+ }, [getStatus(dataObj.value?.runStatus)])]
42608
42615
  })]
42609
42616
  })]), createVNode("div", {
42610
42617
  "class": "content_title",
@@ -42645,6 +42652,7 @@ var Info = defineComponent({
42645
42652
  y: "100%"
42646
42653
  },
42647
42654
  "dataSource": loopVo.loop.list,
42655
+ "size": "small",
42648
42656
  "style": "width: 100%"
42649
42657
  }, {
42650
42658
  bodyCell: ({
@@ -42853,9 +42861,14 @@ const com$d = defineComponent({
42853
42861
  }, {
42854
42862
  default: () => [createTextVNode("\u5BFC\u51FA\u5168\u90E8")]
42855
42863
  })]), createVNode(Form, {
42864
+ "model": searchFormState.value,
42856
42865
  "ref": formRef,
42857
- "labelAlign": "right",
42858
- "layout": "inline"
42866
+ "class": "table-query-form",
42867
+ "labelCol": {
42868
+ style: {
42869
+ width: "9em"
42870
+ }
42871
+ }
42859
42872
  }, {
42860
42873
  default: () => [createVNode(FormItem, {
42861
42874
  "label": "申请开始时间"