system-clients 1.5.0 → 1.5.24-5

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 (35) hide show
  1. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/build.gradle +6 -6
  5. package/package.json +5 -3
  6. package/src/assets/arrow.png +0 -0
  7. package/src/assets/people.png +0 -0
  8. package/src/components/Main.vue +52 -14
  9. package/src/components/equipment/EquipmentManage.vue +60 -0
  10. package/src/components/equipment/PcAdd.vue +105 -0
  11. package/src/components/equipment/PcList.vue +107 -0
  12. package/src/components/equipment/PcManage.vue +58 -0
  13. package/src/components/equipment/PhoneAdd.vue +96 -0
  14. package/src/components/equipment/PhoneList.vue +101 -0
  15. package/src/components/equipment/PhoneManage.vue +58 -0
  16. package/src/components/equipment/PosAdd.vue +0 -0
  17. package/src/components/equipment/PosList.vue +73 -0
  18. package/src/components/equipment/PosManage.vue +0 -0
  19. package/src/components/server/LeftTree.vue +23 -4
  20. package/src/components/server/Login.vue +84 -78
  21. package/src/components/server/ModifyPw.vue +112 -106
  22. package/src/components/server/RightTree.vue +34 -8
  23. package/src/plugins/GetLoginInfoService.js +497 -519
  24. package/src/stores/AppData.js +1 -2
  25. package/src/system.js +9 -4
  26. package/src/util/Base64Unit.js +91 -0
  27. package/test/unit/specs/components/parammanage/SinglePage.spec.js +1 -1
  28. package/test/unit/specs/plugins/GetLoginInfoService.spec.js +1 -1
  29. package/.npmignore +0 -8
  30. package/build/.npmignore +0 -1
  31. package/package-lock.json +0 -10754
  32. package/src/.npmignore +0 -1
  33. package/test/unit/specs/components/server/LeftTree/App.vue +0 -18
  34. package/test/unit/specs/components/server/LeftTree/LeftTree.spec.js +0 -20
  35. package/yarn.lock +0 -7829
package/build.gradle CHANGED
@@ -1,6 +1,6 @@
1
- version = '1.5.0'
2
-
3
- task release(type:Exec) {
4
- workingDir '.'
5
- commandLine 'cmd', '/c', 'release.bat ' + version
6
- }
1
+ version = '1.4.17'
2
+
3
+ task release(type:Exec) {
4
+ workingDir '.'
5
+ commandLine 'cmd', '/c', 'release.bat ' + version
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "1.5.0",
3
+ "version": "1.5.24-5",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -18,6 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "base64-js": "^1.3.0",
21
+ "encryptlong": "^3.1.4",
21
22
  "js-base64": "^2.4.9",
22
23
  "jsencrypt": "^3.0.0-rc.1",
23
24
  "less": "^2.7.1",
@@ -75,7 +76,7 @@
75
76
  "style": "0.0.3",
76
77
  "style-loader": "^0.20.3",
77
78
  "url-loader": "^0.5.7",
78
- "vue-client": "^1.15.3",
79
+ "vue-client": "1.19.228-1",
79
80
  "vue-hot-reload-api": "^1.2.0",
80
81
  "vue-html-loader": "^1.0.0",
81
82
  "vue-loader": "^8.2.1",
@@ -87,7 +88,8 @@
87
88
  "webpack": "^1.12.2",
88
89
  "webpack-dev-middleware": "^1.4.0",
89
90
  "webpack-hot-middleware": "^2.6.0",
90
- "webpack-merge": "^0.8.3"
91
+ "webpack-merge": "^0.8.3",
92
+ "crypto-js": "^4.0.0"
91
93
  },
