ソースを参照

上传setting文件

zhaobao 3 年 前
コミット
3d841bb87c
3 ファイル変更72 行追加1 行削除
  1. 1 1
      .gitignore
  2. 61 0
      src/settings.js
  3. 10 0
      yarn.lock

+ 1 - 1
.gitignore

@@ -16,5 +16,5 @@ tests/**/coverage/
 *.sln
 
 package-lock.json
-src/settings.js
+# src/settings.js
 dist.*

+ 61 - 0
src/settings.js

@@ -0,0 +1,61 @@
+module.exports = {
+  title: '六院联创数字化管理平台',
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether show the settings right-panel
+   */
+  showSettings: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether need tagsView
+   */
+  tagsView: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether fix the header
+   */
+  fixedHeader: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether show the logo in sidebar
+   */
+  sidebarLogo: true,
+
+  /**
+   * @type {string | array} 'production' | ['production', 'development']
+   * @description Need show err logs component.
+   * The default is only used in the production env
+   * If you want to also use it in dev, you can pass ['production', 'development']
+   */
+  errorLog: 'production',
+
+  /**
+  * 服务API地址
+  */
+  serverUrl: 'http://36.137.171.123:8001/', // 正式环境
+  // serverUrl: 'http://192.168.1.214:8080/', // 正式环境
+  // serverUrl: 'http://1.15.92.205:8080/', // 正式环境
+  // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
+  // serverUrl: 'http://113.141.84.66:8001/', // 正式环境
+  // devServerUrl: 'http://1.15.92.205:8080/', // 开发环境
+  devServerUrl: 'http://127.0.0.1:8001/', // 开发环境
+  // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
+  // devServerUrl: 'http://114.116.19.14:8080/', // 开发环境
+  /**
+  * websocket 地址
+  * dev 开发环境
+  * pro正式环境
+  */
+  appID: '10003',
+  appKey: '82a8bf439373e307',
+  appSecret: '82a8bf439373e307',
+  permitTplId: 7,
+  wsServerUrl: {
+    dev: 'ws://xazhyc.com/websocket/link',
+    pro: 'ws://xazhyc.com/websocket/link'
+  }
+}

+ 10 - 0
yarn.lock

@@ -5839,6 +5839,16 @@ hex-color-regex@^1.1.0:
   resolved "https://registry.nlark.com/hex-color-regex/download/hex-color-regex-1.1.0.tgz"
   integrity sha1-TAb8y0YC/iYCs8k9+C1+fb8aio4=
 
+highcharts-vue@^1.4.0:
+  version "1.4.2"
+  resolved "https://registry.yarnpkg.com/highcharts-vue/-/highcharts-vue-1.4.2.tgz#6d8568095102fc1cd3286fc488e2d4a31951ebdb"
+  integrity sha512-B84d2Me0w1G7euPC3WNxhpq2/+t1nxLGa9sa0LUzYNXrWw7Es0n2aXst7ZGb/m3vI7VjFKstDitS8fEFuDNwWg==
+
+highcharts@^9.1.2:
+  version "9.3.3"
+  resolved "https://registry.yarnpkg.com/highcharts/-/highcharts-9.3.3.tgz#ae62178de788fd7934431aa26b8e250b8073c541"
+  integrity sha512-QeOvm6cifeZYYdTLm4IxZsXcOE9c4xqfs0z0OJJ0z7hhA9WG0rmcVAyuIp5HBl/znjA/ayYHmpYjBYD/9PG4Fg==
+
 highlight.js@^10.7.1:
   version "10.7.3"
   resolved "https://registry.nlark.com/highlight.js/download/highlight.js-10.7.3.tgz"