Commit e75963c2 by Kyle_Li

fix: 字段更改

parent a45be2e1
.font-22[data-v-b9f643a8]{font-size:22px}.common-bottom-border[data-v-b9f643a8]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.common-bottom-border.table-title[data-v-b9f643a8]{font-size:14px;line-height:20px;font-weight:600;color:#303133}.list-content[data-v-b9f643a8]{padding:5px 20px 20px}
\ No newline at end of file
.font-22[data-v-27d2689c]{font-size:22px}.common-bottom-border[data-v-27d2689c]{cursor:pointer;padding-bottom:2px;border-bottom:1px dashed #2f54eb}.common-bottom-border.table-title[data-v-27d2689c]{font-size:14px;line-height:20px;font-weight:600;color:#303133}.list-content[data-v-27d2689c]{padding:5px 20px 20px}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-462e3529"],{"25f0":function(e,t,a){},"71f6":function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("ac6a"),a("456d");var r=a("b775");function n(e,t){e=e||{};var a=Object.keys(e);return a.forEach((function(a){var n=e[a];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[a]=function(e,t){return Object(r["a"])(n,e,t)}})),e}},"9f7c":function(e,t,a){"use strict";var r=a("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",getSingleStorePerformanceDetail:"/setting/see-single-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0},getTagList:"/setting/list-store-tag",delStorePerformance:"/setting/del-store-performance"};n=Object(r["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"a",(function(){return r}))},d4c3:function(e,t,a){"use strict";a("25f0")},fc87:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-app-right",staticStyle:{padding:"0"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[a("el-tabs",{on:{"tab-click":e.getData},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩指标",name:"1"}}),a("el-tab-pane",{attrs:{label:"新增会员指标",name:"2"}})],1),a("div",{staticClass:"list-content"},[a("el-select",{on:{change:e.getData},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}},e._l(e.yearList,(function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})),1),a("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"performanceYm",label:"月份"}}),a("el-table-column",{attrs:{prop:"storeCount",label:"门店总数"}}),a("el-table-column",{attrs:{prop:"totalPerformanceValue",label:"总业绩指标"}}),a("el-table-column",{attrs:{label:"业绩指标"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.noPerfectCount||0)+" 未完善;"+e._s(a.perfectCount||0)+" 已完善\n ")]}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/target-store",query:{tab:e.activeName,performanceYm:r.performanceYm,applicationId:e.applicationId}})}}},[e._v("查看门店")])]}}])})],1)],1)],1)])},n=[],o=(a("8e6e"),a("ac6a"),a("456d"),a("386d"),a("ade3")),c=a("9f7c");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(o["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var l=c["a"].getTargetList,f=c["a"].getYearList,u={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{haoban:{},tableData:[],activeName:"1",search:{date:(new Date).getFullYear()},yearList:[],loading:!1}},created:function(){var e=this.$route.query,t=e.tab,a=e.applicationId;this.applicationId=a,this.activeName=t||"1";var r=JSON.parse(localStorage.getItem("haoBanUser")),n=r.staffId,o=r.wxEnterpriseId;this.haoban={staffId:n,wxEnterpriseId:o}},mounted:function(){var e=this;e.$emit("showTab","/target-list"),e.$emit("change-nav",[{name:"指标管理"}]),e.getYearList(),e.brandId&&e.getData()},methods:{getData:function(){var e=this;this.loading=!0;var t=this,a=i(i({},t.haoban),{},{enterpriseId:t.brandId,performanceType:t.activeName,performanceYear:t.search.date});l(a,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).finally((function(){e.loading=!1}))},getYearList:function(){var e=this;f("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))}},watch:{brandId:function(e){var t=this;e&&t.getData()}}},p=u,m=(a("d4c3"),a("2877")),d=Object(m["a"])(p,r,n,!1,null,"b9f643a8",null);t["default"]=d.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4b767f82"],{"71f6":function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));a("ac6a"),a("456d");var r=a("b775");function n(e,t){e=e||{};var a=Object.keys(e);return a.forEach((function(a){var n=e[a];"string"===typeof n&&(n={url:n}),n.url="".concat(t).concat(n.url),e[a]=function(e,t){return Object(r["a"])(n,e,t)}})),e}},"9f7c":function(e,t,a){"use strict";var r=a("71f6"),n={getTargetList:"/performance/total-performance-list",getStorePerformanceDetail:"/performance/list-store-performance",changeStorePerformanceMonth:"/performance/change-store-month-performance",getStorePerformanceDay:"/performance/list-day-performance",changeStorePerformanceDay:{url:"/performance/save-day-performance",method:"post",useFormData:!0},getStorePerformanceClerk:"/performance/list-clerk-performance",changeStorePerformanceClerk:{url:"/performance/save-clerk-performance",method:"post",useFormData:!0},getYearList:"/setting/get-year-list",getStorePerformanceList:"/setting/list-store-performance",getNoStorePerformanceList:"/setting/list-no-store-performance",getSingleStorePerformanceDetail:"/setting/see-single-store-performance",saveStorePerformance:{url:"/setting/add-store-performance",method:"post",useFormData:!0,useIntercept:!0},editStorePerformance:{url:"/setting/edit-single-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchEditStorePerformance:{url:"/setting/batch-setting-store-performance",method:"post",useFormData:!0,useIntercept:!0},batchSettingRight:"/setting/batch-setting-right",getTargetSet:"/setting/get-performance-setting",saveTargetSet:{url:"/setting/save-performance-setting",method:"post",useFormData:!0},getTagList:"/setting/list-store-tag",delStorePerformance:"/setting/del-store-performance"};n=Object(r["a"])(n,"/hb-app-performance-web"),t["a"]=n},ade3:function(e,t,a){"use strict";function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}a.d(t,"a",(function(){return r}))},dc8b:function(e,t,a){},ec27:function(e,t,a){"use strict";a("dc8b")},fc87:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"common-app-right",staticStyle:{padding:"0"}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}]},[a("el-tabs",{on:{"tab-click":e.getData},model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[a("el-tab-pane",{attrs:{label:"业绩指标",name:"1"}}),a("el-tab-pane",{attrs:{label:"新增会员指标",name:"2"}})],1),a("div",{staticClass:"list-content"},[a("el-select",{on:{change:e.getData},model:{value:e.search.date,callback:function(t){e.$set(e.search,"date",t)},expression:"search.date"}},e._l(e.yearList,(function(e){return a("el-option",{key:e,attrs:{label:e,value:e}})})),1),a("el-table",{staticStyle:{width:"100%","margin-top":"20px"},attrs:{data:e.tableData}},[a("el-table-column",{attrs:{prop:"performanceYm",label:"月份"}}),a("el-table-column",{attrs:{prop:"storeCount",label:"门店总数"}}),a("el-table-column",{attrs:{prop:"totalPerformanceValue",label:"总业绩指标"}}),a("el-table-column",{attrs:{label:"业绩指标"},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.noPerfectCount||0)+" 未完善;"+e._s(a.prefectCount||0)+" 已完善\n ")]}}])}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.row;return[a("el-button",{attrs:{type:"text"},on:{click:function(t){return e.$router.push({path:"/target-store",query:{tab:e.activeName,performanceYm:r.performanceYm,applicationId:e.applicationId}})}}},[e._v("查看门店")])]}}])})],1)],1)],1)])},n=[],o=(a("8e6e"),a("ac6a"),a("456d"),a("386d"),a("ade3")),c=a("9f7c");function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){Object(o["a"])(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var l=c["a"].getTargetList,u=c["a"].getYearList,f={name:"TargetList",components:{},props:{brandId:{type:String,default:""}},data:function(){return{haoban:{},tableData:[],activeName:"1",search:{date:(new Date).getFullYear()},yearList:[],loading:!1}},created:function(){var e=this.$route.query,t=e.tab,a=e.applicationId;this.applicationId=a,this.activeName=t||"1";var r=JSON.parse(localStorage.getItem("haoBanUser")),n=r.staffId,o=r.wxEnterpriseId;this.haoban={staffId:n,wxEnterpriseId:o}},mounted:function(){var e=this;e.$emit("showTab","/target-list"),e.$emit("change-nav",[{name:"指标管理"}]),e.getYearList(),e.brandId&&e.getData()},methods:{getData:function(){var e=this;this.loading=!0;var t=this,a=i(i({},t.haoban),{},{enterpriseId:t.brandId,performanceType:t.activeName,performanceYear:t.search.date});l(a,{headers:{sign:t.brandId}}).then((function(e){t.tableData=e.result||[]})).finally((function(){e.loading=!1}))},getYearList:function(){var e=this;u("",{headers:{sign:this.brandId}}).then((function(t){e.yearList=t.result||[]}))}},watch:{brandId:function(e){var t=this;e&&t.getData()}}},p=f,m=(a("ec27"),a("2877")),d=Object(m["a"])(p,r,n,!1,null,"27d2689c",null);t["default"]=d.exports}}]);
\ No newline at end of file
......@@ -30,7 +30,7 @@
<el-table-column label="业绩指标">
<template slot-scope="{row}">
{{ row.noPerfectCount || 0 }} 未完善;{{ row.prefectCount || 0 }} 已完善
{{ row.noPerfectCount || 0 }} 未完善;{{ row.perfectCount || 0 }} 已完善
</template>
</el-table-column>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment