提交 f6867fbe 编写于 作者: 刘英杰's avatar 刘英杰

v20240202 更新系统配置 富文本框

上级 f57ff512
[data-v-993a7c66] .ivu-divider-horizontal{display:block;height:0;width:100%;min-width:100%;margin:24px 0;clear:both}.demo-drawer-profile[data-v-993a7c66]{font-size:14px}.demo-drawer-profile .ivu-col[data-v-993a7c66]{margin-bottom:12px}[data-v-993a7c66] .ivu-card-body{padding:10px 10px 20px 10px}[data-v-993a7c66].table{border-left:10px solid #fff;border-right:10px solid #fff;width:100%}.HeaderCard[data-v-993a7c66]{border-bottom-color:#f5efea;border-bottom-left-radius:0;border-bottom-right-radius:0;border:none;white-space:nowrap;border-top-left-radius:.5em;border-top-right-radius:.5em}.letf_bottom_border[data-v-993a7c66]{border-top-right-radius:0;border-color:#d5c4b9}.letf_bottom_border[data-v-993a7c66],.right_bottom_border[data-v-993a7c66]{border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:#f5efea;color:#574f44;box-shadow:0 0 0 0 transparent}.right_bottom_border[data-v-993a7c66]{border-top-left-radius:0;border-color:#d5c4b9}.center_bottom_border[data-v-993a7c66]{border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:0;background-color:#f5efea;border-color:#d5c4b9;color:#574f44;box-shadow:0 0 0 0 transparent}[data-v-993a7c66] .ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f4efea}[data-v-993a7c66] .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#f9f3ef;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-color:#d5c4b9}[data-v-993a7c66] .ivu-input::-webkit-input-placeholder{color:#d5c4b9}[data-v-993a7c66] .ivu-input::-moz-placeholder{color:#d5c4b9}[data-v-993a7c66] .ivu-input::-ms-input-placeholder{color:#d5c4b9}.FooterCard[data-v-993a7c66]{border-bottom-color:#f5efea;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em;border:none;white-space:nowrap;height:100px;padding:15px 0 0 0}.FooterCard[data-v-993a7c66]:hover{box-shadow:0 0 0 0 transparent}[data-v-993a7c66] .ivu-page-next{border:1.5px solid #f5efea}.ivu-page-item-jump-next[data-v-993a7c66],.ivu-page-item-jump-prev[data-v-993a7c66],.ivu-page-next[data-v-993a7c66],[data-v-993a7c66] .ivu-page-prev{color:#666;transition:all .2s ease-in-out}.ivu-page-item-jump-next[data-v-993a7c66],.ivu-page-item-jump-prev[data-v-993a7c66],.ivu-page-next[data-v-993a7c66],[data-v-993a7c66] .ivu-page-item,[data-v-993a7c66] .ivu-page-prev{display:inline-block;vertical-align:middle;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;font-family:Arial;border:1.5px solid #f5efea;border-radius:4px}[data-v-993a7c66] .ivu-page-item{margin-right:4px;background-color:#fff;font-weight:500;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-993a7c66] .ivu-page-item:first-child{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#dc0d0d;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1.5px solid #f5efea;border-radius:4px;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-993a7c66] .ivu-select-selection{display:block;box-sizing:border-box;outline:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1.5px solid #f5efea;transition:all .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}[data-v-993a7c66] .ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1.5px solid #f5efea;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}[data-v-993a7c66] .ivu-table td{min-width:0;height:48px;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1.5px solid #f5efea}[data-v-993a7c66] .ivu-table:before{content:"";width:100%;height:1px;position:absolute;left:0;bottom:0;background-color:#f5efea;z-index:4} [data-v-494a6a82] .ivu-divider-horizontal{display:block;height:0;width:100%;min-width:100%;margin:24px 0;clear:both}.demo-drawer-profile[data-v-494a6a82]{font-size:14px}.demo-drawer-profile .ivu-col[data-v-494a6a82]{margin-bottom:12px}[data-v-494a6a82] .ivu-card-body{padding:10px 10px 20px 10px}[data-v-494a6a82].table{border-left:10px solid #fff;border-right:10px solid #fff;width:100%}.HeaderCard[data-v-494a6a82]{border-bottom-color:#f5efea;border-bottom-left-radius:0;border-bottom-right-radius:0;border:none;white-space:nowrap;border-top-left-radius:.5em;border-top-right-radius:.5em}.letf_bottom_border[data-v-494a6a82]{border-top-right-radius:0;border-color:#d5c4b9}.letf_bottom_border[data-v-494a6a82],.right_bottom_border[data-v-494a6a82]{border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:#f5efea;color:#574f44;box-shadow:0 0 0 0 transparent}.right_bottom_border[data-v-494a6a82]{border-top-left-radius:0;border-color:#d5c4b9}.center_bottom_border[data-v-494a6a82]{border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-bottom-left-radius:0;background-color:#f5efea;border-color:#d5c4b9;color:#574f44;box-shadow:0 0 0 0 transparent}[data-v-494a6a82] .ivu-table th{height:40px;white-space:nowrap;overflow:hidden;background-color:#f4efea}[data-v-494a6a82] .ivu-input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1px solid #dcdee2;border-radius:4px;color:#515a6e;background-color:#f9f3ef;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-color:#d5c4b9}[data-v-494a6a82] .ivu-input::-webkit-input-placeholder{color:#d5c4b9}[data-v-494a6a82] .ivu-input::-moz-placeholder{color:#d5c4b9}[data-v-494a6a82] .ivu-input::-ms-input-placeholder{color:#d5c4b9}.FooterCard[data-v-494a6a82]{border-bottom-color:#f5efea;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em;border:none;white-space:nowrap;height:100px;padding:15px 0 0 0}.FooterCard[data-v-494a6a82]:hover{box-shadow:0 0 0 0 transparent}[data-v-494a6a82] .ivu-page-next{border:1.5px solid #f5efea}.ivu-page-item-jump-next[data-v-494a6a82],.ivu-page-item-jump-prev[data-v-494a6a82],.ivu-page-next[data-v-494a6a82],[data-v-494a6a82] .ivu-page-prev{color:#666;transition:all .2s ease-in-out}.ivu-page-item-jump-next[data-v-494a6a82],.ivu-page-item-jump-prev[data-v-494a6a82],.ivu-page-next[data-v-494a6a82],[data-v-494a6a82] .ivu-page-item,[data-v-494a6a82] .ivu-page-prev{display:inline-block;vertical-align:middle;user-select:none;min-width:32px;height:32px;line-height:30px;list-style:none;text-align:center;cursor:pointer;font-family:Arial;border:1.5px solid #f5efea;border-radius:4px}[data-v-494a6a82] .ivu-page-item{margin-right:4px;background-color:#fff;font-weight:500;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-494a6a82] .ivu-page-item:first-child{display:inline-block;vertical-align:middle;min-width:32px;height:32px;line-height:30px;margin-right:4px;text-align:center;list-style:none;background-color:#dc0d0d;user-select:none;cursor:pointer;font-family:Arial;font-weight:500;border:1.5px solid #f5efea;border-radius:4px;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out!important}[data-v-494a6a82] .ivu-select-selection{display:block;box-sizing:border-box;outline:none;user-select:none;cursor:pointer;position:relative;background-color:#fff;border-radius:4px;border:1.5px solid #f5efea;transition:all .2s ease-in-out;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out}[data-v-494a6a82] .ivu-page-options-elevator input{display:inline-block;width:100%;height:32px;line-height:1.5;padding:4px 7px;font-size:14px;border:1.5px solid #f5efea;color:#515a6e;background-color:#fff;background-image:none;position:relative;cursor:text;transition:border .2s ease-in-out,background .2s ease-in-out,box-shadow .2s ease-in-out;border-radius:4px;margin:0 8px;width:50px}[data-v-494a6a82] .ivu-table td{min-width:0;height:48px;box-sizing:border-box;text-align:left;text-overflow:ellipsis;vertical-align:middle;border-bottom:1.5px solid #f5efea}[data-v-494a6a82] .ivu-table:before{content:"";width:100%;height:1px;position:absolute;left:0;bottom:0;background-color:#f5efea;z-index:4}
\ No newline at end of file \ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>琼台博物馆预约系统</title><link href=css/chunk-vendors.663a2580.css rel=stylesheet><link href=css/app.7994a66a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 琼台博物馆预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.e485a7b3.js></script><script src=js/app.ac26001e.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"><link rel="shortcut icon" href=favicon.ico><title>琼台博物馆预约系统</title><link href=css/chunk-vendors.663a2580.css rel=stylesheet><link href=css/app.7994a66a.css rel=stylesheet></head><body><script src=/a/manager/identify/identify.js></script><noscript><strong>请开启 JavaScript 功能来使用 琼台博物馆预约系统。</strong></noscript><div id=app></div><script src=js/chunk-vendors.e485a7b3.js></script><script src=js/app.bc43a21d.js></script></body></html>
\ No newline at end of file \ No newline at end of file
因为 它太大了无法显示 源差异 。您可以改为 查看blob。
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-202ad2ae"],{2903:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"HeaderCard",staticStyle:{width:"100%"},attrs:{"dis-hover":""}},[a("div",{staticStyle:{"padding-bottom":"7px"}},[a("Button",{staticClass:"center_bottom_border",style:t.ButColor6,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=6,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("预约("+t._s(this.UseCode.appointment_count)+")")]),a("Button",{staticClass:"center_bottom_border",style:t.ButColor3,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=3,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("预约过期("+t._s(this.UseCode.Expired)+")")]),a("Button",{staticClass:"center_bottom_border",style:t.ButColor4,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=4,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("预约变更("+t._s(this.UseCode.changeCount)+")")]),a("Button",{staticClass:"right_bottom_border",style:t.ButColor0,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=5,"",t.StateTransformInitializePageIndexMiddle=1),t.AloneButControl(),t.currentPage(1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("汇总("+t._s(this.UseCode.ResultSum)+")")]),a("div",{staticStyle:{display:"flex","flex-flow":"row nowrap","justify-content":"center","align-content":"center",float:"right"}},[a("Input",{staticStyle:{width:"35vh"},attrs:{placeholder:"可按照名字、证件照查找..."},model:{value:t.SearchValue,callback:function(e){t.SearchValue=e},expression:"SearchValue"}}),a("Button",{staticStyle:{"margin-left":"1vh","background-color":"#d89a7c","border-color":"#d89a7c"},attrs:{type:"primary"},on:{click:function(e){return t.SearchValueAction()}}},[t._v("查找")])],1)],1),a("div",{staticStyle:{border:"none",height:"2px","background-color":"#f4efea"}})]),a("Table",{ref:"selection",staticClass:"table",attrs:{loading:t.lod,border:!1,columns:t.columns,data:t.data},scopedSlots:t._u([{key:"change_remark",fn:function(e){var a=e.row;return[t._v("\n "+t._s(a.change_remark)+"\n ")]}},{key:"employ_state",fn:function(e){var a=e.row;return[t._v("\n "+t._s(["已取消","待使用","已使用","预约变更","预约过期"][Number(a.employ_state)])+"\n ")]}},{key:"action",fn:function(e){var n=e.row,o=e.index;return[a("Button",{staticStyle:{"background-color":"#d89a7c","border-color":"#d89a7c"},attrs:{type:"primary",size:"small"},on:{click:function(e){return t.show(o,n)}}},[t._v("详情")])]}}])}),a("Card",{staticClass:"FooterCard"},[a("Page",{key:t.key,staticStyle:{"border-color":"#d89a7c"},attrs:{"show-total":"",total:t.total,"show-sizer":"","show-elevator":"","page-size":t.page_size,"model-value":t.page_index},on:{"on-change":t.currentPage,"on-page-size-change":t.currentPageCount}})],1),a("Drawer",{attrs:{closable:"",width:"640"},model:{value:t.Details,callback:function(e){t.Details=e},expression:"Details"}},[a("p",{style:t.pStyle},[t._v("详情")]),a("div",{staticStyle:{border:"none","background-color":"#f5efea",height:"1px"}}),t._l(t.Pacemaker,(function(e,n){return a("div",{key:n,staticClass:"demo-drawer-profile"},[a("Row",{staticStyle:{padding:"15px 0px 0px 0px"}},[a("Col",{attrs:{span:"12"}},[t._v("\n 参观人:"+t._s(e.name)+"\n ")]),a("Col",{attrs:{span:"12"}},[t._v("\n 申请时间:"+t._s(e.createtime)+"\n ")])],1),a("Row",[a("Col",{attrs:{span:"12"}},[t._v("\n 预约入馆日期:"+t._s(e.museum_date)+"  "+t._s(1===e.moment?"上午":"下午")+"\n ")]),a("Col",{attrs:{span:"12"}})],1)],1)})),a("Divider"),a("p",{style:t.pStyle},[t._v("同行人员")]),a("div",{staticClass:"demo-drawer-profile"},[a("Table",{attrs:{columns:t.columnsDrawer,data:t.dataDrawer},scopedSlots:t._u([{key:"IdentificationCard",fn:function(e){var a=e.row;return[t._v("\n "+t._s(a.IdentificationCard)+"\n ")]}}])})],1),a("Divider")],2)],1)},o=[],r=(a("c5f6"),a("7f7f"),a("96cf"),a("1da1")),i=(a("ac6a"),a("967e")),s=a.n(i),l=a("00a8"),c={data:function(){return{lod:!1,spliceFlag1:!1,spliceFlag:!1,key:0,pageFlag:!0,StateTransformInitializePageIndexMiddle:1,ButColor0:"",ButColor3:"",ButColor4:"",ButColor2:"",ButColor6:"",ButColor1:"background-color: #d5c4b9 !important;",SearchMiddleVakue:"",page_size:10,page_index:1,total:0,timer:null,timer1:null,UseCode:{Wait_Use:"",Use:"",Expired:"",ResultSum:"",changeCount:"",appointment_count:""},Pacemaker:[],approvalState:6,columnsDrawer:[{title:"姓名",key:"Name"},{title:"身份证",slot:"IdentificationCard"}],dataDrawer:[],pStyle:{fontSize:"16px",color:"rgba(0,0,0,0.85)",lineHeight:"24px",display:"block",marginBottom:"16px"},Details:!1,SearchValue:"",columns:[{title:"序号",key:"SerialNumber",minWidth:80},{title:"姓名",key:"Name",minWidth:100},{title:"同行人数",key:"PeerPeopleNnmber",minWidth:100},{title:"变更理由",slot:"change_remark",minWidth:130},{title:"申请时间",key:"ApplicationTime",minWidth:130},{title:"预约入馆日期",key:"BookAnAdmissionDate",minWidth:130},{title:"操作",slot:"action",width:130}],data:[]}},watch:{page_index:function(t,e){},approvalState:{handler:function(t,e){var a=this;t&&(this.SearchMiddleVakue=null,this.ButColorControl()),4===t&&5===t||this.columns.forEach((function(t,e){"change_remark"===t.slot&&a.columns.splice(e,1)})),4!==t&&5!==t||this.columns.splice(3,0,{title:"变更理由",slot:"change_remark",minWidth:130}),6!==t&&this.columns.forEach((function(t,e){"employ_state"===t.slot&&a.columns.splice(e,1)})),6===t&&this.columns.splice(4,0,{title:"预约状态",slot:"employ_state",minWidth:130})},immediate:!0}},methods:{AloneButControl:function(){this.ButColor0="background-color: #d5c4b9",this.ButColor1="",this.ButColor2="",this.ButColor3="",this.ButColor4="",this.ButColor6=""},ButColorControl:function(){1==this.approvalState?(this.ButColor1="background-color: #d5c4b9 ",this.ButColor2="",this.ButColor3="",this.ButColor0="",this.ButColor4="",this.ButColor6=""):2==this.approvalState?(this.ButColor2="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor3="",this.ButColor0="",this.ButColor4="",this.ButColor6=""):3==this.approvalState?(this.ButColor3="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor2="",this.ButColor0="",this.ButColor4="",this.ButColor6=""):4==this.approvalState?(this.ButColor4="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor2="",this.ButColor0="",this.ButColor3="",this.ButColor6=""):6==this.approvalState&&(this.ButColor6="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor2="",this.ButColor0="",this.ButColor3="",this.ButColor4="")},SearchValueAction:function(){var t=Object(r["a"])(s.a.mark((function t(e){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.SearchMiddleVakue=this.SearchValue,""!==this.SearchMiddleVakue){t.next=5;break}this.$Message["warning"]({background:!0,content:"请输入数据!"}),t.next=9;break;case 5:if(""===this.SearchMiddleVakue){t.next=9;break}return t.next=8,this.WatingUseFun(null,this.SearchMiddleVakue);case 8:t.sent;case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),currentPage:function(t){this.page_index=t,this.WatingUseFun(null,this.SearchMiddleVakue)},currentPageCount:function(t){this.page_size=t,this.WatingUseFun(null,this.SearchMiddleVakue)},IndividualStatusFun:function(){var t=this;Object(l["p"])({type:0}).then((function(e){t.UseCode.Wait_Use=e.response.wait_used_count,t.UseCode.Use=e.response.use_count,t.UseCode.Expired=e.response.exceed_count,t.UseCode.ResultSum=e.response.all_count,t.UseCode.changeCount=e.response.change_count,t.UseCode.appointment_count=e.response.appointment_count}))},show:function(){var t=Object(r["a"])(s.a.mark((function t(e,a){var n,o=this;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dataDrawer=[],this.Pacemaker=[],this.Details=!0,t.next=5,Object(l["A"])({appointmentid:a.appointmentid});case 5:n=t.sent,this.Pacemaker.push(n.response),n.response.users.forEach((function(t,e){o.dataDrawer.push({Name:t.name,IdentificationCard:t.identity_num})})),this.Details=!0;case 9:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),remove:function(t){this.data.splice(t,1)},Allreques:function(){},WatingUseFun:function(){var t=Object(r["a"])(s.a.mark((function t(e,a){var n,o=this;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,this.lod=!0,t.next=4,Object(l["B"])({condition:a,approvalState:this.approvalState,page_index:this.page_index,page_size:this.page_size});case 4:n=t.sent,this.data=[],n.response.data.forEach((function(t,e){o.data.push({SerialNumber:e+1,Name:n.response.data[e].name,IdentificationCard:n.response.data[e].identity_num,PeerPeopleNnmber:n.response.data[e].num,ApplicationTime:n.response.data[e].createtime,BookAnAdmissionDate:1===n.response.data[e].moment?n.response.data[e].museum_date+" 上午":n.response.data[e].museum_date+" 下午",appointmentid:n.response.data[e].appointmentid,change_remark:n.response.data[e].change_remark,employ_state:n.response.data[e].employ_state})})),0===this.data.length&&1!==this.page_index&&this.currentPage(1),this.total=Number(n.response.data_count),this.StateTransformInitializePageIndexMiddle=null,this.lod=!1,t.next=17;break;case 13:t.prev=13,t.t0=t["catch"](0),this.lod=!1,this.$Message.error("请维护系统配置!");case 17:case"end":return t.stop()}}),t,this,[[0,13]])})));function e(e,a){return t.apply(this,arguments)}return e}()},mounted:function(){this.WatingUseFun(this.approvalState),this.IndividualStatusFun()}},u=c,d=(a("8294"),a("2877")),p=Object(d["a"])(u,n,o,!1,null,"494a6a82",null);e["default"]=p.exports},"54df":function(t,e,a){},8294:function(t,e,a){"use strict";a("54df")},aa77:function(t,e,a){var n=a("5ca1"),o=a("be13"),r=a("79e5"),i=a("fdef"),s="["+i+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,a){var o={},s=r((function(){return!!i[t]()||l[t]()!=l})),c=o[t]=s?e(p):i[t];a&&(o[a]=c),n(n.P+n.F*s,"String",o)},p=d.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},c5f6:function(t,e,a){"use strict";var n=a("7726"),o=a("69a8"),r=a("2d95"),i=a("5dbc"),s=a("6a99"),l=a("79e5"),c=a("9093").f,u=a("11e9").f,d=a("86cc").f,p=a("aa77").trim,h="Number",m=n[h],f=m,g=m.prototype,_=r(a("2aeb")(g))==h,C="trim"in String.prototype,v=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=C?e.trim():p(e,3);var a,n,o,r=e.charCodeAt(0);if(43===r||45===r){if(a=e.charCodeAt(2),88===a||120===a)return NaN}else if(48===r){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var i,l=e.slice(2),c=0,u=l.length;c<u;c++)if(i=l.charCodeAt(c),i<48||i>o)return NaN;return parseInt(l,n)}}return+e};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof m&&(_?l((function(){g.valueOf.call(a)})):r(a)!=h)?i(new f(v(e)),a,m):v(e)};for(var k,S=a("9e1e")?c(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;S.length>b;b++)o(f,k=S[b])&&!o(m,k)&&d(m,k,u(f,k));m.prototype=g,g.constructor=m,a("2aba")(n,h,m)}},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b5c5face"],{2903:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Card",{staticClass:"HeaderCard",staticStyle:{width:"100%"},attrs:{"dis-hover":""}},[a("div",{staticStyle:{"padding-bottom":"7px"}},[a("Button",{staticClass:"letf_bottom_border",style:t.ButColor1,on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=1,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("待使用("+t._s(this.UseCode.Wait_Use)+")")]),a("Button",{staticClass:"center_bottom_border",style:t.ButColor2,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=2,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("已使用("+t._s(this.UseCode.Use)+")")]),a("Button",{staticClass:"center_bottom_border",style:t.ButColor3,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=3,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("预约过期("+t._s(this.UseCode.Expired)+")")]),a("Button",{staticClass:"center_bottom_border",style:t.ButColor4,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=4,"",t.StateTransformInitializePageIndexMiddle=1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("预约变更("+t._s(this.UseCode.changeCount)+")")]),a("Button",{staticClass:"right_bottom_border",style:t.ButColor0,attrs:{type:"primary"},on:{click:function(e){t.key++,t.page_index=1,t.page_size=10,t.WatingUseFun(t.approvalState=5,"",t.StateTransformInitializePageIndexMiddle=1),t.AloneButControl(),t.currentPage(1),t.StateTransformInitializePageIndexMiddle=1}}},[t._v("汇总("+t._s(this.UseCode.ResultSum)+")")]),a("div",{staticStyle:{display:"flex","flex-flow":"row nowrap","justify-content":"center","align-content":"center",float:"right"}},[a("Input",{staticStyle:{width:"35vh"},attrs:{placeholder:"可按照名字、证件照查找..."},model:{value:t.SearchValue,callback:function(e){t.SearchValue=e},expression:"SearchValue"}}),a("Button",{staticStyle:{"margin-left":"1vh","background-color":"#d89a7c","border-color":"#d89a7c"},attrs:{type:"primary"},on:{click:function(e){return t.SearchValueAction()}}},[t._v("查找")])],1)],1),a("div",{staticStyle:{border:"none",height:"2px","background-color":"#f4efea"}})]),a("Table",{ref:"selection",staticClass:"table",attrs:{loading:t.lod,border:!1,columns:t.columns,data:t.data},scopedSlots:t._u([{key:"change_remark",fn:function(e){var a=e.row;return[t._v("\n "+t._s(a.change_remark)+"\n ")]}},{key:"action",fn:function(e){var i=e.row,n=e.index;return[a("Button",{staticStyle:{"background-color":"#d89a7c","border-color":"#d89a7c"},attrs:{type:"primary",size:"small"},on:{click:function(e){return t.show(n,i)}}},[t._v("详情")])]}}])}),a("Card",{staticClass:"FooterCard"},[a("Page",{key:t.key,staticStyle:{"border-color":"#d89a7c"},attrs:{"show-total":"",total:t.total,"show-sizer":"","show-elevator":"","page-size":t.page_size,"model-value":t.page_index},on:{"on-change":t.currentPage,"on-page-size-change":t.currentPageCount}})],1),a("Drawer",{attrs:{closable:"",width:"640"},model:{value:t.Details,callback:function(e){t.Details=e},expression:"Details"}},[a("p",{style:t.pStyle},[t._v("详情")]),a("div",{staticStyle:{border:"none","background-color":"#f5efea",height:"1px"}}),t._l(t.Pacemaker,(function(e,i){return a("div",{key:i,staticClass:"demo-drawer-profile"},[a("Row",{staticStyle:{padding:"15px 0px 0px 0px"}},[a("Col",{attrs:{span:"12"}},[t._v("\n 参观人:"+t._s(e.name)+"\n ")]),a("Col",{attrs:{span:"12"}},[t._v("\n 申请时间:"+t._s(e.createtime)+"\n ")])],1),a("Row",[a("Col",{attrs:{span:"12"}},[t._v("\n 预约入馆日期:"+t._s(e.museum_date)+"  "+t._s(1===e.moment?"上午":"下午")+"\n ")]),a("Col",{attrs:{span:"12"}})],1)],1)})),a("Divider"),a("p",{style:t.pStyle},[t._v("同行人员")]),a("div",{staticClass:"demo-drawer-profile"},[a("Table",{attrs:{columns:t.columnsDrawer,data:t.dataDrawer},scopedSlots:t._u([{key:"IdentificationCard",fn:function(e){var a=e.row;return[t._v("\n "+t._s(a.IdentificationCard)+"\n ")]}}])})],1),a("Divider")],2)],1)},n=[],r=(a("c5f6"),a("7f7f"),a("ac6a"),a("96cf"),a("1da1")),o=a("967e"),s=a.n(o),l=a("00a8"),c={data:function(){return{lod:!1,spliceFlag1:!1,spliceFlag:!1,key:0,pageFlag:!0,StateTransformInitializePageIndexMiddle:1,ButColor0:"",ButColor3:"",ButColor4:"",ButColor2:"",ButColor1:"background-color: #d5c4b9 !important;",SearchMiddleVakue:"",page_size:10,page_index:1,total:0,timer:null,timer1:null,UseCode:{Wait_Use:"",Use:"",Expired:"",ResultSum:"",changeCount:""},Pacemaker:[],approvalState:1,columnsDrawer:[{title:"姓名",key:"Name"},{title:"身份证",slot:"IdentificationCard"}],dataDrawer:[],pStyle:{fontSize:"16px",color:"rgba(0,0,0,0.85)",lineHeight:"24px",display:"block",marginBottom:"16px"},Details:!1,SearchValue:"",columns:[{title:"序号",key:"SerialNumber",minWidth:80},{title:"姓名",key:"Name",minWidth:100},{title:"同行人数",key:"PeerPeopleNnmber",minWidth:100},{title:"变更理由",slot:"change_remark",minWidth:130},{title:"申请时间",key:"ApplicationTime",minWidth:130},{title:"预约入馆日期",key:"BookAnAdmissionDate",minWidth:130},{title:"操作",slot:"action",width:130}],data:[]}},watch:{page_index:function(t,e){},approvalState:{handler:function(t,e){t&&(this.SearchMiddleVakue=null,this.ButColorControl(),console.log(t,"newvalue")),1===t||2===t||3===t?this.spliceFlag||(this.columns.splice(3,1),this.spliceFlag=!this.spliceFlag,this.spliceFlag1=!1):this.spliceFlag1||(this.columns.splice(3,0,{title:"变更理由",slot:"change_remark",minWidth:130}),this.spliceFlag=!1,this.spliceFlag1=!this.spliceFlag1)},immediate:!0}},methods:{AloneButControl:function(){this.ButColor0="background-color: #d5c4b9",this.ButColor1="",this.ButColor2="",this.ButColor3="",this.ButColor4=""},ButColorControl:function(){1==this.approvalState?(this.ButColor1="background-color: #d5c4b9 ",this.ButColor2="",this.ButColor3="",this.ButColor0="",this.ButColor4=""):2==this.approvalState?(this.ButColor2="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor3="",this.ButColor0="",this.ButColor4=""):3==this.approvalState?(this.ButColor3="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor2="",this.ButColor0="",this.ButColor4=""):4==this.approvalState&&(this.ButColor4="background-color: #d5c4b9 ",this.ButColor1="",this.ButColor2="",this.ButColor0="",this.ButColor3="")},SearchValueAction:function(){var t=Object(r["a"])(s.a.mark((function t(e){return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(this.SearchMiddleVakue=this.SearchValue,""!==this.SearchMiddleVakue){t.next=5;break}this.$Message["warning"]({background:!0,content:"请输入数据!"}),t.next=9;break;case 5:if(""===this.SearchMiddleVakue){t.next=9;break}return t.next=8,this.WatingUseFun(null,this.SearchMiddleVakue);case 8:t.sent;case 9:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),currentPage:function(t){this.page_index=t,this.WatingUseFun(null,this.SearchMiddleVakue)},currentPageCount:function(t){this.page_size=t,this.WatingUseFun(null,this.SearchMiddleVakue)},IndividualStatusFun:function(){var t=this;Object(l["p"])({type:0}).then((function(e){t.UseCode.Wait_Use=e.response.wait_used_count,t.UseCode.Use=e.response.use_count,t.UseCode.Expired=e.response.exceed_count,t.UseCode.ResultSum=e.response.all_count,t.UseCode.changeCount=e.response.change_count}))},show:function(){var t=Object(r["a"])(s.a.mark((function t(e,a){var i,n=this;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.dataDrawer=[],this.Pacemaker=[],this.Details=!0,t.next=5,Object(l["A"])({appointmentid:a.appointmentid});case 5:i=t.sent,this.Pacemaker.push(i.response),i.response.users.forEach((function(t,e){n.dataDrawer.push({Name:t.name,IdentificationCard:t.identity_num})})),this.Details=!0;case 9:case"end":return t.stop()}}),t,this)})));function e(e,a){return t.apply(this,arguments)}return e}(),remove:function(t){this.data.splice(t,1)},Allreques:function(){},WatingUseFun:function(){var t=Object(r["a"])(s.a.mark((function t(e,a){var i,n=this;return s.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,this.lod=!0,t.next=4,Object(l["B"])({condition:a,approvalState:this.approvalState,page_index:this.page_index,page_size:this.page_size});case 4:i=t.sent,this.data=[],i.response.data.forEach((function(t,e){n.data.push({SerialNumber:e+1,Name:i.response.data[e].name,IdentificationCard:i.response.data[e].identity_num,PeerPeopleNnmber:i.response.data[e].num,ApplicationTime:i.response.data[e].createtime,BookAnAdmissionDate:1===i.response.data[e].moment?i.response.data[e].museum_date+" 上午":i.response.data[e].museum_date+" 下午",appointmentid:i.response.data[e].appointmentid,change_remark:i.response.data[e].change_remark})})),0===this.data.length&&1!==this.page_index&&this.currentPage(1),this.total=Number(i.response.data_count),this.StateTransformInitializePageIndexMiddle=null,this.lod=!1,t.next=17;break;case 13:t.prev=13,t.t0=t["catch"](0),this.lod=!1,this.$Message.error("请维护系统配置!");case 17:case"end":return t.stop()}}),t,this,[[0,13]])})));function e(e,a){return t.apply(this,arguments)}return e}()},mounted:function(){this.WatingUseFun(this.approvalState),this.IndividualStatusFun()}},u=c,d=(a("4f21"),a("2877")),p=Object(d["a"])(u,i,n,!1,null,"993a7c66",null);e["default"]=p.exports},"4f21":function(t,e,a){"use strict";a("6f63")},"6f63":function(t,e,a){},aa77:function(t,e,a){var i=a("5ca1"),n=a("be13"),r=a("79e5"),o=a("fdef"),s="["+o+"]",l="​…",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),d=function(t,e,a){var n={},s=r((function(){return!!o[t]()||l[t]()!=l})),c=n[t]=s?e(p):o[t];a&&(n[a]=c),i(i.P+i.F*s,"String",n)},p=d.trim=function(t,e){return t=String(n(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=d},c5f6:function(t,e,a){"use strict";var i=a("7726"),n=a("69a8"),r=a("2d95"),o=a("5dbc"),s=a("6a99"),l=a("79e5"),c=a("9093").f,u=a("11e9").f,d=a("86cc").f,p=a("aa77").trim,h="Number",f=i[h],g=f,m=f.prototype,_=r(a("2aeb")(m))==h,C="trim"in String.prototype,v=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){e=C?e.trim():p(e,3);var a,i,n,r=e.charCodeAt(0);if(43===r||45===r){if(a=e.charCodeAt(2),88===a||120===a)return NaN}else if(48===r){switch(e.charCodeAt(1)){case 66:case 98:i=2,n=49;break;case 79:case 111:i=8,n=55;break;default:return+e}for(var o,l=e.slice(2),c=0,u=l.length;c<u;c++)if(o=l.charCodeAt(c),o<48||o>n)return NaN;return parseInt(l,i)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,a=this;return a instanceof f&&(_?l((function(){m.valueOf.call(a)})):r(a)!=h)?o(new g(v(e)),a,f):v(e)};for(var S,k=a("9e1e")?c(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;k.length>b;b++)n(g,S=k[b])&&!n(f,S)&&d(f,S,u(g,S));f.prototype=m,m.constructor=f,a("2aba")(i,h,f)}},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
\ No newline at end of file
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
<div> <div>
<Card style="width:100%" dis-hover class="HeaderCard"> <Card style="width:100%" dis-hover class="HeaderCard">
<div style="padding-bottom: 7px;" > <div style="padding-bottom: 7px;" >
<Button class="letf_bottom_border" :style="ButColor1" @click="key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1">待使用({{this.UseCode.Wait_Use}})</Button> <!-- <Button class="letf_bottom_border" :style="ButColor1" @click="key++,page_index=1,page_size=10,WatingUseFun( approvalState=1,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1">待使用({{this.UseCode.Wait_Use}})</Button>-->
<Button type="primary" :style="ButColor2" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">已使用({{ this.UseCode.Use}})</Button> <!-- <Button type="primary" :style="ButColor2" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=2,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">已使用({{ this.UseCode.Use}})</Button>-->
<Button type="primary" :style="ButColor6" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=6,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1 ">预约({{ this.UseCode.appointment_count}})</Button>
<Button type="primary" :style="ButColor3" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=3,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约过期({{this.UseCode.Expired}})</Button> <Button type="primary" :style="ButColor3" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=3,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约过期({{this.UseCode.Expired}})</Button>
<Button type="primary" :style="ButColor4" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=4,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约变更({{this.UseCode.changeCount}})</Button> <Button type="primary" :style="ButColor4" class="center_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=4,'',StateTransformInitializePageIndexMiddle=1),StateTransformInitializePageIndexMiddle = 1" >预约变更({{this.UseCode.changeCount}})</Button>
<Button type="primary" :style="ButColor0" class="right_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=5,'',StateTransformInitializePageIndexMiddle=1),AloneButControl(),currentPage(1),StateTransformInitializePageIndexMiddle = 1">汇总({{this.UseCode.ResultSum}})</Button> <Button type="primary" :style="ButColor0" class="right_bottom_border" @click="key++,page_index=1,page_size=10,WatingUseFun(approvalState=5,'',StateTransformInitializePageIndexMiddle=1),AloneButControl(),currentPage(1),StateTransformInitializePageIndexMiddle = 1">汇总({{this.UseCode.ResultSum}})</Button>
...@@ -21,6 +23,9 @@ ...@@ -21,6 +23,9 @@
<template #change_remark="{row}" > <template #change_remark="{row}" >
{{ row.change_remark }} {{ row.change_remark }}
</template> </template>
<template #employ_state="{row}" >
{{ ['已取消','待使用','已使用','预约变更','预约过期',][Number(row.employ_state)] }}
</template>
<template #action="{ row, index }"> <template #action="{ row, index }">
<Button type="primary" size="small" style="background-color: #d89a7c;border-color: #d89a7c; " @click="show(index,row)">详情</Button> <Button type="primary" size="small" style="background-color: #d89a7c;border-color: #d89a7c; " @click="show(index,row)">详情</Button>
...@@ -99,6 +104,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -99,6 +104,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
ButColor3:'', ButColor3:'',
ButColor4:'', ButColor4:'',
ButColor2:'', ButColor2:'',
ButColor6:'',
ButColor1:'background-color: #d5c4b9 !important;', // 状态初始化按钮 背景 ButColor1:'background-color: #d5c4b9 !important;', // 状态初始化按钮 背景
SearchMiddleVakue:'',// 搜索框中间值 SearchMiddleVakue:'',// 搜索框中间值
// show_sizer_count:10, //分页 show_sizer 条数 // show_sizer_count:10, //分页 show_sizer 条数
...@@ -113,9 +119,10 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -113,9 +119,10 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
Expired:'', Expired:'',
ResultSum:'', ResultSum:'',
changeCount:'', changeCount:'',
appointment_count:'',
}, },
Pacemaker:[],//详细信息领队人与同行人 Pacemaker:[],//详细信息领队人与同行人
approvalState:1,//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总 approvalState:6,//控制数据列表的初始值 1 带使用 2使用 3 预约过期 ''为汇总
// approvalStates:{ // approvalStates:{
// 1:"待使用", // 1:"待使用",
// 2:"已使用", // 2:"已使用",
...@@ -173,6 +180,12 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -173,6 +180,12 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
key:'PeerPeopleNnmber', key:'PeerPeopleNnmber',
minWidth:100 minWidth:100
}, },
// {
// title: '预约状态',
// slot: 'employ_state',
// minWidth:130,
// },
{ {
title: '变更理由', title: '变更理由',
slot: 'change_remark', slot: 'change_remark',
...@@ -212,29 +225,51 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -212,29 +225,51 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
if (newValue) { if (newValue) {
this.SearchMiddleVakue = null this.SearchMiddleVakue = null
this.ButColorControl() this.ButColorControl()
console.log(newValue, 'newvalue');
} }
// newValue === 1 || newValue === 2 || newValue === 3 // newValue === 1 || newValue === 2 || newValue === 3
if (newValue === 1 || newValue === 2 || newValue === 3) { // if (newValue === 1 || newValue === 2 || newValue === 3) {
if (!this.spliceFlag){ // if (!this.spliceFlag){
this.columns.splice(3, 1) // this.columns.splice(3, 1)
this.spliceFlag = !this.spliceFlag // this.spliceFlag = !this.spliceFlag
this.spliceFlag1 = false // this.spliceFlag1 = false
} // }
}else { // }else {
if (!this.spliceFlag1){ // if (!this.spliceFlag1){
this.columns.splice(3, 0, { // this.columns.splice(3, 0, {
title: '变更理由', // title: '变更理由',
slot: 'change_remark', // slot: 'change_remark',
minWidth:130, // minWidth:130,
},) // },)
this.spliceFlag = false // this.spliceFlag = false
this.spliceFlag1 = !this.spliceFlag1 // this.spliceFlag1 = !this.spliceFlag1
} // }
// }
if (newValue !== 4 ||newValue !== 5) {
this.columns.forEach((cur,index)=>{
if (cur.slot ==='change_remark') this.columns.splice(index,1)
})
} }
if (newValue === 4|| newValue === 5){
this.columns.splice(3, 0, {
title: '变更理由',
slot: 'change_remark',
minWidth:130,
},)
}
if (newValue !== 6){
this.columns.forEach((cur,index)=>{
if (cur.slot ==='employ_state') this.columns.splice(index,1)
})
}
if (newValue === 6){
this.columns.splice(4, 0, {
title: '预约状态',
slot: 'employ_state',
minWidth:130,
},)
}
}, },
immediate: true immediate: true
} }
...@@ -248,6 +283,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -248,6 +283,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = '' this.ButColor2 = ''
this.ButColor3 = '' this.ButColor3 = ''
this.ButColor4 = '' this.ButColor4 = ''
this.ButColor6 =''
}, },
ButColorControl(){ //状态按钮选中背景控制 ButColorControl(){ //状态按钮选中背景控制
// console.log("🚀🚀🚀,",this.page_index) // console.log("🚀🚀🚀,",this.page_index)
...@@ -258,6 +294,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -258,6 +294,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor3 = '' this.ButColor3 = ''
this.ButColor0 = '' this.ButColor0 = ''
this.ButColor4 = '' this.ButColor4 = ''
this.ButColor6 =''
// console.log('approvalState == 1'); // console.log('approvalState == 1');
}else if(this.approvalState == 2 ){ }else if(this.approvalState == 2 ){
...@@ -266,6 +304,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -266,6 +304,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor3 = '' this.ButColor3 = ''
this.ButColor0 = '' this.ButColor0 = ''
this.ButColor4 = '' this.ButColor4 = ''
this.ButColor6 =''
}else if(this.approvalState == 3){ }else if(this.approvalState == 3){
this.ButColor3 = 'background-color: #d5c4b9 ' this.ButColor3 = 'background-color: #d5c4b9 '
...@@ -273,6 +313,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -273,6 +313,8 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = '' this.ButColor2 = ''
this.ButColor0 = '' this.ButColor0 = ''
this.ButColor4 = '' this.ButColor4 = ''
this.ButColor6 =''
} }
else if(this.approvalState == 4){ else if(this.approvalState == 4){
...@@ -281,6 +323,18 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -281,6 +323,18 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.ButColor2 = '' this.ButColor2 = ''
this.ButColor0 = '' this.ButColor0 = ''
this.ButColor3 = '' this.ButColor3 = ''
this.ButColor6 =''
}
else if(this.approvalState == 6){
this.ButColor6 = 'background-color: #d5c4b9 '
this.ButColor1 = ''
this.ButColor2 = ''
this.ButColor0 = ''
this.ButColor3 = ''
this.ButColor4 =''
} }
}, },
async SearchValueAction(SearchValue){ async SearchValueAction(SearchValue){
...@@ -326,6 +380,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -326,6 +380,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
this.UseCode.Expired = res.response.exceed_count this.UseCode.Expired = res.response.exceed_count
this.UseCode.ResultSum = res.response.all_count this.UseCode.ResultSum = res.response.all_count
this.UseCode.changeCount = res.response.change_count this.UseCode.changeCount = res.response.change_count
this.UseCode.appointment_count = res.response.appointment_count
}) })
...@@ -389,6 +444,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin ...@@ -389,6 +444,7 @@ import {WaitingUse,TravelList,IndividualStatus} from "../../api/IndividualBookin
BookAnAdmissionDate:res.response.data[index].moment === 1 ? res.response.data[index].museum_date + ' 上午':res.response.data[index].museum_date + ' 下午', BookAnAdmissionDate:res.response.data[index].moment === 1 ? res.response.data[index].museum_date + ' 上午':res.response.data[index].museum_date + ' 下午',
appointmentid:res.response.data[index].appointmentid, appointmentid:res.response.data[index].appointmentid,
change_remark:res.response.data[index].change_remark, change_remark:res.response.data[index].change_remark,
employ_state:res.response.data[index].employ_state,
}) })
}); });
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或