\n
\n 统计规则:
\n '.concat(i,'\n
\n
\n 验证方式:
\n ').concat(s,"\n
\n
"),n,{dangerouslyUseHTMLString:!0,confirmButtonText:"确定",customClass:"stats-metadata-dialog"})}}}},h=f,y=(a("1439"),a("2877")),v=Object(y["a"])(h,i,s,!1,null,"787bd821",null);t["default"]=v.exports},ad38:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("xy-dialog",{ref:"dialog",attrs:{width:70,"is-show":e.isShow,type:"form",title:"add"===e.type?"新增跟班学员逻辑":"编辑跟班学员逻辑",form:e.form,rules:e.rules},on:{"update:isShow":function(t){e.isShow=t},"update:is-show":function(t){e.isShow=t},submit:e.submit},scopedSlots:e._u([{key:"name",fn:function(){return[a("div",{staticClass:"xy-table-item"},[a("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[a("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}},[e._v("*")]),e._v("标题: ")]),a("div",{staticClass:"xy-table-item-content"},[a("el-input",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入标题",clearable:""},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1)])]},proxy:!0},{key:"start_date",fn:function(){return[a("div",{staticClass:"xy-table-item"},[a("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[a("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}},[e._v("*")]),e._v("开始日期: ")]),a("div",{staticClass:"xy-table-item-content"},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"请选择开始日期","value-format":"yyyy-MM-dd"},model:{value:e.form.start_date,callback:function(t){e.$set(e.form,"start_date",t)},expression:"form.start_date"}})],1)])]},proxy:!0},{key:"end_date",fn:function(){return[a("div",{staticClass:"xy-table-item"},[a("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[a("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}},[e._v("*")]),e._v("结束日期: ")]),a("div",{staticClass:"xy-table-item-content"},[a("el-date-picker",{staticStyle:{width:"100%"},attrs:{type:"date",placeholder:"请选择结束日期","value-format":"yyyy-MM-dd"},model:{value:e.form.end_date,callback:function(t){e.$set(e.form,"end_date",t)},expression:"form.end_date"}})],1)])]},proxy:!0},{key:"total",fn:function(){return[a("div",{staticClass:"xy-table-item"},[a("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[a("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}},[e._v("*")]),e._v("加减数据: ")]),a("div",{staticClass:"xy-table-item-content"},[a("el-input-number",{staticStyle:{width:"100%"},attrs:{placeholder:"请输入加减数据(正数表示加,负数表示减)",precision:0},model:{value:e.form.total,callback:function(t){e.$set(e.form,"total",t)},expression:"form.total"}}),a("div",{staticStyle:{"margin-top":"5px",color:"#909399","font-size":"12px"}},[e._v(" 提示:正数表示增加,负数表示减少 ")])],1)])]},proxy:!0},{key:"remark",fn:function(){return[a("div",{staticClass:"xy-table-item"},[a("div",{staticClass:"xy-table-item-label",staticStyle:{"font-weight":"bold"}},[a("span",{staticStyle:{color:"red","font-weight":"bold","padding-right":"4px"}}),e._v("备注: ")]),a("div",{staticClass:"xy-table-item-content"},[a("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",rows:4,placeholder:"请输入备注",clearable:""},model:{value:e.form.remark,callback:function(t){e.$set(e.form,"remark",t)},expression:"form.remark"}})],1)])]},proxy:!0}])})],1)},s=[],n=(a("b0c0"),a("6c36")),o={components:{},data:function(){return{isShow:!1,type:"add",id:"",form:{name:"",start_date:"",end_date:"",total:0,remark:""},rules:{name:[{required:!0,message:"请输入标题"}],start_date:[{required:!0,message:"请选择开始日期"}],end_date:[{required:!0,message:"请选择结束日期"}],total:[{required:!0,message:"请输入加减数据"}]}}},created:function(){},methods:{submit:function(){var e=this;this.form.start_date&&this.form.end_date&&new Date(this.form.end_date)