system-clients 3.2.93 → 3.2.94-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.
Files changed (66) hide show
  1. package/.gradle/7.4/checksums/checksums.lock +0 -0
  2. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  7. package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/7.4/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.gradle/file-system.probe +0 -0
  14. package/.gradle/vcs-1/gc.properties +0 -0
  15. package/package.json +2 -2
  16. package/src/components/Main.vue +42 -18
  17. package/src/components/equipment/EquipmentManage.vue +83 -83
  18. package/src/components/equipment/PcAdd.vue +115 -115
  19. package/src/components/equipment/PcList.vue +119 -119
  20. package/src/components/equipment/PcManage.vue +61 -61
  21. package/src/components/equipment/PhoneAdd.vue +118 -118
  22. package/src/components/equipment/PhoneList.vue +113 -113
  23. package/src/components/equipment/PhoneManage.vue +61 -61
  24. package/src/components/equipment/PosAdd.vue +10 -6
  25. package/src/components/equipment/PosList.vue +5 -3
  26. package/src/components/equipment/PosParamAdd.vue +1 -1
  27. package/src/components/equipment/PosParamList.vue +2 -2
  28. package/src/components/parammanage/ParamPage.vue +12 -12
  29. package/src/components/parammanage/SinglePage.vue +8 -8
  30. package/src/components/server/Login.vue +35 -17
  31. package/src/components/server/ModifyPw.vue +0 -1
  32. package/src/components/server/PcdBuildingSelect.vue +0 -2
  33. package/src/components/server/ResSelect.vue +166 -169
  34. package/src/components/server/ResSelectGroup.vue +211 -211
  35. package/src/components/server/RoleSelector.vue +2 -3
  36. package/src/filiale/baole/Login.vue +0 -2
  37. package/src/filiale/bayan/PosAdd.vue +369 -0
  38. package/src/filiale/bayan/PosList.vue +349 -0
  39. package/src/filiale/bayan/PosManage.vue +138 -0
  40. package/src/filiale/bayan/system.js +6 -0
  41. package/src/filiale/chengtou/Login.vue +0 -2
  42. package/src/filiale/dongguan/Login.vue +0 -2
  43. package/src/filiale/dongguan/Main.vue +0 -2
  44. package/src/filiale/furuike/Login.vue +0 -4
  45. package/src/filiale/furuike/Main.vue +0 -2
  46. package/src/filiale/gehua/Main.vue +0 -2
  47. package/src/filiale/konggang/Login.vue +0 -2
  48. package/src/filiale/qianneng/Login.vue +582 -584
  49. package/src/filiale/qianneng/Main.vue +2 -4
  50. package/src/filiale/qianneng/ModifyPw.vue +0 -1
  51. package/src/filiale/rizhao/Login.vue +0 -2
  52. package/src/filiale/rizhao/Main.vue +1 -1
  53. package/src/filiale/shiquan/Login.vue +0 -2
  54. package/src/filiale/tianyi/Login.vue +0 -2
  55. package/src/filiale/tongchuan/Login.vue +0 -2
  56. package/src/filiale/tongchuan/Main.vue +1 -3
  57. package/src/filiale/weinan/Main.vue +923 -924
  58. package/src/filiale/weinan/system.js +7 -7
  59. package/src/filiale/wenxi/Login.vue +0 -2
  60. package/src/filiale/wenxi/Main.vue +0 -2
  61. package/src/filiale/wuhai/Main.vue +0 -3
  62. package/src/filiale/yuchuan/Login.vue +0 -2
  63. package/src/filiale/yuchuan/Main.vue +0 -2
  64. package/src/filiale/zhoukou/Main.vue +0 -2
  65. package/src/plugins/GetLoginInfoService.js +75 -13
  66. package/src/stores/AppData.js +1 -1
