Commit beb20279 by 无尘

fix: 修改选择门店分组

parent e5ac5929
.task-set-content[data-v-9a1a91be]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-9a1a91be]{width:105px}.task-set-content .w-120[data-v-9a1a91be]{width:120px}.task-set-content .w-161[data-v-9a1a91be]{width:161px}.task-set-content .m-b-15[data-v-9a1a91be]{margin-bottom:15px}.task-set-content .p-l-8[data-v-9a1a91be]{padding-left:8px}.task-set-content .p-l-18[data-v-9a1a91be]{padding-left:18px}.task-set-content .p-l-24[data-v-9a1a91be]{padding-left:24px}.task-set-content .p-l-175[data-v-9a1a91be]{padding-left:175px}.task-set-content .color-1890ff[data-v-9a1a91be]{color:#2f54eb}.task-set-content .color-f5222d[data-v-9a1a91be]{color:#f5222d}.task-set-content .colorFirst[data-v-9a1a91be]{color:#303133;font-weight:600}
\ No newline at end of file
.color1[data-v-3790e7ea]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-3790e7ea]{position:relative}.content-data .color2[data-v-3790e7ea]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-3790e7ea]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-3790e7ea]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-3790e7ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-3790e7ea]{font-weight:600}.target-table[data-v-3790e7ea]{width:97%;margin:0 20px 50px}.table-title[data-v-3790e7ea]{display:-webkit-box;display:-ms-flexbox;display:flex}.table-title li[data-v-3790e7ea]{width:14%;max-width:14%;min-width:14%;height:48px;line-height:48px;text-indent:35px;font-weight:500;background-color:#ebecf0}.table-title li[data-v-3790e7ea]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-3790e7ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-3790e7ea]{width:14%;max-width:14%;min-width:14%;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-3790e7ea]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-3790e7ea] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-3790e7ea]{margin-bottom:10px}[data-v-3790e7ea] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-3790e7ea] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.color1[data-v-13e259d1]{font-size:16px;padding-right:15px;font-weight:600}.content-data[data-v-13e259d1]{position:relative}.content-data .color2[data-v-13e259d1]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-13e259d1]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-13e259d1]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-13e259d1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:1145px;margin:20px}.target-title span[data-v-13e259d1]{font-weight:600}.target-table[data-v-13e259d1]{width:97%;margin:0 20px 50px}.table-title[data-v-13e259d1]{display:-webkit-box;display:-ms-flexbox;display:flex}.table-title li[data-v-13e259d1]{width:14%;max-width:14%;min-width:14%;height:48px;line-height:48px;text-indent:35px;font-weight:500;background-color:#ebecf0}.table-title li[data-v-13e259d1]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-13e259d1]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-13e259d1]{width:14%;max-width:14%;min-width:14%;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-13e259d1]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-13e259d1] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-13e259d1]{margin-bottom:10px}[data-v-13e259d1] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-13e259d1] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.task-set-content[data-v-9ed2be32]{-webkit-box-sizing:border-box;box-sizing:border-box}.task-set-content .w-105[data-v-9ed2be32]{width:105px}.task-set-content .w-120[data-v-9ed2be32]{width:120px}.task-set-content .w-161[data-v-9ed2be32]{width:161px}.task-set-content .m-b-15[data-v-9ed2be32]{margin-bottom:15px}.task-set-content .p-l-8[data-v-9ed2be32]{padding-left:8px}.task-set-content .p-l-18[data-v-9ed2be32]{padding-left:18px}.task-set-content .p-l-24[data-v-9ed2be32]{padding-left:24px}.task-set-content .p-l-175[data-v-9ed2be32]{padding-left:175px}.task-set-content .color-1890ff[data-v-9ed2be32]{color:#2f54eb}.task-set-content .color-f5222d[data-v-9ed2be32]{color:#f5222d}.task-set-content .colorFirst[data-v-9ed2be32]{color:#303133;font-weight:600}
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-11-20 17:07:15
* @LastEditTime: 2020-11-24 09:18:42
-->
<!--
<gic-select-group-mult
......@@ -26,7 +26,7 @@
</div>
<div class="select-tree-wrap m-t-10">
<!--:load="loadNode"-->
<el-tree :filter-node-method="filterNode" :data="groupData" :default-checked-keys="checkedKeys" node-key="storeGroupId" ref="groupTree" show-checkbox default-expand-all :props="defaultProps" :expand-on-click-node="false" @check="checkGroup">
<el-tree :filter-node-method="filterNode" :data="groupData" check-strictly :default-checked-keys="checkedKeys" node-key="storeGroupId" ref="groupTree" show-checkbox default-expand-all :props="defaultProps" :expand-on-click-node="false" @check="checkGroup">
<span class="custom-tree-node" slot-scope="{ node, data }">
<span :class="['font-14 p-r-10 iconfont', data.isStore == 1 ? 'icondianpu-kuai' : 'iconqiye-tianchong', data.bindFlag == 1 ? 'color-2f54eb' : 'color-dedfe6']"></span><span class="font-14 color-606266">{{ node.label }}</span>
</span>
......
......@@ -4,16 +4,16 @@
* @Author: 无尘
* @Date: 2020-02-08 10:27:21
* @LastEditors: 无尘
* @LastEditTime: 2020-11-20 17:02:45
* @LastEditTime: 2020-11-24 09:19:15
-->
<!--
选择门店分组组件:
<gic-select-tag
:selectData="selectData"
:select-data="selectData"
@returnTags="returnTags">
</gic-select-tag>
import gicSelectTag from '@/components/app/card/gic-select-tag.vue';
import gicSelectTag from '@/components/common/gic-select-tag.vue';
returnTags: function(nodes) {
const that = this;
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-11-23 17:55:50
* @LastEditTime: 2020-11-23 18:23:16
-->
<template>
<div class="common-app-right" style="padding: 20px 0;color: #303133">
......@@ -148,7 +148,6 @@ export default {
bread[0].path += `?applicationId=${applicationId}&tab=${tab}`;
bread[1].path += `?applicationId=${applicationId}&tab=${tab}&performanceYm=${performanceYm}`;
this.$emit('change-nav', bread);
console.log(this.form);
this.init();
},
mounted() {
......@@ -185,7 +184,6 @@ export default {
if (len) that.zerofillLast = new Array(7 - len).fill(null);
// 默认值
console.log(flag);
if (flag == false) {
that.setDefault();
} else if (flag == true) {
......@@ -198,13 +196,15 @@ export default {
};
getStorePerformanceDay(par, { headers: { sign: that.brandId } })
.then(res => {
res.result.forEach(ele => {
ele.performanceDay = ele.performanceDay.split('-')[2];
});
res.result.sort(function(a, b) {
return a.performanceDay.replaceAll('-', '') - b.performanceDay.replaceAll('-', '');
});
that.tableData = res.result;
if (!!res.result && !!res.result.length) {
res.result.forEach(ele => {
ele.performanceDay = ele.performanceDay.split('-')[2];
});
res.result.sort(function(a, b) {
return a.performanceDay.replaceAll('-', '') - b.performanceDay.replaceAll('-', '');
});
that.tableData = res.result;
}
});
}
},
......
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