Commit faacc8ae by shaojiawen

update:查看更多链接修改

parent a72923c8
......@@ -21,7 +21,9 @@ import { Message } from 'element-ui';
// }
Vue.axios.defaults.timeout = 500000;
let local = window.location.origin;
// let local = window.location.origin;
// eslint-disable-next-line
let local = process.env.NODE_ENV == 'development' ? 'https://www.gicdev.com/': '';
/* if (local.indexOf('localhost') != -1) {
local = 'https://www.gicdev.com';
} */
......
......@@ -96,17 +96,13 @@
<template slot-scope="scope">{{ scope.row.isRealTime == 1 ? '是' : '否' }}</template>
</el-table-column>
<el-table-column prop="" label="更新频率" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }}
</template>
<template slot-scope="scope">{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }} </template>
</el-table-column>
<el-table-column prop="" label="状态" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.effectiveStatus == '1' ? '有效' : '失效' }}</template>
</el-table-column>
<el-table-column prop="" label="覆盖人数" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.memberCount || 0 }}</template
>
<template slot-scope="scope">{{ scope.row.memberCount || 0 }}</template>
</el-table-column>
<el-table-column prop="" label="到期时间" show-overflow-tooltip>
<template slot-scope="scope">
......
......@@ -32,17 +32,13 @@
<template slot-scope="scope">{{ scope.row.isRealTime == 1 ? '是' : '否' }}</template>
</el-table-column>
<el-table-column prop="" label="更新频率" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }}
</template>
<template slot-scope="scope">{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }} </template>
</el-table-column>
<el-table-column prop="" label="状态" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.effectiveStatus == '1' ? '有效' : '失效' }}</template>
</el-table-column>
<el-table-column prop="" label="覆盖人数" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.memberCount || 0 }}</template
>
<template slot-scope="scope">{{ scope.row.memberCount || 0 }}</template>
</el-table-column>
<el-table-column prop="" label="到期时间" show-overflow-tooltip>
<template slot-scope="scope">
......
......@@ -44,9 +44,7 @@
<template slot-scope="scope">{{ scope.row.postion || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="手机号码" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.nationCode }}-{{ scope.row.phoneNumber }}</template
>
<template slot-scope="scope">{{ scope.row.nationCode }}-{{ scope.row.phoneNumber }}</template>
</el-table-column>
<el-table-column prop="" label="导购ID">
<template slot="header" slot-scope="scope">
......
......@@ -143,7 +143,10 @@ export default {
position: 'top', // 设置图例的显示位置
itemGap: 20, // 图例项之间的间距
custom: true,
items: [{ value: 'loginClerkCnt', name: '总登录人数', marker: { symbol: 'square', style: { fill: '#597ef7', r: 4 } } }, { value: 'avgVisitTime', name: '人均访问时长', marker: { symbol: 'hyphen', style: { stroke: '#5ad8a6', r: 5, lineWidth: 3 } } }]
items: [
{ value: 'loginClerkCnt', name: '总登录人数', marker: { symbol: 'square', style: { fill: '#597ef7', r: 4 } } },
{ value: 'avgVisitTime', name: '人均访问时长', marker: { symbol: 'hyphen', style: { stroke: '#5ad8a6', r: 5, lineWidth: 3 } } }
]
});
this.chart.render();
}
......
......@@ -143,7 +143,10 @@ export default {
position: 'top', // 设置图例的显示位置
itemGap: 20, // 图例项之间的间距
custom: true,
items: [{ value: 'avgLoginTimes', name: '平均每人登录次数', marker: { symbol: 'square', style: { fill: '#597ef7', r: 4 } } }, { value: 'avgVisitTime', name: '人均访问时长', marker: { symbol: 'hyphen', style: { stroke: '#5ad8a6', r: 5, lineWidth: 3 } } }]
items: [
{ value: 'avgLoginTimes', name: '平均每人登录次数', marker: { symbol: 'square', style: { fill: '#597ef7', r: 4 } } },
{ value: 'avgVisitTime', name: '人均访问时长', marker: { symbol: 'hyphen', style: { stroke: '#5ad8a6', r: 5, lineWidth: 3 } } }
]
});
this.chart.render();
}
......
......@@ -27,9 +27,7 @@
<template slot-scope="scope"> </template>
</el-table-column> -->
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
<template slot-scope="scope">{{ scope.row.materialTitle }} </template>
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope">
......
......@@ -27,9 +27,7 @@
<template slot-scope="scope"> </template>
</el-table-column> -->
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
<template slot-scope="scope">{{ scope.row.materialTitle }} </template>
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope"
......
......@@ -27,9 +27,7 @@
<template slot-scope="scope"> </template>
</el-table-column> -->
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
<template slot-scope="scope">{{ scope.row.materialTitle }} </template>
</el-table-column>
<el-table-column prop="" label="内容" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.materialContent }}</template>
......
......@@ -27,9 +27,7 @@
<template slot-scope="scope"> </template>
</el-table-column> -->
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
<template slot-scope="scope">{{ scope.row.materialTitle }} </template>
</el-table-column>
<el-table-column prop="" label="内容">
<template slot-scope="scope"
......
......@@ -27,9 +27,7 @@
<template slot-scope="scope"> </template>
</el-table-column> -->
<el-table-column label="标题" width="120" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.materialTitle }}
</template>
<template slot-scope="scope">{{ scope.row.materialTitle }} </template>
</el-table-column>
<el-table-column prop="" label="封面">
<template slot-scope="scope"
......
......@@ -35,17 +35,13 @@
<template slot-scope="scope">{{ scope.row.isRealTime == 1 ? '是' : '否' }}</template>
</el-table-column>
<el-table-column prop="" label="更新频率" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }}
</template>
<template slot-scope="scope">{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }} </template>
</el-table-column>
<el-table-column prop="" label="状态" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.effectiveStatus == '1' ? '有效' : '失效' }}</template>
</el-table-column>
<el-table-column prop="" label="覆盖人数" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.memberCount || 0 }}</template
>
<template slot-scope="scope">{{ scope.row.memberCount || 0 }}</template>
</el-table-column>
<el-table-column prop="" label="到期时间" show-overflow-tooltip>
<template slot-scope="scope">
......
......@@ -47,17 +47,13 @@
<template slot-scope="scope">{{ scope.row.isRealTime == 1 ? '是' : '否' }}</template>
</el-table-column>
<el-table-column prop="" label="更新频率" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }}
</template>
<template slot-scope="scope">{{ scope.row.updateType == 1 ? '每日' : scope.row.updateType == 2 ? '每周' : scope.row.updateType == 3 ? '每月' : '-' }} {{ scope.row.updateType == 1 ? '一次' : scope.row.updateType == 2 ? '周' + scope.row.updateDay : scope.row.updateType == 3 ? scope.row.updateDay + '号' : '-' }} </template>
</el-table-column>
<el-table-column prop="" label="状态" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.effectiveStatus == '1' ? '有效' : '失效' }}</template>
</el-table-column>
<el-table-column prop="" label="覆盖人数" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.memberCount || 0 }}</template
>
<template slot-scope="scope">{{ scope.row.memberCount || 0 }}</template>
</el-table-column>
<el-table-column prop="" label="到期时间" show-overflow-tooltip>
<template slot-scope="scope">
......
......@@ -58,14 +58,10 @@
<template slot-scope="scope">{{ scope.row.gradeName || '--' }}</template>
</el-table-column>
<el-table-column prop="" label="消费总额" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.costFee }} {{ scope.row.costFee == null && scope.row.costFee != 0 ? '--' : '' }}</template
>
<template slot-scope="scope">{{ scope.row.costFee }} {{ scope.row.costFee == null && scope.row.costFee != 0 ? '--' : '' }}</template>
</el-table-column>
<el-table-column prop="" label="最近消费时间" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.lastCostTime | timeStampToYmd }} {{ !scope.row.lastCostTime ? '--' : '' }}
</template>
<template slot-scope="scope"> {{ scope.row.lastCostTime | timeStampToYmd }} {{ !scope.row.lastCostTime ? '--' : '' }} </template>
</el-table-column>
<el-table-column prop="" label="生日" show-overflow-tooltip>
<template slot-scope="scope">{{ scope.row.birthday || '--' }}</template>
......
......@@ -101,9 +101,7 @@
</template>
</el-table-column>
<el-table-column prop="" label="操作">
<template slot-scope="scope">
<el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button><el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button>
</template>
<template slot-scope="scope"> <el-button type="text" @click="toEdit(scope.$index, scope.row)">编辑</el-button><el-button type="text" @click="toDel(scope.$index, scope.row)">删除</el-button> </template>
</el-table-column>
</el-table>
<div v-if="tableData.length < 10" class="text-center add-cell cursor-pointer" @click="addSecret"><span class="el-icon-plus font-14 color-2f54eb add-cell-txt"></span><span class="font-14 color-2f54eb p-l-5 add-cell-txt">新建</span><span class="font-12 color-c0c4cc p-l-20">最多添加10个</span></div>
......
......@@ -103,9 +103,7 @@
</template>
</el-table-column>
<el-table-column prop="avgVisitTime" label="平均访问时长" sortable="custom" show-overflow-tooltip>
<template slot-scope="scope"
>{{ scope.row.avgVisitTime | formatTime }}
</template>
<template slot-scope="scope">{{ scope.row.avgVisitTime | formatTime }} </template>
</el-table-column>
</el-table>
</div>
......
......@@ -202,7 +202,7 @@ export default {
* 跳转更多 udesk
*/
goUdesk() {
window.open('https://demogic.udesk.cn/hc/categories/96671?api_name=');
window.open('https://notes.dingtalk.com/p/dy0mVP0g7lQPjz89/docs/dy0mV1QLjwErWX89');
},
/* eslint-disable */
getLunarDay(solarYear, solarMonth, solarDay) {
......
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