Commit 09a23d48bcdfffd2a32b27fc2e72e1e5f9c2e905
1 parent
67443bbf
更新以下内容: 处理样稿申请按钮调用存储过程后不回刷
Showing
2 changed files
with
7 additions
and
4 deletions
src/mes/scheduledTasks/machineTasks/index.js
| @@ -624,7 +624,10 @@ const MachineTasks = baseProps => { | @@ -624,7 +624,10 @@ const MachineTasks = baseProps => { | ||
| 624 | if (sInstruct) { | 624 | if (sInstruct) { |
| 625 | props.onExecInstructSet({ | 625 | props.onExecInstructSet({ |
| 626 | ...props, | 626 | ...props, |
| 627 | - btnConfig: item?.config | 627 | + btnConfig: item?.config, |
| 628 | + callback: () => { | ||
| 629 | + props.onRefresh(); | ||
| 630 | + } | ||
| 628 | }); | 631 | }); |
| 629 | } | 632 | } |
| 630 | 633 |
src/utils/config.js
| @@ -4,10 +4,10 @@ const bHttps = location.protocol === 'https:'; | @@ -4,10 +4,10 @@ const bHttps = location.protocol === 'https:'; | ||
| 4 | export const webSite = { | 4 | export const webSite = { |
| 5 | // ipAddress: '//t0.xlyprint.com:8000/xlyEntry/', /* 服务器地址 */ | 5 | // ipAddress: '//t0.xlyprint.com:8000/xlyEntry/', /* 服务器地址 */ |
| 6 | // faceAddress: isDev ? '//192.168.11.22:8080/xlyFace' : '//' + location.host + '/xlyFace', | 6 | // faceAddress: isDev ? '//192.168.11.22:8080/xlyFace' : '//' + location.host + '/xlyFace', |
| 7 | - fileAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyReport/' : '//' + location.host + '/xlyReport/', // 接口地址 | ||
| 8 | - faceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyFace' : '//' + location.host + '/xlyFace', | 7 | + fileAddress: isDev ? '//18573763961.gnway.cc:51599/xlyEntry/' : '//' + location.host + '/xlyEntry/', // 接口地址 |
| 8 | + faceAddress: isDev ? '//18573763961.gnway.cc:51599/xlyFace' : '//' + location.host + '/xlyFace', | ||
| 9 | ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//18573763961.gnway.cc:51599/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 9 | ipAddress: localStorage.ipAddress ? localStorage.ipAddress : isDev ? '//18573763961.gnway.cc:51599/xlyEntry/' : '//' + location.host + '/xlyEntry/', |
| 10 | - interfaceAddress: isDev ? '//km5cjx.gnway.cc:43920/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址88 | 10 | + interfaceAddress: isDev ? '//18573763961.gnway.cc:51599/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址88 |
| 11 | // ipAddress: isDev ? '//ebc.jinjia.com:8091/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 11 | // ipAddress: isDev ? '//ebc.jinjia.com:8091/xlyEntry/' : '//' + location.host + '/xlyEntry/', |
| 12 | // interfaceAddress: isDev ? '//ebc.jinjia.com:8091/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 | 12 | // interfaceAddress: isDev ? '//ebc.jinjia.com:8091/xlyApi/' : '//' + location.host + '/xlyApi/', // 接口地址 |
| 13 | // ipAddress: isDev ? '//192.168.11.26:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', | 13 | // ipAddress: isDev ? '//192.168.11.26:8080/xlyEntry/' : '//' + location.host + '/xlyEntry/', |