system-clients 3.2.82 → 3.2.84

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 (42) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.4/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.gradle/file-system.probe +0 -0
  14. package/.gradle/vcs-1/gc.properties +0 -0
  15. package/package.json +2 -2
  16. package/src/components/Main.vue +923 -819
  17. package/src/components/equipment/EquipmentManage.vue +21 -3
  18. package/src/components/equipment/PcAdd.vue +13 -3
  19. package/src/components/equipment/PcList.vue +1 -1
  20. package/src/components/equipment/PcManage.vue +2 -1
  21. package/src/components/equipment/PhoneAdd.vue +18 -7
  22. package/src/components/equipment/PhoneList.vue +2 -1
  23. package/src/components/equipment/PhoneManage.vue +2 -1
  24. package/src/components/server/Login.vue +577 -564
  25. package/src/components/server/ModifyPw.vue +1 -1
  26. package/src/components/server/ResSelect.vue +12 -1
  27. package/src/components/server/ResSelectGroup.vue +6 -0
  28. package/src/components/server/RightTree.vue +1 -1
  29. package/src/filiale/konggang/system.js +1 -1
  30. package/src/filiale/qianneng/Login.vue +577 -0
  31. package/src/filiale/qianneng/ModifyPw.vue +2 -2
  32. package/src/filiale/qianneng/system.js +3 -0
  33. package/src/filiale/shiquan/Login.vue +564 -0
  34. package/src/filiale/shiquan/system.js +8 -0
  35. package/src/filiale/tongchuan/Main.vue +1019 -0
  36. package/src/filiale/tongchuan/system.js +2 -2
  37. package/src/plugins/GetLoginInfoService.js +3 -0
  38. package/src/plugins/validation.js +1 -1
  39. package/src/stores/AppData.js +1 -1
  40. package/src/styles/less/aofeng/standard.less +4 -4
  41. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +5 -1
  42. package/static/newStyle/1959d3b6480f4485b2e32446f762960c.jpg +0 -0
@@ -17,19 +17,21 @@
17
17
  </div>
18
18
  </div>
19
19
  <div v-if="model.f_equipment_type[0] === 'PC'">
20
- <pc-manage></pc-manage>
20
+ <pc-manage :users="users"></pc-manage>
21
21
  </div>
22
22
  <div v-if="model.f_equipment_type[0] === 'POS'">
23
23
  <pos-manage></pos-manage>
24
24
  </div>
25
25
  <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
- <phone-manage></phone-manage>
26
+ <phone-manage :users="users"></phone-manage>
27
27
  </div>
28
28
  </div>
29
29
  </template>
30
30
 
31
31
  <script>
32
32
 
