system-clients 3.2.87 → 3.2.88

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 (59) hide show
  1. package/package.json +2 -2
  2. package/src/components/Main.vue +2 -0
  3. package/src/components/equipment/EquipmentManage.vue +83 -83
  4. package/src/components/equipment/PcAdd.vue +116 -115
  5. package/src/components/equipment/PcList.vue +120 -119
  6. package/src/components/equipment/PcManage.vue +61 -61
  7. package/src/components/equipment/PhoneAdd.vue +119 -118
  8. package/src/components/equipment/PhoneList.vue +114 -113
  9. package/src/components/equipment/PhoneManage.vue +61 -61
  10. package/src/components/equipment/PosAdd.vue +4 -0
  11. package/src/components/equipment/PosList.vue +1 -0
  12. package/src/components/equipment/PosParamAdd.vue +1 -0
  13. package/src/components/equipment/PosParamList.vue +1 -0
  14. package/src/components/parammanage/ParamPage.vue +4 -0
  15. package/src/components/parammanage/SinglePage.vue +2 -0
  16. package/src/components/server/Login.vue +3 -1
  17. package/src/components/server/ModifyPw.vue +1 -0
  18. package/src/components/server/PcdBuildingSelect.vue +2 -0
  19. package/src/components/server/RoleSelector.vue +3 -2
  20. package/src/filiale/baole/Login.vue +2 -0
  21. package/src/filiale/chengtou/Login.vue +2 -0
  22. package/src/filiale/dongguan/Login.vue +2 -0
  23. package/src/filiale/dongguan/Main.vue +2 -0
  24. package/src/filiale/furuike/Login.vue +4 -0
  25. package/src/filiale/furuike/Main.vue +2 -0
  26. package/src/filiale/gehua/Main.vue +2 -0
  27. package/src/filiale/konggang/Login.vue +2 -0
  28. package/src/filiale/qianneng/Login.vue +584 -582
  29. package/src/filiale/qianneng/Main.vue +2 -0
  30. package/src/filiale/qianneng/ModifyPw.vue +1 -0
  31. package/src/filiale/rizhao/Login.vue +2 -0
  32. package/src/filiale/shiquan/Login.vue +2 -0
  33. package/src/filiale/tianyi/Login.vue +2 -0
  34. package/src/filiale/tongchuan/Login.vue +2 -0
  35. package/src/filiale/tongchuan/Main.vue +3 -0
  36. package/src/filiale/weinan/Main.vue +925 -923
  37. package/src/filiale/weinan/system.js +7 -7
  38. package/src/filiale/wenxi/Login.vue +2 -0
  39. package/src/filiale/wenxi/Main.vue +2 -0
  40. package/src/filiale/wuhai/Main.vue +3 -0
  41. package/src/filiale/yuchuan/Login.vue +2 -0
  42. package/src/filiale/yuchuan/Main.vue +2 -0
  43. package/src/filiale/zhoukou/Main.vue +2 -0
  44. package/src/plugins/GetLoginInfoService.js +12 -74
  45. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  46. package/.gradle/7.4/checksums/checksums.lock +0 -0
  47. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  48. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  49. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  50. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  51. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  52. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  53. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  54. package/.gradle/7.4/gc.properties +0 -0
  55. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  56. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  57. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  58. package/.gradle/file-system.probe +0 -0
  59. package/.gradle/vcs-1/gc.properties +0 -0
