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

2 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2fd253c9"],{"333d":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticStyle:{"margin-top":"20px",display:"flex","flex-direction":"row-reverse"}},[a("el-pagination",{attrs:{background:"","hide-on-single-page":"",layout:"total, prev, pager, next, jumper","current-page":e.currentPage,"page-size":e.size,total:e.total},on:{"current-change":e.handleCurrentChange}})],1)},r=[],i=(a("a9e3"),{props:{currentPage:{type:Number,default:1},size:{type:Number,default:10},total:{type:Number,default:0}},data:function(){return{}},methods:{handleCurrentChange:function(e){this.$emit("currentChange",e)}}}),l=i,o=a("2877"),s=Object(o["a"])(l,n,r,!1,null,null,null);t["a"]=s.exports},"7a45":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"container"},[a("el-tabs",{on:{"tab-click":e.handleClick},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"新预约",name:"first"}}),a("el-tab-pane",{attrs:{label:"已处理",name:"second"}})],1),a("div",{staticClass:"toolbar"},[a("div",[a("el-input",{attrs:{placeholder:"请输入关键字",size:"small"},model:{value:e.searchValue,callback:function(t){e.searchValue=t},expression:"searchValue"}}),a("el-button",{staticStyle:{"margin-left":"5px"},attrs:{size:"small"},on:{click:e.searchFn}},[e._v("查询")])],1)]),a("el-table",{attrs:{data:e.userSubscribeList,size:"medium","empty-text":"暂无数据",border:""}},[a("el-table-column",{attrs:{align:"center",prop:"applyDate",label:"预约申请日期","min-width":"130"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e.getTimes(t.row.applyDate)))])]}}])}),a("el-table-column",{attrs:{align:"center",prop:"contract",label:"联系人","min-width":"100","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",prop:"name",label:"预约景点","min-width":"100","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",prop:"heads",label:"预约人数","min-width":"90"}}),a("el-table-column",{attrs:{align:"center",prop:"mobile",label:"手机号","min-width":"110","show-overflow-tooltip":""}}),a("el-table-column",{attrs:{align:"center",prop:"destDate",label:"预约日期","min-width":"130"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e.getTimes(t.row.destDate)))])]}}])}),a("el-table-column",{attrs:{align:"center",prop:"destTime",label:"预约时间点","min-width":"100"}}),a("el-table-column",{attrs:{align:"center",prop:"notes",label:"预约备注","min-width":"150","show-overflow-tooltip":""}}),1===e.isDeal?a("el-table-column",{attrs:{align:"center",prop:"replyTime",label:"处理日期","min-width":"130"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v(e._s(e.getTimes(t.row.replyTime)))])]}}],null,!1,3298596519)}):e._e(),1===e.isDeal?a("el-table-column",{attrs:{align:"center",prop:"reply",label:"处理备注","min-width":"100","show-overflow-tooltip":""}}):e._e(),a("el-table-column",{attrs:{align:"center",label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[1===e.isDeal?a("div",[a("el-popconfirm",{attrs:{title:"您确定要删除吗?"},on:{onConfirm:function(a){return e.deleteFn(t.row.userSubscribeId)}}},[a("el-link",{attrs:{slot:"reference",underline:!1,type:"danger"},slot:"reference"},[e._v("删除")])],1)],1):0===e.isDeal?a("div",[a("el-link",{attrs:{underline:!1,type:"primary"},on:{click:function(a){return e.handling(t.row)}}},[e._v("处理")])],1):e._e()]}}])})],1),a("Pagination",{attrs:{currentPage:e.currentPage,size:e.size,total:e.total},on:{currentChange:e.currentChange}}),a("el-dialog",{attrs:{title:"处理预约",visible:e.dialogFormVisible,width:"500px"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{staticClass:"form",attrs:{"label-width":"80px",model:e.form,size:"small"}},[a("el-form-item",{attrs:{label:"处理备注"}},[a("el