sale-client 3.7.73 → 3.7.74

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 (108) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/9.3.0/checksums/checksums.lock +0 -0
  4. package/.gradle/9.3.0/fileChanges/last-build.bin +0 -0
  5. package/.gradle/9.3.0/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/9.3.0/gc.properties +0 -0
  7. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  9. package/.gradle/vcs-1/gc.properties +0 -0
  10. package/package.json +1 -1
  11. package/src/filiale/kelai/CardMeterCenter.vue +2 -2
  12. package/src/filiale/kelai/ChargeManage.vue +266 -173
  13. package/src/filiale/kelai/ChargeOper.vue +230 -219
  14. package/src/filiale/kelai/GarbageCharge.vue +3 -3
  15. package/src/filiale/kelai/IOTMeterCenter.vue +2 -2
  16. package/src/filiale/kelai/MachineMeterCenter.vue +1 -1
  17. package/src/filiale/kelai/NoCardMeterCenter.vue +2 -2
  18. package/src/filiale/kelai/ServiceEvaluation.vue +396 -0
  19. package/src/filiale/kelai/ShowCardSellGas.vue +3 -3
  20. package/src/filiale/kelai/Upload.vue +606 -0
  21. package/src/filiale/kelai/UploadIdCard.vue +543 -0
  22. package/src/filiale/kelai/sale.js +12 -0
  23. package/src/main.js +1 -1
  24. package/back/regulator-clients/dist/index.html +0 -3
  25. package/back/regulator-clients/dist/static/10.f08fd8045dcbeb4aae98.js +0 -2
  26. package/back/regulator-clients/dist/static/11.b30b7b2f3e1f2a409933.js +0 -2
  27. package/back/regulator-clients/dist/static/12.b797419f45b5bcc0c0b2.js +0 -2
  28. package/back/regulator-clients/dist/static/13.561eb8d37320fcbfa255.js +0 -2
  29. package/back/regulator-clients/dist/static/14.2097b0f72df56c096df1.js +0 -2
  30. package/back/regulator-clients/dist/static/15.d6f98c8da2c319ee9037.js +0 -2
  31. package/back/regulator-clients/dist/static/16.7dffb8c096dc9e553cac.js +0 -2
  32. package/back/regulator-clients/dist/static/17.2b4321c1ad1d58c1815c.js +0 -2
  33. package/back/regulator-clients/dist/static/18.3443cba348311b60b4b3.js +0 -2
  34. package/back/regulator-clients/dist/static/19.35426fb6770110e11a9f.js +0 -2
  35. package/back/regulator-clients/dist/static/2.cdf228a74cfd00e6bc18.js +0 -5
  36. package/back/regulator-clients/dist/static/20.b02a9d528acff6af6b84.js +0 -2
  37. package/back/regulator-clients/dist/static/21.d6fdb32ebd9e51394551.js +0 -2
  38. package/back/regulator-clients/dist/static/22.142736d977aeecabb7c3.js +0 -2
  39. package/back/regulator-clients/dist/static/23.5f1fd3f575210a5068b4.js +0 -2
  40. package/back/regulator-clients/dist/static/24.8b9cdc1737fdce49bf3d.js +0 -2
  41. package/back/regulator-clients/dist/static/25.73bdebf89657f903c6f2.js +0 -2
  42. package/back/regulator-clients/dist/static/26.0445df90f8df691cffdb.js +0 -2
  43. package/back/regulator-clients/dist/static/27.3e11d2625b36b64c77e6.js +0 -2
  44. package/back/regulator-clients/dist/static/28.f1dc4fa4d7c31db82ea3.js +0 -2
  45. package/back/regulator-clients/dist/static/29.567ec896d8e97382aa59.js +0 -2
  46. package/back/regulator-clients/dist/static/3.ec04d4801b2cfa81c06d.js +0 -12
  47. package/back/regulator-clients/dist/static/30.a0e63e37d715a656c522.js +0 -2
  48. package/back/regulator-clients/dist/static/31.d39674f3118b2dee92a4.js +0 -2
  49. package/back/regulator-clients/dist/static/32.5708078a0116d13693b4.js +0 -2
  50. package/back/regulator-clients/dist/static/33.fdffc973632dcb04770a.js +0 -2
  51. package/back/regulator-clients/dist/static/34.7772dc95075ec21cb776.js +0 -2
  52. package/back/regulator-clients/dist/static/35.bd73c334cf8a6ef0cb71.js +0 -2
  53. package/back/regulator-clients/dist/static/36.ad483a1516232bbea057.js +0 -2
  54. package/back/regulator-clients/dist/static/37.ae8d8d20560cdeb6cd95.js +0 -2
  55. package/back/regulator-clients/dist/static/38.97c0dbc1ef9c62f44cbd.js +0 -2
  56. package/back/regulator-clients/dist/static/39.f4220274861fe2795c08.js +0 -2
  57. package/back/regulator-clients/dist/static/4.08b26117730c26f00317.js +0 -2
  58. package/back/regulator-clients/dist/static/40.3a6b631aa4316e5409cf.js +0 -2
  59. package/back/regulator-clients/dist/static/41.752cc4708368bf350d1e.js +0 -2
  60. package/back/regulator-clients/dist/static/42.24dfd600d97830bf1a4d.js +0 -2
  61. package/back/regulator-clients/dist/static/43.a2b242178bd6f46db95a.js +0 -2
  62. package/back/regulator-clients/dist/static/44.b5aa2b23a7087bd06137.js +0 -2
  63. package/back/regulator-clients/dist/static/5.dfe211839c3c6ea4a8e8.js +0 -2
  64. package/back/regulator-clients/dist/static/6.78ae27770c4cdf26b1d7.js +0 -2
  65. package/back/regulator-clients/dist/static/7.99ba909aa2561c79e670.js +0 -2
  66. package/back/regulator-clients/dist/static/8.27c0e8d6001b00f1a4d9.js +0 -2
  67. package/back/regulator-clients/dist/static/9.19f5076e3b563fe25781.js +0 -2
  68. package/back/regulator-clients/dist/static/android-app.css +0 -2
  69. package/back/regulator-clients/dist/static/android-app.js +0 -115
  70. package/back/regulator-clients/dist/static/app.css +0 -2
  71. package/back/regulator-clients/dist/static/app.js +0 -124
  72. package/back/regulator-clients/dist/static/batchleft.png +0 -0
  73. package/back/regulator-clients/dist/static/batchright.png +0 -0
  74. package/back/regulator-clients/dist/static/bluemainbg.jpg +0 -0
  75. package/back/regulator-clients/dist/static/eruda.min.js +0 -2
  76. package/back/regulator-clients/dist/static/glyphicons-halflings-regular.eot +0 -0
  77. package/back/regulator-clients/dist/static/glyphicons-halflings-regular.svg +0 -288
  78. package/back/regulator-clients/dist/static/glyphicons-halflings-regular.ttf +0 -0
  79. package/back/regulator-clients/dist/static/glyphicons-halflings-regular.woff +0 -0
  80. package/back/regulator-clients/dist/static/glyphicons-halflings-regular.woff2 +0 -0
  81. package/back/regulator-clients/dist/static/huangtengbiaozhi.png +0 -0
  82. package/back/regulator-clients/dist/static/login_bg.jpg +0 -0
  83. package/back/regulator-clients/dist/static/login_title.png +0 -0
  84. package/back/regulator-clients/dist/static/login_title1.png +0 -0
  85. package/back/regulator-clients/dist/static/loginbg.jpg +0 -0
  86. package/back/regulator-clients/dist/static/loginlogo.png +0 -0
  87. package/back/regulator-clients/dist/static/main_logo.png +0 -0
  88. package/back/regulator-clients/dist/static/mainbg.jpg +0 -0
  89. package/back/regulator-clients/dist/static/menulogo.png +0 -0
  90. package/back/regulator-clients/dist/static/newmainbg.jpg +0 -0
  91. package/back/regulator-clients/dist/static/optionright.png +0 -0
  92. package/back/regulator-clients/dist/static/psicon.png +0 -0
  93. package/back/regulator-clients/dist/static/singleleft.png +0 -0
  94. package/back/regulator-clients/dist/static/singleright.png +0 -0
  95. package/back/regulator-clients/dist/static/treeopen.png +0 -0
  96. package/back/regulator-clients/dist/static/treeout.png +0 -0
  97. package/back/regulator-clients/dist/static/treeset.png +0 -0
  98. package/back/regulator-clients/dist/static/usericon.png +0 -0
  99. package/back/regulator-clients/dist/static/xinxi.png +0 -0
  100. package/back/regulator-clients/dist/static//344/270/213/350/275/275/346/250/241/345/235/227.png +0 -0
  101. package/back/regulator-clients/package-lock.json +0 -10629
  102. package/back/regulator-clients/src/assets/.idea/assets.iml +0 -9
  103. package/back/regulator-clients/src/assets/.idea/misc.xml +0 -23
  104. package/back/regulator-clients/src/assets/.idea/modules.xml +0 -8
  105. package/back/regulator-clients/src/assets/.idea/vcs.xml +0 -6
  106. package/back/regulator-clients/src/assets/.idea/workspace.xml +0 -135
  107. package/back/repair-changan/package-lock.json +0 -10354
  108. /package/{back/regulator-clients/dist/static/.gitkeep → .gradle/5.2.1/gc.properties} +0 -0
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Jul 02 11:05:57 CST 2026
2
+ gradle.version=5.2.1
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.7.73",
3
+ "version": "3.7.74",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -379,7 +379,7 @@
379
379
  }
