Commit 0122cc32 by 无尘

fix: 修改指标

parent ca0be8b2
.color1[data-v-75fdbef1]{font-size:16px;padding-right:15px;font-weight:600}.hide-ellipsis[data-v-75fdbef1]{max-width:380px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.content-data[data-v-75fdbef1]{position:relative}.content-data .color2[data-v-75fdbef1]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-75fdbef1]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-75fdbef1]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-75fdbef1]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:100%;margin:20px}.target-title span[data-v-75fdbef1]{font-weight:600}.target-table[data-v-75fdbef1]{max-width:100%;margin:0 20px 50px}.table-title[data-v-75fdbef1]{display:-webkit-box;display:-ms-flexbox;display:flex}.table-title li[data-v-75fdbef1]{width:14.28%;max-width:14.28%;min-width:14.28%;height:48px;line-height:48px;text-indent:35px;font-weight:500;background-color:#ebecf0}.table-title li[data-v-75fdbef1]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-75fdbef1]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-75fdbef1]{width:14.28%;max-width:14.28%;min-width:14.28%;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-75fdbef1]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-75fdbef1] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-75fdbef1]{margin-bottom:10px}[data-v-75fdbef1] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-75fdbef1] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
.color1[data-v-1fcd16ea]{font-size:16px;padding-right:15px;font-weight:600}.hide-ellipsis[data-v-1fcd16ea]{max-width:380px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.content-data[data-v-1fcd16ea]{position:relative}.content-data .color2[data-v-1fcd16ea]{position:relative;font-size:14px;font-weight:400}.content-data .color2[data-v-1fcd16ea]:not(:first-of-type){padding-left:16px}.content-data .color2[data-v-1fcd16ea]:not(:first-of-type):before{content:"|";position:absolute;left:0;color:#dcdfe6}.target-title[data-v-1fcd16ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;max-width:100%;margin:20px}.target-title span[data-v-1fcd16ea]{font-weight:600}.target-table[data-v-1fcd16ea]{max-width:100%;margin:0 20px 50px}.table-title[data-v-1fcd16ea]{display:-webkit-box;display:-ms-flexbox;display:flex}.table-title li[data-v-1fcd16ea]{width:14.28%;max-width:14.28%;min-width:14.28%;height:48px;line-height:48px;text-indent:35px;font-weight:500;background-color:#ebecf0}.table-title li[data-v-1fcd16ea]:not(:last-of-type){border-right:1px solid #dcdfe6}.table-content[data-v-1fcd16ea]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.table-content li[data-v-1fcd16ea]{width:14.28%;max-width:14.28%;min-width:14.28%;height:70px;padding:5px 0 8px 10px;border-bottom:1px solid #dcdfe6}.table-content li[data-v-1fcd16ea]:not(:nth-of-type(7n)){border-right:1px solid #dcdfe6}.el-input-number[data-v-1fcd16ea] .el-input__inner{text-align:left;border:none;background-color:#f5f7fa}.el-form-item[data-v-1fcd16ea]{margin-bottom:10px}[data-v-1fcd16ea] .el-alert--danger{width:456px;margin-bottom:20px;background:#fffbe6;border-radius:2px;border:1px solid #ffe58f}[data-v-1fcd16ea] .el-alert--danger .el-alert__icon{color:#faad14}
\ No newline at end of file
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-11-12 10:47:17
* @LastEditors: 无尘
* @LastEditTime: 2020-12-02 10:57:49
* @LastEditTime: 2020-12-02 11:11:38
-->
<template>
<div class="common-app-right" style="padding: 20px 0;color: #303133">
......@@ -161,7 +161,7 @@ export default {
}
// 禁用判断
that.disableSetting = checkDisEdit(that.$route.query.performanceYm);
console.log(that.form, that.$route.query, that.$route.query.flag, typeof(that.$route.query.flag));
// 修改面包屑
const { tab, applicationId, performanceYm, flag } = that.$route.query;
let bread = [ { name: '指标管理', path: '/target-list' }, { name: '查看门店', path: '/target-store' }, { name: flag == false ? '完善日指标' : '查看日指标' } ];
......@@ -200,6 +200,7 @@ export default {
// 初始化表格
init() {
const that = this;
console.log(that.form, that.$route.query, that.$route.query.flag, typeof(that.$route.query.flag));
if (that.$store.state.storeInfo.length) {
that.form.storeName = JSON.parse(JSON.stringify(that.$store.state.storeInfo)).map(ele=>ele.storeName).join(',');
that.form.storeInfoIds = JSON.parse(JSON.stringify(that.$store.state.storeInfo)).map(ele=>ele.storeInfoId).join(',');
......@@ -219,8 +220,8 @@ export default {
// 末尾补空白
let len = (that.zerofill.length + that.tableData.length) % 7;
if (len) that.zerofillLast = new Array(7 - len).fill(null);
const { tabFlag } = that.$route.query;
console.log(flag, typeof(flag), that.form, tabFlag, typeof(tabFlag));
console.log(flag, typeof(flag), that.form, that.$route.query.flag, typeof(that.$route.query.flag));
// 默认值
if (flag == 'false') {
that.setDefault();
......
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