@@ -1,113 +1,113 @@
1
- <template>
2
- <div class="flex" style="flex:1; ">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-3 form-group">
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
- <res-select restype='organization'
11
- is-mul="false"
12
- @res-select="$parent.$parent.getorg"
13
- :initresid="$parent.$parent.curorgid">
14
- </res-select>
15
- </div>
16
-
17
- <div class="col-sm-3 form-group" >
18
- <label class="font_normal_body">使用人员</label>
19
- <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
20
- condition="f_username like '%{}%'" placeholder="使用人员">
21
- </div>
22
- <div class="col-sm-3 form-group" >
23
- <label class="font_normal_body">设备号</label>
24
- <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
25
- condition="f_terminal_number like '%{}%'" placeholder="设备号">
26
- </div>
27
- <div class="span" style="float:right;">
28
- <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
- <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
30
- </div>
31
- </div>
32
- </div>
33
- </criteria>
34
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
35
- <template partial='head'>
36
- <tr>
37
- <th>序号</th>
38
- <th>使用人员</th>
39
- <th>设备号</th>
40
- <th>操作</th>
41
- </tr>
42
- </template>
43
- <template partial='body':model="model">
44
- <tr>
45
- <td style="text-align:center">{{$index+1}}</td>
46
- <td style="text-align:center">{{row.f_user_operator}}</td>
47
- <td style="text-align:center">{{row.f_terminal_number}}</td>
48
- <td style="text-align:center">
49
- <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
50
- </td>
51
- </tr>
52
- </template>
53
- </data-grid>
54
- </criteria-paged>
55
- </div>
56
- </template>
57
-
58
- <script>
59
- import { PagedList } from 'vue-client'
60
-
61
- export default {
62
- title: 'PC',
63
- components: {},
64
-
65
- data () {
66
- return {
67
- model: new PagedList('api/af-system/sql/equipmentQuery', 20),
68
- filialeNameStr: this.$login.f.f_fengongsi,
69
- filialeCodeStr: this.$login.f.f_orgids,
70
- userid:this.$login.f.id,
71
- curorgid: [this.$login.f.orgid],
72
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
73
- f_orgid:''
74
- }
75
- },
76
- ready () {
77
- console.log('看看终端类型', this.equipmentType)
78
- this.search()
79
- },
80
- methods: {
81
- search () {
82
- this.$refs.paged.$refs.cri.search()
83
- },
84
-
85
- selfSearch (args) {
86
- args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid = '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
87
- this.model.search(args.condition, this.model)
88
- },
89
- add () {
90
- this.$dispatch('add')
91
- },
92
- del (row) {
93
- console.log('要删除了', row)
94
- row.f_state = '已删除'
95
- this.$resetpost('api/af-system/logic/save_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
96
- this.$dispatch('refresh')
97
- }).catch((error) => {
98
- this.$dispatch('refresh')
99
- })
100
- },
101
- getRes (obj) {
102
- this.filialeNameStr = obj.res
103
- this.filialeCodeStr = obj.resids
104
- },
105
- getorg (val) {
106
- this.f_orgid = val[0]
107
- }
108
- },
109
- computed: {
110
-
111
- }
112
- }
113
- </script>
1
+ <template>
2
+ <div class="flex" style="flex:1; ">
3
+ <criteria-paged :model="model" v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-3 form-group">
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
+ <res-select restype='organization'
11
+ is-mul="false"
12
+ @res-select="$parent.$parent.getorg"
13
+ :initresid="$parent.$parent.curorgid">
14
+ </res-select>
15
+ </div>
16
+
17
+ <div class="col-sm-3 form-group" >
18
+ <label class="font_normal_body">使用人员</label>
19
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_username"
20
+ condition="f_username like '%{}%'" placeholder="使用人员">
21
+ </div>
22
+ <div class="col-sm-3 form-group" >
23
+ <label class="font_normal_body">设备号</label>
24
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_terminal_number"
25
+ condition="f_terminal_number like '%{}%'" placeholder="设备号">
26
+ </div>
27
+ <div class="span" style="float:right;">
28
+ <button class="button_search" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search" @click="$parent.$parent.add()" v-el:cx>新增</button>
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </criteria>
34
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
35
+ <template partial='head'>
36
+ <tr>
37
+ <th>序号</th>
38
+ <th>使用人员</th>
39
+ <th>设备号</th>
40
+ <th>操作</th>
41
+ </tr>
42
+ </template>
43
+ <template partial='body':model="model">
44
+ <tr>
45
+ <td style="text-align:center">{{$index+1}}</td>
46
+ <td style="text-align:center">{{row.f_user_operator}}</td>
47
+ <td style="text-align:center">{{row.f_terminal_number}}</td>
48
+ <td style="text-align:center">
49
+ <button class="btn btn-danger" @click.stop="$parent.$parent.$parent.del(row)">删除</button>
50
+ </td>
51
+ </tr>
52
+ </template>
53
+ </data-grid>
54
+ </criteria-paged>
55
+ </div>
56
+ </template>
57
+
58
+ <script>
59
+ import { PagedList } from 'vue-client'
60
+
61
+ export default {
62
+ title: 'PC',
63
+ components: {},
64
+
65
+ data () {
66
+ return {
67
+ model: new PagedList('rs/sql/equipmentQuery', 20),
68
+ filialeNameStr: this.$login.f.f_fengongsi,
69
+ filialeCodeStr: this.$login.f.f_orgids,
70
+ userid:this.$login.f.id,
71
+ curorgid: [this.$login.f.orgid],
72
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
73
+ f_orgid:''
74
+ }
75
+ },
76
+ ready () {
77
+ console.log('看看终端类型', this.equipmentType)
78
+ this.search()
79
+ },
80
+ methods: {
81
+ search () {
82
+ this.$refs.paged.$refs.cri.search()
83
+ },
84
+
85
+ selfSearch (args) {
86
+ args.condition = `${args.condition} and f_equipment_type = 'PHONE' and f_state = '正常' and f_orgid = '${this.f_orgid ? this.f_orgid: this.$login.f.orgid}'`
87
+ this.model.search(args.condition, this.model)
88
+ },
89
+ add () {
90
+ this.$dispatch('add')
91
+ },
92
+ del (row) {
93
+ console.log('要删除了', row)
94
+ row.f_state = '已删除'
95
+ this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
96
+ this.$dispatch('refresh')
97
+ }).catch((error) => {
98
+ this.$dispatch('refresh')
99
+ })
100
+ },
101
+ getRes (obj) {
102
+ this.filialeNameStr = obj.res
103
+ this.filialeCodeStr = obj.resids
104
+ },
105
+ getorg (val) {
106
+ this.f_orgid = val[0]
107
+ }
108
+ },
109
+ computed: {
110
+
111
+ }
112
+ }
113
+ </script>
@@ -1,61 +1,61 @@
1
- <template>
2
- <div class="flex-row">
3
- <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
- <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
- </div>
6
- <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
- <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
- </div>
9
- </div>
10
- </template>
11
- <script>
12
-
13
- import PhoneList from './PhoneList'
14
- import PhoneAdd from './PhoneAdd'
15
-
16
- export default {
17
- title: 'PC终端管理',
18
- components: {
19
- PhoneList, PhoneAdd
20
- },
21
- props:['users'],
22
- data () {
23
- return {
24
- isChange: false,
25
- row: null
26
- }
27
- },
28
- methods: {
29
- selected (obj) {
30
- this.isChange = true
31
- this.row = obj.val
32
- }
33
- },
34
- events: {
35
- 'search' () {
36
- this.isChange = false
37
- this.row = null
38
- this.$refs.list.$refs.paged.$refs.cri.search()
39
- },
40
- 'refresh' () {
41
- this.isChange = false
42
- this.row = null
43
- this.$refs.list.search()
44
- },
45
- 'error' (name, row, res) {
46
- this.isChange = false
47
- this.row = null
48
- },
49
- 'close' () {
50
- this.isChange = false
51
- this.row = null
52
- this.$refs.list.search()
53
- },
54
- 'add' () {
55
- this.row = null
56
- this.isChange = true
57
- this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
- }
59
- }
60
- }
61
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div :class="{'basic-main':!isChange,'binary-left':isChange}">
4
+ <phone-list :row="row" @select-changed="selected" style="width:auto;" v-ref:list ></phone-list>
5
+ </div>
6
+ <div class="binary-right" style="margin-left: 10px; width: 50%;" v-if="isChange">
7
+ <phone-add :data="row" :users="users" v-ref:addbox></phone-add>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script>
12
+
13
+ import PhoneList from './PhoneList'
14
+ import PhoneAdd from './PhoneAdd'
15
+
16
+ export default {
17
+ title: 'PC终端管理',
18
+ components: {
19
+ PhoneList, PhoneAdd
20
+ },
21
+ props:['users'],
22
+ data () {
23
+ return {
24
+ isChange: false,
25
+ row: null
26
+ }
27
+ },
28
+ methods: {
29
+ selected (obj) {
30
+ this.isChange = true
31
+ this.row = obj.val
32
+ }
33
+ },
34
+ events: {
35
+ 'search' () {
36
+ this.isChange = false
37
+ this.row = null
38
+ this.$refs.list.$refs.paged.$refs.cri.search()
39
+ },
40
+ 'refresh' () {
41
+ this.isChange = false
42
+ this.row = null
43
+ this.$refs.list.search()
44
+ },
45
+ 'error' (name, row, res) {
46
+ this.isChange = false
47
+ this.row = null
48
+ },
49
+ 'close' () {
50
+ this.isChange = false
51
+ this.row = null
52
+ this.$refs.list.search()
53
+ },
54
+ 'add' () {
55
+ this.row = null
56
+ this.isChange = true
57
+ this.$refs.list.$refs.paged.$refs.grid.selectStore.selected = null
58
+ }
59
+ }
60
+ }
61
+ </script>
@@ -33,7 +33,7 @@
33
33
  <label class="font_normal_body" >机器编号</label>
