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
@@ -113,7 +113,7 @@
|
|
113
113
|
methods: {
|
114
114
|
// 加载全部参数
|
115
115
|
loadParams () {
|
116
|
-
this.$refs.paramsLoad.load('
|
116
|
+
this.$refs.paramsLoad.load('api/af-system/sql/hql/simpleHql', {data: {tablename: 't_parameter'}}).then((res) => {
|
117
117
|
this.model.rows = this.allParams = res.data
|
118
118
|
})
|
119
119
|
},
|
@@ -150,7 +150,7 @@
|
|
150
150
|
if (row.EntityType === 't_parameter') {
|
151
151
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
152
152
|
if (res === 'confirm') {
|
153
|
-
this.$refs.paramsLoad.load('
|
153
|
+
this.$refs.paramsLoad.load('api/af-revenue/logic/deleteParam', row).then((res) => {
|
154
154
|
this.loadParams()
|
155
155
|
this.selectItem = null
|
156
156
|
})
|
@@ -159,7 +159,7 @@
|
|
159
159
|
} else if (row.EntityType === 't_paramvalue') {
|
160
160
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
161
161
|
if (res === 'confirm') {
|
162
|
-
this.$refs.selectsLoad.load('
|
162
|
+
this.$refs.selectsLoad.load('api/af-revenue/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
|
163
163
|
this.params.rows.splice(index, 1)
|
164
164
|
})
|
165
165
|
}
|
@@ -181,7 +181,7 @@
|
|
181
181
|
name: this.modifyItem.name
|
182
182
|
}
|
183
183
|
}
|
184
|
-
this.$refs.paramsLoad.load('
|
184
|
+
this.$refs.paramsLoad.load('api/af-system/logic/system_saveParam', data).then((res) => {
|
185
185
|
this.loadParams()
|
186
186
|
this.show = false
|
187
187
|
this.modifyItem = {name: ''}
|
@@ -199,7 +199,7 @@
|
|
199
199
|
processid: this.selectItem.id
|
200
200
|
}
|
201
201
|
}
|
202
|
-
this.$refs.selectsLoad.load('
|
202
|
+
this.$refs.selectsLoad.load('api/af-system/logic/system_saveParamValue', data).then((res) => {
|
203
203
|
this.show = false
|
204
204
|
// 如果没有id,需要在数组中添加
|
205
205
|
if (!data.id) {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="flex">
|
3
3
|
<p class="bg-info text-center" style="padding: 8px;">
|
4
4
|
单值管理
|
5
|
-
<
|
5
|
+
<span class="btn btn-link add-postition" @click="add()">新增</span>
|
6
6
|
</p>
|
7
7
|
<div class="auto">
|
8
8
|
<form class="form-horizontal" style="margin-bottom: 5px;">
|
@@ -27,7 +27,7 @@
|
|
27
27
|
</div>
|
28
28
|
<div class="span">
|
29
29
|
<partial-view v-ref:single-load>
|
30
|
-
<data-grid :model="model" v-ref:grid >
|
30
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy">
|
31
31
|
<template partial='head'>
|
32
32
|
<tr>
|
33
33
|
<th>序号</th>
|
@@ -43,9 +43,9 @@
|
|
43
43
|
<td style="text-align:center">{{row.value}}</td>
|
44
44
|
<td style="text-align:center">{{row.orgname ? row.orgname + '专用' : '全局'}}</td>
|
45
45
|
<td class="flex-around">
|
46
|
-
<button type="button" name="button" class="
|
46
|
+
<button type="button" name="button" class="btn btn-link"
|
47
47
|
@click.stop="$parent.$parent.$parent.modifyParam(row)">修改</button>
|
48
|
-
<button type="button" name="button" class="btn btn-
|
48
|
+
<button type="button" name="button" class="btn btn-link"
|
49
49
|
@click.stop="$parent.$parent.$parent.deleteItem(row)">删除</button>
|
50
50
|
</td>
|
51
51
|
</template>
|
@@ -149,7 +149,7 @@
|
|
149
149
|
async queryParam (condition) {
|
150
150
|
this.model.rows = []
|
151
151
|
let http = new HttpResetClass()
|
152
|
-
let res = await http.load('POST', '
|
152
|
+
let res = await http.load('POST', 'api/af-system/sql/system_getSingle', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
|
153
153
|
this.model.rows = res.data
|
154
154
|
},
|
155
155
|
|
@@ -183,7 +183,7 @@
|
|
183
183
|
deleteItem (row) {
|
184
184
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
185
185
|
if (res === 'confirm') {
|
186
|
-
this.$resetpost('
|
186
|
+
this.$resetpost('api/af-system/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
|
187
187
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
188
188
|
})
|
189
189
|
}
|
@@ -201,7 +201,7 @@
|
|
201
201
|
this.show = true
|
202
202
|
},
|
203
203
|
confirm () {
|
204
|
-
this.$resetpost('
|
204
|
+
this.$resetpost('api/af-system/logic/system_saveSingle', this.selectItem).then((res) => {
|
205
205
|
// 如果没有id,需要在数组中添加
|
206
206
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
207
207
|
this.show = false
|
@@ -95,14 +95,14 @@
|
|
95
95
|
},
|
96
96
|
methods: {
|
97
97
|
loadSingle () {
|
98
|
-
this.$refs.singleLoad.load('
|
98
|
+
this.$refs.singleLoad.load('api/af-system/sql/singleTable', {data: {tablename: 't_singlevalue', condition: '1=1'}}).then((res) => {
|
99
99
|
this.model.rows = this.params = res.data
|
100
100
|
})
|
101
101
|
},
|
102
102
|
deleteItem (row) {
|
103
103
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
104
104
|
if (res === 'confirm') {
|
105
|
-
this.$refs.singleLoad.load('
|
105
|
+
this.$refs.singleLoad.load('api/af-revenue/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
|
106
106
|
this.loadSingle()
|
107
107
|
})
|
108
108
|
}
|
@@ -132,7 +132,7 @@
|
|
132
132
|
this.selectItem.value = row.value
|
133
133
|
},
|
134
134
|
confirm () {
|
135
|
-
this.$refs.singleLoad.load('
|
135
|
+
this.$refs.singleLoad.load('api/af-system/logic/system_saveSingle', this.selectItem).then((res) => {
|
136
136
|
this.show = false
|
137
137
|
// 如果没有id,需要在数组中添加
|
138
138
|
this.loadSingle()
|
@@ -30,7 +30,7 @@ export default {
|
|
30
30
|
orderitem: 'f_change_date DESC'
|
31
31
|
}
|
32
32
|
this.$info(`加载数据中..., sql:${sql}`)
|
33
|
-
this.$refs.pv.load('
|
33
|
+
this.$refs.pv.load('api/af-revenue//sql/singleTable_OrderBy', {data: condition}).then((a) => {
|
34
34
|
this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
|
35
35
|
this.model = a.data
|
36
36
|
}).catch((error) => {
|
@@ -14,27 +14,8 @@
|
|
14
14
|
show: false
|
15
15
|
}
|
16
16
|
},
|
17
|
-
|
18
|
-
|
19
|
-
},
|
20
|
-
async ready () {
|
21
|
-
this.$nextTick(() => {
|
22
|
-
window.addEventListener('message', messageEvent => {
|
23
|
-
try {
|
24
|
-
const data = messageEvent.data
|
25
|
-
console.log('接收到数据', data)
|
26
|
-
this.$login = Object.assign(this.$login, data.login)
|
27
|
-
this.$appdata = Object.assign(this.$appdata, data.appdata)
|
28
|
-
if (!data.page) {
|
29
|
-
this.$showMessage('没有功能连接, 请配置!')
|
30
|
-
return
|
31
|
-
}
|
32
|
-
this.$goto(data.page)
|
33
|
-
} catch (e) {
|
34
|
-
console.log('登陆异常', e)
|
35
|
-
}
|
36
|
-
})
|
37
|
-
})
|
17
|
+
ready () {
|
18
|
+
this.$appdata.load()
|
38
19
|
}
|
39
20
|
}
|
40
21
|
</script>
|