(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2d0cba66"],{"4b24":function(t,e,a){"use strict";a.r(e);var l=a("6b2d");var r=a("d70b"),n={data:()=>({table:{currentPage:1,pageSizes:[10],total:0,data:null},question:r.a.host+"question"}),methods:{goResult(t){var e=`${r.a.host}/question/Index/pay?sn=${t}#ffbox`;open(e)},delItem(t){var e;(e={id:t},l.a.get("/question.QuestionOrder/detail",{params:e})).then(t=>{1==t.code&&this.getData(10,this.table.currentPage)})},goEdit(t){this.$router.push({path:"/application/order/orderEdit",query:{id:t}})},handleSizeChange(t){},handleCurrentChange(t){this.table.currentPage=t,this.getData(10,this.table.currentPage)},getData(t,e){var a;(a={page:e},l.a.get("/question.QuestionOrder/list",{params:a})).then(t=>{this.table.currentPage=e,this.table.total=t.data.total,this.table.data=t.data.data})},jumpAdd(){this.$router.push({path:"/application/order/orderAdd",query:{}})}},mounted(){this.getData(10,1)}},s=a("2877"),o=Object(s.a)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"ls-card m-b-12"},[a("el-alert",{attrs:{title:"温馨提示：该页面用来管理订单。前台链接:  "+t.question,type:"info","show-icon":"",closable:!1}})],1),a("div",{staticClass:"ls-card",staticStyle:{"min-height":"60vh"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{size:"mini",data:null==t.table.data?[]:t.table.data}},[a("el-table-column",{attrs:{prop:"id",label:"ID"}}),a("el-table-column",{attrs:{prop:"sn",label:"订单编号"}}),a("el-table-column",{attrs:{prop:"user_id",label:"用户ID"}}),a("el-table-column",{attrs:{prop:"transaction_id",label:"交易流水号"}}),a("el-table-column",{attrs:{prop:"pay_way",label:"支付方式"}}),a("el-table-column",{attrs:{prop:"pay_status",label:"支付状态"}}),a("el-table-column",{attrs:{prop:"pay_time",label:"支付时间"}}),a("el-table-column",{attrs:{prop:"ti_type",label:"版本类型"}}),a("el-table-column",{attrs:{prop:"finish_time",label:"完成时间"}}),a("el-table-column",{attrs:{prop:"fromurl",label:"来源地址"}}),a("el-table-column",{attrs:{prop:"order_amount",label:"支付金额"}}),a("el-table-column",{attrs:{prop:"sell_user_id",label:"卖家用户ID"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(a){return t.goResult(e.row.sn)}}},[t._v("结果")]),a("el-button",{staticStyle:{color:"red"},attrs:{type:"text"}},[t._v("删除")])]}}])})],1),a("el-pagination",{attrs:{"current-page":t.table.currentPage,"page-sizes":t.table.pageSizes,"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.table.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)])}),[],!1,null,null,null);e.default=o.exports}}]);