34
34
  <input type="text" class="input_search" style="width: 60%" v-model="model.f_machine_number" placeholder="机器编号" >
35
35
  </div>
36
- <div class="col-sm-6 form-group" :class="{'has-error': $v.f_phone.required || $v.f_phone.minlength || $v.f_phone.maxlength}">
36
+ <div class="col-sm-6 form-group" :class="{'has-error': $v.f_phone.required}">
37
37
  <label class="font_normal_body">联系电话</label>
38
38
  <input type="text" class="input_search" style="width: 60%" v-model="model.f_phone" placeholder="联系电话"
39
39
  v-validate:f_phone="{required: true, minlength:7, maxlength: 11}" title="手机号必须7-11位">
@@ -223,7 +223,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
223
223
  this.$showAlert(`已向设备号: ${this.model.f_terminal_number}发送停用指令,请稍后查看执行结果!`, 'success', 2500)
224
224
  this.model.f_state = '停用'
225
225
  try {
226
- this.$resetpost('api/af-system/logic/batchPos',{data: {tasks: [this.data], taskState: 0}}, {rejectMsg: null, resolveMsg: null})
226
+ // 测试接口
227
+ // this.$resetpost('rs/logic/updatePosState', {data: {number: this.model.f_terminal_number, state: '停用'}}, {resolveMsg: null, rejectMsg: null}, 0)
228
+ // .then((res) => {})
229
+ this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 0}}, {rejectMsg: null, resolveMsg: null})
227
230
  } catch (error) {
228
231
  this.search()
229
232
  }