@@ -1,113 +1,114 @@
1
- <template>
2
- <div class="flex" style="flex:1; ">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-3 form-group">
8
- <label class="font_normal_body">使用公司</label>
9
- <!--<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>-->
10
- <res-select restype='organization'
11
- is-mul="false"
12
- @res-select="$parent.$parent.getorg"
13
- :initresid="$parent.$parent.curorgid">
14
- </res-select>
15
- </div>
16
-
17
- <div class="col-sm-3 form-group" >
18
- <label class="font_normal_body">使用人员</label>
19
- <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
20
- condition="f_username like '%{}%'" placeholder="使用人员">
21
- </div>
22
- <div class="col-sm-3 form-group" >
23
- <label class="font_normal_body">设备号</label>
24
- <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
25
- condition="f_terminal_number like '%{}%'" placeholder="设备号">
26
- </div>
27
- <div class="span" style="float:right;">
28
- <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
30
- </div>
31
- </div>
32
- </div>
33
- </criteria>
34
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
35
- <template partial='head'>
36
- <tr>
37
- <th>序号</th>
38
- <th>使用人员</th>
39
- <th>设备号</th>
40
- <th>操作</th>
41
- </tr>
42
- </template>
43
- <template partial='body':model="model">
44
- <tr>
45
- <td style="text-align:center">{{$index+1}}</td>
46
- <td style="text-align:center">{{row.f_user_operator}}</td>
47
- <td style="text-align:center">{{row.f_terminal_number}}</td>
48
- <td style="text-align:center">
49
- <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
50
- </td>
51
- </tr>
52
- </template>
53
- </data-grid>
54
- </criteria-paged>
55
- </div>
56
- </template>
57
-
58
- <script>
59
- import { PagedList } from 'vue-client'
60
-
61
- export default {
62
- title: 'PC',
63
- components: {},
64
-
65
- data () {
66
- return {
67
- model: new PagedList('rs/sql/equipmentQuery', 20),
68
- filialeNameStr: this.$login.f.f_fengongsi,
69
- filialeCodeStr: this.$login.f.f_orgids,
70
- userid:this.$login.f.id,
71
- curorgid: [this.$login.f.orgid],
72
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
73
- f_orgid:''
74
- }
75
- },
76
- ready () {
77
- console.log('看看终端类型', this.equipmentType)
78
- this.search()
79
- },
80
- methods: {
81
- search () {
82
- this.$refs.paged.$refs.cri.search()
83
- },
84
-
85
- selfSearch (args) {
86
- args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid = '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
87
- this.model.search(args.condition, this.model)
88
- },
89
- add () {
90
- this.$dispatch('add')
91
- },
92
- del (row) {
93
- console.log('要删除了', row)
94
- row.f_state = '已删除'
95
- this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
96
- this.$dispatch('refresh')
97
- }).catch((error) => {
98
- this.$dispatch('refresh')
99
- })
100
- },
101
- getRes (obj) {
102
- this.filialeNameStr = obj.res
103
- this.filialeCodeStr = obj.resids
104
- },
105
- getorg (val) {
106
- this.f_orgid = val[0]
107
- }
108
- },
109
- computed: {
110
-
111
- }
112
- }
113
- </script>
1
+ <template>
2
+ <div class="flex" style="flex:1; ">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-3 form-group">
8
+ <label class="font_normal_body">使用公司</label>
9
+ <!--<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>-->
10
+ <res-select restype='organization'
11
+ is-mul="false"
12
+ @res-select="$parent.$parent.getorg"
13
+ :initresid="$parent.$parent.curorgid">
14
+ </res-select>
15
+ </div>
16
+
17
+ <div class="col-sm-3 form-group" >
18
+ <label class="font_normal_body">使用人员</label>
19
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
20
+ condition="f_username like '%{}%'" placeholder="使用人员">
21
+ </div>
22
+ <div class="col-sm-3 form-group" >
23
+ <label class="font_normal_body">设备号</label>
24
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
25
+ condition="f_terminal_number like '%{}%'" placeholder="设备号">
26
+ </div>
27
+ <div class="span" style="float:right;">
28
+ <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </criteria>
34
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
35
+ <template partial='head'>
36
+ <tr>
37
+ <th>序号</th>
38
+ <th>使用人员</th>
39
+ <th>设备号</th>
40
+ <th>操作</th>
41
+ </tr>
42
+ </template>
43
+ <template partial='body':model="model">
44
+ <tr>
45
+ <td style="text-align:center">{{$index+1}}</td>
46
+ <td style="text-align:center">{{row.f_user_operator}}</td>
47
+ <td style="text-align:center">{{row.f_terminal_number}}</td>
48
+ <td style="text-align:center">
49
+ <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
50
+ </td>
51
+ </tr>
52
+ </template>
53
+ </data-grid>
54
+ </criteria-paged>
55
+ </div>
56
+ </template>
57
+
58
+ <script>
59
+ import { PagedList } from 'vue-client'
60
+
61
+ export default {
62
+ title: 'PC',
63
+ components: {},
64
+
65
+ data () {
66
+ return {
67
+ model: new PagedList('rs/sql/equipmentQuery', 20),
68
+ filialeNameStr: this.$login.f.f_fengongsi,
69
+ filialeCodeStr: this.$login.f.f_orgids,
70
+ userid:this.$login.f.id,
71
+ curorgid: [this.$login.f.orgid],
72
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
73
+ f_orgid:''
74
+ }
75
+ },
76
+ ready () {
77
+ console.log('看看终端类型', this.equipmentType)
78
+ this.search()
79
+ },
80
+ methods: {
81
+ search () {
82
+ this.$refs.paged.$refs.cri.search()
83
+ },
84
+
85
+ selfSearch (args) {
86
+ args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid = '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
87
+ this.model.search(args.condition, this.model)
88
+ },
89
+ add () {
90
+ this.$dispatch('add')
91
+ },
92
+ del (row) {
93
+ console.log('要删除了', row)
94
+ row.f_state = '已删除'
95
+ // todo v4
96
+ this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
97
+ this.$dispatch('refresh')
98
+ }).catch((error) => {
99
+ this.$dispatch('refresh')
100
+ })
101
+ },
102
+ getRes (obj) {
103
+ this.filialeNameStr = obj.res
104
+ this.filialeCodeStr = obj.resids
105
+ },
106
+ getorg (val) {
107
+ this.f_orgid = val[0]
108
+ }
109
+ },
110
+ computed: {
111
+
112
+ }
113
+ }
114
+ </script>
@@ -1,61 +1,61 @@
1
- <template>
2
- <div class="flex-row">
3
- <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
- <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
- </div>
6
- <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
- <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
- </div>
9
- </div>
10
- </template>
11
- <script>
12
-
13
- import PhoneList from './PhoneList'
14
- import PhoneAdd from './PhoneAdd'
15
-
16
- export default {
17
- title: 'PC终端管理',
18
- components: {
19
- PhoneList, PhoneAdd
20
- },
21
- props:['users'],
22
- data () {
23
- return {
24
- isChange: false,
25
- row: null
26
- }
27
- },
28
- methods: {
29
- selected (obj) {
30
- this.isChange = true
31
- this.row = obj.val
32
- }
33
- },
34
- events: {
35
- 'search' () {
36
- this.isChange = false
37
- this.row = null
38
- this.$refs.list.$refs.paged.$refs.cri.search()
39
- },
40
- 'refresh' () {
41
- this.isChange = false
42
- this.row = null
43
- this.$refs.list.search()
44
- },
45
- 'error' (name, row, res) {
46
- this.isChange = false
47
- this.row = null
48
- },
49
- 'close' () {
50
- this.isChange = false
51
- this.row = null
52
- this.$refs.list.search()
53
- },
54
- 'add' () {
55
- this.row = null
56
- this.isChange = true
57
- this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
- }
59
- }
60
- }
61
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
+ <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
+ </div>
6
+ <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
+ <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+
13
+ import PhoneList from './PhoneList'
14
+ import PhoneAdd from './PhoneAdd'
15
+
16
+ export default {
17
+ title: 'PC终端管理',
18
+ components: {
19
+ PhoneList, PhoneAdd
20
+ },
21
+ props:['users'],
22
+ data () {
23
+ return {
24
+ isChange: false,
25
+ row: null
26
+ }
27
+ },
28
+ methods: {
29
+ selected (obj) {
30
+ this.isChange = true
31
+ this.row = obj.val
32
+ }
33
+ },
34
+ events: {
35
+ 'search' () {
36
+ this.isChange = false
37
+ this.row = null
38
+ this.$refs.list.$refs.paged.$refs.cri.search()
39
+ },
40
+ 'refresh' () {
41
+ this.isChange = false
42
+ this.row = null
43
+ this.$refs.list.search()
44
+ },
45
+ 'error' (name, row, res) {
46
+ this.isChange = false
47
+ this.row = null
48
+ },
49
+ 'close' () {
50
+ this.isChange = false
51
+ this.row = null
52
+ this.$refs.list.search()
53
+ },
54
+ 'add' () {
55
+ this.row = null
56
+ this.isChange = true
57
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
+ }
59
+ }
60
+ }
61
+ </script>
@@ -226,6 +226,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
226
226
  // 测试接口
