inl-ui 0.0.12 → 0.0.13

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
@@ -1093,7 +1093,7 @@ serverName:String,// 接口文件名
1093
1093
  timeout:Number// 接口请求超时时长
1094
1094
  },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;};onMounted(getData);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};
1095
1095
 
1096
- var version = "0.0.12";
1096
+ var version = "0.0.13";
1097
1097
 
1098
1098
  const config$1 = {
1099
1099
  prefix: "inl"
@@ -39687,23 +39687,11 @@ var NewOrder = defineComponent({
39687
39687
  dataSource: [],
39688
39688
  columns: [{
39689
39689
  dataIndex: "name",
39690
- title: "设备编号/名称",
39691
- width: "30%",
39692
- ellipsis: true,
39693
- customRender: rowCell => {
39694
- const {
39695
- record
39696
- } = rowCell;
39697
- const {
39698
- code,
39699
- name
39700
- } = record;
39701
- return createVNode("div", null, [code, name]);
39702
- }
39690
+ title: "名称",
39691
+ ellipsis: true
39703
39692
  }, {
39704
39693
  dataIndex: "location",
39705
39694
  title: "设备位置",
39706
- width: "30%",
39707
39695
  ellipsis: true
39708
39696
  }, {
39709
39697
  dataIndex: "loop",
@@ -39878,7 +39866,7 @@ var NewOrder = defineComponent({
39878
39866
  "class": "titleLine flex-center"
39879
39867
  }, [createVNode("span", {
39880
39868
  "class": "title"
39881
- }, [device.code, device.name]), createVNode(Button, {
39869
+ }, [device.name]), createVNode(Button, {
39882
39870
  "type": "link",
39883
39871
  "onClick": () => {
39884
39872
  formState.value.deviceList.splice(index, 1);
@@ -40041,6 +40029,7 @@ var NewOrder = defineComponent({
40041
40029
  "pagination": false,
40042
40030
  "columns": eqModal.columns,
40043
40031
  "scroll": {
40032
+ x: 760,
40044
40033
  y: 440
40045
40034
  },
40046
40035
  "dataSource": eqModal.dataSource,
@@ -40074,7 +40063,8 @@ var NewOrder = defineComponent({
40074
40063
  })]), createVNode("div", {
40075
40064
  "class": "activedBox"
40076
40065
  }, [selectedList.value.map((selected, idx) => {
40077
- const name = `${selected.code}${selected.name}`;
40066
+ // const name = `${selected.code}${selected.name}`;
40067
+ const name = selected.name;
40078
40068
  const textLength = 10;
40079
40069
  const title = name.length > textLength ? name : "";
40080
40070
  return createVNode(resolveComponent("a-tag"), {
@@ -40519,9 +40509,9 @@ var Info$1 = defineComponent({
40519
40509
  }, {
40520
40510
  default: () => [createVNode("div", {
40521
40511
  "class": "label"
40522
- }, [createTextVNode("\u8BBE\u5907\u7F16\u53F7/\u540D\u79F0:")]), createVNode("div", {
40512
+ }, [createTextVNode("\u540D\u79F0:")]), createVNode("div", {
40523
40513
  "class": "value"
40524
- }, [dataObj.value.equipCode, dataObj.value.equipName])]
40514
+ }, [dataObj.value.equipName])]
40525
40515
  }), createVNode(Col, {
40526
40516
  "span": 8
40527
40517
  }, {
@@ -40906,9 +40896,9 @@ var Tables = defineComponent({
40906
40896
  key: "currentState",
40907
40897
  width: 140
40908
40898
  }, {
40909
- // dataIndex: "equipName",
40910
- title: "设备编号/名称",
40911
- key: "numAndName",
40899
+ dataIndex: "equipName",
40900
+ title: "名称",
40901
+ // key: "numAndName",
40912
40902
  width: 200
40913
40903
  }, {
40914
40904
  title: "回路数量",
@@ -41319,10 +41309,15 @@ var Tables = defineComponent({
41319
41309
  "class": ["stateNode", record.taskFlag]
41320
41310
  }, [record.taskStatus]);
41321
41311
  }
41322
- // 设备编号/名称
41323
- if (column.key === "numAndName") {
41324
- return createVNode("span", null, [record.equipCode, record.equipName]);
41325
- }
41312
+ // // 设备编号/名称
41313
+ // if (column.key === "numAndName") {
41314
+ // return (
41315
+ // <span>
41316
+ // {record.equipCode}
41317
+ // {record.equipName}
41318
+ // </span>
41319
+ // );
41320
+ // }
41326
41321
  // 回路数量
41327
41322
  if (column.key === "loopsNum") {
41328
41323
  return createVNode("span", null, [record.loops.length, createTextVNode("\u4E2A")]);
@@ -41704,8 +41699,9 @@ const com$d = defineComponent({
41704
41699
  key: "currentState",
41705
41700
  width: 120
41706
41701
  }, {
41707
- title: "设备编号/名称",
41708
- key: "numAndName",
41702
+ dataIndex: "equipName",
41703
+ title: "名称",
41704
+ // key: "numAndName",
41709
41705
  width: 200
41710
41706
  }, {
41711
41707
  title: "回路数量",
@@ -41840,10 +41836,14 @@ const com$d = defineComponent({
41840
41836
  "class": ["stateNode", record.taskFlag]
41841
41837
  }, [record.taskStatus]);
41842
41838
  }
41843
- // 设备编号/名称
41844
- if (column.key === "numAndName") {
41845
- return createVNode("span", null, [record.equipCode, createTextVNode("-"), record.equipName]);
41846
- }
41839
+ // // 设备编号/名称
41840
+ // if (column.key === "numAndName") {
41841
+ // return (
41842
+ // <span>
41843
+ // {record.equipCode}-{record.equipName}
41844
+ // </span>
41845
+ // );
41846
+ // }
41847
41847
  // 回路数量
41848
41848
  if (column.key === "loopsNum") {
41849
41849
  return createVNode("span", null, [record.loops.length, createTextVNode("\u4E2A")]);