Commit f81d71c9 authored by Scott Sun's avatar Scott Sun

Merge branch 'master' of http://gitlab.topibd.net/scott.sun/scott

parents 7095a874 4502947d
...@@ -67,6 +67,7 @@ if (!$.hasOwnProperty('auto_save')){ ...@@ -67,6 +67,7 @@ if (!$.hasOwnProperty('auto_save')){
} }
try { try {
var par = PAR; var par = PAR;
console.log("=====================================================start") console.log("=====================================================start")
......
...@@ -1256,7 +1256,8 @@ function getMatrixInfo(props){ // 获取matrix各种信息 ...@@ -1256,7 +1256,8 @@ function getMatrixInfo(props){ // 获取matrix各种信息
res.mBoardLayer.push(key) res.mBoardLayer.push(key)
switch (value.layer_type) { switch (value.layer_type) {
case "signal": case "signal":
res.mSignal[key] = value
s.mSignal[key] = value
res.mSignals.push(value) res.mSignals.push(value)
break; break;
case "drill": case "drill":
......
...@@ -116,6 +116,7 @@ console.log("=============================:template"); ...@@ -116,6 +116,7 @@ console.log("=============================:template");
// 引入模块 包 // 引入模块 包
var $ = require('topcam.scriptfunc').argv(); var $ = require('topcam.scriptfunc').argv();
var fs = require('fs'); var fs = require('fs');
const { padStart } = require('lodash');
var _ = require('lodash'); var _ = require('lodash');
require("topsin.genmath") require("topsin.genmath")
var genMath = new GenMath(); var genMath = new GenMath();
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
```js ```js
USER_NAME // 用户名 例:admin USER_NAME // 用户名 例:admin
USER_FULLNAME // 用户完整名 例:管理员 USER_FULLNAME // 用户完整名 例:管理员
USER_ID // 用户id 例: 1 USER_ID // 用户id 例:1
JOB // 料号名 例:demo JOB // 料号名 例:demo
JOB_ID // 料号id 例:1 JOB_ID // 料号id 例:1
GEN_TYPE // GEN类型 例:genesis GEN_TYPE // GEN类型 例:genesis
......
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