Skip to content

Commit ff1aa4d

Browse files
authored
Merge pull request #33 from a54552239/dev
Dev
2 parents 1cf7eab + 649e839 commit ff1aa4d

File tree

6 files changed

+13
-22
lines changed

6 files changed

+13
-22
lines changed

public/index.html

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,5 @@
1212
<!--<script src="https://webapi.amap.com/js/marker.js"></script>
1313
<script type="text/javascript"
1414
src="https://webapi.amap.com/maps?v=1.4.7&key=936c5eca7d2e763f953a0483e75637c8&plugin=AMap.Transfer,AMap.Driving,AMap.Walking,AMap.LineSearch,AMap.Geocoder"></script>-->
15-
<script>
16-
var _hmt = _hmt || [];
17-
(function() {
18-
var hm = document.createElement("script");
19-
hm.src = "https://hm.baidu.com/hm.js?eb6ecfed64ffefae6d5d74ea2945e7aa";
20-
var s = document.getElementsByTagName("script")[0];
21-
s.parentNode.insertBefore(hm, s);
22-
})();
23-
</script>
2415
</body>
2516
</html>

src/components/project/projectSelect.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<script>
4949
import _ from 'lodash'
5050
import {mapState} from 'vuex'
51-
import {selfList as getProjectList} from "../../api/project";
51+
import {read as getProject, selfList as getProjectList} from "../../api/project";
5252
import pagination from "../../mixins/pagination";
5353
5454
export default {
@@ -92,18 +92,22 @@
9292
},
9393
methods: {
9494
init() {
95+
this.getProject();
9596
this.getProjectList(true);
9697
},
98+
getProject() {
99+
getProject(this.code).then((res) => {
100+
this.currentProject = res.data;
101+
});
102+
},
97103
getProjectList(loading = true) {
98104
this.loading = loading;
99105
this.requestData.pageSize = 50;
100106
this.requestData.archive = -1;
101107
getProjectList(this.requestData).then(res => {
102-
console.log(res);
103108
this.projectList = res.data.list;
104109
this.projectListCopy = res.data.list;
105110
this.projectTotal = res.data.total;
106-
this.currentProject = res.data.list.find(item => item.code == this.code);
107111
this.loading = false;
108112
});
109113
},

src/config/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default {
2-
VERSION: '2.8.9',
2+
VERSION: '2.8.10',
33
};

src/router/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ router.beforeEach((to, from, next) => {
151151
});
152152
return false;
153153
}
154-
// 统计代码
155-
if (to.path) {
156-
_hmt.push(['_trackPageview', '/#' + to.fullPath]);
157-
console.log(_hmt);
158-
}
159154
next();
160155
});
161156
router.afterEach(route => {

src/views/project/space/overview.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,20 +292,20 @@
292292
burnoutMap: {
293293
loading: true,
294294
chartData: {
295-
columns: ['日期', '剩余任务', '基线'],
295+
columns: ['日期', '实际剩余任务', '理想剩余任务'],
296296
rows: []
297297
},
298298
series: [
299299
{
300300
type: 'line',
301-
name: '剩余任务',
301+
name: '实际剩余任务',
302302
smooth: false,
303303
color: '#1890ff',
304304
data: [],
305305
},
306306
{
307307
type: 'line',
308-
name: '基线',
308+
name: '理想剩余任务',
309309
color: '#52C41A',
310310
smooth: false,
311311
lineStyle: {

src/views/project/template/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@
130130
showLoadingMore: false,
131131
loadingMore: false,
132132
currentTemplate: {},
133-
cover: config.PROD_URL + '/static/image/default/cover.png',
133+
cover:'https://beta.vilson.xyz/static/image/default/project-cover.png',
134+
// cover: config.PROD_URL + '/static/image/default/cover.png',
134135
newData: {
135136
id: 0,
136137
},

0 commit comments

Comments
 (0)