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')){
}
try {
var par = PAR;
console.log("=====================================================start")
......
......@@ -535,7 +535,7 @@ try {
script_info({ msg: "analysis drill_info" })
script_info({ progress: 75 })
// * 获取pcs_step 和 array_step的钻孔信息
var drill_tool_info = {};
var drill_tool_info = {};
var drillLayers = analysis_obj.matrixInfo.mDrills;
var steps_drillinfo = [
{
......@@ -1256,7 +1256,8 @@ function getMatrixInfo(props){ // 获取matrix各种信息
res.mBoardLayer.push(key)
switch (value.layer_type) {
case "signal":
res.mSignal[key] = value
s.mSignal[key] = value
res.mSignals.push(value)
break;
case "drill":
......
......@@ -116,6 +116,7 @@ console.log("=============================:template");
// 引入模块 包
var $ = require('topcam.scriptfunc').argv();
var fs = require('fs');
const { padStart } = require('lodash');
var _ = require('lodash');
require("topsin.genmath")
var genMath = new GenMath();
......
......@@ -22,7 +22,7 @@
```js
USER_NAME // 用户名 例:admin
USER_FULLNAME // 用户完整名 例:管理员
USER_ID // 用户id 例: 1
USER_ID // 用户id 例:1
JOB // 料号名 例:demo
JOB_ID // 料号id 例:1
GEN_TYPE // GEN类型 例:genesis
......@@ -84,4 +84,4 @@
gui.msg(error)
return 'error'
}
```
\ No newline at end of file
```
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