@@ -235,7 +238,10 @@ import {HttpResetClass, PagedList} from 'vue-client'
235
238
  this.$showAlert(`已向设备号: ${this.model.f_terminal_number}发送启用指令,请稍后查看执行结果!`, 'success', 2500)
236
239
  this.model.f_state = '正常'
237
240
  try {
238
- this.$resetpost('api/af-system/logic/batchPos',{data: {tasks: [this.data], taskState: 1}}, {rejectMsg: null, resolveMsg: null})
241
+ // 测试接口
242
+ // this.$resetpost('rs/logic/getEditPosState', {data: {number: this.model.f_terminal_number, state: '正常'}}, {resolveMsg: null, rejectMsg: null}, 0)
243
+ // .then((res) => {})
244
+ this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 1}}, {rejectMsg: null, resolveMsg: null})
239
245
  } catch (error) {
240
246
  this.search()
241
247
  }
@@ -253,7 +259,6 @@ import {HttpResetClass, PagedList} from 'vue-client'
253
259
  this.show=true
254
260
  },
255
261
  upgradeRoot() {
256
- // todo v4
257
262
  this.$resetpost('rs/logic/batchPos',{data: {tasks: [this.data], taskState: 2}}, {rejectMsg: null, resolveMsg: null})
258
263
  this.$dispatch('refresh')
259
264
  },
@@ -273,8 +278,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
273
278
  this.model.f_depname = this.$login.f.deps
274
279
  this.model.f_orgstr = this.$login.f.fullids
275
280
  }
