sale-client 3.6.417 → 3.6.419

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.417",
3
+ "version": "3.6.419",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -261,7 +261,7 @@ export default {
261
261
  }, ...this.$appdata.getParam('表具状态')] : [],
262
262
  // 控制单选
263
263
  radio: [],
264
- searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userfiles_id',
264
+ searchValue: this.$appdata.getSingleValue('综合条件查询') ? this.$appdata.getSingleValue('综合条件查询') : 'f_userinfo_id',
265
265
  // 选中的页
266
266
  all: [],
267
267
  other: [],
@@ -119,7 +119,7 @@
119
119
 
120
120
  <script>
121
121
  import {HttpResetClass} from 'vue-client'
122
- import axios from "axios";
122
+ import axios from 'axios'
123
123
 
124
124
  export default {
125
125
  title: '参数设置',
@@ -156,15 +156,22 @@ export default {
156
156
  this.row = {}
157
157
  if (val) {
158
158
  for (let i = 0; i < this.newmeterinfo.length; i++) {
159
- for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
160
- if (this.newmeterinfo[i].name === this.paramtype) {
161
- for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
162
- if (this.newmeterinfo[i].params[j].data) {
163
- this.row[this.newmeterinfo[i].params[j].title] = this.newmeterinfo[i].params[j].data
164
- }
165
- if (this.newmeterinfo[i].params[j].multiple == true) {
166
- this.row[this.newmeterinfo[i].params[j].title] = []
167
- console.log('====>', this.row[this.newmeterinfo[i].params[j].title])
159
+ if (this.newmeterinfo[i].name == this.paramtype) {
160
+ const params = this.newmeterinfo[i].params
161
+ for (let j = 0; j < params.length; j++) {
162
+ const param = params[j]
163
+ if (param.data) {
164
+ if (Array.isArray(param.data)) {
165
+ this.row[param.title] = []
166
+ for (let u = 0; u < param.data.length; u++) {
167
+ for (let z = 0; z < param.params.length; z++) {
168
+ if (param.data[u] == param.params[z].value.code) {
169
+ this.row[param.title].push(param.params[z].value)
170
+ }
171
+ }
172
+ }
173
+ } else {
174
+ this.row[param.title] = param.data
168
175
  }
169
176
  }
170
177
  }
@@ -115,7 +115,7 @@
115
115
  </div>
116
116
  <div class="col-sm-4">
117
117
  <label class="font_normal_body_new">阀门状态</label>
118
- <input class="input-underline" style="width:60%" :value="row.f_valvestate === null ? '未知' : (row.f_valvestate === 0 ? '开阀' : '关阀')" readonly>
118
+ <input class="input-underline" style="width:60%" :value="row.f_valvestate === null ? '未知' : (row.f_valvestate === '0' ? '开阀' : '关阀')" readonly>
119
119
  </div>
120
120
  <div class="col-sm-4">
121
121
  <label class="font_normal_body_new">累计上报次数</label>
@@ -60,7 +60,7 @@
60
60
  <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
61
61
  <th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
62
62
  <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
63
- <th style="text-align:center"><nobr>{{ row.f_valvestate === null ? '未知' : (row.f_valvestate === 0 ? '开阀' : '关阀') }}
63
+ <th style="text-align:center"><nobr>{{ row.f_valvestate === null ? '未知' : (row.f_valvestate === '0' ? '开阀' : '关阀') }}
64
64
  </nobr></th>
65
65
  <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
66
66
  <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
package/.npmignore DELETED
@@ -1,12 +0,0 @@
1
- src/bootstrap
2
- .idea/
3
- .DS_Store
4
- node_modules/
5
- dist/
6
- examples/
7
- gradle/
8
- npm-debug.log
9
- selenium-debug.log
10
- test/unit/coverage
11
- test/e2e/reports
12
- lib/**/lib