manage-client 4.1.164 → 4.1.165-tcls

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": "manage-client",
3
- "version": "4.1.164",
3
+ "version": "4.1.165-tcls",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -24,7 +24,14 @@
24
24
  :show-reset-button="reset">
25
25
  </datepicker>
26
26
  </div>
27
- <res-select-group :show-component="['company','department','operator']" :initres="$parent.$parent.initres" :selectin="true" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
27
+ <res-select-user-group
28
+ :operator-initres="$parent.$parent.initres"
29
+ :user-initres="$parent.$parent.userInitres"
30
+ :show-component="['company','department','operator','slicearea','user_company','user_department']"
31
+ @re-res="$parent.$parent.getRes"
32
+ @re-us-res="$parent.$parent.getUserRes"
33
+ v-ref:usersel>
34
+ </res-select-user-group>
28
35
  <div class="col-sm-3 form-group">
29
36
  <label class="font_normal_body" for="oper1">格式一</label>
30
37
  <input type="radio" name="reportStyle" id="oper1" v-model="$parent.$parent.reportStyle" value="1">
@@ -57,9 +64,9 @@
57
64
  <tr>
58
65
  <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
59
66
  <div>
60
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
61
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
62
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
67
+ <span v-show="$parent.orgname.trim()!=''">操作人公司:{{$parent.orgname}}</span>
68
+ <span v-show="$parent.depname.trim()!=''"> 操作人部门:{{$parent.depname}}</span>
69
+ <span v-show="$parent.operatorname.trim()!=''">操作人:{{$parent.operatorname}}</span>
63
70
  </div>
64
71
  </th>
65
72
  </tr>
@@ -84,6 +91,7 @@
84
91
 
85
92
  <script>
86
93
  import {DataModel, HttpResetClass} from 'vue-client'
94
+ import ResSelectUserGroup from './ResSelectUserGroup.vue'
87
95
  import co from 'co'
88
96
  let saveFile = function * (self) {
89
97
  }
@@ -99,6 +107,12 @@ import {DataModel, HttpResetClass} from 'vue-client'
99
107
  dep:[],
100
108
  user:[]
101
109
  },
110
+ userInitres: {
111
+ org: [],
112
+ dep: [],
113
+ user: []
114
+ },
115
+ userOrgConditionStr: '',
102
116
  userresid: [],
103
117
  f_orgid: this.$login.f.orgid,
104
118
  f_depid: this.$login.f.depids,
@@ -117,6 +131,9 @@ import {DataModel, HttpResetClass} from 'vue-client'
117
131
  show: false
118
132
  }
119
133
  },
134
+ components: {
135
+ 'res-select-user-group': ResSelectUserGroup
136
+ },
120
137
  ready () {
121
138
  this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
122
139
  this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
@@ -149,7 +166,8 @@ import {DataModel, HttpResetClass} from 'vue-client'
149
166
  this.printTime = this.$login.toStandardTimeString()
150
167
  let orgcondition = '1=1'
151
168
  let orgstr = this.orgCondtionStr
152
- orgcondition = orgcondition + orgstr
169
+ let usercondition = this.userOrgConditionStr
170
+ orgcondition = orgcondition + orgstr + usercondition
153
171
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + args.condition
154
172
  if (this.reportStyle == '1') {
155
173
  let load = new HttpResetClass()
@@ -197,6 +215,11 @@ import {DataModel, HttpResetClass} from 'vue-client'
197
215
  this.orgname = obj.orgnames[0]
198
216
  this.depname = obj.depnames[0]
199
217
  },
218
+ getUserRes (condition, obj) {
219
+ this.userOrgname = obj.orgnames[0]
220
+ this.userDepname = obj.depnames[0]
221
+ this.userOrgConditionStr = condition
222
+ },
200
223
  getdep (obj, val) {
201
224
  // this.depname = val[0]
202
225
  this.userresid = obj
@@ -115,7 +115,7 @@
115
115
  }
116
116
  },
117
117
  {
118
- 'name': '再用户数',
118
+ 'name': '在用户数',
119
119
  'icon': 'circle',
120
120
  'textStyle': {
121
121
  'color': '#8a9e64',
@@ -228,7 +228,7 @@
228
228
  'barGap': '0'
229
229
  },
230
230
  {
231
- 'name': '再用户数',
231
+ 'name': '在用户数',
232
232
  nameTextStyle: {
233
233
  fontSize: 10
234
234
  },
@@ -101,7 +101,7 @@ export default {
101
101
  }
102
102
  },
103
103
  {
104
- 'name': '再用户数',
104
+ 'name': '在用户数',
105
105
  'icon': 'circle',
106
106
  'textStyle': {
107
107
  'color': '#8a9e64',
@@ -214,7 +214,7 @@ export default {
214
214
  'barGap': '0'
215
215
  },
216
216
  {
217
- 'name': '再用户数',
217
+ 'name': '在用户数',
218
218
  nameTextStyle: {
219
219
  fontSize: 10
220
220
  },
package/src/main.js CHANGED
@@ -6,7 +6,7 @@ import { all } from 'vue-client'
6
6
  import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
8
  import saleManage from './saleManage'
9
- import ShanXianSaleManage from './filiale/xinjiangdexin/sale'
9
+ import ShanXianSaleManage from './filiale/tongchuan/sale'
10
10
  // import ShanXianwebSaleManage from './filiale/rongcheng/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'
File without changes
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Thu Jun 04 15:26:04 CST 2026
2
- gradle.version=9.3.0
Binary file
File without changes