manage-client 3.2.266 → 3.2.267
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.
package/build/dev-server.js
CHANGED
|
@@ -19,9 +19,9 @@ var qtx= 'http://36.103.222.144:6300/'
|
|
|
19
19
|
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
20
|
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
21
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
22
|
+
var bendi = 'http://61.240.138.248:8400'
|
|
23
23
|
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
24
|
+
var wode = 'http://61.240.138.248:8400'
|
|
25
25
|
// 192.168.
|
|
26
26
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
27
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
package/package.json
CHANGED
|
@@ -142,9 +142,19 @@
|
|
|
142
142
|
<label class="font_normal_body">气表品牌</label>
|
|
143
143
|
<v-select :value.sync="model.f_meter_brand"
|
|
144
144
|
v-model="model.f_meter_brand" multiple
|
|
145
|
+
@change="$parent.$parent.getMeterStyle"
|
|
145
146
|
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
146
147
|
condition="f_meter_brand in {}"
|
|
147
|
-
|
|
148
|
+
></v-select>
|
|
149
|
+
</div>
|
|
150
|
+
|
|
151
|
+
<div class="col-sm-2 form-group">
|
|
152
|
+
<label class="font_normal_body">气表型号</label>
|
|
153
|
+
<v-select :value.sync="model.f_meter_style"
|
|
154
|
+
v-model="model.f_meter_style" multiple
|
|
155
|
+
:options='$parent.$parent.meterStyle' placeholder='请选择'
|
|
156
|
+
condition="f_meter_style in {}"
|
|
157
|
+
></v-select>
|
|
148
158
|
</div>
|
|
149
159
|
<div class="col-sm-2 form-group">
|
|
150
160
|
<label class="font_normal_body">表  号</label>
|
|
@@ -931,6 +941,7 @@
|
|
|
931
941
|
sumsmodel: {},
|
|
932
942
|
//表册片区
|
|
933
943
|
bookSlice:[{label: '全部',value: ''}],
|
|
944
|
+
meterStyle:[{label: '全部',value: ''}],
|
|
934
945
|
pricenames:[],
|
|
935
946
|
dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
|
|
936
947
|
networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
|
|
@@ -946,6 +957,34 @@
|
|
|
946
957
|
})
|
|
947
958
|
},
|
|
948
959
|
methods: {
|
|
960
|
+
recombine (param) {
|
|
961
|
+
// 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
|
|
962
|
+
let str = ''
|
|
963
|
+
if (param && param.length > 0) {
|
|
964
|
+
param.forEach((p) => {
|
|
965
|
+
str += `'${p}',`
|
|
966
|
+
})
|
|
967
|
+
}
|
|
968
|
+
return `(${str.substring(0, str.length - 1)})`
|
|
969
|
+
},
|
|
970
|
+
async getMeterStyle(val){
|
|
971
|
+
if (val.length > 0){
|
|
972
|
+
// 获取气表型号下拉框
|
|
973
|
+
let HttpReset = new HttpResetClass()
|
|
974
|
+
let param = {
|
|
975
|
+
items: 'distinct f_meter_style',
|
|
976
|
+
tablename: 't_gasmodel gm left join t_gasbrand tg on gm.f_gasbrand_id = tg.id',
|
|
977
|
+
condition: `tg.f_meter_brand in ${this.recombine(val)}`,
|
|
978
|
+
orderitem: 'f_meter_style'
|
|
979
|
+
}
|
|
980
|
+
let data = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
|
|
981
|
+
for (let row of data.data) {
|
|
982
|
+
this.meterStyle.push({label: row.f_meter_style, value: row.f_meter_style})
|
|
983
|
+
}
|
|
984
|
+
} else {
|
|
985
|
+
this.meterStyle = [{label: '全部',value: ''}]
|
|
986
|
+
}
|
|
987
|
+
},
|
|
949
988
|
ReadIDCard(){
|
|
950
989
|
this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
|
|
951
990
|
console.log('======',msg)
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<th style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></th>
|
|
195
195
|
<th style="text-align:center"><nobr>{{row.f_total_fee}}</nobr></th>
|
|
196
196
|
<th style="text-align:center"><nobr>{{row.f_total_gas}}</nobr></th>
|
|
197
|
-
<th style="text-align:center"><nobr>{{row.
|
|
197
|
+
<th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
|
|
198
198
|
<th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
|
|
199
199
|
<th style="text-align:center"><nobr>{{row.cycleGas}}</nobr></th>
|
|
200
200
|
<th style="text-align:center"><nobr>{{row.cycleFee}}</nobr></th>
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
<label class="font_normal_body">操作类型</label>
|
|
41
41
|
<v-select :value.sync="model.f_type" v-model="model.f_type"
|
|
42
42
|
:options='$parent.$parent.operates' placeholder='请选择'
|
|
43
|
+
condition="f_type = '{}'"
|
|
43
44
|
close-on-select></v-select>
|
|
44
45
|
</div>
|
|
45
46
|
<div :class="$parent.$parent.style">
|
|
@@ -294,6 +295,7 @@ export default {
|
|
|
294
295
|
readyGen(this)
|
|
295
296
|
this.$refs.paged.$refs.cri.condition += this.orgCondtionStr
|
|
296
297
|
this.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
|
|
298
|
+
this.$refs.paged.$refs.cri.model.f_type = ['卡表收费']
|
|
297
299
|
this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString()
|
|
298
300
|
this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()
|
|
299
301
|
// this.search()
|