Yanko 3 months ago
parent
commit
63383f3323
14 changed files with 917 additions and 0 deletions
  1. +519
    -0
      frontend/dist/145.301a8164.async.js
  2. +1
    -0
      frontend/dist/770.91621533.async.js
  3. +82
    -0
      frontend/dist/838.1fdf35ab.async.js
  4. +1
    -0
      frontend/dist/899.e49ce433.async.js
  5. +2
    -0
      frontend/dist/p__deviceProductInfo__index.1f88a9d8.async.js
  6. +1
    -0
      frontend/dist/p__dict__index.84f57017.async.js
  7. +1
    -0
      frontend/dist/p__final__index.ef06293d.async.js
  8. +1
    -0
      frontend/dist/p__plantModel__process.2e985b3e.async.js
  9. +1
    -0
      frontend/dist/p__productLine__line.74e003b9.async.js
  10. +1
    -0
      frontend/dist/p__system__role__index.455b2d03.async.js
  11. +1
    -0
      frontend/dist/p__workInfo__index.88dd24f5.async.js
  12. +1
    -0
      frontend/dist/p__workInfo__plan.c586c2de.async.js
  13. +1
    -0
      frontend/dist/preload_helper.c8b83608.js
  14. +304
    -0
      frontend/dist/umi.17801edc.js

+ 519
- 0
frontend/dist/145.301a8164.async.js
File diff suppressed because it is too large
View File


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


+ 82
- 0
frontend/dist/838.1fdf35ab.async.js
File diff suppressed because it is too large
View File


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


+ 2
- 0
frontend/dist/p__deviceProductInfo__index.1f88a9d8.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
frontend/dist/p__dict__index.84f57017.async.js
File diff suppressed because it is too large
View File


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


+ 1
- 0
frontend/dist/p__plantModel__process.2e985b3e.async.js View File

