Commit 7a3c7d08 by chenyu

update: update

parent 07f45c74
......@@ -528,9 +528,16 @@
<label class="inline-block w-98 label-unit">时间精度
<el-tooltip popper-class="edit-tag-tooltip" placement="top" open-delay="100" effect="light">
<div slot="content">
<span style="font-weight: 600">选择【天】:</span><br />选择相对时段为“最近2天”,那么系统在5号凌晨统计3-4号的数据;系统在6号凌晨统计时,统计的是4-5号的数据;<br />
<span style="font-weight: 600">选择【月】:</span><br />当月:选择相对时间段为“当月”,那么系统在8月5号凌晨进行统计时,统计的是在8.1-8.4号的数据;系统在6号凌晨统计时,统计的是在8.1-8.5号的数据;<br />最近X月:选择相对时间段为“最近2月”,那么系统在8月5号凌晨进行统计时,统计的是6.1-7.31号的数据;系统在6号凌晨统计时,统计的还是6.1-7.31号的数据;<br />
<span style="font-weight: 600">选择【年】:</span><br />当年:选择相对时间段为“当年”,那么系统在8月5号凌晨进行统计时,统计的是在当年1.1-8.4号的数据;系统在6号凌晨统计时,统计的是在当年1.1-8.5号的数据;<br />最近X年:选择相对时间段为“最近1年”,那么系统在8月5号凌晨进行统计时,统计的是在去年1.1-12.31号的数据;系统在6号凌晨统计时,统计的还是在去年1.1-12.31号的数据。
<template v-if="tagData.isActive == 1 ">
<span style="font-weight: 600">选择【天】:</span><br />当天:选择相对时段为“当天”,那么统计的是当天凌晨至当前时间内的数据;<br />最近X天:选择相对时间段为“最近2天”,那么系统在8月1号统计的是7.30-7.31号的数据;系统在8月5号统计的是8.3-8.4号的数据;<br/>
<span style="font-weight: 600">选择【月】:</span><br />当月:选择相对时段为“当月”,那么统计的是当月1号至当前时间的数据;<br />最近X月:选择相对时间段为“最近2月”,那么系统在8月统计的是6.1-7.31号的数据;系统在9月统计的是7.1-8.31号的数据;<br />
<span style="font-weight: 600">选择【年】:</span><br />当年:选择相对时段为“当年”,那么统计的是当年1号至当前时间的数据;<br />最近X年:选择相对时间段为“最近1年”,那么系统统计的是去年1.1-12.31号的数据。
</template>
<template v-else>
<span style="font-weight: 600">选择【天】:</span><br />最近X天:选择相对时段为“最近2天”,那么系统在5号凌晨统计3-4号的数据;系统在6号凌晨统计时,统计的是4-5号的数据;<br />
<span style="font-weight: 600">选择【月】:</span><br />当月:选择相对时间段为“当月”,那么系统在8月5号凌晨进行统计时,统计的是在8.1-8.4号的数据;系统在6号凌晨统计时,统计的是在8.1-8.5号的数据;<br />最近X月:选择相对时间段为“最近2月”,那么系统在8月5号凌晨进行统计时,统计的是6.1-7.31号的数据;系统在6号凌晨统计时,统计的还是6.1-7.31号的数据;<br />
<span style="font-weight: 600">选择【年】:</span><br />当年:选择相对时间段为“当年”,那么系统在8月5号凌晨进行统计时,统计的是在当年1.1-8.4号的数据;系统在6号凌晨统计时,统计的是在当年1.1-8.5号的数据;<br />最近X年:选择相对时间段为“最近1年”,那么系统在8月5号凌晨进行统计时,统计的是在去年1.1-12.31号的数据;系统在6号凌晨统计时,统计的还是在去年1.1-12.31号的数据。
</template>
</div>
<i class="iconfont icon-tishi" style="color: #909399"></i>
</el-tooltip>
......@@ -1733,8 +1740,11 @@ export default {
for (let i = 0; i < this.templateData.length; i++) {
if (this.templateData[i].templateCode === 'tag008') {
// 这里有多个value
console.log(this.templateData[i].addSelectTags);
value = tagValue.val[0].data.value.split(' ');
selectVal = tagParams.selectedVal[1].split(',');
console.log(tagValue.val[0].data.value);
console.log(selectVal);
selectVal.forEach((el, inx) => {
let item = this.templateData[i].addSelectTags.find(val => val.value === el);
if (!item) {
......
......@@ -930,7 +930,7 @@ export default {
if (['mainClerkId','clerkId','openClerkId'].includes(this.currentKey)&&tagValue.val[0].data.compute==='isEmpty') {
tagValue.val[0].data.value = '';
}else{
tagValue.val[0].data.value = ele.addSelectTags.map(item => item.key).join(' ');
tagValue.val[0].data.value = ele.addSelectTags.map(item => item.key||item.id).join(' ');
that.postTemplateData.selectedVal.push(ele.addSelectTags.map(item => item.value).join(','));
}
}
......
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