system-clients 3.2.6-1 → 3.2.6-aodeToV4
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/.eslintrc.js +16 -16
- package/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/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/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/SystemClient.iml +11 -8
- package/build/webpack.base.conf.js +10 -17
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +185 -0
- package/gradlew.bat +89 -0
- package/package.json +102 -104
- package/src/App.vue +1 -1
- package/src/components/Main.vue +430 -686
- package/src/components/Util.js +343 -343
- package/src/components/equipment/EquipmentManage.vue +4 -4
- package/src/components/equipment/PcAdd.vue +6 -6
- package/src/components/equipment/PcList.vue +9 -8
- package/src/components/equipment/PhoneAdd.vue +14 -27
- package/src/components/equipment/PhoneList.vue +23 -33
- package/src/components/equipment/PosAdd.vue +65 -232
- package/src/components/equipment/PosList.vue +71 -201
- package/src/components/equipment/PosManage.vue +10 -80
- package/src/components/materialManage/materialList.vue +1 -1
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +14 -36
- package/src/components/parammanage/ParamPages.vue +5 -5
- package/src/components/parammanage/SinglePage.vue +7 -7
- package/src/components/parammanage/SinglePages.vue +3 -3
- package/src/components/server/AddChangeMsg.vue +1 -1
- package/src/components/server/ChangeDeclare.vue +1 -1
- package/src/components/server/LoadData.vue +2 -21
- package/src/components/server/Login.vue +132 -295
- package/src/components/server/Menu.vue +188 -188
- package/src/components/server/ModifyPw.vue +17 -16
- package/src/components/server/NewResSelectGroup.vue +211 -0
- package/src/components/server/ResSelect.vue +3 -5
- package/src/components/server/ResSelectGroup.vue +118 -157
- package/src/components/server/RightTree.vue +257 -262
- package/src/components/server/RoleSelector.vue +4 -3
- package/src/components/server/TestResSelectGroup.vue +2 -2
- package/src/plugins/GetLoginInfoService.js +52 -74
- package/src/plugins/validation.js +0 -8
- package/src/project/State.js +1 -1
- package/src/stores/AppData.js +1 -1
- package/src/styles/less/aofeng/standard.less +60 -446
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
- package/src/styles/less/aofeng/themeOne/systemStyle.less +18 -18
- package/src/styles/less/fonts-list.less +4 -4
- package/src/styles/less/stand.less +1 -1
- package/src/styles/less/tables.less +0 -50
- package/src/styles/less/type.less +3 -16
- package/src/styles/less/variables.less +3 -6
- package/src/system.js +3 -27
- package/static/aodelogo.png +0 -0
- package/static/aodenewlogo.png +0 -0
- package/static/ewmlogo.png +0 -0
- package/.npmignore +0 -10
- package/build/.npmignore +0 -1
- package/package-lock.json +0 -23125
- package/src/.npmignore +0 -1
- package/src/components/TabButton.vue +0 -201
- package/src/components/Tabs.vue +0 -67
- package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
- package/src/components/equipment/PosManageBoth.vue +0 -125
- package/src/components/equipment/PosParamAdd.vue +0 -236
- package/src/components/equipment/PosParamList.vue +0 -121
- package/src/components/equipment/PosParamManage.vue +0 -51
- package/src/components/server/ImageVieweTest.vue +0 -56
- package/src/components/server/ImageViewer.vue +0 -350
- package/src/components/server/PcdBuildingSelect.vue +0 -241
- package/src/filiale/dongguan/Login.vue +0 -889
- package/src/filiale/dongguan/Main.vue +0 -715
- package/src/filiale/dongguan/system.js +0 -6
- package/src/filiale/konggang/Login.vue +0 -840
- package/src/filiale/konggang/system.js +0 -7
- package/src/filiale/qianneng/ModifyPw.vue +0 -107
- package/src/filiale/qianneng/system.js +0 -7
- package/src/filiale/rizhao/LeftTree.vue +0 -111
- package/src/filiale/rizhao/Login.vue +0 -791
- package/src/filiale/rizhao/Main.vue +0 -606
- package/src/filiale/rizhao/system.js +0 -14
- package/src/filiale/yuchuan/Login.vue +0 -889
- package/src/filiale/yuchuan/Main.vue +0 -773
- package/src/filiale/yuchuan/system.js +0 -10
- package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
- package/src/util/Daiban.json +0 -12
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/logo.png +0 -0
- package/static/newStyle/about-us.png +0 -0
- package/static/rizhao.png +0 -0
- package/yarn-error.log +0 -6896
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
|
5
5
|
<div class="row">
|
6
6
|
<div class="col-sm-2 form-group">
|
7
|
-
<label class="font_normal_body"
|
7
|
+
<label class="font_normal_body">终端类型</label>
|
8
8
|
<v-select id="f_charge_type"
|
9
9
|
v-model="model.f_equipment_type"
|
10
10
|
placeholder='终端类型'
|
@@ -19,8 +19,8 @@
|
|
19
19
|
<div v-if="model.f_equipment_type[0] === 'PC'">
|
20
20
|
<pc-manage></pc-manage>
|
21
21
|
</div>
|
22
|
-
<div v-if="model.f_equipment_type[0] === 'POS'">
|
23
|
-
<pos-manage></pos-manage>
|
22
|
+
<div v-if="model.f_equipment_type[0] === 'POS'||model.f_equipment_type[0] === '自助写卡机'||model.f_equipment_type[0] === '手持POS'">
|
23
|
+
<pos-manage :type="model.f_equipment_type[0]"></pos-manage>
|
24
24
|
</div>
|
25
25
|
<div v-if="model.f_equipment_type[0] === 'PHONE'">
|
26
26
|
<phone-manage></phone-manage>
|
@@ -46,7 +46,7 @@
|
|
46
46
|
},
|
47
47
|
ready () {
|
48
48
|
console.log('看看终端类型', this.equipmentType)
|
49
|
-
this.model.f_equipment_type = [
|
49
|
+
this.model.f_equipment_type = ['POS']
|
50
50
|
},
|
51
51
|
methods: {
|
52
52
|
del (row) {
|
@@ -1,23 +1,23 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="
|
2
|
+
<div class="auto select-overspread">
|
3
3
|
<validator name='v'>
|
4
4
|
<ul class="nav nav-tabs" >
|
5
5
|
<li role="presentation" class="active"><a href="#">PC端MAC</a></li>
|
6
6
|
</ul>
|
7
7
|
<form class="form-horizontal">
|
8
|
-
<div class="col-sm-6
|
8
|
+
<div class="col-sm-6">
|
9
9
|
<label class="font_normal_body">使用人员</label>
|
10
10
|
<input type="text" style="width: 60%" class="input_search" v-model="model.f_username" placeholder="使用人员" >
|
11
11
|
</div>
|
12
|
-
<div class="col-sm-6
|
12
|
+
<div class="col-sm-6">
|
13
13
|
<label class="font_normal_body">所属地址</label>
|
14
14
|
<input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_outlets" placeholder="所属地址" >
|
15
15
|
</div>
|
16
|
-
<div class="col-sm-6
|
16
|
+
<div class="col-sm-6">
|
17
17
|
<label class="font_normal_body">mac地址</label>
|
18
18
|
<input type="text" style="width: 60%" class="input_search" v-model="model.f_mac_number" placeholder="mac地址" >
|
19
19
|
</div>
|
20
|
-
<div class="col-sm-6
|
20
|
+
<div class="col-sm-6">
|
21
21
|
<label class="font_normal_body">使用公司</label>
|
22
22
|
|
23
23
|
<res-select restype='organization'
|
@@ -74,7 +74,7 @@
|
|
74
74
|
this.model.f_operatorid = this.$login.f.id
|
75
75
|
this.model.f_orgid = this.f_orgid
|
76
76
|
console.log('保存', this.model)
|
77
|
-
this.$resetpost('
|
77
|
+
this.$resetpost('api/af-system/logic/saveEquipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
|
78
78
|
this.$dispatch('refresh')
|
79
79
|
}).catch((error) => {
|
80
80
|
this.$dispatch('refresh')
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
6
|
<div class="row">
|
7
|
-
<div class="col-sm-3
|
7
|
+
<div class="col-sm-3">
|
8
8
|
<label class="font_normal_body">使用公司</label>
|
9
9
|
<res-select restype='organization'
|
10
10
|
is-mul="false"
|
@@ -13,12 +13,12 @@
|
|
13
13
|
</res-select>
|
14
14
|
</div>
|
15
15
|
|
16
|
-
<div class="col-sm-3
|
16
|
+
<div class="col-sm-3" >
|
17
17
|
<label class="font_normal_body">使用人员</label>
|
18
18
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_username"
|
19
19
|
condition="f_username like '%{}%'" placeholder="使用人员">
|
20
20
|
</div>
|
21
|
-
<div class="col-sm-3
|
21
|
+
<div class="col-sm-3" >
|
22
22
|
<label class="font_normal_body">所属地址</label>
|
23
23
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_mac_outlets"
|
24
24
|
condition="f_mac_outlets like '%{}%'" placeholder="所属地址">
|
@@ -31,7 +31,7 @@
|
|
31
31
|
</div>
|
32
32
|
</div>
|
33
33
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
34
|
-
<div class="col-sm-3
|
34
|
+
<div class="col-sm-3" >
|
35
35
|
<label class="font_normal_body">MAC地址</label>
|
36
36
|
<input type="text" class="input_search" style="width:60%" v-model="model.f_mac_number"
|
37
37
|
condition="f_mac_number like '%{}%'" placeholder="MAC地址">
|
@@ -58,7 +58,7 @@
|
|
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">
|
61
|
-
<button class="btn btn-
|
61
|
+
<button class="btn btn-link" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
|
62
62
|
</td>
|
63
63
|
</tr>
|
64
64
|
</template>
|
@@ -76,9 +76,10 @@
|
|
76
76
|
data () {
|
77
77
|
return {
|
78
78
|
criteriaShow: false,
|
79
|
-
model: new PagedList('
|
79
|
+
model: new PagedList('api/af-system/sql/equipmentQuery', 20),
|
80
80
|
curorgid: [this.$login.f.orgid],
|
81
|
-
|
81
|
+
f_filialeid: this.$login.f.orgid,
|
82
|
+
f_orgid: this.$login.f.orgid
|
82
83
|
}
|
83
84
|
},
|
84
85
|
ready () {
|
@@ -102,7 +103,7 @@
|
|
102
103
|
del (row) {
|
103
104
|
console.log('要删除了', row)
|
104
105
|
row.f_state = '已删除'
|
105
|
-
this.$resetpost('
|
106
|
+
this.$resetpost('api/af-system/logic/saveEquipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
106
107
|
this.$dispatch('refresh')
|
107
108
|
}).catch((error) => {
|
108
109
|
this.$dispatch('refresh')
|
@@ -1,28 +1,23 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="
|
2
|
+
<div class="auto select-overspread">
|
3
3
|
<validator name='v'>
|
4
4
|
<ul class="nav nav-tabs" >
|
5
5
|
<li role="presentation" class="active"><a href="#">Phone端设备号</a></li>
|
6
6
|
</ul>
|
7
7
|
<form class="form-horizontal">
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
is-mul="false"
|
22
|
-
@res-select="getorg"
|
23
|
-
:initresid="curorgid">
|
24
|
-
</res-select>
|
25
|
-
</div>
|
9
|
+
<div class="col-sm-6">
|
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">
|
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">
|
18
|
+
<label class="font_normal_body">使用公司</label>
|
19
|
+
<right-tree :userid.sync='userid' :source.sync='source' @re-res="getRes"></right-tree>
|
20
|
+
</div>
|
26
21
|
|
27
22
|
</form>
|
28
23
|
<div style="text-align:right;height:auto;">
|
@@ -47,8 +42,6 @@
|
|
47
42
|
filialeCodeStr: this.$login.f.f_orgids,
|
48
43
|
userid: this.$login.f.id,
|
49
44
|
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
50
|
-
curorgid: this.$login.f.orgid,
|
51
|
-
f_orgid: ''
|
52
45
|
}
|
53
46
|
},
|
54
47
|
props: ['data'],
|
@@ -71,9 +64,8 @@
|
|
71
64
|
confirm () {
|
72
65
|
this.model.f_operator = this.$login.f.name
|
73
66
|
this.model.f_filialeids = this.filialeCodeStr
|
74
|
-
this.model.f_orgid = this.f_orgid
|
75
67
|
console.log('保存', this.model)
|
76
|
-
this.$resetpost('
|
68
|
+
this.$resetpost('api/af-system/logic/saveEquipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
|
77
69
|
this.$dispatch('refresh')
|
78
70
|
}).catch(() => {
|
79
71
|
this.$dispatch('refresh')
|
@@ -85,8 +77,6 @@
|
|
85
77
|
this.model.f_terminal_number = row.f_terminal_number
|
86
78
|
this.model.id = row.id
|
87
79
|
this.filialeCodeStr = row.f_filialeids
|
88
|
-
this.f_orgid = row.f_orgid
|
89
|
-
this.curorgid= [row.f_orgid]
|
90
80
|
},
|
91
81
|
initModel () {
|
92
82
|
delete this.model.id
|
@@ -99,9 +89,6 @@
|
|
99
89
|
getRes(obj) {
|
100
90
|
this.filialeCodeStr = obj.resids
|
101
91
|
},
|
102
|
-
getorg (val) {
|
103
|
-
this.f_orgid = val[0]
|
104
|
-
}
|
105
92
|
}
|
106
93
|
}
|
107
94
|
</script>
|
@@ -4,32 +4,27 @@
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
6
|
<div class="row">
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
is-mul="false"
|
12
|
-
@res-select="$parent.$parent.getorg"
|
13
|
-
:initresid="$parent.$parent.curorgid">
|
14
|
-
</res-select>
|
15
|
-
</div>
|
7
|
+
<div class="col-sm-3">
|
8
|
+
<label class="font_normal_body">使用公司</label>
|
9
|
+
<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes" > </right-tree>
|
10
|
+
</div>
|
16
11
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
</div>
|
12
|
+
<div class="col-sm-3" >
|
13
|
+
<label class="font_normal_body">使用人员</label>
|
14
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_username"
|
15
|
+
condition="f_username like '%{}%'" placeholder="使用人员">
|
16
|
+
</div>
|
17
|
+
<div class="col-sm-3" >
|
18
|
+
<label class="font_normal_body">设备号</label>
|
19
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
|
20
|
+
condition="f_terminal_number like '%{}%'" placeholder="设备号">
|
21
|
+
</div>
|
22
|
+
<div class="span" style="float:right;">
|
23
|
+
<button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
24
|
+
<button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
|
31
25
|
</div>
|
32
26
|
</div>
|
27
|
+
</div>
|
33
28
|
</criteria>
|
34
29
|
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
|
35
30
|
<template partial='head'>
|
@@ -46,7 +41,7 @@
|
|
46
41
|
<td style="text-align:center">{{row.f_username}}</td>
|
47
42
|
<td style="text-align:center">{{row.f_terminal_number}}</td>
|
48
43
|
<td style="text-align:center">
|
49
|
-
<button class="btn btn-
|
44
|
+
<button class="btn btn-link" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
|
50
45
|
</td>
|
51
46
|
</tr>
|
52
47
|
</template>
|
@@ -63,13 +58,11 @@
|
|
63
58
|
components: {},
|
64
59
|
data () {
|
65
60
|
return {
|
66
|
-
model: new PagedList('
|
61
|
+
model: new PagedList('api/af-system/sql/equipmentQuery', 20),
|
67
62
|
filialeNameStr: this.$login.f.f_fengongsi,
|
68
63
|
filialeCodeStr: this.$login.f.f_orgids,
|
69
64
|
userid:this.$login.f.id,
|
70
|
-
|
71
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
|
72
|
-
f_orgid:''
|
65
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
|
73
66
|
}
|
74
67
|
},
|
75
68
|
ready () {
|
@@ -82,7 +75,7 @@
|
|
82
75
|
},
|
83
76
|
|
84
77
|
selfSearch (args) {
|
85
|
-
args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid
|
78
|
+
args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid like '${this.filialeCodeStr}%'`
|
86
79
|
this.model.search(args.condition, this.model)
|
87
80
|
},
|
88
81
|
add () {
|
@@ -91,7 +84,7 @@
|
|
91
84
|
del (row) {
|
92
85
|
console.log('要删除了', row)
|
93
86
|
row.f_state = '已删除'
|
94
|
-
this.$resetpost('
|
87
|
+
this.$resetpost('api/af-system/logic/saveEquipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
95
88
|
this.$dispatch('refresh')
|
96
89
|
}).catch((error) => {
|
97
90
|
this.$dispatch('refresh')
|
@@ -101,9 +94,6 @@
|
|
101
94
|
this.filialeNameStr = obj.res
|
102
95
|
this.filialeCodeStr = obj.resids
|
103
96
|
},
|
104
|
-
getorg (val) {
|
105
|
-
this.f_orgid = val[0]
|
106
|
-
}
|
107
97
|
},
|
108
98
|
computed: {
|
109
99
|
|