zhaobao 3 лет назад
Родитель
Сommit
84d28d1891
2 измененных файлов с 58 добавлено и 1 удалено
  1. 1 1
      .gitignore
  2. 57 0
      src/settings.js

+ 1 - 1
.gitignore

@@ -15,5 +15,5 @@ tests/**
 *.njsproj
 *.njsproj
 *.sln
 *.sln
 
 
-src/settings.js
+# src/settings.js
 dist.*
 dist.*

+ 57 - 0
src/settings.js

@@ -0,0 +1,57 @@
+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://192.168.1.214:8080/', // 正式环境
+  devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
+  // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
+  // devServerUrl: 'http://192.168.3.5:8080',
+  /**
+  * websocket 地址
+  * dev 开发环境
+  * pro正式环境
+  */
+  appID: '10005',
+  appKey: '82a8bf439373e309',
+  appSecret: '82a8bf439373e309',
+  permitTplId: 7,
+  mqttUrl: 'mqtt://1.15.92.205:8083/mqtt',
+  wsServerUrl: {
+    dev: 'ws://ws.58yunkang.com/websocket/link',
+    pro: 'ws://ws.58yunkang.com/websocket/link'
+  }
+}