mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 17:00:30 +08:00
7b2bd307f1
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.) - frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts - scripts/: build, test-env, tools (Docker Compose, service templates, API parity) - docs/: AGENTS.md, superpowers specs, architecture docs - .gitignore: standard Java/Maven exclusions Moved from legacy maven-*/ root layout to backend/ organized structure.
1 line
2.6 KiB
JavaScript
1 line
2.6 KiB
JavaScript
webpackJsonp([219],{sXFb:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s("hOsK"),n=(s.n(a),s("kqC4")),i=(s.n(n),s("lv5w")),l=(s.n(i),s("2bj9")),o=(s.n(l),s("44wJ")),r=(s.n(o),s("6zSr")),c=(s.n(r),s("23M+")),d=(s.n(c),s("DixE")),p=(s.n(d),s("oiss"),s("H5tE")),v=s.n(p),u=s("r6Af"),f=s("FCLc"),m=(s.n(f),s("cSe6")),h=(s.n(m),s("YO+z")),_=(s.n(h),s("I3KW")),w=(s.n(_),s("g8nV"),s("Mnsi")),S=(s.n(w),s("SBIS")),g=(s.n(S),s("Iy39")),x=(s.n(g),s("Ek6n")),b=(s.n(x),s("r7d2")),B=s("mtWM"),C=(s.n(B),s("zL8q")),y=(s.n(C),Object(u.a)({render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-container"},[s("el-form",{ref:"form",staticStyle:{"padding-left":"50px"},attrs:{"label-position":"top"}},[s("el-form-item",{attrs:{label:"Step 1"}}),e._v(" "),s("el-form-item",[s("el-button",{staticStyle:{width:"30%"},attrs:{type:"warning"},on:{click:e.downloadXlsx}},[e._v("下载SN码导入模板")])],1),e._v(" "),s("el-form-item"),e._v(" "),s("el-form-item",{attrs:{label:"Step 2"}}),e._v(" "),s("el-form-item",{staticStyle:{width:"30%"}},[s("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{"file-list":e.fileList,"auto-upload":!1,"on-change":e.handleChange,"http-request":e.handleUploadFile,action:"",accept:".xls",drag:""}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.processBar,expression:"processBar"}],staticClass:"progress"},[e._v("正在上传...")]),e._v(" "),s("i",{directives:[{name:"show",rawName:"v-show",value:!e.processBar,expression:"!processBar"}],staticClass:"el-icon-upload"}),e._v(" "),s("div",{directives:[{name:"show",rawName:"v-show",value:!e.processBar,expression:"!processBar"}],staticClass:"el-upload__text"},[e._v("\n 拖拽文件到这里, 或\n "),s("em",[e._v("点击上传")])]),e._v(" "),s("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[e._v("只能上传xls文件")])])],1),e._v(" "),s("el-form-item",[s("el-button",{staticStyle:{width:"30%",float:"left"},attrs:{type:"warning"},on:{click:e.uploadFile}},[e._v("上传SN码记录文件")])],1)],1)],1)},staticRenderFns:[]},void 0,{name:"InsertSn",data:function(){return{extractfail:!1,processBar:!1,fileList:[]}},methods:{downloadXlsx:function(){b.a.downloadXlsx()},handleChange:function(e,t){t.length>0&&(this.fileList=[t[t.length-1]])},handleUploadFile:function(e){var t=this;b.a.insertSN(e).then(function(e){t.processBar=!0,e&&v()(function(){t.$emit("addSuccess",!0),t.$message.success("导入成功")},2e3)}).catch(function(e){t.processBar=!1,t.$refs.upload.clearFiles()})},uploadFile:function(){this.$refs.upload.submit()}}},"data-v-9ed10f50",!1,void 0,!1,void 0,void 0,void 0));t.default=y}}); |