|
@@ -16,17 +16,17 @@
|
|
|
:header-cell-style="{ background: '#F2F2F2' }"
|
|
|
:cell-style="{ background: '#FaFaFa' }"
|
|
|
>
|
|
|
- <el-table-column prop="woTitle" label="标题">
|
|
|
+ <el-table-column prop="module_name" label="标题">
|
|
|
<template slot-scope="scope">
|
|
|
<span style="color: #afb2d8; margin-right: 5px"
|
|
|
>{{ scope.$index + 1 }}.</span
|
|
|
>
|
|
|
- <span @click="RowTitle" style="cursor: pointer; color: blue">{{
|
|
|
- scope.row.woTitle
|
|
|
+ <span @click="RowTitle(scope.row.jsp_url)" style="cursor: pointer; color: blue">{{
|
|
|
+ scope.row.module_name
|
|
|
}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="woNum" label="点击量" width="100">
|
|
|
+ <el-table-column prop="count" label="点击量" width="70" align="center" >
|
|
|
<template> </template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -36,45 +36,18 @@
|
|
|
|
|
|
<script>
|
|
|
export default {
|
|
|
+ props: ["numHits"],
|
|
|
data() {
|
|
|
return {
|
|
|
- numHits: [
|
|
|
- { woTitle: "sdf", woNum: "1111" },
|
|
|
- { woTitle: "ewsad", woNum: "1010" },
|
|
|
- { woTitle: "easdw", woNum: "1001" },
|
|
|
- { woTitle: "ewasdsad", woNum: "1000" },
|
|
|
- { woTitle: "ewasd", woNum: "1000" },
|
|
|
- { woTitle: "ewasd", woNum: "1000" },
|
|
|
- { woTitle: "asdew", woNum: "1000" },
|
|
|
- { woTitle: "ew213", woNum: "1000" },
|
|
|
- { woTitle: "ew23", woNum: "1000" },
|
|
|
- { woTitle: "ew23", woNum: "1000" },
|
|
|
- { woTitle: "e23w", woNum: "1000" },
|
|
|
- { woTitle: "ew123", woNum: "1000" },
|
|
|
- ],
|
|
|
+ // numHits: [],
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
- RowTitle() {
|
|
|
- console.log(11);
|
|
|
+ RowTitle(route) {
|
|
|
+ // this.$router.push(route);
|
|
|
},
|
|
|
- getList(){
|
|
|
- // this.$http({
|
|
|
- // url: "/market/cmkline/queryInfo",
|
|
|
- // method: "post",
|
|
|
- // headers: {
|
|
|
- // "Content-Type": "application/json",
|
|
|
- // },
|
|
|
- // data: {},
|
|
|
- // }).then((res) => {
|
|
|
- // this.funcData = res.data.lineList;
|
|
|
- // this.outsideModules = res.data.outsideModules;
|
|
|
- // this.groupName = res.data.groupName;
|
|
|
- // });
|
|
|
- }
|
|
|
},
|
|
|
mounted(){
|
|
|
- this.getList()
|
|
|
}
|
|
|
};
|
|
|
</script>
|