manage-client 3.2.133 → 3.2.134

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.
@@ -1,12 +1,12 @@
1
1
  <template>
2
- <div class="flex-row" v-show="!showdetail">
2
+ <div class="flex-row" v-if="!isShowDetailInfo" v-show="!showdetail">
3
3
  <div id='app1' class="basic-main">
4
4
  <criteria-paged :model="model" :pager='true' v-ref:paged>
5
5
  <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
7
  <div class="row">
8
8
  <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">客户 11编号</label>
9
+ <label class="font_normal_body">客户编号</label>
10
10
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
11
  v-model="model.f_userinfo_code" placeholder='客户编号'
12
12
  condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
@@ -158,7 +158,7 @@
158
158
  </template>
159
159
  <template partial='body'>
160
160
  <td style="text-align: center;">
161
- <nobr>{{ row.f_userinfo_code }}</nobr>
161
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a><b>{{row.f_userinfo_code}}</b></a></span>
162
162
  </td>
163
163
  <td style="text-align:center">
164
164
  <nobr>{{ row.f_user_name }}</nobr>
@@ -209,6 +209,9 @@
209
209
  </table>
210
210
  </div>
211
211
  </div>
212
+ <div v-if="isShowDetailInfo">
213
+ <user-info-detail-manage-new :f_userinfo_id="rowData.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
214
+ </div>
212
215
  </template>
213
216
 
214
217
  <script>
@@ -230,7 +233,7 @@ export default {
230
233
  'f_address': '客户地址', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质',
231
234
  'f_meternumber': '表号',
232
235
  'f_meter_brand': '气表品牌', 'f_meter_style': '气表型号', 'f_orgname': '组织机构',
233
- 'f_balance_amount': '账户余额', 'f_jval': '最后上报余额',
236
+ 'f_jval': '最后上报余额','f_balance_amount': '账户余额',
234
237
  'f_state': '分析状态', 'exception_val': '结算异常金额'
235
238
  },
236
239
  showdetail: false,
@@ -239,6 +242,8 @@ export default {
239
242
  endDate: '',
240
243
  criteriaShow: false,
241
244
  outlets: [],
245
+ isShowDetailInfo: false,
246
+ rowData: {},
242
247
  gasproperties: [{label: '全部', value: ''}],
243
248
  operator: [],
244
249
  sumsmodel: {},
@@ -257,6 +262,22 @@ export default {
257
262
  },
258
263
  methods: {
259
264
 
265
+ /**
266
+ * 退出用户详细信息页面
267
+ */
268
+ cancel () {
269
+ this.isShowDetailInfo = false
270
+ },
271
+ /**
272
+ * 展示用户详细信息
273
+ * @param obj 传递的row
274
+ */
275
+ dealmsg (obj) {
276
+ console.log('==================>', obj)
277
+ debugger
278
+ this.isShowDetailInfo = true
279
+ this.rowData = obj
280
+ },
260
281
  userTypeChange() {
261
282
  this.gasproperties = [{label: '全部', value: ''}]
262
283
  if (this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
@@ -296,10 +317,10 @@ export default {
296
317
 
297
318
  })
298
319
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
299
- this.states = [{label: '全部', value: ''}, {label: '上报金额大于余额', value: '上报大于余额'}, {
320
+ this.states = [{label: '全部', value: ''}, {label: '上报金额大于余额', value: '上报金额大于余额'}, {
300
321
  label: '上报金额小于余额',
301
- value: '余额大于上报'
302
- }, {label: '上报金额与余额相等', value: '上报与余额相等'}]
322
+ value: '上报金额小于余额'
323
+ }, {label: '上报金额与余额相等', value: '上报金额与余额相等'}]
303
324
  },
304
325
  search(args) {
305
326
  this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
package/src/main.js CHANGED
@@ -43,13 +43,12 @@ all()
43
43
  // sale()
44
44
  ldap()
45
45
  system(false)
46
- // 新打包写法
47
- Vue.use(saleManage, {filiale: 'macheng'})
48
- Vue.use(webmeterManage, {filiale: 'macheng'})
49
- Vue.use(reportManage, {filiale: 'macheng'})
50
- Vue.use(newmanage, {filiale: null})
51
- Vue.use(ManageHome, {filiale: null})
52
46
 
47
+ saleManage()
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
53
52
  require('system-clients/src/styles/less/bootstrap.less')
54
53
  require('./components/qinhua/Style/qinhuaStyle.less')
55
54
  // require('./bootstrap/less/manageStyle/manageChile.less')