yanko 11 months ago
parent
commit
f7cc7447ad
13 changed files with 357 additions and 1 deletions
  1. +2
    -1
      backend/BPA.MES.Base.Web.Entry/appsettings.json
  2. +1
    -0
      frontend/dist/p__bucket__index.2314baa2.chunk.css
  3. +1
    -0
      frontend/dist/p__craftInfo__pot.b10f2cd8.chunk.css
  4. +1
    -0
      frontend/dist/p__deviceProductInfo__index.835c0c6c.chunk.css
  5. +1
    -0
      frontend/dist/p__kep__alarmLimit__index.218876c4.async.js
  6. +1
    -0
      frontend/dist/p__kep__datav__index.ace6b6cb.async.js
  7. +1
    -0
      frontend/dist/p__manufacturing__index.1ac7465e.chunk.css
  8. +1
    -0
      frontend/dist/p__recipe__index.3aca03b9.async.js
  9. +0
    -0
     
  10. +1
    -0
      frontend/dist/p__system__user__index.695d982e.chunk.css
  11. +1
    -0
      frontend/dist/p__user__login__index.b0bf039c.async.js
  12. +1
    -0
      frontend/dist/t__plugin-layout__Layout.0044e113.async.js
  13. +345
    -0
      frontend/dist/umi.65cd7f67.js

+ 2
- 1
backend/BPA.MES.Base.Web.Entry/appsettings.json View File

