sale-client 4.2.9 → 4.2.10

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.
Files changed (51) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  3. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  4. package/build/dev-server.js +1 -4
  5. package/package.json +1 -1
  6. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  7. package/src/filiale/yuncheng/UploadIdCard.vue +59 -62
  8. package/src/main.js +1 -1
  9. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  10. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  11. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  12. package/src/components/SendCard/SendCardData.vue +0 -208
  13. package/src/components/accounts/accountAdd.vue +0 -276
  14. package/src/components/accounts/accountsList.vue +0 -183
  15. package/src/components/accounts/accountsManage.vue +0 -87
  16. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  17. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  18. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  19. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  20. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  21. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  22. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  23. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  24. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  25. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  26. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  27. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  28. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  29. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  30. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  31. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  32. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  33. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  34. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  35. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  36. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  37. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  38. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  39. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  40. package/src/components/thirdapply/thirdAdd.vue +0 -289
  41. package/src/components/thirdapply/thirdList.vue +0 -162
  42. package/src/components/thirdapply/thirdManage.vue +0 -74
  43. package/src/components/webMeter/InstructQuery.vue +0 -414
  44. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  45. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  46. package/src/components/webMeter/WebUserHand.vue +0 -483
  47. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  48. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  49. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  50. package/src/plugins/FileManageServicets.js +0 -214
  51. package/src/plugins/GetImg.js +0 -53
