manage-client 4.1.130 → 4.1.131

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,8 @@ const proxyMiddleware = require('http-proxy-middleware')
6
6
  const app = express()
7
7
  const compiler = webpack(config)
8
8
 
9
- const server = 'http://192.168.50.67:31567/'
10
- const local = 'http://127.0.0.1:9026/'
9
+ const server = 'http://121.36.106.17:31467/'
10
+ const local = 'http://121.36.106.17:31467/'
11
11
  const proxyTable = {
12
12
  '/rs/logic/exportfile': {
13
13
  target: server
@@ -16,21 +16,21 @@ const proxyTable = {
16
16
  target: server
17
17
  },
18
18
  '/api/af-revenue/sql/': {
19
- pathRewrite: {
20
- '^/api/af-revenue': '/'
21
- },
19
+ // pathRewrite: {
20
+ // '^/api/af-revenue': '/'
21
+ // },
22
22
  target: local
23
23
  },
24
24
  '/api/af-revenue/report/': {
25
- pathRewrite: {
26
- '^/api/af-revenue': '/'
27
- },
25
+ // pathRewrite: {
26
+ // '^/api/af-revenue': '/'
27
+ // },
28
28
  target: local
29
29
  },
30
30
  '/api/af-revenue/logic': {
31
- pathRewrite: {
32
- '^/api/af-revenue': '/'
33
- },
31
+ // pathRewrite: {
32
+ // '^/api/af-revenue': '/'
33
+ // },
34
34
  target: local
35
35
  },
36
36
  '/api': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.1.130",
3
+ "version": "4.1.131",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1197,7 +1197,7 @@
1197
1197
  },
1198
1198
  userTypeChange () {
1199
1199
  this.gasproperties=[]
1200
- if(this.$refs.paged.$refs.cri.model.f_user_type !== null) {
1200
+ if(this.$refs.paged.$refs.cri.model !== null && this.$refs.paged.$refs.cri.model.f_user_type !== null && this.$refs.paged.$refs.cri.model.f_user_type !== undefined) {
1201
1201
  this.$refs.paged.$refs.cri.model.f_gasproperties=''
1202
1202
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1203
1203
  // this.gasproperties.push({label: '全部', value: ''})
@@ -1224,12 +1224,9 @@ export default {
1224
1224
  },
1225
1225
  userTypeChange () {
1226
1226
  this.gasproperties=[]
1227
- if (this.$refs.paged.$refs.cri.model.f_user_type !== null ) {
1228
- if(this.$refs.paged.$refs.cri.model.f_user_type[0] !==null && this.$refs.paged.$refs.cri.model.f_user_type[0] !=='') {
1229
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
1230
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1231
- // this.gasproperties.push({label: '全部', value: ''})
1232
- }
1227
+ if(this.$refs.paged.$refs.cri.model !== null && this.$refs.paged.$refs.cri.model.f_user_type !== null && this.$refs.paged.$refs.cri.model.f_user_type !== undefined) {
1228
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
1229
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1233
1230
  }
1234
1231
  else{
1235
1232
  this.gasproperties = [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
@@ -1221,7 +1221,7 @@
1221
1221
  },
1222
1222
  userTypeChange () {
1223
1223
  this.gasproperties=[]
1224
- if(this.$refs.paged.$refs.cri.model !== null) {
1224
+ if(this.$refs.paged.$refs.cri.model !== null && this.$refs.paged.$refs.cri.model.f_user_type !== null && this.$refs.paged.$refs.cri.model.f_user_type !== undefined) {
1225
1225
  this.$refs.paged.$refs.cri.model.f_gasproperties=''
1226
1226
  this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0] || '')
1227
1227
  // this.gasproperties.push({label: '全部', value: ''})
package/src/main.js CHANGED
@@ -6,7 +6,7 @@ import { all } from 'vue-client'
6
6
  import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
8
  import saleManage from './saleManage'
9
- import ShanXianSaleManage from './filiale/xinjiangdexin/sale'
9
+ import ShanXianSaleManage from './filiale/hantou/sale'
10
10
  // import ShanXianwebSaleManage from './filiale/rongcheng/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'