92
94
  "repository": {
93
95
  "type": "git",
Binary file
Binary file
@@ -1,14 +1,24 @@
1
1
  <template>
2
2
  <div>
3
3
  <div class='flex-row' id="box" v-el:box v-if="!isManger">
4
- <div class="auto" style="position: fixed;right: 30px;top: 20px;">
5
- <span>登录人:</span>
6
- <label>{{orgpathnames}}</label>
4
+ <div class="auto" style="position: fixed;right: 30px;top: 20px;color: #333">
5
+ <span>
6
+ <img
7
+ src="../assets/people.png" height="15" width="15">
8
+ 登录人:</span>
9
+ <label>{{$login.f.name}}</label>
10
+ <img
11
+ src="../assets/arrow.png" height="6" width="10"
12
+ @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"
13
+ >
14
+ </div>
15
+ <div v-if="userpane" class="auto userpanel">
16
+ <span>{{orgpathnames}}</span>
7
17
  </div>
8
18
  <div class="flex tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
9
- <h3>Aote</h3>
19
+ <h3>气电集团</h3>
10
20
  <div class="span" style="margin-bottom:20px;flex: 1;">
11
- <left-tree :functions='functions.functions' :userid='userid' v-show="treeOrIcon" v-ref:tree></left-tree>
21
+ <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
12
22
  <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>
13
23
  </div>
14
24
 
@@ -40,7 +50,7 @@
40
50
  <!-- <operator-badge></operator-badge> -->
41
51
  <div class="span">
42
52
  <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
43
- <dynamic :comps='[]' name='main' @tab-changed="tabChange" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
53
+ <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
44
54
  </div>
45
55
  </div>
46
56
  </div>
@@ -73,15 +83,18 @@ export default {
73
83
  return {
74
84
  // 左侧树下部三个小图标
75
85
  imgs: {
76
- open: '/images/mainicon/treeopen.png',
77
- set: '/images/mainicon/treeset.png',
78
- out: '/images/mainicon/treeout.png'
86
+ open: '/images/lefticon/菜单伸缩.png',
87
+ set: '/images/lefticon/系统设置.png',
88
+ out: '/images/lefticon/退出系统.png'
79
89
  },
80
90
  treeOrIcon: false,
81
91
  isManger: false,
92
+ userpane: false,
82
93
  show: false,
83
94
  orgpathnames: this.$login.f.orgpathnames,
84
- date: this.$login.toStandardDateString()
95
+ date: this.$login.toStandardDateString(),
96
+ tabs:[], //已初始化页签数组
97
+ selecttab:''
85
98
 
86
99
  // headerHint: true, // 右侧顶部提示信息
87
100
  // value: 25645.26,
@@ -133,6 +146,15 @@ export default {
133
146
  this.changeShow()
134
147
  },
135
148
  methods: {
149
+ isnodo(val){
150
+ this.selecttab = val
151
+ },
152
+ mouseenteruser(){
153
+ this.userpane=true
154
+ },
155
+ mouseleaveuser(){
156
+ this.userpane=false
157
+ },
136
158
  unfurl () {
137
159
  if(this.showsum){
138
160
  this.showsum = false
@@ -171,7 +193,11 @@ export default {
171
193
  this.$goto('res-main', {userid: this.userid}, 'self')
172
194
  },
173
195
  tabChange (name) {
196
+ this.selecttab = name
174
197
  this.$refs.tree.changeSelect(name)
198
+ },
199
+ tabcg(val){
200
+ this.tabs = val
175
201
  }
176
202
  },
177
203
  computed: {
@@ -233,6 +259,17 @@ export default {
233
259
  .width-60 {
234
260
  width: 60px;
235
261
  }
262
+ .userpanel {
263
+ font-weight: 300;
264
+ color: #333;
265
+ position: fixed;
266
+ right: 30px;
267
+ top: 45px;
268
+ background-color: white;
269
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
270
+ padding: 4px 10px 4px 10px;
271
+ border-radius:2px;
272
+ }
236
273
  .width-80 {
237
274
  width: 80px;
238
275
  }
@@ -253,7 +290,7 @@ export default {
253
290
  height: 100%;
254
291
  // width: 150px;
255
292
  /*width: 60px;*/
256
- background: #4C637B;
293
+ background: #4a7cae;
257
294
  color: #fff;
258
295
 
259
296
  }
@@ -266,8 +303,7 @@ export default {
266
303
  }
267
304
  .tree-flex h3 {
268
305
  text-align: center;
269
- line-height: 80px;
270
- margin: 0px;
306
+ margin: 1em 0;
271
307
  }
272
308
 
273
309
  .tree-flex-footer {
@@ -365,8 +401,10 @@ export default {
365
401
  background-color: rgba(255,255,255,0);
366
402
  }
367
403
  .tree-flex img{
368
- height: 30px;
404
+ height: 1.2em;
405
+ width: 1.2em;
369
406
  margin-right: 15px;
407
+ margin-left: 5px;
370
408
  }
371
409
  .line {
372
410
  height: 100%;
@@ -0,0 +1,60 @@
1
+ <template>
2
+ <div class="auto">
3
+ <div class="form-group">
4
+ <label class="control-label">终端类型</label>
5
+ <v-select id="f_charge_type"
6
+ v-model="model.f_equipment_type"
7
+ placeholder='终端类型'
8
+ :value.sync="model.f_equipment_type"
9
+ :options='equipmentType'
10
+ close-on-select clear-button>
11
+ </v-select>
12
+ </div>
13
+
14
+ <div v-if="model.f_equipment_type[0] === 'PC'">
15
+ <pc-manage></pc-manage>
16
+ </div>
17
+ <div v-if="model.f_equipment_type[0] === 'POS'">
18
+ <pos-manage></pos-manage>
19
+ </div>
20
+ <div v-if="model.f_equipment_type[0] === 'PHONE'">
21
+ <phone-manage></phone-manage>
22
+ </div>
23
+ </div>
24
+ </template>
25
+
26
+ <script>
27
+
28
+ export default {
29
+ title: '终端控制',
30
+ data () {
31
+ return {
32
+ filialeNameStr: this.$login.f.f_fengongsi,
33
+ filialeCodeStr: this.$login.f.f_orgids,
34
+ userid:this.$login.f.id,
35
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
36
+ equipmentType: this.$appdata.getParam('终端类型'),
37
+ model: {
38
+ f_equipment_type: []
39
+ }
40
+ }
41
+ },
42
+ ready () {
43
+ console.log('看看终端类型', this.equipmentType)
44
+ this.model.f_equipment_type = [this.equipmentType[0].value]
45
+ },
46
+ methods: {
47
+ del (row) {
48
+ console.log('要删除了', row)
49
+ },
50
+
51
+ getRes (obj) {
52
+ this.filialeNameStr = obj.res
53
+ this.filialeCodeStr = obj.resids
54
+ },
55
+ },
56
+ computed: {
57
+
58
+ }
59
+ }
60
+ </script>
@@ -0,0 +1,105 @@
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <validator name='v'>
4
+ <ul class="nav nav-tabs" >
5
+ <li role="presentation" class="active"><a href="#">PC端MAC</a></li>
6
+ </ul>
7
+ <form class="form-horizontal">
8
+ <div class="row">
9
+ <div class="col-sm-4 form-group form-input-group">
10
+ <label class="control-label">使用人员</label>
11
+ <input type="text" class="form-control" v-model="model.f_username" placeholder="使用人员" >
12
+ </div>
13
+ <div class="col-sm-4 form-group form-input-group">
14
+ <label class="control-label">所属地址</label>
15
+ <input type="text" class="form-control" v-model="model.f_mac_outlets" placeholder="所属地址" >
16
+ </div>
17
+ <div class="col-sm-4 form-group form-input-group">
18
+ <label class="control-label">mac地址</label>
19
+ <input type="text" class="form-control" v-model="model.f_mac_number" placeholder="mac地址" >
20
+ </div>
21
+ </div>
22
+ <div class="row">
23
+ <div class="col-sm-4 form-group form-input-group">
24
+ <label class=" col-sm-2 control-label">使用公司</label>
25
+ <div class="col-sm-2">
26
+ <right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </form>
31
+ <div style="text-align:right;height:auto;">
32
+ <button class="btn btn-success " @click="confirm()" >确认</button>
33
+ <button class="btn btn-default " @click="cancel()" >取消</button>
34
+ </div>
35
+ </validator>
36
+ </div>
37
+ </template>
38
+ <script>
39
+
40
+
41
+ export default {
42
+ data () {
43
+ return {
44
+ model: {
45
+ f_username: '',
46
+ f_mac_outlets: '',
47
+ f_mac_number: '',
48
+ f_equipment_type: 'PC',
49
+ f_state: '正常'
50
+ },
51
+ filialeCodeStr: this.$login.f.f_orgids,
52
+ userid: this.$login.f.id,
53
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
54
+ }
55
+ },
56
+ props: ['data'],
57
+ watch: {
58
+ 'data' (val) {
59
+ if (val) {
60
+ this.edit(val)
61
+ } else {
62
+ this.initModel()
63
+ }
64
+ }
65
+ },
66
+ ready () {
67
+ console.log('mac信息:', this.data)
68
+ if (this.data) {
69
+ this.edit(this.data)
70
+ }
71
+ },
72
+ methods: {
73
+ confirm () {
74
+ this.model.f_operator = this.$login.f.name
75
+ this.model.f_filialeids = this.filialeCodeStr
76
+ console.log('保存', this.model)
77
+ this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
78
+ this.$dispatch('refresh')
79
+ }).catch((error) => {
80
+ this.$dispatch('refresh')
81
+ })
82
+ },
83
+ edit (row) {
84
+ console.log('修改,,。。', row)
85
+ this.model.f_username = row.f_username
86
+ this.model.f_mac_outlets = row.f_mac_outlets
87
+ this.model.f_mac_number = row.f_mac_number
88
+ this.model.id = row.id
89
+ this.filialeCodeStr = row.f_filialeids
90
+ },
91
+ initModel () {
92
+ delete this.model.id
93
+ this.model.f_username = ''
94
+ this.model.f_mac_outlets = ''
95
+ this.model.f_mac_number = ''
96
+ },
97
+ cancel () {
98
+ this.$dispatch('close')
99
+ },
100
+ getRes(obj) {
101
+ this.filialeCodeStr = obj.resids
102
+ },
103
+ }
104
+ }
105
+ </script>
@@ -0,0 +1,107 @@
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-inline" partial>
6
+ <div class="form-group">
7
+ <label>使用公司</label>
8
+ <right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>
9
+ </div>
10
+
11
+ <div class="form-group" >
12
+ <input type="text" class="form-control" v-model="model.f_username"
13
+ condition="f_username like '%{}%'" placeholder="使用人员">
14
+ </div>
15
+ <div class="form-group" >
16
+ <input type="text" class="form-control" v-model="model.f_mac_outlets"
17
+ condition="f_mac_outlets like '%{}%'" placeholder="所属地址">
18
+ </div>
19
+ <div class="form-group" >
20
+ <input type="text" class="form-control" v-model="model.f_mac_number"
21
+ condition="f_mac_number like '%{}%'" placeholder="MAC地址">
22
+ </div>
23
+
24
+ <div class="form-group">
25
+ <button class="btn btn-success width-80" @click="$parent.$parent.search()" v-el:cx>查询</button>
26
+ </div>
27
+ <div class="form-group">
28
+ <button class="btn btn-success width-80" @click="$parent.$parent.add()" v-el:cx>新增</button>
29
+ </div>
30
+ </div>
31
+ </criteria>
32
+ <data-grid :model="model" partial='list' v-ref:grid >
33
+ <template partial='head'>
34
+ <tr>
35
+ <th>序号</th>
36
+ <th>使用人员</th>
37
+ <th>所属地址</th>
38
+ <th>MAC地址</th>
39
+ <th>操作</th>
40
+ </tr>
41
+ </template>
42
+ <template partial='body':model="model">
43
+ <tr>
44
+ <td style="text-align:center">{{$index+1}}</td>
45
+ <td style="text-align:center">{{row.f_username}}</td>
46
+ <td style="text-align:center">{{row.f_mac_outlets}}</td>
47
+ <td style="text-align:center">{{row.f_mac_number}}</td>
48
+ <td style="text-align:center">
49
+ <button class="btn btn-link" @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
+ data () {
65
+ return {
66
+ model: new PagedList('rs/sql/equipmentQuery', 20),
67
+ filialeNameStr: this.$login.f.f_fengongsi,
68
+ filialeCodeStr: this.$login.f.f_orgids,
69
+ userid:this.$login.f.id,
70
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
71
+ }
72
+ },
73
+ ready () {
74
+ console.log('看看终端类型', this.equipmentType)
75
+ this.search()
76
+ },
77
+ methods: {
78
+ search () {
79
+ this.$refs.paged.$refs.cri.search()
80
+ },
81
+
82
+ selfSearch (args) {
83
+ args.condition = `${args.condition} and f_equipment_type = 'PC' and f_state = '正常' and f_filialeids like '${this.filialeCodeStr}%'`
84
+ this.model.search(args.condition, this.model)
85
+ },
86
+ add () {
87
+ this.$dispatch('add')
88
+ },
89
+ del (row) {
90
+ console.log('要删除了', row)
91
+ row.f_state = '已删除'
92
+ this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
93
+ this.$dispatch('refresh')
94
+ }).catch((error) => {
95
+ this.$dispatch('refresh')
96
+ })
97
+ },
98
+ getRes (obj) {
99
+ this.filialeNameStr = obj.res
100
+ this.filialeCodeStr = obj.resids
101
+ },
102
+ },
103
+ computed: {
104
+
105
+ }
106
+ }
107
+ </script>
@@ -0,0 +1,58 @@
1
+ <template>
2
+ <div class="flex-row">
3
+ <pc-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></pc-list>
4
+ <div class="flex" style="margin-left: 10px; width: 50%;" v-if="isChange">
5
+ <pc-add :data="row" v-ref:addbox></pc-add>
6
+ </div>
7
+ </div>
8
+ </template>
9
+ <script>
10
+
11
+ import PcList from './PcList'
12
+ import PcAdd from './PcAdd'
13
+
14
+ export default {
15
+ title: 'PC终端管理',
16
+ components: {
17
+ PcList, PcAdd
18
+ },
19
+ data () {
20
+ return {
21
+ isChange: false,
22
+ row: null
23
+ }
24
+ },
25
+ methods: {
26
+ selected (obj) {
27
+ this.isChange = true
28
+ this.row = obj.val
29
+ }
30
+ },
31
+ events: {
32
+ 'search' () {
33
+ this.isChange = false
34
+ this.row = null
35
+ this.$refs.list.$refs.paged.$refs.cri.search()
36
+ },
37
+ 'refresh' () {
38
+ this.isChange = false
39
+ this.row = null
40
+ this.$refs.list.search()
41
+ },
42
+ 'error' (name, row, res) {
43
+ this.isChange = false
44
+ this.row = null
45
+ },
46
+ 'close' () {
47
+ this.isChange = false
48
+ this.row = null
49
+ this.$refs.list.search()
50
+ },
51
+ 'add' () {
52
+ this.row = null
53
+ this.isChange = true
54
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
55
+ }
56
+ }
57
+ }
58
+ </script>
@@ -0,0 +1,96 @@
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <validator name='v'>
4
+ <ul class="nav nav-tabs" >
5
+ <li role="presentation" class="active"><a href="#">Phone端设备号</a></li>
6
+ </ul>
7
+ <form class="form-horizontal">
8
+ <div class="row">
9
+ <div class="col-sm-4 form-group form-input-group">
10
+ <label class="control-label">使用人员</label>
11
+ <input type="text" class="form-control" v-model="model.f_username" placeholder="使用人员" >
12
+ </div>
13
+ <div class="col-sm-4 form-group form-input-group">
14
+ <label class="control-label">设备号</label>
15
+ <input type="text" class="form-control" v-model="model.f_terminal_number" placeholder="设备号" >
16
+ </div>
17
+ <div class="col-sm-4 form-group form-input-group">
18
+ <label class=" col-sm-2 control-label">使用公司</label>
19
+ <div class="col-sm-2">
20
+ <right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>
21
+ </div>
22
+ </div>
23
+ </div>
24
+ </form>
25
+ <div style="text-align:right;height:auto;">
26
+ <button class="btn btn-success " @click="confirm()" >确认</button>
27
+ <button class="btn btn-default " @click="cancel()" >取消</button>
28
+ </div>
29
+ </validator>
30
+ </div>
31
+ </template>
32
+ <script>
33
+
34
+
35
+ export default {
36
+ data () {
37
+ return {
38
+ model: {
39
+ f_username: '',
40
+ f_terminal_number: '',
41
+ f_equipment_type: 'PHONE',
42
+ f_state: '正常'
43
+ },
44
+ filialeCodeStr: this.$login.f.f_orgids,
45
+ userid: this.$login.f.id,
46
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
47
+ }
48
+ },
49
+ props: ['data'],
50
+ watch: {
51
+ 'data' (val) {
52
+ if (val) {
53
+ this.edit(val)
54
+ } else {
55
+ this.initModel()
56
+ }
57
+ }
58
+ },
59
+ ready () {
60
+ console.log('mac信息:', this.data)
61
+ if (this.data) {
62
+ this.edit(this.data)
63
+ }
64
+ },
65
+ methods: {
66
+ confirm () {
67
+ this.model.f_operator = this.$login.f.name
68
+ this.model.f_filialeids = this.filialeCodeStr
69
+ console.log('保存', this.model)
70
+ this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
71
+ this.$dispatch('refresh')
72
+ }).catch(() => {
73
+ this.$dispatch('refresh')
74
+ })
75
+ },
76
+ edit (row) {
77
+ console.log('修改,,。。', row)
78
+ this.model.f_username = row.f_username
79
+ this.model.f_terminal_number = row.f_terminal_number
80
+ this.model.id = row.id
81
+ this.filialeCodeStr = row.f_filialeids
82
+ },
83
+ initModel () {
84
+ delete this.model.id
85
+ this.model.f_username = ''
86
+ this.model.f_terminal_number = ''
87
+ },
88
+ cancel () {
89
+ this.$dispatch('close')
90
+ },
91
+ getRes(obj) {
92
+ this.filialeCodeStr = obj.resids
93
+ },
94
+ }
95
+ }
96
+ </script>