manage-client-xy 3.2.9 → 3.2.11

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.
@@ -11,7 +11,7 @@ var compiler = webpack(config)
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var bendi = 'http://127.0.0.1:8888/'
14
+ var bendi = 'http://172.16.16.163:8300/'
15
15
  , fuwu = 'http://172.16.16.163:8300/'
16
16
  // ,fuwu = 'http://172.16.16.163:8300/'
17
17
  var proxyTable = {
@@ -22,12 +22,6 @@ var proxyTable = {
22
22
  '/rs/logic/exportfile': {
23
23
  target: bendi
24
24
  },
25
- '/rs/logic/saleExport': {
26
- target: fuwu
27
- },
28
- '/rs/sql/qc_statistics_manage': {
29
- target: fuwu
30
- },
31
25
  '/files': {
32
26
  target: fuwu
33
27
  },
@@ -84,7 +78,7 @@ var proxyTable = {
84
78
  target: fuwu
85
79
  },
86
80
  '/rs/logic/SumSettleFileImport': {
87
- target: fuwu
81
+ target: 'http://127.0.0.1:8087'
88
82
  },
89
83
  '/rs': {
90
84
  target: fuwu
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.9",
3
+ "version": "3.2.11",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -83,6 +83,15 @@
83
83
  close-on-select clear-button>
84
84
  </v-select>
85
85
  </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">是否<br/>手持设备</label>
88
+ <v-select :value.sync="$parent.$parent.f_outlets"
89
+ :options="$parent.$parent.isPos"
90
+ :search="false"
91
+ placeholder='请选择'
92
+ condition="{}"
93
+ close-on-select></v-select>
94
+ </div>
86
95
  </div>
87
96
  </div>
88
97
  </criteria>
@@ -246,6 +255,8 @@
246
255
  },
247
256
  show:false,
248
257
  showdetail:false,
258
+ isPos: [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}],
259
+ f_outlets: [],
249
260
  otherchargeid:'',
250
261
  rowdata:{},
251
262
  //合计数据
@@ -266,6 +277,12 @@
266
277
  this.$refs.paged.$refs.cri.search()
267
278
  },
268
279
  selfSearch(args) {
280
+ // 手持设备查询条件
281
+ if(this.f_outlets[0] === '是'){
282
+ args.condition += ` and f_outlets = '手持设备'`
283
+ } else if (this.f_outlets[0] === '否'){
284
+ args.condition += ` and f_outlets is null`
285
+ }
269
286
  args.condition = `${args.condition}` + this.orgCondtionStr
270
287
  this.model.search(args.condition, args.model)
271
288
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
@@ -45,9 +45,9 @@
45
45
  <div class="col-sm-2">
46
46
  <label class="font_normal_body">客户状态</label>
47
47
  <v-select :value.sync="model.f_user_state"
48
- v-model="model.f_user_state"
48
+ v-model="model.f_user_state" multiple
49
49
  :options='$parent.$parent.userstates' placeholder='请选择'
50
- condition="f_user_state = '{}'"
50
+ condition="f_user_state in {}"
51
51
  close-on-select></v-select>
52
52
  </div>
53
53
  <div class="col-sm-2">
@@ -253,9 +253,9 @@
253
253
  <div class="col-sm-2">
254
254
  <label class="font_normal_body">气表状态</label>
255
255
  <v-select :value.sync="model.f_table_state"
256
- v-model="model.f_table_state"
256
+ v-model="model.f_table_state" multiple
257
257
  :options='$parent.$parent.meterstate' placeholder='请选择'
258
- condition="f_table_state = '{}'"
258
+ condition="f_table_state in {}"
259
259
  close-on-select></v-select>
260
260
  </div>
261
261
  </div>