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
6.9 KiB
1 line
6.9 KiB
2 months ago
|
webpackJsonp([79],{"6FLw":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=a("mvHQ"),s=a.n(o),r=a("Xxa5"),n=a.n(r),l=a("exGp"),i=a.n(l),c=a("Dd8w"),m=a.n(c),u=a("NYxO"),_={data:function(){return{list:{recommend:[{title:"样式一",img:""},{title:"样式二",img:""}],format:[{title:"样式一",img:""},{title:"样式二",img:""}]},showDialog:!1,dialogType:"",subForm:{is_current:1,recommend_style:1,auto_recommend:0,coach_level_show:1,coach_format:1,coach_apply_show:0}}},created:function(){this.getFormInfo()},computed:m()({},Object(u.d)({routesItem:function(t){return t.routes}})),methods:{getFormInfo:function(){var t=this;return i()(n.a.mark(function e(){var a,o,s,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$api.system.configInfo();case 2:if(a=e.sent,o=a.code,s=a.data,200===o){e.next=7;break}return e.abrupt("return");case 7:for(r in t.subForm)t.subForm[r]=s[r];case 8:case"end":return e.stop()}},e,t)}))()},toShowDialog:function(t){this.dialogType=t,this.showDialog=!0},submitForm:function(){var t=this;return i()(n.a.mark(function e(){var a,o;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=!1,t.$refs.subForm.validate(function(t){t&&(a=!0)}),o=JSON.parse(s()(t.subForm)),!a){e.next=7;break}return e.next=6,t.$api.system.configUpdate(o);case 6:t.$message.success(t.$t("tips.successSub"));case 7:case"end":return e.stop()}},e,t)}))()}}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"lb-system-wechat"},[a("top-nav"),t._v(" "),a("div",{staticClass:"page-main"},[a("el-form",{ref:"subForm",staticClass:"config-form",attrs:{model:t.subForm,rules:t.subFormRules,"label-width":"180px"},nativeOn:{submit:function(t){t.preventDefault()}}},[a("el-form-item",{attrs:{label:t.$t("action.attendantName")+"提成计算方式",prop:"is_current"}},[a("el-radio-group",{model:{value:t.subForm.is_current,callback:function(e){t.$set(t.subForm,"is_current",e)},expression:"subForm.is_current"}},[a("div",{staticClass:"pt-md pb-md"},[a("el-radio",{attrs:{label:1}},[t._v("周期结束后,等级和维度数据清零\n "),a("lb-tool-tips",{attrs:{padding:0}},[t._v(t._s(t.$t("action.attendantName"))+"在设置的周期时间内可逐步升级,升级后的每一笔订单按照等级后的等级提成计算\n "),a("div",{staticClass:"mt-sm"},[t._v("\n 周期结束后,"+t._s(t.$t("action.attendantName"))+"在上一周期内累积的所有业绩,服务时长、在线时长、最低业绩、加钟率、积分以及达到的等级全部清零\n ")])])],1)],1),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("周期结束后,只清零维度数据,等级按照上期核算最高等级计算\n "),a("lb-tool-tips",{attrs:{padding:0}},[t._v(t._s(t.$t("action.attendantName"))+"在本周期(T周期)累积的所有业绩,服务时长、在线时长、最低业绩、加钟率、积分,\n "),a("div",{staticClass:"mt-sm mb-sm"},[t._v("\n 在周期结束时将5个维度数据清零,同时核算"+t._s(t.$t("action.attendantName"))+"的5个维度数据满足哪个等级,以最高等级记录,\n ")]),t._v("\n 再下一周期(T+1)按照该等级提成比例计算每一笔订单")])],1)],1)],1),t._v(" "),t.routesItem.auth.recommend?a("block",[a("el-form-item",{attrs:{label:"推荐"+t.$t("action.attendantName")+"样式",prop:"recommend_style"}},[a("el-radio-group",{model:{value:t.subForm.recommend_style,callback:function(e){t.$set(t.subForm,"recommend_style",e)},expression:"subForm.recommend_style"}},[a("el-radio",{attrs:{label:1}},[t._v("样式一")]),t._v(" "),a("el-radio",{attrs:{label:2}},[t._v("样式二")])],1)],1),t._v(" "),a("el-form-item",{attrs:{label:"推荐"+t.$t("action.attendantName")+"方式",prop:"auto_recommend"}},[a("el-radio-group",{model:{value:t.subForm.auto_recommend,callback:function(e){t.$set(t.subForm,"auto_recommend",e)},expression:"subForm.auto_recommend"}},[a("el-radio",
|