33
+ import {HttpResetClass} from "vue-client";
34
+
33
35
  export default {
34
36
  title: '终端控制',
35
37
  data () {
@@ -39,6 +41,7 @@
39
41
  userid:this.$login.f.id,
40
42
  source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
43
  equipmentType: this.$appdata.getParam('终端类型'),
44
+ users:[],
42
45
  model: {
43
46
  f_equipment_type: []
44
47
  }
@@ -47,12 +50,27 @@
47
50
  ready () {
48
51
  console.log('看看终端类型', this.equipmentType)
49
52
  this.model.f_equipment_type = [this.equipmentType[0].value]
53
+ this.getUser()
50
54
  },
51
55
  methods: {
52
56
  del (row) {
53
57
  console.log('要删除了', row)
54
58
  },
55
-
59
+ getUser(){
60
+ new HttpResetClass().load('POST', '/rs/search', {
61
+ "source": " this.getParentByType($organization$).getAllChildrens().where(row.getAttributes().get($resourcetype$).indexOf($user$) != -1))",
62
+ "userid": this.$login.f.id
63
+ }, {resolveMsg: null, rejectMsg: null}).then((res)=>{
64
+ this.users=[]
65
+ let ids=[]
66
+ res.data.forEach((resRow) => {
67
+ if(resRow.state=='在职' && !ids.includes(resRow.id+'_'+resRow.name)){
68
+ ids.push(resRow.id+'_'+resRow.name)
69
+ this.users.push({label:resRow.name,value:{id:resRow.id,name:resRow.name}})
70
+ }
71
+ })
72
+ })
73
+ },
56
74
  getRes (obj) {
57
75
  this.filialeNameStr = obj.res
58
76
  this.filialeCodeStr = obj.resids
@@ -7,7 +7,15 @@
7
7
  <form class="form-horizontal">
8
8
  <div class="col-sm-6 form-group">
9
9
  <label class="font_normal_body">使用人员</label>
10
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
10
+ <v-select style="width:60% "
11
+ class="select select_list"
12
+ :value.sync="model.f_username"
13
+ v-model="model.f_username"
14
+ :options='users'
15
+ placeholder='人员选择'
16
+ value-single
17
+ close-on-select>
18
+ </v-select>
11
19
  </div>
12
20
  <div class="col-sm-6 form-group">
13
21
  <label class="font_normal_body">所属地址</label>
@@ -48,11 +56,11 @@
48
56
  f_equipment_type: 'PC',
49
57
  f_state: '正常'
50
58
  },
51
- curorgid: this.$login.f.orgid,
59
+ curorgid: [this.$login.f.orgid],
52
60
  f_orgid: ''
53
61
  }
54
62
  },
55
- props: ['data'],
63
+ props: ['data','users'],
56
64
  watch: {
57
65
  'data' (val) {
58
66
  if (val) {
@@ -70,6 +78,8 @@
70
78
  },
71
79
  methods: {
72
80
  confirm () {
81
+ this.model.f_user_operatorid=this.model.f_username.id
82
+ this.model.f_user_operator=this.model.f_username.name
73
83
  this.model.f_operator = this.$login.f.name
74
84
  this.model.f_operatorid = this.$login.f.id
75
85
  this.model.f_orgid = this.f_orgid
@@ -54,7 +54,7 @@
54
54
  <template partial='body':model="model">
55
55
  <tr>
56
56
  <td style="text-align:center">{{$index+1}}</td>
57
- <td style="text-align:center">{{row.f_username}}</td>
57
+ <td style="text-align:center">{{row.f_user_operator}}</td>
58
58
  <td style="text-align:center">{{row.f_mac_outlets}}</td>
59
59
  <td style="text-align:center">{{row.f_mac_number}}</td>
60
60
  <td style="text-align:center">
@@ -4,7 +4,7 @@
4
4
  <pc-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></pc-list>
5
5
  </div>
6
6
  <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
- <pc-add :data="row" v-ref:addbox></pc-add>
7
+ <pc-add :data="row" :users="users" v-ref:addbox></pc-add>
8
8
  </div>
9
9
  </div>
10
10
  </template>
@@ -18,6 +18,7 @@
18
18
  components: {
19
19
  PcList, PcAdd
20
20
  },
21
+ props:['users'],
21
22
  data () {
22
23
  return {
23
24
  isChange: false,
@@ -8,7 +8,16 @@
8
8
 
9
9
  <div class="col-sm-6 form-group">
10
10
  <label class="font_normal_body">使用人员</label>
11
- <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
11
+ <!-- <input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >-->
12
+ <v-select style="width:60% "
13
+ class="select select_list"
14
+ :value.sync="model.f_username"
15
+ v-model="model.f_username"
16
+ :options='users'
17
+ placeholder='人员选择'
18
+ value-single
19
+ close-on-select>
20
+ </v-select>
12
21
  </div>
13
22
  <div class="col-sm-6 form-group">
14
23
  <label class="font_normal_body">设备号</label>
@@ -33,13 +42,13 @@
33
42
  </div>
34
43
  </template>
35
44
  <script>
36
-
45
+ import { HttpResetClass } from 'vue-client'
37
46
 
38
47
  export default {
39
48
  data () {
40
49
  return {
41
50
  model: {
42
- f_username: '',
51
+ f_username: null,
43
52
  f_terminal_number: '',
44
53
  f_equipment_type: 'PHONE',
45
54
  f_state: '正常'
@@ -47,11 +56,11 @@
47
56
  filialeCodeStr: this.$login.f.f_orgids,
48
57
  userid: this.$login.f.id,
49
58
  source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
50
- curorgid: this.$login.f.orgid,
59
+ curorgid: [this.$login.f.orgid],
51
60
  f_orgid: ''
52
61
  }
53
62
  },
54
- props: ['data'],
63
+ props: ['data','users'],
55
64
  watch: {
56
65
  'data' (val) {
57
66
  if (val) {
@@ -69,8 +78,10 @@
69
78
  },
70
79
  methods: {
71
80
  confirm () {
81
+ this.model.f_user_operatorid=this.model.f_username.id
82
+ this.model.f_user_operator=this.model.f_username.name
72
83
  this.model.f_operator = this.$login.f.name
73
- this.model.f_filialeids = this.filialeCodeStr
84
+ this.model.f_filialeids = this.$login.f.f_orgids
74
85
  this.model.f_orgid = this.f_orgid
75
86
  console.log('保存', this.model)
76
87
  this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
@@ -81,7 +92,7 @@
81
92
  },
82
93
  edit (row) {
83
94
  console.log('修改,,。。', row)
84
- this.model.f_username = row.f_username
95
+ this.model.f_username = {id:row.f_user_operatorid,name:row.f_user_operator}
85
96
  this.model.f_terminal_number = row.f_terminal_number
86
97
  this.model.id = row.id
87
98
  this.filialeCodeStr = row.f_filialeids
@@ -43,7 +43,7 @@
43
43
  <template partial='body':model="model">
44
44
  <tr>
45
45
  <td style="text-align:center">{{$index+1}}</td>
46
- <td style="text-align:center">{{row.f_username}}</td>
46
+ <td style="text-align:center">{{row.f_user_operator}}</td>
47
47
  <td style="text-align:center">{{row.f_terminal_number}}</td>
48
48
  <td style="text-align:center">
49
49
  <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
@@ -61,6 +61,7 @@
61
61
  export default {
62
62
  title: 'PC',
63
63
  components: {},
64
+
64
65
  data () {
65
66
  return {
66
67
  model: new PagedList('rs/sql/equipmentQuery', 20),
@@ -4,7 +4,7 @@
4
4
  <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
5
  </div>
6
6
  <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
- <phone-add :data="row" v-ref:addbox></phone-add>
7
+ <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
8
  </div>
9
9
  </div>
10
10
  </template>
@@ -18,6 +18,7 @@
18
18
  components: {
19
19
  PhoneList, PhoneAdd
20
20
  },
21
+ props:['users'],
21
22
  data () {
22
23
  return {
23
24
  isChange: false,