diff --git a/routes/project/hazop.js b/routes/project/hazop.js
index 759623d..ded80c6 100644
--- a/routes/project/hazop.js
+++ b/routes/project/hazop.js
@@ -15,7 +15,6 @@ router.get('/analyse/:id', function (req, res, next) {
t:/\d{3}/
}]
})
- sst.si.push({t:`${Mock.Random.word()}${Mock.Random.word()}`})
var data=Mock.mock({
...mock.ok(`HAZOP分析获取节点${req.params.id}数据成功`),
@@ -40,14 +39,7 @@ router.get('/analyse/:id', function (req, res, next) {
r: `${col}${+row + 1}`,
s: 1,
t: 's',
- v: (function (col) {
- switch (col) {
- case 'C':
- return sst.si.length - 1
- default:
- return Mock.Random.integer(0, sst.si.length - 2)
- }
- })(col)
+ v: Mock.Random.integer(0, sst.si.length - 1)
}
)
}