You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
13 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4acd0a5c"],{"0420":function(t,e,o){"use strict";o("b806")},2439:function(t,o,n){"use strict";n.r(o);var i=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"content_box"},[o("div",{staticClass:"content_box_header"},[o("div",{staticClass:"content_box_header_title"},[t._v(" 借阅 ")]),o("div",{staticClass:"content_box_header_back",on:{click:t.back}},[o("img",{attrs:{src:n("c1a8")}}),o("span",{staticClass:"content_box_header_back_text"},[t._v(" 返回 ")])])]),o("div",{staticClass:"content_box_body"},[o("div",{staticClass:"content_box_body_steps"},t._l(t.listSteps,(function(e,n){return o("div",{staticClass:"content_box_body_steps_item ",class:{content_box_body_steps_item_on:e.step==t.step}},[o("span",[t._v(t._s(e.name))]),e.step==t.step?o("span",{staticStyle:{"margin-left":"10px"}},[t._v(">")]):t._e()])})),0),1==t.step?o("div",{staticStyle:{width:"100%"},attrs:{id:"section1"}},[o("div",{staticClass:"content_box_body_select"},t._l(t.listDepts,(function(e,i){return o("div",{key:i,staticClass:"content_box_body_select_box"},[o("div",{staticClass:"content_box_body_select_box_header",staticStyle:{cursor:"pointer"},on:{click:function(o){return t.tabdept(e)}}},[o("div",{staticClass:"content_box_body_select_box_header_left"},[o("img",{attrs:{src:n("e968")}}),o("span",[t._v(t._s(e.name))])]),o("div",{staticClass:"content_box_body_select_box_header_right"},[o("span",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"item.show"}],staticStyle:{"margin-left":"10px","font-size":"18px"}},[t._v(">")]),o("span",{directives:[{name:"show",rawName:"v-show",value:!e.show,expression:"!item.show"}],staticStyle:{"margin-left":"10px","font-size":"18px",transform:"rotate(0deg)"}},[t._v(">")])])]),o("el-collapse-transition",[o("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"item.show"}],staticClass:"content_box_body_select_box_items"},t._l(e.user,(function(e,n){return o("div",{staticClass:"content_box_body_select_box_item",class:{content_box_body_select_box_item_on:1==e.on},on:{click:function(o){return t.toSelectuser(e)}}},[t._v(" "+t._s(e.name)+" ")])})),0)])],1)})),0)]):2==t.step?o("transition",{attrs:{name:"el-fade-in"}},[o("div",{staticStyle:{width:"100%"},attrs:{id:"section2"}},[o("div",{staticClass:"content_box_body_search"},[o("span",[t._v("* 书籍编号")]),o("el-input",{ref:"inputNo",staticClass:"content_box_body_search_no",attrs:{autofocus:"",placeholder:"请扫描条形码"},on:{change:t.checkBookBorrow},model:{value:t.form.no,callback:function(e){t.$set(t.form,"no",e)},expression:"form.no"}})],1),o("div",{staticClass:"content_box_body_table"},[o("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"40vh"}},[o("el-table-column",{attrs:{type:"index",label:"序号",align:"center",width:"80"}}),o("el-table-column",{attrs:{prop:"name",label:"书名",align:"center"}}),o("el-table-column",{attrs:{prop:"author",label:"作者",align:"center",width:"120"}}),o("el-table-column",{attrs:{prop:"publish_date",label:"出版时间",align:"center",width:"120"}}),o("el-table-column",{attrs:{prop:"publish_house",label:"出版社",align:"center",width:"200"}}),o("el-table-column",{attrs:{prop:"bind_way",label:"装订方式",align:"center",width:"120"}}),o("el-table-column",{attrs:{prop:"op",label:"操作",align:"center",width:"120"},scopedSlots:t._u([{key:"default",fn:function(e){return[o("el-button",{attrs:{type:"danger",size:"medium",plain:""},on:{click:function(o){return t.del(e.$index)}}},[t._v("删除")])]}}])})],1),o("div",{staticClass:"content_box_body_table_footer",on:{click:t.toBorrow}},[o("div",{staticClass:"content_box_body_table_footer_btn"},[t._v(" 确定借阅 ")])])],1)])]):3==t.step?o("div",{staticStyle:{width:"100%"},attrs:{id:"section3"}},[o("el-result",{attrs:{icon:"success",title:"借阅成功",subTitle:"请及时归还图书"}},[o("template",{slot:"extra"},[o("div",{staticClass:"content_box_body_table_footer",on:{click:t.back}},[o("div",{staticClass:"content_box_body_table_foote