import y from"./list.fec92f9b.js";import b from"./edit.8ac00cc9.js";import I from"./order.8bae4029.js";import g from"./classify.b3300f53.js";import{_ as v,c,e as l,f as w,g as p,h as s,i as d,k as _,A as m,m as a}from"./index.0308b213.js";import"./goods.c7e6e6a2.js";import"./TEditor.fed75c12.js";import"./index.esm.3fe50213.js";import"./index.dfdc0704.js";import"./index.vue_vue_type_style_index_0_scoped_f00ed21d_lang.2c48f49b.js";import"./vuedraggable.umd.405b1bec.js";import"./index.35b8c9ab.js";import"./index.9e8820cd.js";import"./sort_out.2008c10d.js";const T={components:{ticketList:y,ticketEdit:b,order:I,classify:g},data(){return{dialogTableVisible:!1,formLabelWidth:"150px",info:{appid:"",appSecret:""},rules:{appid:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u7A0B\u5E8Fappid",trigger:"blur"}]},checkIndex:"1"}},methods:{checkItem(i){this.checkIndex=i},add(){this.checkIndex="3"},goHome(){let i=window.location.origin+window.location.pathname;window.open(`${i}#/index`)},switchTab(i){this.checkIndex=i}}},V={class:"flex ticket"},C={class:"w100p"},S={class:"content_header color-gray flex align-center fz18 p-10"},B=a("\u95E8\u7968\u5206\u7C7B"),N=a("\u95E8\u7968\u5217\u8868"),E=a("\u95E8\u7968\u7F16\u8F91"),L=a("\u95E8\u7968\u8BA2\u5355"),U={class:"content p-10"},q={class:"box"},z=a("\u6DFB\u52A0");function A(i,e,H,W,t,o){const r=c("el-button"),k=c("classify"),h=c("ticket-list"),u=c("ticket-edit"),f=c("order"),x=c("el-dialog");return l(),w("div",V,[p("div",C,[p("div",S,[s(r,{onClick:e[0]||(e[0]=n=>o.checkItem("1")),type:t.checkIndex==="1"?"primary":""},{default:d(()=>[B]),_:1},8,["type"]),s(r,{onClick:e[1]||(e[1]=n=>o.checkItem("2")),type:t.checkIndex==="2"?"primary":""},{default:d(()=>[N]),_:1},8,["type"]),s(r,{onClick:e[2]||(e[2]=n=>o.checkItem("3")),type:t.checkIndex==="3"?"primary":""},{default:d(()=>[E]),_:1},8,["type"]),s(r,{onClick:e[3]||(e[3]=n=>o.checkItem("4")),type:t.checkIndex==="4"?"primary":""},{default:d(()=>[L]),_:1},8,["type"])]),p("div",U,[p("div",q,[t.checkIndex==="1"?(l(),_(k,{key:0})):m("",!0),t.checkIndex==="2"?(l(),_(h,{key:1,onSwitchTab:o.switchTab},{add:d(()=>[p("div",null,[s(r,{onClick:e[4]||(e[4]=n=>o.add(0)),type:"primary"},{default:d(()=>[z]),_:1})])]),_:1},8,["onSwitchTab"])):m("",!0),t.checkIndex==="3"?(l(),_(u,{key:2,onSwitchTab:o.switchTab},null,8,["onSwitchTab"])):m("",!0),t.checkIndex==="4"?(l(),_(f,{key:3})):m("",!0)])])]),s(x,{draggable:"",title:"\u8BE6\u60C5",modelValue:t.dialogTableVisible,"onUpdate:modelValue":e[5]||(e[5]=n=>t.dialogTableVisible=n)},null,8,["modelValue"])])}const $=v(T,[["render",A],["__scopeId","data-v-896d601b"]]);export{$ as default};