380
380
  }
381
381
  } else {
382
- self.$dispatch('success')
382
+ self.$dispatch('success', '卡表收费')
383
383
  }
384
384
  self.clickConfirm = false
385
385
  } catch (error) {
@@ -491,7 +491,7 @@
491
491
  self.$dispatch('refresh', self.row)
492
492
  } else {
493
493
  self.$resetpost('rs/logic/writeCardAgin', getNoWriteCard.data[0], {resolveMsg: '重新写卡成功', rejectMsg: '重新写卡失败'})
494
- self.$dispatch('success')
494
+ self.$dispatch('success', '卡表收费')
495
495
  }
496
496
  } else {
497
497
  self.$dispatch('refresh', self.row)
@@ -6,16 +6,16 @@
6
6
  <div class="binary-right" style="width:68%;overflow-y: scroll" >
7
7
  <div :style="{height:(row?'auto':'100%')}">
8
8
  <!--<div class="auto" v-if="sustainMoney != null">-->
9
- <!--<h2 style="margin-top: 10px">当前连续收款金额: {{sustainMoney}}</h2>-->
9
+ <!--<h2 style="margin-top: 10px">当前连续收款金额: {{sustainMoney}}</h2>-->
10
10
  <!--</div>-->
11
11
  <div>
12
12
  <charge-list :row="row" @select-oper="showWork" @dblclick="toBusiness" @deal-msg="dealMsg"
13
13
  v-ref:list></charge-list>
14
14
 
15
15
  <div class="auto" style="margin-top: 1%;" v-if="row">
16
- <charge-oper :data.sync="row" :card-info="cardInfo"></charge-oper>
16
+ <charge-oper :data.sync="row" :card-info="cardInfo" v-ref:oper></charge-oper>
17
17
  </div>
18
- </div>
18
+ </div>
19
19
  </div>
20
20
  </div>
21
21
  <div class="binary-right" style="width:22%" >
@@ -42,199 +42,292 @@
42
42
  </div>
43
43
  </template>
44
44
  <script>
45
- import ChargeOper from './ChargeOper'
46
- import {HttpResetClass} from 'vue-client'
45
+ import ChargeOper from './ChargeOper'
46
+ import {HttpResetClass} from 'vue-client'
47
47
 
48
48
  export default {
49
- title: '收费(综合)',
50
- components: { ChargeOper },
51
- data () {
52
- return {
53
- sustainMoney: null,
54
- // 页面开关
55
- listpage: true,
56
- f_orgid: '',
57
- row: null,
58
- cardInfo: null,
59
- warningInfo: null,
60
- modalrow: null,
61
- showModal: false,
62
- rowData: {},
63
- dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
64
- show: [true],
65
- selectFiled: '其他信息',
66
- worktype: '其他信息'
67
- }
49
+ title: '收费(综合)',
50
+ components: {ChargeOper},
51
+ data() {
52
+ return {
53
+ sustainMoney: null,
54
+ // 页面开关
55
+ listpage: true,
56
+ f_orgid: '',
57
+ row: null,
58
+ cardInfo: null,
59
+ warningInfo: null,
60
+ modalrow: null,
61
+ showModal: false,
62
+ rowData: {},
63
+ dibao_remind: this.$appdata.getSingleValue('低保快到期提醒') ? this.$appdata.getSingleValue('低保快到期提醒') : 0,
64
+ clear_state: this.$appdata.getSingleValue('业务完成是否自动清条件') ? this.$appdata.getSingleValue('业务完成是否自动清条件') : '是',
65
+ reSearchShowMsy: !!this.$appdata.getSingleValue('收费后验证'),
66
+ reSearchShowBusiness: !!this.$appdata.getSingleValue('业务完成重新加载'),
67
+ shouldNavigateToEvaluation: false, // 标记是否应该导航到评价页面
68
+ activeBusiness: null, // 当前激活的业务
69
+ show: [true],
70
+ selectFiled: '其他信息',
71
+ worktype: '其他信息',
72
+ searchTime: 1000,
73
+ interval: null
74
+ }
75
+ },
76
+ ready() {
77
+ this.setsustainMoney()
78
+ },
79
+ methods: {
80
+ setsustainMoney() {
81
+ this.sustainMoney = window.localStorage.getItem('sustainMoney')
68
82
  },
69
- ready () {
70
- this.setsustainMoney()
83
+ setField(type) {
84
+ this.selectFiled = type
85
+ this.worktype = type
71
86
  },
72
- methods: {
73
- setsustainMoney () {
74
- this.sustainMoney = window.localStorage.getItem('sustainMoney')
75
- },
76
- setField (type) {
77
- this.selectFiled = type
78
- this.worktype = type
79
- },
80
- async toBusiness (obj) {
81
- console.log('双击列表的时候传进来的数据:', obj)
82
- if (!(obj instanceof Event)) {
87
+ async toBusiness(obj) {
88
+ console.log('双击列表的时候传进来的数据:', obj)
89
+ if (!(obj instanceof Event)) {
83
90
  // 对此数据进行验证
84
- if (await this.validateRow(obj)) {
91
+ if (await this.validateRow(obj)) {
92
+ this.shouldNavigateToEvaluation = false
85
93
  // 获取未写卡或者写卡失败记录
86
- let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and (f_write_card = '未写卡' or (f_write_card = '写卡失败' and f_operate_date >= DATEADD(HOUR, -3, GETDATE()))) and f_userfiles_id = '${obj.f_userfiles_id}'`)
87
- console.log('获取未写卡记录', getUnWriteSell)
88
- if (getUnWriteSell.data.length > 1) {
89
- this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
90
- } else {
91
- this.row = obj
92
- this.row.unWriteSell = getUnWriteSell.data
93
- this.cardInfo = this.$refs.list.cardInfo
94
- this.$refs.list.criteriaShow = false
94
+ let getUnWriteSell = await this.$SqlService.singleTable('t_sellinggas', `f_state = '有效' and (f_write_card = '未写卡' or (f_write_card = '写卡失败' and f_operate_date >= DATEADD(HOUR, -3, GETDATE()))) and f_userfiles_id = '${obj.f_userfiles_id}'`)
95
+ console.log('获取未写卡记录', getUnWriteSell)
96
+ if (getUnWriteSell.data.length > 1) {
97
+ this.$showAlert('此卡已缴费多次未写卡。请核实后处理!!', 'warning', 5000)
98
+ } else {
99
+ this.row = obj
100
+ this.shouldNavigateToEvaluation = false
101
+ this.row.unWriteSell = getUnWriteSell.data
102
+ this.cardInfo = this.$refs.list.cardInfo
103
+ this.$refs.list.criteriaShow = false
95
104
  // 将列表只显示该条数据
96
- this.$refs.list.refreshRow(obj)
97
- }
105
+ this.$refs.list.refreshRow(obj)
98
106
  }
99
107
  }
100
- },
101
- close () {
102
- this.showModal = false
103
- this.warningInfo = null
104
- this.clean()
105
- this.$refs.list.search()
106
- // this.$refs.card.search()
107
- },
108
- async validateRow (obj) {
109
- console.log('查看传进来的参数:', obj)
110
- this.warningInfo = await this.$resetpost('rs/logic/getWarningMsg',
111
- {data: {
108
+ }
109
+ },
110
+ close() {
111
+ this.showModal = false
112
+ this.warningInfo = null
113
+ this.clean()
114
+ this.$refs.list.search()
115
+ // this.$refs.card.search()
116
+ },
117
+ async validateRow(obj) {
118
+ console.log('查看传进来的参数:', obj)
119
+ this.warningInfo = await this.$resetpost('rs/logic/getWarningMsg',
120
+ {
121
+ data: {
112
122
  f_userfiles_id: obj.f_userfiles_id,
113
123
  f_userinfo_code: obj.f_userinfo_code,
114
124
  f_userinfo_id: obj.f_userinfo_id
115
125
  }
116
- }
117
- , {resolveMsg: '', rejectMsg: '获取提示失败'})
118
- if (this.warningInfo.data.warningNum > 0 && obj.f_user_state !== '预备') {
119
- this.modalrow = obj
120
- this.showModal = true
121
- return false
122
- } else {
123
- return true
124
126
  }
125
- },
126
- clean () {
127
- this.row = null
128
- this.cardInfo = null
129
- },
130
- clearCondition () {
131
- Object.keys(this.$refs.list.$refs.paged.$refs.cri.model).forEach((key) => {
132
- this.$refs.list.$refs.paged.$refs.cri.model[key] = ''
133
- })
134
- // console.log('清数据。。。', this.$refs.list.$refs.paged.$refs.grid.model.rows)
135
- // this.$set('$refs.list.$refs.paged.$refs.grid.model.rows', [])
136
- },
137
- dealMsg (obj) {
138
- console.log('==================obj', obj)
139
- this.listpage = false
140
- this.rowData = obj
141
- },
142
- cancel (obj) {
143
- this.listpage = true
144
- },
145
- modalsuccess (obj) {
146
- this.showModal = false
147
- this.$refs.list.criteriaShow = false
148
- this.row = obj
149
- this.cardInfo = this.$refs.list.cardInfo
150
- // 将列表只显示该条数据
151
- this.$refs.list.refreshRow(obj)
152
- },
153
- async serRow (obj) {
154
- let newdata = await this.$resetpost('rs/sql/sale_getUser', {
155
- data: {condition: `i.f_userinfo_code='${obj.f_userinfo_code}' and u.f_filialeid = '${obj.f_filialeid}'`, orderitem: `f_userinfo_id Desc`}
156
- }, {resolveMsg: null, rejectMsg: '获取用户信息失败'})
157
- this.toBusiness(newdata.data[0])
158
- // this.$refs.list.search()
127
+ , {resolveMsg: '', rejectMsg: '获取提示失败'})
128
+ if (this.warningInfo.data.warningNum > 0 && obj.f_user_state !== '预备') {
129
+ this.modalrow = obj
130
+ this.showModal = true
131
+ return false
132
+ } else {
133
+ return true
159
134
  }
160
135
  },
161
- events: {
162
- 'error' (name, row, res) {
163
- this.clean()
164
- },
165
- 'row' (val) {
136
+ clean() {
137
+ this.row = null
138
+ this.cardInfo = null
139
+ },
140
+ clearCondition() {
141
+ Object.keys(this.$refs.list.$refs.paged.$refs.cri.model).forEach((key) => {
142
+ console.log('key', key)
143
+ console.log('对应啥数据', this.$refs.list.$refs.paged.$refs.cri.model[key])
144
+ this.$refs.list.$refs.paged.$refs.cri.model[key] = []
145
+ })
146
+ // console.log('清数据。。。', this.$refs.list.$refs.paged.$refs.grid.model.rows)
147
+ // this.$set('$refs.list.$refs.paged.$refs.grid.model.rows', [])
148
+ },
149
+ dealMsg(obj) {
150
+ console.log('==================obj', obj)
151
+ this.listpage = false
152
+ this.rowData = obj
153
+ },
154
+ cancel(obj) {
155
+ this.listpage = true
156
+ },
157
+ cancelAndRefresh(obj) {
158
+ this.listpage = true
159
+ this.clean()
160
+ this.clearCondition()
161
+ this.$refs.list.searchNoData()
162
+ this.$refs.card.search()
163
+ },
164
+ async modalsuccess(obj) {
165
+ this.showModal = false
166
+ this.$refs.list.criteriaShow = false
167
+ this.row = obj
168
+ this.cardInfo = this.$refs.list.cardInfo
169
+ // 将列表只显示该条数据
170
+ await this.$refs.list.refreshRow(obj)
171
+ // 如果应该导航到评价页面,则执行评价业务
172
+ if (this.shouldNavigateToEvaluation && this.$refs.oper) {
173
+ this.activeBusiness = '评价'
174
+ this.$nextTick(() => {
175
+ this.$refs.oper.business({name: '评价', value: {routeName: 'service-evaluation'}})
176
+ // 执行完后清除标志
177
+ this.shouldNavigateToEvaluation = false;
178
+ }, 100)
179
+ } else {
180
+ // 清除标志(普通业务场景)
181
+ this.shouldNavigateToEvaluation = false;
182
+ }
183
+ console.log('this.row', this.row)
184
+ },
185
+ // 监听业务切换
186
+ onBusinessChange(businessName) {
187
+ this.activeBusiness = businessName
188
+ },
189
+ async serRow(obj, evaluationFlag = false) {
190
+ // 设置标志
191
+ this.shouldNavigateToEvaluation = evaluationFlag;
166
192
 
167
- },
168
- 'success' (name, row, res) {
169
- this.setsustainMoney()
170
- // name === '发卡售气' ? this.$refs.list.toNext(this.index) : null
171
- if (name === '机表收费确认') {
172
- this.serRow(row)
173
- return
193
+ let newdata = await this.$resetpost('rs/sql/sale_getUser', {
194
+ data: {
195
+ condition: `i.f_userinfo_code='${obj.f_userinfo_code}' and u.f_filialeid = '${obj.f_filialeid}'`,
196
+ orderitem: `f_userinfo_id Desc`
174
197
  }
175
- console.log('成功事件')
176
- this.clean()
177
- this.$refs.list.search()
178
- // this.clearCondition()
179
- // this.$refs.card.search()
180
- // this.$refs.info.$refs.recordstoryinfo.getdata()
181
- },
182
- 'clean' (row) {
183
- // this.$refs.list.singleRefresh(row)
184
- this.clean()
185
- },
186
- 'refresh' () {
187
- this.setsustainMoney()
188
- this.clean()
189
- this.clearCondition()
190
- this.$refs.list.searchNoData()
191
- this.$refs.card.search()
192
- },
193
- 'resflushvalue' () {
194
- this.$refs.info.$refs.valueaddinfo.reflush()
195
- },
196
- 'refreshrow' (val) {
197
- console.log(val)
198
- this.row = val
199
- this.$refs.list.refreshRow(val)
200
- // this.$refs.card.search()
201
- },
202
- 'cancelclean' (row) {
203
- this.clean()
204
- this.$refs.list.searchNoData()
205
- // this.$refs.card.search()
198
+ }, {resolveMsg: null, rejectMsg: '获取用户信息失败'})
199
+ await this.toBusiness(newdata.data[0])
200
+ if (evaluationFlag) {
201
+ this.$refs.oper.business({name: '评价', value: {routeName: 'service-evaluation'}})
202
+ }
203
+ },
204
+ hasEvaluatePermission(name) {
205
+ if (!this.$login.r || !Array.isArray(this.$login.r)) {
206
+ console.warn('权限列表不存在或不是数组')
207
+ return false
206
208
  }
209
+ const permissionName = `${name}评价权限`
210
+ return this.$login.r.includes(permissionName)
211
+ }
212
+ },
213
+ events: {
214
+ 'error' (name, row, res) {
215
+ this.clean()
216
+ },
217
+ 'row' (val) {
218
+
207
219
  },
208
- watch: {
209
- 'row' () {
210
- // this.$refs.tab.$el.click()
220
+
221
+ 'success' (name, row, res) {
222
+ this.setsustainMoney()
223
+ // name === '发卡售气' ? this.$refs.list.toNext(this.index) : null
224
+ if (name === '机表收费确认') {
225
+ this.serRow(row)
226
+ return
227
+ }
228
+ if (name === '卡表收费' && this.reSearchShowMsy) {
229
+ this.$refs.list.$refs.paged.$refs.cri.$refs.readcard.readCard()
230
+ this.$refs.oper.noButton = false
231
+ return
232
+ }
233
+ if (name === '物联网收费' && this.reSearchShowMsy) {
234
+ this.serRow(row)
235
+ return
236
+ }
237
+ if (this.reSearchShowBusiness && name !== '评价') {
238
+ console.log('row', row)
239
+ this.$refs.oper.noButton = false
240
+ this.$showMessage('要进行业务评价吗?', ['confirm', 'cancel']).then((res) => {
241
+ if(res !== 'confirm') {
242
+ if (row) {
243
+ this.serRow(row)
244
+ this.activeBusiness = null
245
+ } else {
246
+ this.serRow(this.row)
247
+ }
248
+ return
249
+ } else {
250
+ if (row) {
251
+ this.serRow(row,true)
252
+ } else {
253
+ this.serRow(this.row,true)
254
+ }
255
+ }
256
+ })
257
+ return
258
+ }
259
+ console.log('成功事件')
260
+ this.clean()
261
+ if (this.clear_state === '是') {
262
+ this.clearCondition()
211
263
  }
264
+ this.$refs.list.search()
265
+ // this.clearCondition()
266
+ // this.$refs.card.search()
267
+ // this.$refs.info.$refs.recordstoryinfo.getdata()
268
+ },
269
+ 'clean' (row) {
270
+ // this.$refs.list.singleRefresh(row)
271
+ this.clean()
272
+ },
273
+ 'refresh' () {
274
+ this.setsustainMoney()
275
+ this.clean()
276
+ this.clearCondition()
277
+ this.$refs.list.searchNoData()
278
+ this.$refs.card.search()
279
+ },
280
+ 'resflushvalue' () {
281
+ this.$refs.info.$refs.valueaddinfo.reflush()
282
+ },
283
+ 'resflushrowdata' () {
284
+ this.toBusiness(this.row)
285
+ },
286
+ 'resflushdata' (data) {
287
+ this.toBusiness(data)
288
+ },
289
+ 'refreshrow' (val) {
290
+ console.log(val)
291
+ this.row = val
292
+ this.$refs.list.refreshRow(val)
293
+ // this.$refs.card.search()
294
+ },
295
+ 'cancelclean' (row) {
296
+ this.clean()
297
+ this.$refs.list.searchNoData()
298
+ // this.$refs.card.search()
299
+ }
300
+ },
301
+ watch: {
302
+ 'row' () {
303
+ // this.$refs.tab.$el.click()
212
304
  }
213
305
  }
306
+ }
214
307
  </script>
215
308
  <style>
216
- .basic-main {
217
- width: 79%;
218
- }
219
- .tel_voiceActive{
220
- font-family: PingFang-SC-Bold;
221
- font-size: 16px;
222
- font-weight: normal!important;
223
- font-stretch: normal!important;
224
- line-height: 18px;
225
- letter-spacing: 0px;
226
- color: #333333!important;
227
- border-bottom: 3px solid #599fe5;
228
- padding:10px 10px!important;
229
- }
230
- .tel_f_size{
231
- font-family: PingFang-SC-Medium;
232
- font-size: 16px;
233
- font-weight: normal;
234
- font-stretch: normal;
235
- line-height: 18px;
236
- letter-spacing: 0px;
237
- color: #666666!important;
238
- padding:10px 10px!important;
239
- }
309
+ .basic-main {
310
+ width: 79%;
311
+ }
312
+ .tel_voiceActive{
313
+ font-family: PingFang-SC-Bold;
314
+ font-size: 16px;
315
+ font-weight: normal!important;
316
+ font-stretch: normal!important;
317
+ line-height: 18px;
318
+ letter-spacing: 0px;
319
+ color: #333333!important;
320
+ border-bottom: 3px solid #599fe5;
321
+ padding:10px 10px!important;
322
+ }
323
+ .tel_f_size{
324
+ font-family: PingFang-SC-Medium;
325
+ font-size: 16px;
326
+ font-weight: normal;
327
+ font-stretch: normal;
328
+ line-height: 18px;
329
+ letter-spacing: 0px;
330
+ color: #666666!important;
331
+ padding:10px 10px!important;
332
+ }
240
333
  </style>