@@ -10,7 +10,8 @@
"AllowedHosts": "*",
"ConnectionConfigs": [
{
"ConnectionString": "server=10.2.1.254;Port=3306;Database=bpa_pztj_mes;Uid=root;Pwd=BapAdmin123456.;",
//"ConnectionString": "server=10.2.1.254;Port=3306;Database=bpa_pztj_mes;Uid=root;Pwd=BapAdmin123456.;",
"ConnectionString": "server=192.168.1.231;Port=3306;Database=bpa_pztj_mes;Uid=root;Pwd=pztj8127;",
"DbType": "MySql",
"IsAutoCloseConnection": true
}


+ 1
- 0
frontend/dist/p__bucket__index.2314baa2.chunk.css View File

@@ -0,0 +1 @@
.qrcodebox{display:flex;flex-direction:column;text-align:center;align-items:center}.btn1{display:block}

+ 1
- 0
frontend/dist/p__craftInfo__pot.b10f2cd8.chunk.css View File

@@ -0,0 +1 @@
.box .rowBgColor{background-color:#cfd0d1}.box .ant-table-tbody>tr.ant-table-row:hover>td{background:none!important}

+ 1
- 0
frontend/dist/p__deviceProductInfo__index.835c0c6c.chunk.css View File

@@ -0,0 +1 @@
.sss{color:red}

+ 1
- 0
frontend/dist/p__kep__alarmLimit__index.218876c4.async.js View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[776],{47870:function(J,C,a){a.r(C),a.d(C,{default:function(){return O}});var D=a(15009),f=a.n(D),E=a(99289),F=a.n(E),V=a(5574),S=a.n(V),k=a(51042),$=a(74254),d=a(40741),B=a(86738),c=a(45360),P=a(15867),G=a(5914),g=a(12096),y=a(67294),L=a(97857),I=a.n(L),h=a(12578),j={Getdatavalarmlimitpage:function(l){return(0,h.request)("/api/kepdata/getdatavalarmlimitlist",{method:"POST",data:I()({},l)})},Adddatavalarmlimit:function(l){return(0,h.request)("/api/kepdata/adddatavalarmlimit",{method:"POST",data:I()({},l)})},Updatedatavalarmlimit:function(l){return(0,h.request)("/api/kepdata/updatedatavalarmlimit",{method:"POST",data:I()({},l)})},Del:function(l){return(0,h.request)("/api/kepdata/deldatavalarmlimitlist/"+l,{method:"POST"})},getdatavData:function(){return(0,h.request)("/api/kepdata/getdatavlist",{method:"GET"})},getlogs:function(){return(0,h.request)("/api/kepdata/getlogs",{method:"GET"})}},e=a(85893),O=function(){var n=(0,y.useRef)(),l=(0,y.useState)({}),A=S()(l,2),b=A[0],U=A[1],z=(0,y.useState)(!1),R=S()(z,2),M=R[0],x=R[1],H=d.Z.useForm(),K=S()(H,1),T=K[0],N=0,W=[{title:"id",dataIndex:"id",key:"id",hideInSearch:!0},{title:"\u540D\u79F0",dataIndex:"name",key:"name"},{title:"\u4EE3\u7801",dataIndex:"code",key:"code"},{title:"\u6700\u5C0F\u533A\u95F4\u503C",dataIndex:"minLimitValue",key:"minLimitValue",hideInSearch:!0},{title:"\u6700\u5927\u533A\u95F4\u503C",dataIndex:"maxLimitValue",key:"maxLimitValue",hideInSearch:!0},{title:"\u64CD\u4F5C",valueType:"option",key:"option",render:function(o,s,v,i){return[(0,e.jsx)("a",{onClick:function(){U(s),T.setFieldsValue(s),x(!0)},children:"\u7F16\u8F91"},"editable"),(0,e.jsx)(B.Z,{title:"\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F",onConfirm:F()(f()().mark(function t(){var m,r;return f()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return Z.next=2,j.Del(s.id);case 2:m=Z.sent,m.data?(c.ZP.success("\u5220\u9664\u6210\u529F"),(r=n.current)===null||r===void 0||r.reload()):c.ZP.error(m.msg||"\u5220\u9664\u5931\u8D25");case 4:case"end":return Z.stop()}},t)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,e.jsx)("a",{children:"\u5220\u9664"})},"del")]}}];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)($.Z,{columns:W,actionRef:n,cardBordered:!0,rowKey:"id",request:F()(f()().mark(function p(){var o,s,v,i,t=arguments;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=t.length>0&&t[0]!==void 0?t[0]:{},s=t.length>1?t[1]:void 0,v=t.length>2?t[2]:void 0,console.log(s,v),r.next=6,j.Getdatavalarmlimitpage({pageIndex:o.current||1,pageSize:o.pageSize||10});case 6:if(i=r.sent,i.statusCode!==200){r.next=11;break}return r.abrupt("return",{data:i.data.items,success:!0,total:i.data.total});case 11:return c.ZP.error(i.errors||"\u83B7\u53D6\u5217\u8868\u5931\u8D25"),r.abrupt("return",{data:[],success:!1,total:0});case 13:case"end":return r.stop()}},p)})),search:{labelWidth:"auto"},options:{setting:{listsHeight:400}},headerTitle:"\u5927\u5C4F\u914D\u7F6E",toolBarRender:function(){return[(0,e.jsx)(P.ZP,{icon:(0,e.jsx)(k.Z,{}),onClick:function(){T.resetFields(),x(!0)},type:"primary",children:"\u65B0\u5EFA"},"button")]}}),(0,e.jsx)(G.Z,{footer:null,title:b.id===""?"\u6DFB\u52A0":"\u7F16\u8F91",open:M,onCancel:function(){return x(!1)},children:(0,e.jsxs)(d.Z,{name:"basic",form:T,onFinish:function(){var p=F()(f()().mark(function o(s){var v,i,t,m;return f()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(!s.id){u.next=7;break}return u.next=3,j.Updatedatavalarmlimit(s);case 3:v=u.sent,v.data?(c.ZP.success("\u66F4\u65B0\u4FE1\u606F\u6210\u529F"),x(!1),(i=n.current)===null||i===void 0||i.reload()):c.ZP.error(v.msg||"\u66F4\u65B0\u4FE1\u606F\u5931\u8D25"),u.next=11;break;case 7:return u.next=9,j.Adddatavalarmlimit(s);case 9:t=u.sent,t.data?(c.ZP.success("\u521B\u5EFA\u6210\u529F"),x(!1),(m=n.current)===null||m===void 0||m.reload()):c.ZP.error(t.msg||"\u521B\u5EFA\u5931\u8D25");case 11:case"end":return u.stop()}},o)}));return function(o){return p.apply(this,arguments)}}(),children:[(0,e.jsx)(d.Z.Item,{label:"id",name:"id",hidden:!0,children:(0,e.jsx)(g.Z,{})}),(0,e.jsx)(d.Z.Item,{label:"\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u540D\u79F0\uFF01"}],children:(0,e.jsx)(g.Z,{})}),(0,e.jsx)(d.Z.Item,{label:"\u4EE3\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\uFF01"}],children:(0,e.jsx)(g.Z,{})}),(0,e.jsx)(d.Z.Item,{label:"\u6700\u5C0F\u533A\u95F4\u503C",name:"minLimitValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u503C\uFF01"}],children:(0,e.jsx)(g.Z,{})}),(0,e.jsx)(d.Z.Item,{label:"\u6700\u5927\u533A\u95F4\u503C",name:"maxLimitValue",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u503C\uFF01"}],children:(0,e.jsx)(g.Z,{})}),(0,e.jsx)(d.Z.Item,{children:(0,e.jsx)(P.ZP,{type:"primary",htmlType:"submit",children:"\u786E\u5B9A"})})]})})]})}}}]);

+ 1
- 0
frontend/dist/p__kep__datav__index.ace6b6cb.async.js View File

@@ -0,0 +1 @@
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[582],{66785:function(){},25123:function(e,t,n){"use strict";n.r(t);var a=n(67294),s=n(66785),E=n.n(s),_=n(85893),u=function(){return(0,a.useEffect)(function(){},[]),(0,_.jsx)("div",{id:"app",children:(0,_.jsx)(E(),{})})};t.default=u}}]);