276
- // todo v4
277
- this.$resetpost('api/af-system/logic/save_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
281
+ this.$resetpost('rs/entity/t_equipment', this.model, {resolveMsg: '保存成功', rejectMsg: '保存失败'}).then((res) => {
278
282
  this.$dispatch('refresh')
279
283
  }).catch((error) => {
280
284
  this.$dispatch('refresh')
@@ -165,8 +165,8 @@
165
165
  data () {
166
166
  return {
167
167
  source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
168
- model: new PagedList('api/af-system/sql/equipmentQuery', 20),
169
- model2: new PagedList('api/af-system/sql/singleTable', 30, {tablename: '`t_poshistory`'}),
168
+ model: new PagedList('rs/sql/equipmentQuery', 20),
169
+ model2: new PagedList('rs/sql/singleTable', 30, {tablename: '`t_poshistory`'}),
170
170
  curorgid: [this.f_filialeid],
171
171
  f_orgid: '',
172
172
  f_filialeids: '',
@@ -238,7 +238,7 @@
238
238
  this.showAlert('出现异常,请重新进操作')
239
239
  return
240
240
  }
241
- await this.$resetpost('api/af-system/logic/batchPos', {data: {tasks: arrs, taskState: val}}, {
241
+ await this.$resetpost('rs/logic/batchPos', {data: {tasks: arrs, taskState: val}}, {
242
242
  rejectMsg: null,
243
243
  resolveMsg: null
244
244
  })
@@ -253,6 +253,7 @@
253
253
  this.infoshow = true
254
254
  },
255
255
  search () {
256
+ console.log("111111111111111111111111111111111111")
256
257
  this.$refs.paged.$refs.cri.search()
257
258
  },
258
259
 
@@ -277,6 +278,7 @@
277
278
  },
278
279
 
279
280
  getorg (val) {
281
+ console.log("====================", val)
280
282
  this.f_orgid = val[0]
281
283
  this.f_filialeid = val[0]
282
284
  // this.search()
@@ -124,7 +124,7 @@ export default {
124
124
  this.bankmodel = JSON.parse(JSON.stringify(this.bankmodel))
125
125
  },
126
126
  async confirm() {
127
- await this.$resetpost('api/af-system/logic/Pos_saveParam',
127
+ await this.$resetpost('rs/logic/Pos_saveParam',
128
128
  {
129
129
  data: {
130
130
  model: this.model,
@@ -73,7 +73,7 @@ export default {
73
73
  components: {},
74
74
  data() {
75
75
  return {
76
- model: new PagedList('api/af-system/sql/get_posParam', 20),
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('api/af-system/logic/deletePosParam', {data: row}, {rejectMsg: null, resolveMsg: null})
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-row col-sm-5">
68
- <button type="button" name="button" class="button_search button_spacing width-60" @click.stop="$parent.$parent.modifyParam(row, 't_paramvalue')">修改</button>
69
- <button type="button" name="button" class="button_search button_spacing width-60" v-if="$index!=0" @click.stop="$parent.$parent.move(row,$index)">上移</button>
70
- <button type="button" name="button" class="btn btn-danger button_spacing width-60" @click.stop="$parent.$parent.deleteParam(row, 't_paramvalue')">删除</button>
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', 'api/af-system/logic/system_saveParamValue', param1, {resolveMsg: null, rejectMsg: null})
183
- await http.load('POST', 'api/af-system/logic/system_saveParamValue', param2, {resolveMsg: null, rejectMsg: null})
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', 'api/af-system/sql/system_getParam', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
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', 'api/af-system/sql/system_getParamValue', {data: {param_id: obj.id}}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
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('api/af-system/logic/deleteParam', row).then((res) => {
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('api/af-system/logic/deleteValue', {tablename: 't_paramvalue', id: row.id}).then((res) => {
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('api/af-system/logic/system_saveParam', data).then((res) => {
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('api/af-system/logic/system_saveParamValue', data).then((res) => {
313
+ this.$resetpost('rs/entity/t_paramvalue', data).then((res) => {
314
314
  this.show = false
315
315
  // 如果没有id,需要在数组中添加
316
316
  this.getParamValue(this.selectItem)
@@ -30,11 +30,11 @@
30
30
  <data-grid :model="model" v-ref:grid >
31
31
  <template partial='head'>
32
32
  <tr>
33
- <th><nobr>序号</nobr></th>
34
- <th><nobr>名称</nobr></th>
35
- <th><nobr>参数值</nobr></th>
36
- <th><nobr>所属</nobr></th>
37
- <th><nobr>操作</nobr></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', 'api/af-system/sql/system_getSingle', {data: condition}, {resolveMsg: null, rejectMsg: '获取参数出错!!'})
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('api/af-system/logic/deleteValue', {tablename: 't_singlevalue', id: row.id}).then((res) => {
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('api/af-system/logic/system_saveSingle', this.selectItem).then((res) => {
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