mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-10 00:40:30 +08:00
0c56a3e599
Made-with: Cursor Former-commit-id: 571c9a99ee26d90505e550c287eb8ad8d743ff8d
1 line
5.3 KiB
JavaScript
1 line
5.3 KiB
JavaScript
webpackJsonp([95],{dzBD:function(e,t,a){var r=a("qNNn");"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);a("rjj0")("5b85abbb",r,!0)},pV41:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a("Xxa5"),n=a.n(r),o=a("exGp"),s=a.n(o),l=a("woOf"),i=a.n(l),c=a("yfAY"),u=a("vMX1"),p=a("lGPi"),d=[],h={data:function(){return{total:0,tableData:[],tableLoading:!1,searchForm:{personName:null,personCode:null,orgId:null,extractStatus:null,engineModelVersion:null,pageSize:10,currentPage:1}}},created:function(){var e=this;this.fetchOptions().then(function(t){e.searchAll()})},filters:{status:function(e){var t="";return d.some(function(a){if(a.value===e)return t=a.label,!0}),t}},methods:{init:function(){var e=this.$route.query,t=(e.groupName,e.success),a=e.groupId;i()(this.searchForm,{groupId:a,extractStatus:1==t?2:3})},searchAll:function(){this.fetchData()},fetchOptions:function(){var e=this;return s()(n.a.mark(function t(){var a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.b.modeType();case 2:a=t.sent,e.modeTypes=a,d=a,e.init();case 6:case"end":return t.stop()}},t,e)}))()},fetchData:function(){var e=this;this.tableLoading=!0,p.c.list(this.searchForm).then(function(t){setTimeout(function(){e.tableData=t.data,e.total=t.total,e.tableLoading=!1},500)}).catch(function(t){e.tableLoading=!1})},handleReset:function(){this.$refs.queryForm.resetFields(),this.fetchData()},handleQuery:function(){this.searchForm.currentPage=1,this.searchAll()}},components:{searchPage:u.a}},m={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("el-card",{attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[e._v("人员入库 - "+e._s(e.$route.query.groupName))]),e._v(" "),a("search-page",{attrs:{pageSize:e.searchForm.pageSize,pageNum:e.searchForm.currentPage,total:e.total,limit:""},on:{"update:pageSize":function(t){return e.$set(e.searchForm,"pageSize",t)},"update:page-size":function(t){return e.$set(e.searchForm,"pageSize",t)},"update:pageNum":function(t){return e.$set(e.searchForm,"currentPage",t)},"update:page-num":function(t){return e.$set(e.searchForm,"currentPage",t)},change:e.fetchData}},[a("el-form",{ref:"queryForm",staticStyle:{"margin-top":"20px"},attrs:{inline:!0,"label-width":"70px",model:e.searchForm}},[a("el-form-item",{attrs:{label:"建模状态",prop:"extractStatus"}},[a("el-select",{staticStyle:{width:"185px"},model:{value:e.searchForm.extractStatus,callback:function(t){e.$set(e.searchForm,"extractStatus",t)},expression:"searchForm.extractStatus"}},e._l(e.modeTypes,function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})}),1)],1),e._v(" "),4!==e.searchForm.extractStatus?a("el-form-item",{attrs:{label:"姓名",prop:"personName"}},[a("el-input",{attrs:{placeholder:"姓名"},model:{value:e.searchForm.personName,callback:function(t){e.$set(e.searchForm,"personName","string"==typeof t?t.trim():t)},expression:"searchForm.personName"}})],1):e._e(),e._v(" "),4!==e.searchForm.extractStatus?a("el-form-item",{attrs:{label:"人员编号",prop:"personCode"}},[a("el-input",{attrs:{placeholder:"编号"},model:{value:e.searchForm.personCode,callback:function(t){e.$set(e.searchForm,"personCode","string"==typeof t?t.trim():t)},expression:"searchForm.personCode"}})],1):e._e(),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"warning"},on:{click:e.handleQuery}},[e._v("查询")]),e._v(" "),a("el-button",{on:{click:e.handleReset}},[e._v("重置")])],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.tableLoading,expression:"tableLoading"}],staticClass:"table_expand",staticStyle:{"margin-top":"20px"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"personName",label:"姓名"}}),e._v(" "),a("el-table-column",{attrs:{prop:"personCode","show-overflow-tooltip":"",label:"人员编号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"imagePath",label:"人员图片"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("show-img",{attrs:{title:"人员图片",img:e.row.imagePath}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"imagePath",label:"建模状态"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v(e._s(e._f("status")(a.extractStatus)))]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"imageRemark","show-overflow-tooltip":"",label:"失败原因"}})],1)],1)],1)],1)},staticRenderFns:[]};var f=a("VU/8")(h,m,!1,function(e){a("dzBD")},"data-v-33d12876",null);t.default=f.exports},qNNn:function(e,t,a){(e.exports=a("FZ+f")(!1)).push([e.i,"\n.left[data-v-33d12876] {\n display: inline-block;\n margin-right: 20px;\n position: absolute;\n right: 110px;\n}\n.progress p.title[data-v-33d12876] {\n color: #2c2d2f;\n font-weight: bold;\n font-size: 14px;\n}\n.progress p[data-v-33d12876] {\n font-size: 12px;\n line-height: 20px;\n height: 20px;\n}\n.progress .percent[data-v-33d12876] {\n border-radius: 0;\n margin-bottom: 10px;\n}\n.progress .percent[data-v-33d12876] .el-progress-bar__outer {\n border-radius: 0;\n border: 1px solid #e4e6e9;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n background-color: #fff;\n height: 70px !important;\n}\n.progress .percent[data-v-33d12876] .el-progress-bar__inner {\n border-radius: 0;\n}\n",""])}}); |