manage-client 4.1.165-tcls → 4.1.165

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.165-tcls",
3
+ "version": "4.1.165",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -24,14 +24,7 @@
24
24
  :show-reset-button="reset">
25
25
  </datepicker>
26
26
  </div>
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>
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>
35
28
  <div class="col-sm-3 form-group">
36
29
  <label class="font_normal_body" for="oper1">格式一</label>
37
30
  <input type="radio" name="reportStyle" id="oper1" v-model="$parent.$parent.reportStyle" value="1">
@@ -64,9 +57,9 @@
64
57
  <tr>
65
58
  <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
66
59
  <div>
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>
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>
70
63
  </div>
71
64
  </th>
72
65
  </tr>
@@ -91,7 +84,6 @@
91
84
 
92
85
  <script>
93
86
  import {DataModel, HttpResetClass} from 'vue-client'
94
- import ResSelectUserGroup from './ResSelectUserGroup.vue'
95
87
  import co from 'co'
96
88
  let saveFile = function * (self) {
97
89
  }
@@ -107,12 +99,6 @@ import ResSelectUserGroup from './ResSelectUserGroup.vue'
107
99
  dep:[],
108
100
  user:[]
109
101
  },
110
- userInitres: {
111
- org: [],
112
- dep: [],
113
- user: []
114
- },
115
- userOrgConditionStr: '',
116
102
  userresid: [],
117
103
  f_orgid: this.$login.f.orgid,
118
104
  f_depid: this.$login.f.depids,
@@ -131,9 +117,6 @@ import ResSelectUserGroup from './ResSelectUserGroup.vue'
131
117
  show: false
132
118
  }
133
119
  },
134
- components: {
135
- 'res-select-user-group': ResSelectUserGroup
136
- },
137
120
  ready () {
138
121
  this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
139
122
  this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
@@ -166,8 +149,7 @@ import ResSelectUserGroup from './ResSelectUserGroup.vue'
166
149
  this.printTime = this.$login.toStandardTimeString()
167
150
  let orgcondition = '1=1'
168
151
  let orgstr = this.orgCondtionStr
169
- let usercondition = this.userOrgConditionStr
170
- orgcondition = orgcondition + orgstr + usercondition
152
+ orgcondition = orgcondition + orgstr
171
153
  this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + args.condition
172
154
  if (this.reportStyle == '1') {
173
155
  let load = new HttpResetClass()
@@ -215,11 +197,6 @@ import ResSelectUserGroup from './ResSelectUserGroup.vue'
215
197
  this.orgname = obj.orgnames[0]
216
198
  this.depname = obj.depnames[0]
217
199
  },
218
- getUserRes (condition, obj) {
219
- this.userOrgname = obj.orgnames[0]
220
- this.userDepname = obj.depnames[0]
221
- this.userOrgConditionStr = condition
222
- },
223
200
  getdep (obj, val) {
224
201
  // this.depname = val[0]
225
202
  this.userresid = obj
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/tongchuan/sale'
9
+ import ShanXianSaleManage from './filiale/xinjiangdexin/sale'
10
10
  // import ShanXianwebSaleManage from './filiale/rongcheng/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'