@@ -1,296 +0,0 @@
1
- <template>
2
- <div class="basic-main " style="overflow: auto">
3
- <div
4
- novalidate
5
- class="form-horizontal select-overspread auto"
6
- >
7
- <div class="col-sm-12 ">
8
- <label style="padding: 20px">参数设置</label>
9
- <button class="btn btn-default" style="float: right;margin: 10px" @click="refreshParam()">
10
- <span class="glyphicon glyphicon-refresh"
11
- ><span style="margin-left: 5px">初始化数据</span></span
12
- >
13
- </button>
14
- </div>
15
- <div v-for="data in newmeterinfo" class="row" style="border-bottom: 2px solid #eee;padding: 10px">
16
-
17
- <div class="col-sm-12" >
18
- <ul class="nav nav-tabs col-sm-12">
19
-
20
- <input
21
- class="magic-checkbox"
22
- type="checkbox"
23
- :id="data.name"
24
- :true-value="'是'"
25
- :false-value="''"
26
- v-model="data.check"
27
- />
28
- <label style="width:40%" :for="data.name"
29
- ><a>{{ data.label ? data.label : data.name }}</a>
30
- </label>
31
-
32
- </ul>
33
- <!-- <div class="col-sm-3 col-sm-offset-1">-->
34
- <!-- <button class="btn btn-info btn-sm " v-if="data.mode" @click="paramRead(data.name)">参数读取</button>-->
35
- <!-- </div>-->
36
- </div>
37
- <div class="col-sm-6 form-group " style="" v-for="param in data.params">
38
- <div class="col-sm-12 auto">
39
- <div class="col-sm-6">
40
- <label class="font_normal_body" :title="param.remark" style="text-align: left;cursor: pointer;margin-left: 10px;line-height: 20px"
41
- >
42
- {{ param.name }}
43
- :</label
44
- >
45
- </div>
46
- <div class="col-sm-6 " v-if="param.type !== 'option'">
47
- <input
48
- :type="param.type"
49
- :max="param.max"
50
- :min="param.min"
51
- v-model="row[param.title]"
52
- style="width: 90%"
53
- class="form-control"
54
- :placeholder="param.remark"
55
- />
56
- </div>
57
- <div class="col-sm-6" v-if="param.type === 'option'">
58
- <v-select
59
- :placeholder=" "
60
- :value.sync="row[param.title]"
61
- style="width: 90%"
62
- width="90%"
63
- :value-single="true"
64
- v-model="row[param.title]"
65
- :options="param.params"
66
- close-on-select
67
- >
68
- </v-select>
69
- </div>
70
- </div>
71
- </div>
72
- </div>
73
- <div class="col-sm-12 auto" style="padding: 20px">
74
-
75
- <button style="float: right" class="btn btn-primary width-100" @click="paramSet()">
76
- <span style="margin-left: 5px">提交</span>
77
- </button>
78
- </div>
79
- </div>
80
- </div>
81
- </template>
82
- <script>
83
- import {HttpResetClass} from "vue-client";
84
-
85
- export default {
86
- title: "表计信息修改",
87
- props: ["data", "user", "checked1", "condition", "alias"],
88
-
89
- data() {
90
- return {
91
- check: [],
92
- sendData: [],
93
- newmeterinfo: [{}],
94
- gasbrand: '',
95
- defaultd: [{label: 1, value: 1}, {label: 0, value: 0}],
96
- row: {
97
- setPowerOnOpenValve: 0
98
- },
99
- };
100
- },
101
- ready() {
102
- this.refreshParam();
103
- },
104
- watch: {
105
- alias(val) {
106
- this.refreshParam();
107
-
108
- },
109
- user(val) {
110
- if (val) {
111
- // this.refreshParam();
112
- }
113
- },
114
- },
115
- methods: {
116
- //获取历史最新设置参数
117
- getParams(val) {
118
- let s = val.f_param_list
119
- let rowdata = {}
120
- if (JSON.parse(s)) {
121
- let meterparam = JSON.parse(s);
122
- for (let key in meterparam) {
123
- rowdata[key] = meterparam[key].toString();
124
- }
125
- this.row = Object.assign({}, this.row, rowdata);
126
- } else {
127
- this.$showMessage('未获取到正确的历史参数')
128
- }
129
-
130
- // this.$resetpost("webmeter/rs/sql/getIotParams", {data: val}).then(
131
- // (res) => {
132
- // let rowdata = {}
133
- // if (res.data.length > 0) {
134
- // let s = res.data
135
- // for (let i = 0; i < s.length; i++) {
136
- // let meterparam = JSON.parse(s[i].f_data)[0];
137
- // for (let key in meterparam) {
138
- // rowdata[key] = meterparam[key].toString();
139
- // }
140
- // }
141
- // this.row = Object.assign({}, this.row, rowdata);
142
- // } else {
143
- // this.refreshParam()
144
- // }
145
- //
146
- // }
147
- // );
148
- },
149
- //参数读取
150
- paramRead(val) {
151
- if (!this.checked1) {
152
- console.log('非全选')
153
- if (this.data.size > 0) {
154
- let that = this
155
- this.data.forEach(function (value, key) {
156
- let data = {
157
- userId: key,
158
- title: val.replace("设置", "读"),
159
- content: {
160
- readType: val.replace("设置", "读")
161
- },
162
- alias: value.f_alias, //气表品牌别名,t_gasbrand的f_alias
163
- inputtor: that.$login.f.name, //操作人
164
- moduleName: "AoDeSystem", //固定值
165
- }
166
- let http = new HttpResetClass()
167
- http.load('post', 'webmeter/rs/logic/syncSaveReadParamsTemplate', {data: data})
168
- });
169
- } else {
170
- return this.$showMessage("请选择您要读取的用户");
171
- }
172
- } else {
173
- console.log('全选、批量读取')
174
- let data = {
175
- userId: null,
176
- title: val.replace("设置", "读"),
177
- content: {
178
- readType: val.replace("设置", "读")
179
- },
180
- alias: this.alias.value, //气表品牌别名,t_gasbrand的f_alias
181
- inputtor: this.$login.f.name, //操作人
182
- moduleName: "ShanChengSyncNB", //固定值
183
- }
184
- let url = 'syncSaveReadParamsTemplate'
185
- let condition = this.condition
186
- this.$resetpost('rs/logic/readParamsAll', {param: data, condition: condition, url: url})
187
- }
188
-
189
-
190
- },
191
- close() {
192
- this.$dispatch("close");
193
- },
194
- //参数设置
195
- paramSet() {
196
- if (this.data.size === 0 && !this.checked1) {
197
- return this.$showMessage("请选择您要设置的用户");
198
- }
199
- let user = [];
200
- this.data.forEach(function (value, key) {
201
- user.push(key);
202
- });
203
- let params = [];
204
- let param = {
205
- condition: this.condition,
206
- switchCheckAll: this.checked1,
207
- users: user,
208
- params: params,
209
- columnName: "g.f_userfiles_id",
210
- inputter_name: this.$login.f.name,
211
- f_operatorid: "",
212
- checkStair: false,
213
- checkMeter: false,
214
- check: false,
215
- };
216
- this.getData()
217
- let rowdata = {}
218
- let paramList = {}
219
- for (let i = 0; i < this.sendData.length; i++) {
220
- for (let key in this.sendData[i].param) {
221
- let key1 = key
222
- paramList[key1] = this.sendData[i].param[key]
223
- }
224
- if (this.sendData[i].check === '是') {
225
- for (let key in this.sendData[i].param) {
226
- let key1 = key.toLowerCase()
227
- rowdata[key1] = this.sendData[i].param[key]
228
- if (rowdata[key1] === null || rowdata[key1] === '') {
229
- return this.$showMessage('请完善选定的设置参数数据,检查是否有未填项')
230
- }
231
- }
232
- }
233
- }
234
- param.sendData = this.sendData
235
- param.paramList = paramList
236
- param.rowData = rowdata
237
- param.alias = this.alias.value
238
- console.log(param);
239
- this.$resetpost("rs/logic/alteration_batch", {data: param}).then(
240
- (res) => {
241
- }
242
- );
243
- },
244
- //组织参数设置数据
245
- getData() {
246
- this.sendData = []
247
- for (let i = 0; i < this.newmeterinfo.length; i++) {
248
- let data = {param: {}};
249
- for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
250
- data.check = this.newmeterinfo[i].check ? this.newmeterinfo[i].check : '否'
251
- let key = this.newmeterinfo[i].params[j].title
252
- let type = this.newmeterinfo[i].params[j].type
253
- let defaultdata = this.newmeterinfo[i].params[j].default
254
- if (type === 'option') {
255
- data.param[key] = this.row[key] ? this.row[key] : (defaultdata ? defaultdata : '-1');
256
- } else {
257
- data.param[key] = this.row[key] ? this.row[key] : (defaultdata ? defaultdata : '');
258
- }
259
- this.$set(`row.${key}`, data.param[key])
260
- data.name = this.newmeterinfo[i].name
261
- }
262
- this.sendData.push(data)
263
- }
264
- },
265
- //刷新设置参数类别
266
- refreshParam() {
267
- if (this.alias) {
268
- this.newmeterinfo = [{}];
269
- this.row = {},
270
- // gasBrandId:
271
- this.$resetpost("/webmeter/rs/logic/getParamsByGasBrand", {
272
- data: {gasBrandId: this.alias.id},
273
- }, {rejectMsg: null, resolveMsg: null}).then((res) => {
274
- this.newmeterinfo = res.data;
275
- this.getData()
276
- });
277
- }
278
- },
279
- },
280
- };
281
- </script>
282
- <style scoped>
283
- .basic-main {
284
- padding: 0.6%;
285
- margin-left: 0.6%;
286
- margin-right: 0.6%;
287
- width: 99%;
288
- height: 99%;
289
- background-color: #ffffff;
290
- border-radius: 14px;
291
- box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.2);
292
- }
293
- input::placeholder {
294
- font-size:10px;
295
- }
296
- </style>