227
227
  // this.$resetpost('rs/logic/updatePosState', {data: {number: this.model.f_terminal_number, state: '停用'}}, {resolveMsg: null, rejectMsg: null}, 0)
228
228
  // .then((res) => {})
229
+ // todo v4
229
230
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 0}}, {rejectMsg: null, resolveMsg: null})
230
231
  } catch (error) {
231
232
  this.search()
@@ -241,6 +242,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
241
242
  // 测试接口
242
243
  // this.$resetpost('rs/logic/getEditPosState', {data: {number: this.model.f_terminal_number, state: '正常'}}, {resolveMsg: null, rejectMsg: null}, 0)
243
244
  // .then((res) => {})
245
+ // todo v4
244
246
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 1}}, {rejectMsg: null, resolveMsg: null})
245
247
  } catch (error) {
246
248
  this.search()
@@ -259,6 +261,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
259
261
  this.show=true
260
262
  },
261
263
  upgradeRoot() {
264
+ // todo v4
262
265
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 2}}, {rejectMsg: null, resolveMsg: null})
263
266
  this.$dispatch('refresh')
264
267
  },
@@ -278,6 +281,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
278
281
  this.model.f_depname = this.$login.f.deps
279
282
  this.model.f_orgstr = this.$login.f.fullids
280
283
  }
