system-clients 3.2.82 → 3.2.83
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/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +234 -0
- package/gradlew.bat +89 -0
- package/package.json +2 -2
- package/src/components/Main.vue +923 -819
- package/src/components/equipment/EquipmentManage.vue +21 -3
- package/src/components/equipment/PcAdd.vue +13 -3
- package/src/components/equipment/PcList.vue +1 -1
- package/src/components/equipment/PcManage.vue +2 -1
- package/src/components/equipment/PhoneAdd.vue +18 -7
- package/src/components/equipment/PhoneList.vue +2 -1
- package/src/components/equipment/PhoneManage.vue +2 -1
- package/src/components/server/Login.vue +5 -3
- package/src/components/server/ModifyPw.vue +1 -1
- package/src/components/server/ResSelect.vue +12 -1
- package/src/components/server/ResSelectGroup.vue +6 -0
- package/src/components/server/RightTree.vue +1 -1
- package/src/filiale/konggang/system.js +1 -1
- package/src/filiale/qianneng/Login.vue +566 -0
- package/src/filiale/qianneng/ModifyPw.vue +2 -2
- package/src/filiale/qianneng/system.js +3 -0
- package/src/filiale/shiquan/Login.vue +564 -0
- package/src/filiale/shiquan/system.js +8 -0
- package/src/filiale/tongchuan/Main.vue +1019 -0
- package/src/filiale/tongchuan/system.js +2 -2
- package/src/plugins/GetLoginInfoService.js +3 -0
- package/src/plugins/validation.js +1 -1
- package/src/stores/AppData.js +1 -1
- package/src/styles/less/aofeng/standard.less +4 -4
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +5 -1
- 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
|
-
<
|
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.
|
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.
|
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.
|
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.
|
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,
|
@@ -8,7 +8,7 @@
|
|
8
8
|
<img
|
9
9
|
src="../../assets/clear-cookie.png" style="height: 25px; width: 95px;margin-bottom: 3px;">
|
10
10
|
</button>
|
11
|
-
<span v-if="$login.versionTime"
|
11
|
+
<span v-if="$login.versionTime">构建时间:{{ vTime }}</span>
|
12
12
|
<div v-if="titleShow">
|
13
13
|
<img src="../../../static/newStyle/login-info.png"/>
|
14
14
|
<span @click="showus=true">关于我们</span>
|
@@ -85,7 +85,7 @@
|
|
85
85
|
技术支持:西安奥枫软件有限公司
|
86
86
|
</div>
|
87
87
|
<div class="login-foot" v-show="$login.BAinformation">
|
88
|
-
{{ $login.BAinformation }}
|
88
|
+
{{{ $login.BAinformation }}}
|
89
89
|
</div>
|
90
90
|
|
91
91
|
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal >
|
@@ -205,7 +205,7 @@ let saveGen = function *(self) {
|
|
205
205
|
console.log(self.$login.depPrompt)
|
206
206
|
// 弱口令验证
|
207
207
|
//跳转过来的不进行验证
|
208
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(
|
208
|
+
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(self.model.password))) {
|
209
209
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
210
210
|
self.modifyPwShow = true
|
211
211
|
})
|
@@ -314,6 +314,8 @@ export default {
|
|
314
314
|
msgRole : '预约处理人员',
|
315
315
|
// 定时获取提示间隔 单位:分钟
|
316
316
|
times: 25,
|
317
|
+
approve: false, // 是否获取审核提醒
|
318
|
+
approveTimes: 1 // 审核时间见间隔
|
317
319
|
},
|
318
320
|
titleShow: true, //标题显示
|
319
321
|
otherLogin:false,
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, numbersAndLetter8to16: true, minlength: 6,chinesePassword: true}'>
|
26
26
|
<span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !$v.newpassword.minlength && !($v.newpassword.numbersAndLetter8to16 && !($v.newpassword.required)) && !($v.newpassword.chinesePassword) "></span>
|
27
27
|
<span v-if="$v.newpassword.required">不能为空</span>
|
28
|
-
<span v-if="($v.newpassword.numbersAndLetter8to16||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码必须是8~16
|
28
|
+
<span v-if="($v.newpassword.numbersAndLetter8to16||$v.newpassword.minlength) && !($v.newpassword.required&&$v.newpassword.minlength)">密码必须是8~16位数字与大小字母外加特殊字符的组合,并且不能出现类似'123','abc'等连贯数字或者字母</span>
|
29
29
|
<span v-if="$v.newpassword.chinesePassword">密码不能包含中文</span>
|
30
30
|
</div>
|
31
31
|
</div>
|
@@ -18,6 +18,11 @@
|
|
18
18
|
|
19
19
|
//资源类型
|
20
20
|
restype:'',
|
21
|
+
//是否只查询营业厅
|
22
|
+
specialquery: {
|
23
|
+
type: Boolean,
|
24
|
+
default: false
|
25
|
+
},
|
21
26
|
//资源数据
|
22
27
|
resObj:{},
|
23
28
|
isMul: {
|
@@ -83,7 +88,13 @@
|
|
83
88
|
parentname=parentname.replace("组织机构","")
|
84
89
|
this.resoptions.push({label: val.name+' - '+parentname, value: val.id})
|
85
90
|
}else{
|
86
|
-
this.
|
91
|
+
if (this.specialquery && this.restype == 'department') {
|
92
|
+
if (val.f_dep_type === '营业厅') {
|
93
|
+
this.resoptions.push({label: val.name, value: val.id})
|
94
|
+
}
|
95
|
+
}else {
|
96
|
+
this.resoptions.push({label: val.name, value: val.id})
|
97
|
+
}
|
87
98
|
}
|
88
99
|
}
|
89
100
|
},
|
@@ -10,6 +10,7 @@
|
|
10
10
|
<res-select restype='department' v-ref:department
|
11
11
|
@res-select="getdep"
|
12
12
|
:parentresid="depresid"
|
13
|
+
:specialquery="specialquery"
|
13
14
|
:initresid='initres.dep'
|
14
15
|
:mustselect="mustselect"
|
15
16
|
:is-mul="mul">
|
@@ -57,6 +58,11 @@ export default {
|
|
57
58
|
type: Boolean,
|
58
59
|
default: true
|
59
60
|
},
|
61
|
+
//是否只查询营业厅
|
62
|
+
specialquery: {
|
63
|
+
type: Boolean,
|
64
|
+
default: false
|
65
|
+
},
|
60
66
|
//初始值
|
61
67
|
initres: {
|
62
68
|
type: Object,
|