system-clients 3.2.1-23 → 3.2.1-24

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.
@@ -1,65 +1,65 @@
1
- <template>
2
- <div class="flex">
3
- <div class="auto">
4
- <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
- <div class="row">
6
- <div class="col-sm-2 form-group">
7
- <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
8
- <v-select id="f_charge_type"
9
- v-model="model.f_equipment_type"
10
- placeholder='终端类型'
11
- :value.sync="model.f_equipment_type"
12
- :options='equipmentType'
13
- close-on-select clear-button>
14
- </v-select>
15
- </div>
16
- </div>
17
- </div>
18
- </div>
19
- <div v-if="model.f_equipment_type[0] === 'PC'">
20
- <pc-manage></pc-manage>
21
- </div>
22
- <div v-if="model.f_equipment_type[0] === 'POS'">
23
- <pos-manage></pos-manage>
24
- </div>
25
- <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
- <phone-manage></phone-manage>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
-
33
- export default {
34
- title: '终端控制',
35
- data () {
36
- return {
37
- filialeNameStr: this.$login.f.f_fengongsi,
38
- filialeCodeStr: this.$login.f.orgid,
39
- userid:this.$login.f.id,
40
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
- equipmentType: this.$appdata.getParam('终端类型'),
42
- model: {
43
- f_equipment_type: []
44
- }
45
- }
46
- },
47
- ready () {
48
- console.log('看看终端类型', this.equipmentType)
49
- this.model.f_equipment_type = [this.equipmentType[0].value]
50
- },
51
- methods: {
52
- del (row) {
53
- console.log('要删除了', row)
54
- },
55
-
56
- getRes (obj) {
57
- this.filialeNameStr = obj.res
58
- this.filialeCodeStr = obj.resids
59
- },
60
- },
61
- computed: {
62
-
63
- }
64
- }
65
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <div class="auto">
4
+ <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
+ <div class="row">
6
+ <div class="col-sm-2 form-group">
7
+ <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
8
+ <v-select id="f_charge_type"
9
+ v-model="model.f_equipment_type"
10
+ placeholder='终端类型'
11
+ :value.sync="model.f_equipment_type"
12
+ :options='equipmentType'
13
+ close-on-select clear-button>
14
+ </v-select>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div v-if="model.f_equipment_type[0] === 'PC'">
20
+ <pc-manage></pc-manage>
21
+ </div>
22
+ <div v-if="model.f_equipment_type[0] === 'POS'">
23
+ <pos-manage></pos-manage>
24
+ </div>
25
+ <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
+ <phone-manage></phone-manage>
27
+ </div>
28
+ </div>
29
+ </template>
30
+
31
+ <script>
32
+
33
+ export default {
34
+ title: '终端控制',
35
+ data () {
36
+ return {
37
+ filialeNameStr: this.$login.f.f_fengongsi,
38
+ filialeCodeStr: this.$login.f.orgid,
39
+ userid:this.$login.f.id,
40
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
+ equipmentType: this.$appdata.getParam('终端类型'),
42
+ model: {
43
+ f_equipment_type: []
44
+ }
45
+ }
46
+ },
47
+ ready () {
48
+ console.log('看看终端类型', this.equipmentType)
49
+ this.model.f_equipment_type = [this.equipmentType[0].value]
50
+ },
51
+ methods: {
52
+ del (row) {
53
+ console.log('要删除了', row)
54
+ },
55
+
56
+ getRes (obj) {
57
+ this.filialeNameStr = obj.res
58
+ this.filialeCodeStr = obj.resids
59
+ },
60
+ },
61
+ computed: {
62
+
63
+ }
64
+ }
65
+ </script>