启程易购后端代码
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.
qicheng_shop_backend/public/system/js/chunk-5be271a6.94da72d8.js

1 line
50 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5be271a6"],{2001:function(t,e,a){"use strict";a("34a4")},2147:function(t,e,a){"use strict";a("745b")},"34a4":function(t,e,a){},"63d3":function(t,e,a){},"6ebb":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",{staticClass:"divBox"},[a("div",{staticClass:"selCard"},[a("el-form",{ref:"searchForm",attrs:{model:t.tableFrom,size:"small","label-width":"85px",inline:!0}},[a("el-form-item",{attrs:{label:"活动搜索:",prop:"keyword"}},[a("el-input",{staticClass:"selWidth",attrs:{placeholder:"请输入活动名称/关键字",clearable:""},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList(1)}},model:{value:t.tableFrom.keyword,callback:function(e){t.$set(t.tableFrom,"keyword",e)},expression:"tableFrom.keyword"}})],1),t._v(" "),a("el-form-item",{attrs:{label:"报名状态:",prop:"status"}},[a("el-select",{staticClass:"selWidth",attrs:{placeholder:"请选择",clearable:""},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.status,callback:function(e){t.$set(t.tableFrom,"status",e)},expression:"tableFrom.status"}},[a("el-option",{attrs:{label:"未开始",value:0}}),t._v(" "),a("el-option",{attrs:{label:"进行中",value:1}}),t._v(" "),a("el-option",{attrs:{label:"已结束",value:-1}})],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"关联表单:",prop:"form_id"}},[a("el-select",{staticClass:"selWidth",attrs:{clearable:"",placeholder:"请选择"},on:{change:function(e){return t.getList(1)}},model:{value:t.tableFrom.form_id,callback:function(e){t.$set(t.tableFrom,"form_id",e)},expression:"tableFrom.form_id"}},t._l(t.formList,(function(t){return a("el-option",{key:t.form_id,attrs:{label:t.name,value:t.form_id}})})),1)],1),t._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){return t.getList(1)}}},[t._v("搜索")]),t._v(" "),a("el-button",{attrs:{size:"small"},on:{click:function(e){return t.searchReset()}}},[t._v("重置")])],1)],1)],1),t._v(" "),a("el-card",{staticClass:"mt14"},[a("router-link",{attrs:{to:{path:t.roterPre+"/marketing/application/create"}}},[a("el-button",{staticClass:"mb20",attrs:{size:"small",type:"primary"}},[t._v("创建报名活动")])],1),t._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],attrs:{data:t.tableData.data,size:"small"}},[a("el-table-column",{attrs:{label:"ID",prop:"activity_id","min-width":"50"}}),t._v(" "),a("el-table-column",{attrs:{label:"活动名称",prop:"activity_name","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",label:"封面图"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("el-image",{staticStyle:{width:"36px",height:"36px"},attrs:{src:t.row.pic}})]}}])}),t._v(" "),a("el-table-column",{attrs:{"min-width":"120",label:"分享海报图"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.images,(function(t,e){return a("el-image",{key:e,staticStyle:{width:"36px",height:"36px","margin-right":"5px"},attrs:{src:t}})}))}}])}),t._v(" "),a("el-table-column",{attrs:{label:"报名状态","min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[0==i.time_status?a("el-tag",{attrs:{type:"danger"}},[t._v("未开始")]):t._e(),t._v(" "),1==i.time_status?a("el-tag",[t._v("进行中")]):t._e(),t._v(" "),-1==i.time_status?a("el-tag",{attrs:{type:"info"}},[t._v("已结束")]):t._e()]}}])}),t._v(" "),a("el-table-column",{attrs:{label:"已报人数/总人数",align:"center","min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("span",[t._v(t._s(i.total))]),t._v("/"),a("span",[t._v(t._s(i.count||"不限制"))])]}}])}),t._v(" "),a("el-table-column",{attrs:{prop:"form_name",label:"关联表单","min-width":"100"}}),t._v(" "),a("el-table-column",{attrs:{prop:"create_time",label:"创建时间","min-width":"120"}}),t._v(" "),a("el-table-column",{attrs:{label:"是否显<EFBFBD><EFBFBD>