284
+ // todo v4
281
285
  this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
282
286
  this.$dispatch('refresh')
283
287
  }).catch((error) => {
@@ -238,6 +238,7 @@
238
238
  this.showAlert('出现异常,请重新进操作')
239
239
  return
240
240
  }
241
+ // todo v4
241
242
  await this.$resetpost('rs/logic/batchPos', {data: {tasks: arrs, taskState: val}}, {
242
243
  rejectMsg: null,
243
244
  resolveMsg: null
@@ -124,6 +124,7 @@ export default {
124
124
  this.bankmodel = JSON.parse(JSON.stringify(this.bankmodel))
125
125
  },
126
126
  async confirm() {
127
+ // todo v4
127
128
  await this.$resetpost('rs/logic/Pos_saveParam',
128
129
  {
129
130
  data: {
@@ -93,6 +93,7 @@ export default {
93
93
  }
94
94
  },
95
95
  async delete(row) {
96
+ // todo v4
96
97
  await this.$resetpost('rs/logic/deletePosParam', {data: row}, {rejectMsg: null, resolveMsg: null})
97
98
  await this.search()
98
99
  },
@@ -258,6 +258,7 @@
258
258
  if (type === 't_parameter') {
259
259
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
260
260
  if (res === 'confirm') {
261
+ // todo v4
261
262
  this.$resetpost('rs/logic/deleteParam', row).then((res) => {
262
263
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
263
264
  this.selectItem = null
@@ -267,6 +268,7 @@
267
268
  } else if (type === 't_paramvalue') {
268
269
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
269
270
  if (res === 'confirm') {
271
+ // todo v4
270
272
  this.$resetpost('rs/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
271
273
  this.getParamValue(this.selectItem)
272
274
  })
@@ -291,6 +293,7 @@
291
293
  //添加当前分公司
292
294
  }
293
295
  data.f_filialeids = this.modifyItem.f_filialeids
296
+ // todo v4
294
297
  this.$resetpost('rs/logic/system_saveParam', data).then((res) => {
295
298
  //无id
296
299
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
@@ -310,6 +313,7 @@
310
313
  processid: this.selectItem.id
311
314
  }
312
315
  }
316
+ // todo v4
313
317
  this.$resetpost('rs/entity/t_paramvalue', data).then((res) => {
314
318
  this.show = false
315
319
  // 如果没有id,需要在数组中添加
@@ -183,6 +183,7 @@
183
183
  deleteItem (row) {
184
184
  this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
185
185
  if (res === 'confirm') {
186
+ // todo v4
186
187
  this.$resetpost('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
187
188
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
188
189
  })
@@ -201,6 +202,7 @@
201
202
  this.show = true
202
203
  },
203
204
  confirm () {
205
+ // todo v4
204
206
  this.$resetpost('rs/logic/system_saveSingle', this.selectItem).then((res) => {
205
207
  // 如果没有id,需要在数组中添加
206
208
  this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
@@ -174,6 +174,7 @@ let saveGen = function *(self) {
174
174
  console.log('登录配置', self.config)
175
175
  if (self.config.isMac) {
176
176
  // 获取该登录人分公司下的mac配置
177
+ // todo v4
177
178
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
178
179
  resolveMsg: null,
179
180
  rejectMsg: null
@@ -239,7 +240,7 @@ let saveGen = function *(self) {
239
240
  msg = ret.data
240
241
  } else if (ret.status === 710) {
241
242
  msg = ret.data
242
- } else if (ret.status === 555) {
243
+ } else {
243
244
  msg = ret.data
244
245
  }
245
246
  self.createCode()
@@ -437,6 +438,7 @@ export default {
437
438
  if (this.config.distanceLogin) {
438
439
  if (this.$login && this.$login.getUrlParames('name') ) {
439
440
  let ename = this.$login.getUrlParames('name');
441
+ // todo v4
440
442
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
441
443
  if(logininfo.data){
442
444
  if(logininfo.data.ename && logininfo.data.password){
@@ -62,6 +62,7 @@
62
62
  // let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
63
63
  // let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
64
64
  // Util.f.password = self.deliver.newpassword
65
+ // todo v4
65
66
  let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
66
67
  self.$login.f.password = self.deliver.newpassword
67
68
  if (res.data) {
@@ -155,6 +155,7 @@
155
155
  async pcdChange(){
156
156
  this.arrays.street=[{label:'全部',value:''}]
157
157
  var condition = `f_filialeid = '${this.$login.f.orgid}' and f_street is not null group by f_street`
158
+ // todo v4
158
159
  let street = await this.$resetpost('rs/sql/singleTable_OrderBy', {
159
160
  data: {
160
161
  items: 'f_street',
@@ -192,6 +193,7 @@
192
193
  }else{
193
194
  condition = `f_filialeid = '${this.$login.f.orgid}' and f_building is not null group by f_building`
194
195
  }
196
+ // todo v4
195
197
  let build = await this.$resetpost('rs/sql/singleTable_OrderBy', {
196
198
  data: {
197
199
  items: 'f_building',
@@ -51,6 +51,7 @@
51
51
  }
52
52
  },
53
53
  ready() {
54
+ // todo v4
54
55
  this.$resetpost('/rs/search', {data: {source: this.source, userid: this.$login.f.id}}, {resolveMsg: null, rejectMsg: null})
55
56
  .then(res => {
56
57
  console.log('res-->' + JSON.stringify(res))
@@ -65,7 +66,7 @@
65
66
  this.$dispatch('re-res',obj)
66
67
  },
67
68
  filterUser(resids) {
68
- // 处理第一次进入页面值异常问题
69
+ // 处理第一次进入页面值异常问题
69
70
  if(resids.length > 0 && typeof resids[0] == "object"){
70
71
  resids = resids[0]
71
72
  }
@@ -86,4 +87,4 @@
86
87
 
87
88
  <style scoped>
88
89
 
89
- </style>
90
+ </style>
@@ -175,6 +175,7 @@ let saveGen = function *(self) {
175
175
  console.log('登录配置', self.config)
176
176
  if (self.config.isMac) {
177
177
  // 获取该登录人分公司下的mac配置
178
+ // todo v4
178
179
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
179
180
  resolveMsg: null,
180
181
  rejectMsg: null
@@ -439,6 +440,7 @@ export default {
439
440
  if (this.config.distanceLogin) {
440
441
  if (this.$login && this.$login.getUrlParames('name') ) {
441
442
  let ename = this.$login.getUrlParames('name');
443
+ // todo v4
442
444
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
443
445
  if(logininfo.data){
444
446
  if(logininfo.data.ename && logininfo.data.password){
@@ -173,6 +173,7 @@ let saveGen = function *(self) {
173
173
  console.log('登录配置', self.config)
174
174
  if (self.config.isMac) {
175
175
  // 获取该登录人分公司下的mac配置
176
+ // todo v4
176
177
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
177
178
  resolveMsg: null,
178
179
  rejectMsg: null
@@ -437,6 +438,7 @@ export default {
437
438
  if (this.config.distanceLogin) {
438
439
  if (this.$login && this.$login.getUrlParames('name') ) {
439
440
  let ename = this.$login.getUrlParames('name');
441
+ // todo v4
440
442
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
441
443
  if(logininfo.data){
442
444
  if(logininfo.data.ename && logininfo.data.password){
@@ -179,6 +179,7 @@ let saveGen = function *(self) {
179
179
  console.log('登录配置', self.config)
180
180
  if (self.config.isMac) {
181
181
  // 获取该登录人分公司下的mac配置
182
+ // todo v4
182
183
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
183
184
  resolveMsg: null,
184
185
  rejectMsg: null
@@ -428,6 +429,7 @@ export default {
428
429
  if (this.config.distanceLogin) {
429
430
  if (this.$login && this.$login.getUrlParames('name') ) {
430
431
  let ename = this.$login.getUrlParames('name');
432
+ // todo v4
431
433
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
432
434
  if(logininfo.data){
433
435
  if(logininfo.data.ename && logininfo.data.password){
@@ -97,6 +97,7 @@ let getwartermakr = async function (self) {
97
97
  tablename: 't_singlevalue',
98
98
  condition: " 1=1 and name=\'水印内容\'"
99
99
  };
100
+ // todo v4
100
101
  let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
101
102
  if (result && result.data.length > 0) {
102
103
  self.showwatermakeflag = true;
@@ -392,6 +393,7 @@ export default {
392
393
  username: this.$login.f.name,
393
394
  usertelephone: this.$login.f.f_user_telephone
394
395
  }
396
+ // todo v4
395
397
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
396
398
  window.location.reload()
397
399
  }
@@ -166,6 +166,7 @@ let saveGen = function *(self) {
166
166
  console.log('登录配置', self.config)
167
167
  if (self.config.isMac) {
168
168
  // 获取该登录人分公司下的mac配置
169
+ // todo v4
169
170
  let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
170
171
  resolveMsg: null,
171
172
  rejectMsg: null
@@ -263,11 +264,13 @@ export default {
263
264
  st: obj.ticket,
264
265
  serviceKey: this.config.serviceKey
265
266
  }
267
+ // todo v4
266
268
  this.$resetpost('/sso/logic/serviceValidate', params,{resolveMsg: null, rejectMsg: null}).then((re) => {
267
269
  // this.$showMessage("re----" + JSON.stringify(re))
268
270
  if (re.data.code === 200) {
269
271
  this.showlogin = false
270
272
  let condition = `ename = '${re.data.data.userName}'`
273
+ // todo v4
271
274
  this.$resetpost('rs/sql/singleTable', {data: { items: '*', tablename: 't_user', condition: condition}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
272
275
  if (res.data && res.data.length > 0) {
273
276
  this.model.ename = res.data[0].ename
@@ -474,6 +477,7 @@ export default {
474
477
  if (this.config.distanceLogin) {
475
478
  if (this.$login && this.$login.getUrlParames('name') ) {
476
479
  let ename = this.$login.getUrlParames('name');
480
+ // todo v4
477
481
  let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
478
482
  if(logininfo.data){
479
483
  if(logininfo.data.ename && logininfo.data.password){
@@ -178,6 +178,7 @@ let getwartermakr = async function (self) {
178
178
  tablename: 't_singlevalue',
179
179
  condition: " 1=1 and name=\'水印内容\'"
180
180
  };
181
+ // todo v4
181
182
  let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
182
183
  if (result && result.data.length > 0) {
183
184
  self.showwatermakeflag = true;
@@ -504,6 +505,7 @@ export default {
504
505
  username: this.$login.f.name,
505
506
  usertelephone: this.$login.f.f_user_telephone
506
507
  }
508
+ // todo v4
507
509
  await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
508
510
  window.location.reload()
509
511
  }