sale-client 3.5.37 → 3.5.39
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 +161 -170
- package/package.json +1 -1
- package/src/components/FilesManage/UserGeneralInfoTest.vue +8 -3
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +81 -0
- package/src/components/webMeter/paramSaveNew/ParamSet.vue +2 -2
- package/src/components/webMeter/paramSaveNew/ParamSetDefault.vue +98 -24
- package/src/components/webMeter/paramSaveNew/ParamSetDefaultList.vue +18 -8
- package/src/components/webMeter/paramSaveNew/ParamSetForm.vue +55 -45
- package/src/components/webMeter/paramSaveNew/RadioBtn.vue +30 -0
- package/src/filiale/guangxi/CardService.js +3 -3
- package/src/filiale/guangxi/UnWriteCardCenter.vue +112 -112
- package/src/filiale/kelai/UserEssentialInfoTest.vue +341 -0
- package/src/filiale/kelai/sale.js +3 -1
- package/src/main.js +22 -22
- package/src/sale.js +1 -0
package/build/dev-server.js
CHANGED
|
@@ -1,170 +1,161 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var bendi = 'http://
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
16
|
-
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
-
// 铜川正式
|
|
18
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
-
// 铜川测试
|
|
20
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
-
// 韶关
|
|
23
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
-
// 巩义测试服务
|
|
25
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
-
// 燎原测试服务
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
-
|
|
30
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
-
|
|
32
|
-
var proxyTable = {
|
|
33
|
-
'/rs/logic/saleExport': {
|
|
34
|
-
target: fuwu
|
|
35
|
-
},
|
|
36
|
-
'/rs/logic/saleGetExportProgress': {
|
|
37
|
-
target: fuwu
|
|
38
|
-
},
|
|
39
|
-
'/files': {
|
|
40
|
-
target: fuwu
|
|
41
|
-
},
|
|
42
|
-
// 查找资源服务数据
|
|
43
|
-
'/rs/search': {
|
|
44
|
-
target: fuwu
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
'/rs/
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/rs/
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
'/
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/rs/
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
'/rs/
|
|
83
|
-
target: fuwu
|
|
84
|
-
},
|
|
85
|
-
'/
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/rs/
|
|
92
|
-
target:
|
|
93
|
-
},
|
|
94
|
-
'/rs/
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/
|
|
98
|
-
target:
|
|
99
|
-
},
|
|
100
|
-
'/rs
|
|
101
|
-
target:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
})
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
})
|
|
132
|
-
|
|
133
|
-
//
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
//
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
//
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
//
|
|
149
|
-
//
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
//
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
app.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
app.use('/static', express.static('./static'))
|
|
163
|
-
|
|
164
|
-
module.exports = app.listen(8089, function (err) {
|
|
165
|
-
if (err) {
|
|
166
|
-
console.log(err)
|
|
167
|
-
return
|
|
168
|
-
}
|
|
169
|
-
console.log('Listening at http://localhost:8089')
|
|
170
|
-
})
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
var bendi = 'http://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://192.168.50.4:8400'
|
|
16
|
+
// var fuwu = 'http://121.36.106.17:8400/'
|
|
17
|
+
// 铜川正式
|
|
18
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
19
|
+
// 铜川测试
|
|
20
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
21
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
22
|
+
// 韶关
|
|
23
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
24
|
+
// 巩义测试服务
|
|
25
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
26
|
+
// 燎原测试服务
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
28
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
29
|
+
|
|
30
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
31
|
+
|
|
32
|
+
var proxyTable = {
|
|
33
|
+
'/rs/logic/saleExport': {
|
|
34
|
+
target: fuwu
|
|
35
|
+
},
|
|
36
|
+
'/rs/logic/saleGetExportProgress': {
|
|
37
|
+
target: fuwu
|
|
38
|
+
},
|
|
39
|
+
'/files': {
|
|
40
|
+
target: fuwu
|
|
41
|
+
},
|
|
42
|
+
// 查找资源服务数据
|
|
43
|
+
'/rs/search': {
|
|
44
|
+
target: fuwu
|
|
45
|
+
},
|
|
46
|
+
// 查找资源服务数据
|
|
47
|
+
'/rs/logic/getLogin': {
|
|
48
|
+
target: fuwu
|
|
49
|
+
},
|
|
50
|
+
// 查找资源服务数据
|
|
51
|
+
'/rs/logic/getInitData': {
|
|
52
|
+
target: fuwu
|
|
53
|
+
},
|
|
54
|
+
'/rs/logic/getSaleInitData': {
|
|
55
|
+
target: fuwu
|
|
56
|
+
},
|
|
57
|
+
'/invoice': {
|
|
58
|
+
target: fuwu
|
|
59
|
+
},
|
|
60
|
+
// 用户登录服务地址
|
|
61
|
+
'/rs/user': {
|
|
62
|
+
target: fuwu
|
|
63
|
+
},
|
|
64
|
+
'/rs/path/getParams': {
|
|
65
|
+
target: fuwu
|
|
66
|
+
},
|
|
67
|
+
'/rs/data': {
|
|
68
|
+
target: fuwu
|
|
69
|
+
},
|
|
70
|
+
'/rs/license': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/rs/db': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
'/excel': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/rs/config': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
'/rs/sql/getLicenseById': {
|
|
83
|
+
target: fuwu
|
|
84
|
+
},
|
|
85
|
+
'/rs/sql/manage_getarealist': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/sql/manage_getstreetlist': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/rs/report': {
|
|
92
|
+
target: 'http://121.36.106.17:8400/'
|
|
93
|
+
},
|
|
94
|
+
'/rs/vue': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/webmeter': {
|
|
98
|
+
target: 'http://192.168.50.4:8450'
|
|
99
|
+
},
|
|
100
|
+
'/rs': {
|
|
101
|
+
// target: 'http://192.168.30.63:8081/'
|
|
102
|
+
// target: 'http://121.36.106.17:8400/'
|
|
103
|
+
target: bendi
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
108
|
+
publicPath: config.output.publicPath,
|
|
109
|
+
stats: {
|
|
110
|
+
colors: true,
|
|
111
|
+
chunks: false
|
|
112
|
+
}
|
|
113
|
+
})
|
|
114
|
+
|
|
115
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
116
|
+
// force page reload when html-webpack-plugin template changes
|
|
117
|
+
compiler.plugin('compilation', function (compilation) {
|
|
118
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
119
|
+
hotMiddleware.publish({action: 'reload'})
|
|
120
|
+
cb()
|
|
121
|
+
})
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
// proxy api requests
|
|
125
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
126
|
+
var options = proxyTable[context]
|
|
127
|
+
if (typeof options === 'string') {
|
|
128
|
+
options = {target: options}
|
|
129
|
+
}
|
|
130
|
+
app.use(proxyMiddleware(context, options))
|
|
131
|
+
})
|
|
132
|
+
|
|
133
|
+
// handle fallback for HTML5 history API
|
|
134
|
+
app.use(require('connect-history-api-fallback')())
|
|
135
|
+
// app.use(function (req, res, next) {
|
|
136
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
137
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
138
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
139
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
140
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
141
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
142
|
+
// next()
|
|
143
|
+
// })
|
|
144
|
+
|
|
145
|
+
// serve webpack bundle output
|
|
146
|
+
app.use(devMiddleware)
|
|
147
|
+
|
|
148
|
+
// enable hot-reload and state-preserving
|
|
149
|
+
// compilation error display
|
|
150
|
+
app.use(hotMiddleware)
|
|
151
|
+
|
|
152
|
+
// serve pure static assets
|
|
153
|
+
app.use('/static', express.static('./static'))
|
|
154
|
+
|
|
155
|
+
module.exports = app.listen(8089, function (err) {
|
|
156
|
+
if (err) {
|
|
157
|
+
console.log(err)
|
|
158
|
+
return
|
|
159
|
+
}
|
|
160
|
+
console.log('Listening at http://localhost:8089')
|
|
161
|
+
})
|
package/package.json
CHANGED
|
@@ -150,7 +150,7 @@ export default {
|
|
|
150
150
|
data: {
|
|
151
151
|
baseinfo: {
|
|
152
152
|
base: {
|
|
153
|
-
f_user_name:'',
|
|
153
|
+
f_user_name: '',
|
|
154
154
|
f_user_state: '',
|
|
155
155
|
f_credentials: '',
|
|
156
156
|
f_cost_type: '',
|
|
@@ -440,7 +440,7 @@ export default {
|
|
|
440
440
|
} else if (row.f_fire_state === '0') {
|
|
441
441
|
row.f_fire_state1 = false
|
|
442
442
|
}
|
|
443
|
-
row.f_install_date = row.f_install_date ? row.f_install_date :
|
|
443
|
+
row.f_install_date = row.f_install_date ? row.f_install_date : null
|
|
444
444
|
row.f_gas_date = row.f_gas_date ? row.f_gas_date : null
|
|
445
445
|
row.f_changetube_date = row.f_changetube_date ? row.f_changetube_date : null
|
|
446
446
|
row.f_aroundmeter = row.f_aroundmeter ? row.f_aroundmeter : ''
|
|
@@ -583,7 +583,9 @@ export default {
|
|
|
583
583
|
f_hand_month: '', // 抄表月份
|
|
584
584
|
fireinfo: {}, // 用气信息
|
|
585
585
|
f_meter_book_num: '',
|
|
586
|
-
f_use_limit:''
|
|
586
|
+
f_use_limit: '',
|
|
587
|
+
f_gas_date: this.$login.toStandardDateString(),
|
|
588
|
+
f_install_date: this.$login.toStandardDateString()
|
|
587
589
|
}],
|
|
588
590
|
devicesinfo: []
|
|
589
591
|
}
|
|
@@ -644,6 +646,9 @@ export default {
|
|
|
644
646
|
f_hand_month: row.f_hand_month,
|
|
645
647
|
f_usetype: ''
|
|
646
648
|
}
|
|
649
|
+
if (!temp.f_install_date) {
|
|
650
|
+
delete temp.f_install_date
|
|
651
|
+
}
|
|
647
652
|
Object.assign(this.data.meterinfo[0], this.data.meterinfo[0], temp)
|
|
648
653
|
console.log('====1.=====', temp, row)
|
|
649
654
|
this.checkout('area')
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
<div class="row">
|
|
9
9
|
<res-select-group :initres="$parent.$parent.initres" :show-component="['company','department','operator','slicearea']" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
10
10
|
<div class="span" style="float:right">
|
|
11
|
+
<button v-if="$parent.$parent.importMeterNumber === '开关阀导入表号'" class="button_new" style="margin-right: 10px" @click="$parent.$parent.showUploadCodeCondition()">导入表号</button>
|
|
11
12
|
<import-excel v-if="$parent.$parent.batchImport === '批量开关阀导入'" template-name="批量开关阀导入Excel模板" logic-name="importBatchValue" import-json="importBatchValue.json"></import-excel>
|
|
12
13
|
<button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
|
|
13
14
|
<button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
|
|
@@ -281,6 +282,13 @@
|
|
|
281
282
|
</criteria-paged>
|
|
282
283
|
</div>
|
|
283
284
|
</div>
|
|
285
|
+
<modal :show.sync="batchMeterShow" width="570px" title="文件导入" v-ref:modal large backdrop="false">
|
|
286
|
+
<article slot="modal-body" class="modal-body">
|
|
287
|
+
<file-upload class="my-file-uploader col-sm-9" name="meterNUmberUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
288
|
+
</article>
|
|
289
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
290
|
+
</footer>
|
|
291
|
+
</modal>
|
|
284
292
|
<div style="height: 98%;width: 40%" class="binary-right" v-if="selectRow">
|
|
285
293
|
<sale-web-meter-operate v-if="selectRow" :row="selectRow" @research = research()></sale-web-meter-operate>
|
|
286
294
|
</div>
|
|
@@ -318,6 +326,7 @@
|
|
|
318
326
|
import Vue from 'vue'
|
|
319
327
|
import * as Util from '../../../Util'
|
|
320
328
|
import {HttpResetClass} from 'vue-client'
|
|
329
|
+
import axios from 'axios'
|
|
321
330
|
|
|
322
331
|
let fun = (json) => {
|
|
323
332
|
let array = []
|
|
@@ -393,6 +402,9 @@ import {HttpResetClass} from 'vue-client'
|
|
|
393
402
|
},
|
|
394
403
|
// 开关阀权限
|
|
395
404
|
valveLimit: false,
|
|
405
|
+
uploadCodeCondition: '', // 导入表号条件
|
|
406
|
+
batchMeterShow: '', // 导入表号弹框
|
|
407
|
+
importMeterNumber: '', // 开关阀导入权限
|
|
396
408
|
// 设置参数权限
|
|
397
409
|
Setarameterermissions: false,
|
|
398
410
|
parameterType: '',
|
|
@@ -413,13 +425,79 @@ import {HttpResetClass} from 'vue-client'
|
|
|
413
425
|
'dblclick' (row) {
|
|
414
426
|
console.log('看看这个row', row)
|
|
415
427
|
this.selectRow = row
|
|
428
|
+
},
|
|
429
|
+
'onFileUpload': async function (file, res) {
|
|
430
|
+
this.iswork = true
|
|
431
|
+
let param = {
|
|
432
|
+
filepath: res.f_downloadpath,
|
|
433
|
+
importJson: this.importJson,
|
|
434
|
+
logicName: this.logicName,
|
|
435
|
+
f_operator: this.$login.f.name,
|
|
436
|
+
f_operatorid: this.$login.f.id,
|
|
437
|
+
f_orgid: this.$login.f.orgid,
|
|
438
|
+
f_orgname: this.$login.f.orgs,
|
|
439
|
+
f_depid: this.$login.f.depids,
|
|
440
|
+
f_depname: this.$login.f.deps
|
|
441
|
+
}
|
|
442
|
+
this.batchMeterShow = false
|
|
443
|
+
let self = this
|
|
444
|
+
try {
|
|
445
|
+
await axios.post('rs/logic/importData',
|
|
446
|
+
{data: param}, {timeout: 10 * 60 * 1000}).then((res) => {
|
|
447
|
+
if (res.data) {
|
|
448
|
+
this.uploadCodeCondition = self.convertToIn(res.data.dataArr)
|
|
449
|
+
this.uploadCodeCondition = ' and f_meternumber in' + this.uploadCodeCondition
|
|
450
|
+
}
|
|
451
|
+
})
|
|
452
|
+
} catch (error) {
|
|
453
|
+
if (error.response) {
|
|
454
|
+
if (error.response.status == 500) {
|
|
455
|
+
this.$showAlert('服务繁忙,请重试!!!', 'danger', 3000)
|
|
456
|
+
} else if (error.response.status == 404) {
|
|
457
|
+
this.$showAlert('服务运行中,请耐心等待后进行重试!!', 'danger', 3000)
|
|
458
|
+
} else {
|
|
459
|
+
this.$showAlert(error.response.data, 'danger', 2000)
|
|
460
|
+
}
|
|
461
|
+
console.log(error.response.data)
|
|
462
|
+
console.log(error.response.status)
|
|
463
|
+
console.log(error.response.headers)
|
|
464
|
+
} else if (error.request) {
|
|
465
|
+
console.log(error.request)
|
|
466
|
+
this.$showAlert(error.request, 'danger', 2000)
|
|
467
|
+
} else {
|
|
468
|
+
console.log('Error', error.message)
|
|
469
|
+
this.$showAlert(error.message, 'danger', 2000)
|
|
470
|
+
}
|
|
471
|
+
this.iswork = false
|
|
472
|
+
}
|
|
473
|
+
this.batchShow = false
|
|
416
474
|
}
|
|
417
475
|
},
|
|
418
476
|
methods: {
|
|
477
|
+
// 数组转in
|
|
478
|
+
convertToIn (val) {
|
|
479
|
+
let temp = ''
|
|
480
|
+
if (val instanceof Array) {
|
|
481
|
+
if (val.length >= 1) {
|
|
482
|
+
temp = '('
|
|
483
|
+
val.forEach((res) => {
|
|
484
|
+
temp += `'${res}',`
|
|
485
|
+
})
|
|
486
|
+
temp = temp.substr(0, temp.length - 1) + ')'
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
return temp
|
|
490
|
+
},
|
|
491
|
+
showUploadCodeCondition () {
|
|
492
|
+
this.batchMeterShow = true
|
|
493
|
+
},
|
|
419
494
|
getAuthority () {
|
|
420
495
|
if (this.$login.r.find(value => value == '批量开关阀导入')) {
|
|
421
496
|
this.batchImport = '批量开关阀导入'
|
|
422
497
|
}
|
|
498
|
+
if (this.$login.r.find(value => value == '开关阀导入表号')) {
|
|
499
|
+
this.importMeterNumber = '开关阀导入表号'
|
|
500
|
+
}
|
|
423
501
|
},
|
|
424
502
|
research () {
|
|
425
503
|
this.selectRow = null
|
|
@@ -461,6 +539,7 @@ import {HttpResetClass} from 'vue-client'
|
|
|
461
539
|
args.condition = `${args.condition} ` + `and f_gasbrand_id = ${this.$refs.paged.$refs.criteria.model.f_meter_brand[0].id}`
|
|
462
540
|
}
|
|
463
541
|
}
|
|
542
|
+
args.condition = `${args.condition} ` + this.uploadCodeCondition
|
|
464
543
|
this.condition = args.condition
|
|
465
544
|
await this.model.search(args.condition, args.model)
|
|
466
545
|
|
|
@@ -491,6 +570,8 @@ import {HttpResetClass} from 'vue-client'
|
|
|
491
570
|
},
|
|
492
571
|
clearmsg () {
|
|
493
572
|
this.$refs.paged.$refs.criteria.model = {}
|
|
573
|
+
// 清空表号
|
|
574
|
+
this.uploadCodeCondition = ''
|
|
494
575
|
},
|
|
495
576
|
clickshow () {
|
|
496
577
|
this.searchshow = !this.searchshow
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
<h3 class="modal-title" style="text-align: center;">参数设置</h3>
|
|
206
206
|
</header>
|
|
207
207
|
<article slot="modal-body" class="flex-row" >
|
|
208
|
-
<param-set-form :data="map" :condition="conditionMsg" @showparam="showparam" @clear="clear" :gasbrandid="f_gasbrand_id" :user="user" :checked1 ="checked1" v-ref:form></param-set-form>
|
|
208
|
+
<param-set-form-new :data="map" :condition="conditionMsg" @showparam="showparam" @clear="clear" :gasbrandid="f_gasbrand_id" :user="user" :checked1 ="checked1" v-ref:form></param-set-form-new>
|
|
209
209
|
</article>
|
|
210
210
|
<footer slot="modal-footer" class="modal-footer">
|
|
211
211
|
</footer>
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
<h3 class="modal-title" style="text-align: center;">参数设置记录</h3>
|
|
217
217
|
</header>
|
|
218
218
|
<article slot="modal-body" class="flex-row" >
|
|
219
|
-
<param-history @clear="clear" :gasbrandid="f_gasbrand_id" :user="row" v-ref:history></param-history>
|
|
219
|
+
<param-history-new @clear="clear" :gasbrandid="f_gasbrand_id" :user="row" v-ref:history></param-history-new>
|
|
220
220
|
</article>
|
|
221
221
|
<footer slot="modal-footer" class="modal-footer">
|
|
222
222
|
<!-- <button type="button" class="btn btn-primary" @click='confirm()'>确认</button>-->
|