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
14 KiB

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