Browse Source

1008 批量报工

master
ruanqi 4 years ago
parent
commit
bbc8694a70
  1. 4
      config/index.js
  2. 2
      src/views/modules/board/productionBlankingBoard.vue
  3. 2
      static/config/index.js

4
config/index.js

@ -13,7 +13,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置 // 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : { proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': { '/proxyApi': {
target: 'http://192.168.1.130:9090',
target: 'http://localhost:9090',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
// 把 /proxyApi 替换成 / // 把 /proxyApi 替换成 /
@ -23,7 +23,7 @@ module.exports = {
}, },
// Various Dev Server settings // Various Dev Server settings
host: '192.168.1.130', // can be overwritten by process.env.HOST
host: 'localhost', // can be overwritten by process.env.HOST
port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true, autoOpenBrowser: true,
errorOverlay: true, errorOverlay: true,

2
src/views/modules/board/productionBlankingBoard.vue

@ -200,6 +200,8 @@
</script> </script>
<style > <style >
.board2 .el-table .cell { .board2 .el-table .cell {
line-height: 13px; line-height: 13px;
font-size: 12px; font-size: 12px;

2
static/config/index.js

@ -5,7 +5,7 @@
window.SITE_CONFIG = {}; window.SITE_CONFIG = {};
// api接口请求地址 // api接口请求地址
window.SITE_CONFIG['baseUrl'] = 'http://192.168.1.130:9090/';
window.SITE_CONFIG['baseUrl'] = 'http://localhost:9090/';
// cdn地址 = 域名 + 版本号 // cdn地址 = 域名 + 版本号
window.SITE_CONFIG['domain'] = './'; // 域名 window.SITE_CONFIG['domain'] = './'; // 域名

Loading…
Cancel
Save