+ 1
- 0
frontend/dist/p__manufacturing__index.1ac7465e.chunk.css View File

@@ -0,0 +1 @@
.tag___uiPjc{height:100%;width:100%}.tag_item___gsaqa{padding:0 5px 0 20px;height:72px;position:relative;cursor:pointer;display:flex;align-items:center}.tag_item_active___IY6iJ{position:absolute;width:3px;height:72px;left:0;top:0;background-color:#13c2c2}.tag_item_activeItem___aLzBU{background-color:#f7f8fa}.tag_item_editicon___qJMP7{position:absolute;right:0;top:0;bottom:0;display:flex;align-items:center}

+ 1
- 0
frontend/dist/p__recipe__index.3aca03b9.async.js
File diff suppressed because it is too large
View File


+ 0
- 0
View File


+ 1
- 0
frontend/dist/p__system__user__index.695d982e.chunk.css View File

@@ -0,0 +1 @@
.tab_navbar_card___TM3Di{display:flex;align-items:center;box-shadow:0 4px 8px 1px #07111b26;height:100px;border-radius:5px;background-color:#fff}.tab_navbar_active___PLvNu{position:relative;color:#546bf0}.tab_navbar_active___PLvNu:after{position:absolute;content:"";bottom:-10px;left:0;width:70px;height:2px;background-color:#546bf0}.tab_navbar_item___FaQZn{cursor:pointer;margin:0 20px;font-size:18px}.tab_navbar_item___FaQZn:hover{transition:all .3s;color:#546bf0;transform:scale(1.1)}.log_head_card___e4OFg{padding:20px;box-shadow:0 4px 8px 1px #07111b26}.log_head_card_text____MQ82{font-size:18px;font-weight:700;margin-bottom:30px}.log_card_data___Uhh4q{padding:0 40px;display:flex;flex-wrap:wrap;justify-content:space-between}.log_data_pos___M3M6A{text-align:center;margin-bottom:20px}.log_data_number___Fh2Z2{color:#546bf0;font-size:20px;margin-bottom:5px}.log_data_text___ApoMe{font-size:16px;color:#222}.log_list_title___l0YtY{font-size:18px;font-weight:700;margin:20px 0;color:#222}.log_detail_row___B6WKE{display:flex;align-items:center;justify-content:space-between}.log_detail_item___JgTlO{display:flex;align-items:center;flex-grow:1;flex-shrink:0;border:1px solid #dedede;border-bottom:none;height:50px;box-sizing:border-box;font-size:16px}.log_detail_half___bh7yF{width:50%}.log_detail_item___JgTlO:nth-child(2){border-left:none}.log_detail_item_last___w0ouH{border-bottom:1px solid #dedede}.log_detail_title____90Pu{display:flex;align-items:center;flex-shrink:0;background-color:#fafafa;width:100px;color:#222;height:100%;border-right:1px solid #dedede;padding-left:10px}.log_detail_content___nhonA{display:flex;align-items:center;padding-left:10px}.tab_navbar_btn___yQEXt{margin-left:auto;margin-right:50px}.person_list___ZO8Fs{display:flex;flex-wrap:wrap;justify-content:space-between;padding:20px 0}.person_list_item___HkHZR{position:relative;height:300px;width:200px;display:flex;flex-direction:column;justify-content:space-around;align-items:center;box-shadow:0 2px 8px #07111b26;background-color:#fff}.person_list_btn___ZGGz9{position:absolute;bottom:10px;right:10px}.person_list_item___HkHZR .item_content___btVdX{width:150px;display:flex;align-items:center;justify-content:flex-start}

+ 1
- 0
frontend/dist/p__user__login__index.b0bf039c.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
frontend/dist/t__plugin-layout__Layout.0044e113.async.js
File diff suppressed because it is too large
View File


+ 345
- 0
frontend/dist/umi.65cd7f67.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save