system-clients 3.2.100 → 3.2.102-temp
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/package.json +103 -103
- package/src/components/Main.vue +59 -34
- package/src/components/equipment/PcAdd.vue +1 -1
- package/src/components/equipment/PcList.vue +3 -3
- package/src/components/equipment/PhoneAdd.vue +1 -1
- package/src/components/equipment/PhoneList.vue +2 -2
- package/src/components/equipment/PosAdd.vue +11 -7
- package/src/components/equipment/PosList.vue +5 -3
- package/src/components/equipment/PosManage.vue +1 -1
- package/src/components/equipment/PosParamAdd.vue +2 -2
- package/src/components/equipment/PosParamList.vue +2 -2
- package/src/components/materialManage/materialList.vue +1 -1
- package/src/components/parammanage/ParamPage.vue +12 -12
- package/src/components/parammanage/ParamPages.vue +2 -2
- package/src/components/parammanage/SinglePage.vue +8 -8
- package/src/components/parammanage/SinglePages.vue +2 -2
- package/src/components/server/AddChangeMsg.vue +1 -1
- package/src/components/server/ChangeDeclare.vue +1 -1
- package/src/components/server/Login.vue +571 -575
- package/src/components/server/ModifyPw.vue +0 -1
- package/src/components/server/PcdBuildingSelect.vue +6 -8
- package/src/components/server/ResSelect.vue +9 -3
- package/src/components/server/ResSelectGroup.vue +1 -1
- package/src/components/server/RoleSelector.vue +2 -3
- package/src/components/server/TestResSelectGroup.vue +1 -1
- package/src/filiale/baole/Login.vue +2 -4
- package/src/filiale/bayan/PosAdd.vue +374 -0
- package/src/filiale/bayan/PosList.vue +349 -0
- package/src/filiale/bayan/PosManage.vue +138 -0
- package/src/filiale/bayan/system.js +6 -0
- package/src/filiale/chengtou/Login.vue +2 -4
- package/src/filiale/dongguan/Login.vue +2 -4
- package/src/filiale/dongguan/Main.vue +2 -4
- package/src/filiale/furuike/Login.vue +3 -7
- package/src/filiale/furuike/Main.vue +25 -38
- package/src/filiale/gehua/Main.vue +2 -4
- package/src/filiale/konggang/Login.vue +2 -4
- package/src/filiale/qianneng/Login.vue +2 -4
- package/src/filiale/qianneng/Main.vue +816 -818
- package/src/filiale/qianneng/ModifyPw.vue +0 -1
- package/src/filiale/rizhao/Login.vue +1 -3
- package/src/filiale/rizhao/Main.vue +2 -2
- package/src/filiale/shiquan/Login.vue +2 -4
- package/src/filiale/tianyi/Login.vue +2 -4
- package/src/filiale/tongchuan/Login.vue +2 -4
- package/src/filiale/tongchuan/Main.vue +5 -7
- package/src/filiale/weinan/Main.vue +5 -6
- package/src/filiale/wenxi/Login.vue +2 -4
- package/src/filiale/wenxi/Main.vue +2 -4
- package/src/filiale/wuhai/Main.vue +2 -5
- package/src/filiale/yuchuan/Login.vue +3 -5
- package/src/filiale/yuchuan/Main.vue +2 -4
- package/src/filiale/zhoukou/Main.vue +2 -4
- package/src/plugins/GetLoginInfoService.js +121 -18
- package/src/stores/AppData.js +1 -1
- package/src/system.js +6 -2
- package/src/filiale/ruihua/Login.vue +0 -549
- package/src/filiale/ruihua/system.js +0 -5
|
@@ -73,7 +73,7 @@ export default {
|
|
|
73
73
|
components: {},
|
|
74
74
|
data() {
|
|
75
75
|
return {
|
|
76
|
-
model: new PagedList('
|
|
76
|
+
model: new PagedList('rs/sql/get_posParam', 20),
|
|
77
77
|
curorgid: [this.f_filialeid],
|
|
78
78
|
}
|
|
79
79
|
},
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
async delete(row) {
|
|
96
|
-
await this.$resetpost('
|
|
96
|
+
await this.$resetpost('rs/logic/deletePosParam', {data: row}, {rejectMsg: null, resolveMsg: null})
|
|
97
97
|
await this.search()
|
|
98
98
|
},
|
|
99
99
|
modify(row) {
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
<template partial='body'>
|
|
65
65
|
<td style="text-align:center">{{$index+1}}</td>
|
|
66
66
|
<td style="text-align:center">{{row.name}}</td>
|
|
67
|
-
<td class="flex-
|
|
68
|
-
<button type="button" name="button" class="button_search
|
|
69
|
-
<button type="button" name="button" class="button_search
|
|
70
|
-
<button type="button" name="button" class="btn btn-danger
|
|
67
|
+
<td class="flex-around col-sm-3">
|
|
68
|
+
<button type="button" name="button" class="button_search" @click.stop="$parent.$parent.modifyParam(row, 't_paramvalue')">修改</button>
|
|
69
|
+
<button type="button" name="button" class="button_search" v-if="$index!=0" @click.stop="$parent.$parent.move(row,$index)">上移</button>
|
|
70
|
+
<button type="button" name="button" class="btn btn-danger" @click.stop="$parent.$parent.deleteParam(row, 't_paramvalue')">删除</button>
|
|
71
71
|
</td>
|
|
72
72
|
</template>
|
|
73
73
|
</data-grid>
|
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
var param2=this.params.rows[index-1]
|
|
180
180
|
let http = new HttpResetClass()
|
|
181
181
|
try {
|
|
182
|
-
await http.load('POST', '
|
|
183
|
-
await http.load('POST', '
|
|
182
|
+
await http.load('POST', 'rs/entity/t_paramvalue', param1, {resolveMsg: null, rejectMsg: null})
|
|
183
|
+
await http.load('POST', 'rs/entity/t_paramvalue', param2, {resolveMsg: null, rejectMsg: null})
|
|
184
184
|
this.$showAlert('上移成功', 'success', 2000)
|
|
185
185
|
}catch (e) {
|
|
186
186
|
console.log(e)
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
async queryParam (condition) {
|
|
199
199
|
this.model.rows = []
|
|
200
200
|
let http = new HttpResetClass()
|
|
201
|
-
let res = await http.load('POST', '
|
|
201
|
+
let res = await http.load('POST', 'rs/sql/system_getParam', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
|
|
202
202
|
this.model.rows = res.data
|
|
203
203
|
},
|
|
204
204
|
selected (val) {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
},
|
|
208
208
|
async getParamValue(obj) {
|
|
209
209
|
let http = new HttpResetClass()
|
|
210
|
-
let res = await http.load('POST', '
|
|
210
|
+
let res = await http.load('POST', 'rs/sql/system_getParamValue', {data: {param_id: obj.id}}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
|
|
211
211
|
this.params.rows = res.data
|
|
212
212
|
},
|
|
213
213
|
filter_query (paramName,orgid) {
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
if (type === 't_parameter') {
|
|
259
259
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
|
260
260
|
if (res === 'confirm') {
|
|
261
|
-
this.$resetpost('
|
|
261
|
+
this.$resetpost('rs/logic/deleteParam', row).then((res) => {
|
|
262
262
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
|
263
263
|
this.selectItem = null
|
|
264
264
|
})
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
} else if (type === 't_paramvalue') {
|
|
268
268
|
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
|
269
269
|
if (res === 'confirm') {
|
|
270
|
-
this.$resetpost('
|
|
270
|
+
this.$resetpost('rs/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
|
|
271
271
|
this.getParamValue(this.selectItem)
|
|
272
272
|
})
|
|
273
273
|
}
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
//添加当前分公司
|
|
292
292
|
}
|
|
293
293
|
data.f_filialeids = this.modifyItem.f_filialeids
|
|
294
|
-
this.$resetpost('
|
|
294
|
+
this.$resetpost('rs/logic/system_saveParam', data).then((res) => {
|
|
295
295
|
//无id
|
|
296
296
|
this.filter_query(this.conditionModel.paramName, this.conditionModel.f_cond_orgid)
|
|
297
297
|
this.show = false
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
processid: this.selectItem.id
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
this.$resetpost('
|
|
313
|
+
this.$resetpost('rs/entity/t_paramvalue', data).then((res) => {
|
|
314
314
|
this.show = false
|
|
315
315
|
// 如果没有id,需要在数组中添加
|
|
316
316
|
this.getParamValue(this.selectItem)
|
|
@@ -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('rs/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('rs/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
|
|
163
163
|
this.params.rows.splice(index, 1)
|
|
164
164
|
})
|
|
165
165
|
}
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
<data-grid :model="model" v-ref:grid >
|
|
31
31
|
<template partial='head'>
|
|
32
32
|
<tr>
|
|
33
|
-
<th
|
|
34
|
-
<th
|
|
35
|
-
<th
|
|
36
|
-
<th
|
|
37
|
-
<th
|
|
33
|
+
<th>序号</th>
|
|
34
|
+
<th>名称</th>
|
|
35
|
+
<th>参数值</th>
|
|
36
|
+
<th>所属</th>
|
|
37
|
+
<th>操作</th>
|
|
38
38
|
</tr>
|
|
39
39
|
</template>
|
|
40
40
|
<template partial='body'>
|
|
@@ -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', 'rs/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('rs/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('rs/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('rs/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('rs/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
|
|
106
106
|
this.loadSingle()
|
|
107
107
|
})
|
|
108
108
|
}
|
|
@@ -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('rs/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) => {
|