system-clients 3.2.10 → 3.2.13
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 +1 -1
- package/src/App.vue +24 -24
- package/src/components/Main.vue +789 -788
- package/src/components/addressManage/AddressCascadingMenu.vue +145 -145
- package/src/components/equipment/PhoneAdd.vue +107 -107
- package/src/components/equipment/PhoneList.vue +112 -112
- package/src/filiale/dongguan/Login.vue +11 -2
- package/src/filiale/tongchuan/Login.vue +899 -0
- package/src/filiale/tongchuan/system.js +7 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/gradlew +0 -172
- package/gradlew.bat +0 -84
@@ -1,145 +1,145 @@
|
|
1
|
-
<template>
|
2
|
-
<div :class="style">
|
3
|
-
<label :class="font_style">小  区</label>
|
4
|
-
<v-select :value.sync="initres.f_residential_area"
|
5
|
-
v-model="initres.f_residential_area"
|
6
|
-
class="input-font"
|
7
|
-
:options='residentialAreaOptions'
|
8
|
-
placeholder='小区名称'
|
9
|
-
@change="getbuilds"
|
10
|
-
close-on-select :valueSingle=true>
|
11
|
-
</v-select>
|
12
|
-
</div>
|
13
|
-
<div :class="style">
|
14
|
-
<label :class="font_style">楼  栋</label>
|
15
|
-
<v-select :value.sync="initres.f_building"
|
16
|
-
v-model="initres.f_building"
|
17
|
-
class="input-font"
|
18
|
-
:options='buildOptions'
|
19
|
-
placeholder='楼栋'
|
20
|
-
@change="getUnits"
|
21
|
-
close-on-select :valueSingle="true">
|
22
|
-
</v-select>
|
23
|
-
</div>
|
24
|
-
<div :class="style">
|
25
|
-
<label :class="font_style">单  元</label>
|
26
|
-
<v-select :value.sync="initres.f_unit"
|
27
|
-
v-model="initres.f_unit"
|
28
|
-
class="input-font"
|
29
|
-
:options='unitOptions'
|
30
|
-
placeholder='单元'
|
31
|
-
close-on-select :valueSingle="true">
|
32
|
-
</v-select>
|
33
|
-
</div>
|
34
|
-
</template>
|
35
|
-
<script>
|
36
|
-
import {HttpResetClass} from "vue-client";
|
37
|
-
/**
|
38
|
-
*档案管理查询列表
|
39
|
-
*/
|
40
|
-
export default {
|
41
|
-
title: '小区查询',
|
42
|
-
props: {
|
43
|
-
style: {
|
44
|
-
type: String,
|
45
|
-
default: 'col-sm-2 form-group'
|
46
|
-
},
|
47
|
-
font_style: {
|
48
|
-
type: String,
|
49
|
-
default: 'font_normal_body'
|
50
|
-
},
|
51
|
-
mul: {
|
52
|
-
type: Boolean,
|
53
|
-
default: true
|
54
|
-
},
|
55
|
-
//初始值
|
56
|
-
initres: {
|
57
|
-
type: Object,
|
58
|
-
default: null,
|
59
|
-
},
|
60
|
-
conditions: {
|
61
|
-
type: Object,
|
62
|
-
default: null,
|
63
|
-
},
|
64
|
-
f_unit: {
|
65
|
-
type: String,
|
66
|
-
default: "f_unit = '{}'",
|
67
|
-
},
|
68
|
-
f_residential_area: {
|
69
|
-
type: String,
|
70
|
-
default: "f_residential_area = '{}'",
|
71
|
-
},
|
72
|
-
f_building: {
|
73
|
-
type: String,
|
74
|
-
default: "f_building = '{}'",
|
75
|
-
}
|
76
|
-
},
|
77
|
-
data () {
|
78
|
-
return {
|
79
|
-
residentialAreaOptions:[],
|
80
|
-
buildOptions:[],
|
81
|
-
unitOptions:[],
|
82
|
-
http:new HttpResetClass()
|
83
|
-
}
|
84
|
-
},
|
85
|
-
ready(){
|
86
|
-
this.getAllArea()
|
87
|
-
this.conditions=Object.assign({},this.conditions,{f_unit:this.f_unit,f_residential_area:this.f_residential_area,f_building:this.f_building})
|
88
|
-
},
|
89
|
-
methods: {
|
90
|
-
getAllArea(){
|
91
|
-
this.residentialAreaOptions = []
|
92
|
-
this.buildOptions = []
|
93
|
-
this.unitOptions = []
|
94
|
-
this.initres.f_residential_area = ''
|
95
|
-
this.initres.f_building = ''
|
96
|
-
this.initres.f_unit = ''
|
97
|
-
this.http.load('POST',"rs/sql/address_getarealist",{data:{condition: `s.f_filialeid = ${this.$login.f.orgid}`}},{resolveMsg: null, rejectMsg: null}).then(result =>{
|
98
|
-
if(result.data.length>0){
|
99
|
-
result.data.forEach(item => this.residentialAreaOptions.push({label:item.f_residential_area,value:item.f_residential_area}))
|
100
|
-
}
|
101
|
-
})
|
102
|
-
},
|
103
|
-
getbuilds(f_residential_area){
|
104
|
-
console.log('f_residential_area ===> ' + JSON.stringify(f_residential_area))
|
105
|
-
this.buildOptions = []
|
106
|
-
this.initres.f_building = ''
|
107
|
-
this.unitOptions = []
|
108
|
-
this.initres.f_unit = ''
|
109
|
-
if(f_residential_area.length<=0){
|
110
|
-
return
|
111
|
-
}
|
112
|
-
let criteria = {
|
113
|
-
condition: `f_building IS NOT NULL AND f_residential_area = '${f_residential_area}'`,
|
114
|
-
groupitem: 'f_building',
|
115
|
-
orderitem: 'f_building'
|
116
|
-
}
|
117
|
-
this.http.load('POST',"rs/sql/getUseraddressByCon",{'data': criteria},{resolveMsg: null, rejectMsg: null}).then(result =>{
|
118
|
-
if(result.data.length>0){
|
119
|
-
result.data.forEach(item => this.buildOptions.push({label:item.f_building,value:item.f_building}))
|
120
|
-
}
|
121
|
-
})
|
122
|
-
|
123
|
-
},
|
124
|
-
getUnits(f_building){
|
125
|
-
f_building = f_building[0]
|
126
|
-
this.unitOptions = []
|
127
|
-
this.initres.f_unit = ''
|
128
|
-
if(!f_building){
|
129
|
-
return
|
130
|
-
}
|
131
|
-
let criteria = {
|
132
|
-
condition: `f_unit IS NOT NULL AND f_unit != '' AND f_residential_area = '${this.initres.f_residential_area}' AND f_building = '${this.initres.f_building}'`,
|
133
|
-
orderitem: 'f_unit',
|
134
|
-
groupitem: 'f_unit'
|
135
|
-
}
|
136
|
-
this.http.load('POST',"rs/sql/getUseraddressByCon",{'data': criteria},{resolveMsg: null, rejectMsg: null}).then(result=>{
|
137
|
-
if(result.data.length>0){
|
138
|
-
result.data.forEach(item => this.unitOptions.push({label:item.f_unit,value:item.f_unit}))
|
139
|
-
}
|
140
|
-
})
|
141
|
-
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div :class="style">
|
3
|
+
<label :class="font_style">小  区</label>
|
4
|
+
<v-select :value.sync="initres.f_residential_area"
|
5
|
+
v-model="initres.f_residential_area"
|
6
|
+
class="input-font"
|
7
|
+
:options='residentialAreaOptions'
|
8
|
+
placeholder='小区名称'
|
9
|
+
@change="getbuilds"
|
10
|
+
close-on-select :valueSingle=true>
|
11
|
+
</v-select>
|
12
|
+
</div>
|
13
|
+
<div :class="style">
|
14
|
+
<label :class="font_style">楼  栋</label>
|
15
|
+
<v-select :value.sync="initres.f_building"
|
16
|
+
v-model="initres.f_building"
|
17
|
+
class="input-font"
|
18
|
+
:options='buildOptions'
|
19
|
+
placeholder='楼栋'
|
20
|
+
@change="getUnits"
|
21
|
+
close-on-select :valueSingle="true">
|
22
|
+
</v-select>
|
23
|
+
</div>
|
24
|
+
<div :class="style">
|
25
|
+
<label :class="font_style">单  元</label>
|
26
|
+
<v-select :value.sync="initres.f_unit"
|
27
|
+
v-model="initres.f_unit"
|
28
|
+
class="input-font"
|
29
|
+
:options='unitOptions'
|
30
|
+
placeholder='单元'
|
31
|
+
close-on-select :valueSingle="true">
|
32
|
+
</v-select>
|
33
|
+
</div>
|
34
|
+
</template>
|
35
|
+
<script>
|
36
|
+
import {HttpResetClass} from "vue-client";
|
37
|
+
/**
|
38
|
+
*档案管理查询列表
|
39
|
+
*/
|
40
|
+
export default {
|
41
|
+
title: '小区查询',
|
42
|
+
props: {
|
43
|
+
style: {
|
44
|
+
type: String,
|
45
|
+
default: 'col-sm-2 form-group'
|
46
|
+
},
|
47
|
+
font_style: {
|
48
|
+
type: String,
|
49
|
+
default: 'font_normal_body'
|
50
|
+
},
|
51
|
+
mul: {
|
52
|
+
type: Boolean,
|
53
|
+
default: true
|
54
|
+
},
|
55
|
+
//初始值
|
56
|
+
initres: {
|
57
|
+
type: Object,
|
58
|
+
default: null,
|
59
|
+
},
|
60
|
+
conditions: {
|
61
|
+
type: Object,
|
62
|
+
default: null,
|
63
|
+
},
|
64
|
+
f_unit: {
|
65
|
+
type: String,
|
66
|
+
default: "f_unit = '{}'",
|
67
|
+
},
|
68
|
+
f_residential_area: {
|
69
|
+
type: String,
|
70
|
+
default: "f_residential_area = '{}'",
|
71
|
+
},
|
72
|
+
f_building: {
|
73
|
+
type: String,
|
74
|
+
default: "f_building = '{}'",
|
75
|
+
}
|
76
|
+
},
|
77
|
+
data () {
|
78
|
+
return {
|
79
|
+
residentialAreaOptions:[],
|
80
|
+
buildOptions:[],
|
81
|
+
unitOptions:[],
|
82
|
+
http:new HttpResetClass()
|
83
|
+
}
|
84
|
+
},
|
85
|
+
ready(){
|
86
|
+
this.getAllArea()
|
87
|
+
this.conditions=Object.assign({},this.conditions,{f_unit:this.f_unit,f_residential_area:this.f_residential_area,f_building:this.f_building})
|
88
|
+
},
|
89
|
+
methods: {
|
90
|
+
getAllArea(){
|
91
|
+
this.residentialAreaOptions = []
|
92
|
+
this.buildOptions = []
|
93
|
+
this.unitOptions = []
|
94
|
+
this.initres.f_residential_area = ''
|
95
|
+
this.initres.f_building = ''
|
96
|
+
this.initres.f_unit = ''
|
97
|
+
this.http.load('POST',"rs/sql/address_getarealist",{data:{condition: `s.f_filialeid = ${this.$login.f.orgid}`}},{resolveMsg: null, rejectMsg: null}).then(result =>{
|
98
|
+
if(result.data.length>0){
|
99
|
+
result.data.forEach(item => this.residentialAreaOptions.push({label:item.f_residential_area,value:item.f_residential_area}))
|
100
|
+
}
|
101
|
+
})
|
102
|
+
},
|
103
|
+
getbuilds(f_residential_area){
|
104
|
+
console.log('f_residential_area ===> ' + JSON.stringify(f_residential_area))
|
105
|
+
this.buildOptions = []
|
106
|
+
this.initres.f_building = ''
|
107
|
+
this.unitOptions = []
|
108
|
+
this.initres.f_unit = ''
|
109
|
+
if(f_residential_area.length<=0){
|
110
|
+
return
|
111
|
+
}
|
112
|
+
let criteria = {
|
113
|
+
condition: `f_building IS NOT NULL AND f_residential_area = '${f_residential_area}'`,
|
114
|
+
groupitem: 'f_building',
|
115
|
+
orderitem: 'f_building'
|
116
|
+
}
|
117
|
+
this.http.load('POST',"rs/sql/getUseraddressByCon",{'data': criteria},{resolveMsg: null, rejectMsg: null}).then(result =>{
|
118
|
+
if(result.data.length>0){
|
119
|
+
result.data.forEach(item => this.buildOptions.push({label:item.f_building,value:item.f_building}))
|
120
|
+
}
|
121
|
+
})
|
122
|
+
|
123
|
+
},
|
124
|
+
getUnits(f_building){
|
125
|
+
f_building = f_building[0]
|
126
|
+
this.unitOptions = []
|
127
|
+
this.initres.f_unit = ''
|
128
|
+
if(!f_building){
|
129
|
+
return
|
130
|
+
}
|
131
|
+
let criteria = {
|
132
|
+
condition: `f_unit IS NOT NULL AND f_unit != '' AND f_residential_area = '${this.initres.f_residential_area}' AND f_building = '${this.initres.f_building}'`,
|
133
|
+
orderitem: 'f_unit',
|
134
|
+
groupitem: 'f_unit'
|
135
|
+
}
|
136
|
+
this.http.load('POST',"rs/sql/getUseraddressByCon",{'data': criteria},{resolveMsg: null, rejectMsg: null}).then(result=>{
|
137
|
+
if(result.data.length>0){
|
138
|
+
result.data.forEach(item => this.unitOptions.push({label:item.f_unit,value:item.f_unit}))
|
139
|
+
}
|
140
|
+
})
|
141
|
+
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
</script>
|
@@ -1,107 +1,107 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="row 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
|
-
|
9
|
-
<div class="col-sm-6 form-group">
|
10
|
-
<label class="font_normal_body">使用人员</label>
|
11
|
-
<input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
|
12
|
-
</div>
|
13
|
-
<div class="col-sm-6 form-group">
|
14
|
-
<label class="font_normal_body">设备号</label>
|
15
|
-
<input type="text" style="width: 60%" class="input_search" v-model="model.f_terminal_number" placeholder="设备号" >
|
16
|
-
</div>
|
17
|
-
<div class="col-sm-6 form-group">
|
18
|
-
<label class="font_normal_body">使用公司</label>
|
19
|
-
<!--<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>-->
|
20
|
-
<res-select restype='organization'
|
21
|
-
is-mul="false"
|
22
|
-
@res-select="getorg"
|
23
|
-
:initresid="curorgid">
|
24
|
-
</res-select>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
</form>
|
28
|
-
<div style="text-align:right;height:auto;">
|
29
|
-
<button class="btn button_search " @click="confirm()" >确认</button>
|
30
|
-
<button class="btn button_clear " @click="cancel()" >取消</button>
|
31
|
-
</div>
|
32
|
-
</validator>
|
33
|
-
</div>
|
34
|
-
</template>
|
35
|
-
<script>
|
36
|
-
|
37
|
-
|
38
|
-
export default {
|
39
|
-
data () {
|
40
|
-
return {
|
41
|
-
model: {
|
42
|
-
f_username: '',
|
43
|
-
f_terminal_number: '',
|
44
|
-
f_equipment_type: 'PHONE',
|
45
|
-
f_state: '正常'
|
46
|
-
},
|
47
|
-
filialeCodeStr: this.$login.f.f_orgids,
|
48
|
-
userid: this.$login.f.id,
|
49
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
50
|
-
curorgid: this.$login.f.orgid,
|
51
|
-
f_orgid: ''
|
52
|
-
}
|
53
|
-
},
|
54
|
-
props: ['data'],
|
55
|
-
watch: {
|
56
|
-
'data' (val) {
|
57
|
-
if (val) {
|
58
|
-
this.edit(val)
|
59
|
-
} else {
|
60
|
-
this.initModel()
|
61
|
-
}
|
62
|
-
}
|
63
|
-
},
|
64
|
-
ready () {
|
65
|
-
console.log('mac信息:', this.data)
|
66
|
-
if (this.data) {
|
67
|
-
this.edit(this.data)
|
68
|
-
}
|
69
|
-
},
|
70
|
-
methods: {
|
71
|
-
confirm () {
|
72
|
-
this.model.f_operator = this.$login.f.name
|
73
|
-
this.model.f_filialeids = this.filialeCodeStr
|
74
|
-
this.model.f_orgid = this.f_orgid
|
75
|
-
console.log('保存', this.model)
|
76
|
-
this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
|
77
|
-
this.$dispatch('refresh')
|
78
|
-
}).catch(() => {
|
79
|
-
this.$dispatch('refresh')
|
80
|
-
})
|
81
|
-
},
|
82
|
-
edit (row) {
|
83
|
-
console.log('修改,,。。', row)
|
84
|
-
this.model.f_username = row.f_username
|
85
|
-
this.model.f_terminal_number = row.f_terminal_number
|
86
|
-
this.model.id = row.id
|
87
|
-
this.filialeCodeStr = row.f_filialeids
|
88
|
-
this.f_orgid = row.f_orgid
|
89
|
-
this.curorgid= [row.f_orgid]
|
90
|
-
},
|
91
|
-
initModel () {
|
92
|
-
delete this.model.id
|
93
|
-
this.model.f_username = ''
|
94
|
-
this.model.f_terminal_number = ''
|
95
|
-
},
|
96
|
-
cancel () {
|
97
|
-
this.$dispatch('close')
|
98
|
-
},
|
99
|
-
getRes(obj) {
|
100
|
-
this.filialeCodeStr = obj.resids
|
101
|
-
},
|
102
|
-
getorg (val) {
|
103
|
-
this.f_orgid = val[0]
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="row 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
|
+
|
9
|
+
<div class="col-sm-6 form-group">
|
10
|
+
<label class="font_normal_body">使用人员</label>
|
11
|
+
<input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
|
12
|
+
</div>
|
13
|
+
<div class="col-sm-6 form-group">
|
14
|
+
<label class="font_normal_body">设备号</label>
|
15
|
+
<input type="text" style="width: 60%" class="input_search" v-model="model.f_terminal_number" placeholder="设备号" >
|
16
|
+
</div>
|
17
|
+
<div class="col-sm-6 form-group">
|
18
|
+
<label class="font_normal_body">使用公司</label>
|
19
|
+
<!--<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>-->
|
20
|
+
<res-select restype='organization'
|
21
|
+
is-mul="false"
|
22
|
+
@res-select="getorg"
|
23
|
+
:initresid="curorgid">
|
24
|
+
</res-select>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
</form>
|
28
|
+
<div style="text-align:right;height:auto;">
|
29
|
+
<button class="btn button_search " @click="confirm()" >确认</button>
|
30
|
+
<button class="btn button_clear " @click="cancel()" >取消</button>
|
31
|
+
</div>
|
32
|
+
</validator>
|
33
|
+
</div>
|
34
|
+
</template>
|
35
|
+
<script>
|
36
|
+
|
37
|
+
|
38
|
+
export default {
|
39
|
+
data () {
|
40
|
+
return {
|
41
|
+
model: {
|
42
|
+
f_username: '',
|
43
|
+
f_terminal_number: '',
|
44
|
+
f_equipment_type: 'PHONE',
|
45
|
+
f_state: '正常'
|
46
|
+
},
|
47
|
+
filialeCodeStr: this.$login.f.f_orgids,
|
48
|
+
userid: this.$login.f.id,
|
49
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
50
|
+
curorgid: this.$login.f.orgid,
|
51
|
+
f_orgid: ''
|
52
|
+
}
|
53
|
+
},
|
54
|
+
props: ['data'],
|
55
|
+
watch: {
|
56
|
+
'data' (val) {
|
57
|
+
if (val) {
|
58
|
+
this.edit(val)
|
59
|
+
} else {
|
60
|
+
this.initModel()
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
64
|
+
ready () {
|
65
|
+
console.log('mac信息:', this.data)
|
66
|
+
if (this.data) {
|
67
|
+
this.edit(this.data)
|
68
|
+
}
|
69
|
+
},
|
70
|
+
methods: {
|
71
|
+
confirm () {
|
72
|
+
this.model.f_operator = this.$login.f.name
|
73
|
+
this.model.f_filialeids = this.filialeCodeStr
|
74
|
+
this.model.f_orgid = this.f_orgid
|
75
|
+
console.log('保存', this.model)
|
76
|
+
this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
|
77
|
+
this.$dispatch('refresh')
|
78
|
+
}).catch(() => {
|
79
|
+
this.$dispatch('refresh')
|
80
|
+
})
|
81
|
+
},
|
82
|
+
edit (row) {
|
83
|
+
console.log('修改,,。。', row)
|
84
|
+
this.model.f_username = row.f_username
|
85
|
+
this.model.f_terminal_number = row.f_terminal_number
|
86
|
+
this.model.id = row.id
|
87
|
+
this.filialeCodeStr = row.f_filialeids
|
88
|
+
this.f_orgid = row.f_orgid
|
89
|
+
this.curorgid= [row.f_orgid]
|
90
|
+
},
|
91
|
+
initModel () {
|
92
|
+
delete this.model.id
|
93
|
+
this.model.f_username = ''
|
94
|
+
this.model.f_terminal_number = ''
|
95
|
+
},
|
96
|
+
cancel () {
|
97
|
+
this.$dispatch('close')
|
98
|
+
},
|
99
|
+
getRes(obj) {
|
100
|
+
this.filialeCodeStr = obj.resids
|
101
|
+
},
|
102
|
+
getorg (val) {
|
103
|
+
this.f_orgid = val[0]
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
</script>
|