diff --git a/index.html b/index.html
index 5b7f157..0aa38e0 100644
--- a/index.html
+++ b/index.html
@@ -59,9 +59,11 @@
*/
const p1419896936236064768 = {
jumpDetail(that) {
- console.log(that.parentNode.parentNode);
- console.log('data-pid',that.parentNode.parentNode.getAttribute('data-pid'));
- location.href = 'https://www.baidu.com';
+ const pId = that.parentNode.parentNode.getAttribute('data-pid');
+ const rId = that.parentNode.parentNode.getAttribute('data-rid');
+ const uId = that.parentNode.parentNode.getAttribute('data-uid');
+ const tId = that.parentNode.parentNode.getAttribute('data-tid');
+ location.href = `https://www.tall.wiki/qc/report?projectId=${pId}&roleId=${rId}&userId=${uId}&id=${tId}`;
},
};
diff --git a/route.js b/route.js
index d164f8f..2ae094a 100644
--- a/route.js
+++ b/route.js
@@ -45,6 +45,11 @@ post('/controlTable').to.json({
scope: 'DPT',
beyond: '发病-溶栓'
},
+ {
+ time: 556,
+ scope: 'DPX',
+ beyond: '发病-溶栓'
+ },
],
success: true
})
@@ -80,3 +85,68 @@ post('/timeLine').to.json({
],
success: true
})
+
+post('/zkcharts').to.json({
+ code: 200,
+ msg: 'ok',
+ data: {
+ type: [1,2,3,4,5,6,7,8,9,10,11,12],
+ value: [120,200,150,80,70,110,130,160,180,90,140,110]
+ },
+ success: true
+})
+
+post('/zkCard').to.json({
+ code: 200,
+ msg: 'ok',
+ data: [{
+ time: new Date().getTime(),
+ num: 27,
+ maxTime: 193,
+ minTime: 0,
+ average: 52,
+ proportion: 59,
+ rate: 59
+ },{
+ time: new Date().getTime(),
+ num: 7,
+ maxTime: 61,
+ minTime: 11,
+ average: 45,
+ proportion: 71,
+ rate: 71
+ },{
+ time: new Date().getTime(),
+ num: 7,
+ maxTime: 82,
+ minTime: 11,
+ average: 49,
+ proportion: 71,
+ rate: 71
+ },{
+ time: new Date().getTime(),
+ num: 6,
+ maxTime: 61,
+ minTime: 1,
+ average: 43,
+ proportion: 83,
+ rate: 83
+ },{
+ time: new Date().getTime(),
+ num: 4,
+ maxTime: 87,
+ minTime: 0,
+ average: 52,
+ proportion: 50,
+ rate: 50
+ },{
+ time: new Date().getTime(),
+ num: 5,
+ maxTime: 104,
+ minTime: 11,
+ average: 56,
+ proportion: 60,
+ rate: 60
+ },],
+ success: true
+})