@@ -0,0 +1 @@
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[988],{24493:function(R,f,e){var M=e(97857),o=e.n(M),a=e(56002);f.Z={Add:function(n){return(0,a.request)("/api/process/add",{method:"POST",data:o()({},n)})},Del:function(n){return(0,a.request)("/api/process/del",{method:"POST",data:o()({},n)})},Update:function(n){return(0,a.request)("/api/process/update",{method:"POST",data:o()({},n)})},Detail:function(n){return(0,a.request)("/api/process/detail?id=".concat(n),{method:"GET"})},List:function(n){return(0,a.request)("/api/process/list",{method:"POST",data:o()({},n)})},PagedList:function(n){return(0,a.request)("/api/process/pagedlist",{method:"POST",data:o()({},n)})},Selectlist:function(){return(0,a.request)("/api/process/selectlist",{method:"GET"})}}},60744:function(R,f,e){e.r(f);var M=e(15009),o=e.n(M),a=e(99289),u=e.n(a),n=e(5574),T=e.n(n),B=e(51042),L=e(83145),b=e(42075),h=e(14726),g=e(86738),m=e(45360),E=e(67294),S=e(27484),F=e.n(S),P=e(24493),_=e(85893);f.default=function(){var U=(0,E.useState)("table"),v=T()(U,2),D=v[0],c=v[1],p=(0,E.useRef)(),j=(0,E.useRef)(),x=(0,E.useState)(),I=T()(x,2),O=I[0],C=I[1],A=function(){var t,r;(t=p.current)===null||t===void 0||t.resetFields(),(r=j.current)===null||r===void 0||r.reload()},K=[{title:"\u4E3B\u952E",dataIndex:"id",hideInForm:!0,hideInSearch:!0},{title:"\u540D\u79F0",dataIndex:"name",ellipsis:!0,formItemProps:{rules:[{required:!0,message:"\u6B64\u9879\u4E3A\u5FC5\u586B\u9879!"}]}},{title:"\u7C7B\u578B",hideInDescriptions:!0,dataIndex:"processType",search:!1,valueEnum:{0:{text:"\u4EBA\u5DE5"},1:{text:"\u8BBE\u5907"}},formItemProps:{rules:[{required:!0,message:"\u6B64\u9879\u4E3A\u5FC5\u586B\u9879!"}]}},{title:"\u63CF\u8FF0",dataIndex:"des",search:!1},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",render:function(t,r){return(0,_.jsx)(_.Fragment,{children:F()(r.createTime).format("YYYY-MM-DD HH:mm:ss")})},search:!1,hideInForm:!0},{title:"\u64CD\u4F5C",valueType:"option",fixed:"right",render:function(t,r){return[(0,_.jsxs)(b.Z,{children:[(0,_.jsx)(h.ZP,{type:"primary",size:"small",onClick:function(){var s;c("form"),C(r),(s=p.current)===null||s===void 0||s.setFieldsValue(r)},target:"_blank",rel:"noopener noreferrer",children:"\u7F16\u8F91"},+new Date+Math.random()),(0,_.jsx)(g.Z,{title:"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",onConfirm:function(){P.Z.Del(r).then(function(s){s.statusCode===200?(m.ZP.info("\u5220\u9664\u6210\u529F!"),A()):m.ZP.error(s.errors)})},onCancel:function(){m.ZP.info("\u5DF2\u53D6\u6D88\u5220\u9664")},okText:"\u786E\u8BA4",cancelText:"\u5173\u95ED",children:(0,_.jsx)(h.ZP,{type:"primary",danger:!0,size:"small",children:"\u5220\u9664"})},"del")]},+new Date+Math.random())]}}];return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(L.Z,{columns:K,type:D,formRef:p,actionRef:j,cardBordered:!0,bordered:!0,scroll:{x:!0},rowClassName:function(t,r,i){return r%2===0?"":"even-row-background"},onSubmit:function(t){t.id=O==null?void 0:O.id,console.log(t),D==="form"&&(t.id?P.Z.Update(t).then(function(r){r.statusCode===200?(m.ZP.info("\u66F4\u65B0\u6210\u529F!"),c("table"),A()):m.ZP.error(r.errors)}):P.Z.Add(t).then(function(r){r.statusCode===200?(m.ZP.info("\u65B0\u589E\u6210\u529F!"),c("table"),A()):m.ZP.error(r.errors)}))},form:{ignoreRules:!0,submitter:{onReset:function(){var t;(t=p.current)===null||t===void 0||t.resetFields(),c("table")},searchConfig:{resetText:D==="form"?"\u8FD4\u56DE":"\u91CD\u7F6E",submitText:D==="form"?"\u63D0\u4EA4":"\u67E5\u8BE2"}}},request:u()(o()().mark(function d(){var t,r,i,s=arguments;return o()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return t=s.length>0&&s[0]!==void 0?s[0]:{},r={pageIndex:t.current||1,pageSize:t.pageSize||10,name:t.name||""},l.next=4,P.Z.PagedList(r);case 4:if(i=l.sent,i.statusCode!==200){l.next=9;break}return l.abrupt("return",{data:i.data.items,success:!0,total:i.data.total});case 9:return l.abrupt("return",{data:[],success:!1,total:0});case 10:case"end":return l.stop()}},d)})),pagination:{pageSize:10,showSizeChanger:!1},rowKey:"id",dateFormatter:"string",headerTitle:"\u5217\u8868",toolBarRender:function(){return[(0,_.jsxs)(h.ZP,{type:"primary",onClick:function(){c("form"),C({id:"",createTime:new Date})},children:[(0,_.jsx)(B.Z,{}),"\u65B0\u5EFA"]},"3")]}})})}}}]);

+ 1
- 0
frontend/dist/p__productLine__line.74e003b9.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
frontend/dist/p__system__role__index.455b2d03.async.js
File diff suppressed because it is too large
View File


+ 1
- 0
frontend/dist/p__workInfo__index.88dd24f5.async.js
File diff suppressed because it is too large
View File


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


+ 1
- 0
frontend/dist/preload_helper.c8b83608.js View File

@@ -0,0 +1 @@
!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["p__system__role__index.455b2d03.async.js",24],["p__deviceInfo__index.8878b771.async.js",36],["p__user__login__index.26100c69.chunk.css",37],["p__user__login__index.b934e735.async.js",37],["p__workInfo__plan.c586c2de.async.js",43],["119.4e6a5656.async.js",119],["145.301a8164.async.js",145],["p__system__module__index.ef46db37.chunk.css",257],["p__system__module__index.ed9bfb89.async.js",257],["p__materials__index.8b1d798e.async.js",262],["t__plugin-layout__Layout.5012e1ab.chunk.css",301],["t__plugin-layout__Layout.2c017a91.async.js",301],["390.c53868f3.async.js",390],["393.e127e60f.async.js",393],["p__deviceProductInfo__index.835c0c6c.chunk.css",402],["p__deviceProductInfo__index.1f88a9d8.async.js",402],["p__workInfo__index.88dd24f5.async.js",420],["p__welcome__index.dde73410.async.js",446],["p__stock__index.3cc68eb4.async.js",450],["p__final__index.49759dc4.chunk.css",460],["p__final__index.ef06293d.async.js",460],["p__system__user__index.695d982e.chunk.css",472],["p__system__user__index.60325376.async.js",472],["t__plugin-maxtabs__Layout.b832af3b.async.js",558],["565.b1a57ede.async.js",565],["p__404.a52587bb.async.js",571],["635.973728c8.async.js",635],["770.91621533.async.js",770],["821.b970c16a.async.js",821],["838.1fdf35ab.async.js",838],["899.e49ce433.async.js",899],["p__dict__index.84f57017.async.js",918],["p__plantModel__process.2e985b3e.async.js",988],["p__productLine__line.74e003b9.async.js",990]],"r":{"/*":[25,28],"/":[13,17,23,5,10,11,28,29],"/user/login":[2,3],"/system/user":[5,6,21,22,28,23,10,11,29],"/system/role":[0,5,6,28,23,10,11,29],"/system/module":[5,6,7,8,28,23,10,11,29],"/system/dict":[5,6,28,31,23,10,11,29],"/wmx/deviceProduct":[5,6,14,15,28,23,10,11,29],"/wmx/deviceinfo":[1,5,6,28,23,10,11,29],"/factory/process":[5,6,28,32,23,10,11,29],"/factory/line":[5,6,24,26,28,33,23,10,11,29],"/production/materials":[5,6,9,28,23,10,11,29],"/production/godown":[5,6,18,28,23,10,11,29],"/production/final":[5,6,13,19,20,26,27,28,23,10,11,29],"/work/workPlan":[4,5,6,28,23,10,11,29],"/work/workInfo":[5,6,13,16,28,30,23,10,11,29]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}();

+ 304
- 0
frontend/dist/umi.17801edc.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save